Thats just the left over factory smoke coming out of the motor, and the wirenuts . the wirenuts melt to form a protective seal around the joint. bzt....ZZZZZZZT....*poof*. seriously, kill the power, call an electrician.
I did not get as think so badly as you shocked I did.