Yes, it's the fact that the conversion of electrical to mechanical energy and back again is not 100% efficient. Some of the power supplied to the motor, for example, is dissipated as heat in the resistance of the windings. More power is lost in overcoming the inertia and friction of the bearings in the motor and generator.