Update to libreg and cctest to improve simulation of voltage source and load