System-Oriented Harmonic-Balance Algorithms for Circuit-Level Simulation