Was driving along when some warning lights came on, specifically the check engine light, traction control off light and the AWD light. 2 seconds later I heard a loud pop, saw smoke coming from the hood. I pulled over and looked in the engine compartment and saw flames. I suspect the coolant line popped and caught fire. My safety could have been at risk if the battery exploded or oil/gas components were to catch fire. The car is currently at a dealer to be inspected. A NHP accident report was filled out and can be available if needed.