General-purpose circuit simulation program