Has the T&P valve operated? Do you have a leak on the hot side water system? How are you determining the lower element continues to run? Do you have a voltage/clamp around volt meter? Are all the screw terminals tight and corrosion free? Dont electrocute yourself.
Has the high limit tripped on the top thermostat?
lets play 50 questions. LOL