Shortly after entering the freeway, the dask lights began to flicker and car started stuttering. Drive for another mile or slow looking to pull over. By that time smoke coming from rhe engine. Once we pulled over, engine area smoking a lot to where smoke coming into car. All of us git out and saw flames coming from engine area. Our pilot was on fire. Firefighters able to put out, but car was a total loss