Insulation monitoring for power distribution and control circuits