Measurement of three-phase capacitor short circuit