Voltage regulator smoking?

The voltage regulator is the metal box to the right of the master cylinder, with two wires, one on each end. It looks like you're still using the original mechanical picture.