Engine with alternator and exhaust