While driving the vehicle, the blower (A/C) began to cycle on and off. Then I began to smell electrical smoke. Then I began to see smoke coming from vents and where the windshield meets the dashboard, closer to the passenger side. I pulled over and shut off the car as the smoke was getting worse inside the car. I popped the hood and saw smoke coming from the passenger side. I then called 911. Smoke was beginning to billow from engine compartment. As I was talking to the 911 dispatcher, I saw flames beginning in the engine bay close to the firewall on passenger side. The car was a total loss and is in a tow yard. It can be inspected upon request. The 911 operated told me to be aware of smoke and explosions so I backed away about 30ft. Many cars were passing by, close to the car. There are 2 safety recalls on this vehicle that are related to possible fire. I have an open case with BMW USA. They have not inspected the car. I have liability only for insurance so they will not cover. There were no warning lamps or indicators before fire.