Prediction and measurement of high-frequency power losses in magnetic components under power electronics excitation