The engine caught fire and the vehicle is a total loss. Acceleration became inconsistent at time of the incident while driving on the freeway. Once that was noticed, and at a speed of 50mph, I immediately heard a loud clicking noise coming from the engine. ALL warning lights also immediately went off. I noticed white smoke and pulled over on the freeway. Once parked, black smoke was emerging from the engine. I exited the vehicle to safety and within 30 seconds, flames emerged from the vehicle. The vehicle maintenance was kept current during the 7 months of ownership. There were no prior warnings of any issues before the incident occurred.