I need to find the sum of energy in this device :

A green support turns clockwise at w. A motor is fixed on that support. The stator of this motor turns clockwise at w (it is on the support). The rotor of the motor turns clockwise at 2w (lab reference). On the rotor there is a big pulley (P1) with a radius of 3R. That pulley P1 drives a smaller pulley P2 with a belt. The pulley P2 has a radius R. The small pulley P2 is braking on the support at the radius R. There is friction so an energy from heating. The force of the friction is a constant F.

I drawn a figure:

imagizer.imageshack.us/a/img661/4682/jIXu8r.png

The motor gives the forces F1/F2 to the big pulley. The motor gives the forces F3/F4 to the support. Axes of pulleys give forces F6/F8 to the support. The brake gives F8 to the support and gives F9 to the small pulley.

For me, the motor needs the energy -3FRwt because the rotor turns at 2w but the stator turns at w. There is no torque on the support: torque from F3/F4 is cancelled wih F6/F8. The brake gives the heating 5FRwt. Because the small pulley P2 turns at 6w (lab reference).so on the support the small pulley turns at 6w-w=5w, so for me the energy from heating is 5FRwt. The sum for me is 2FRwt, Where I'm wrong ?