Comparison of algorithms for the simulation of nonlinear circuits through the harmonic balance method