Diagnosis of isolation by partial discharge method