Contract for the maintenance of medium-voltage electric motors