Preventive maintenance with insulation resistance test