High voltages with high harmonic content: The influence of dielectric heating