A drive axle system and a method of control. A control system determines a torque command based on an inverter temperature, a stator temperature of a stator of an electric motor, and a rotor temperature of a rotor of the electric motor. The electric motor is operated to provide torque based on the torque command.