Irreversibility analysis of a downsized gasoline engine