One gear has a moment load, the other gear rotates to move that load. You can Probe the Reaction Moment on the Joint that has the rotational input. If you put 40 Nm as a torque load on one gear, the driving gear with the rotational input will probe with a higher value. The size of the torque depends on the shape of the gear tooth and the coefficient of friction you assigned to the contact.