02 Think Burning while driving

I just bought a 2002 Think. I was told the batteries are newer, and a new controller. The car runs good but while driving the car you can smell a strong burning smell coming from the motor. After driving several miles, the car will not run and the wrench comes on and another symbol on the cluster. I took it to a shop they put a new rebuilt motor and now it is worst. The old motor could cool down and run for a few miles but this one now sounds like it has exploded inside and metal spinning around. Anyone have any experiences with this stuff? Thanks.