Braking by supplying regenerated power to the prime mover of vehicles comprising engine-driven generators