Battery Warning Light On

Was about ten miles away from truck the other day when the battery warning indicator came on. It was a few degrees below zero. Turned around and went home. I bought and installed a new battery. New battery is showing 13.2 v resting,old was 12.9 new battery is 14.5v at idle ,old was same. lights on at idle is 14.4+ at 2000rpm it is 14.5v warning light comes on around 3000 rpm and multimeter reads 17v and keeps going up.
So sounds like the stator is making electrictiy but the voltage regulator is done ?? Machine is a 2013 500 HO Any input is apreciated

Thanks