That's the DPF. Look through the checklist, there's a note about the self cleaning DPF cycle making this smell. If you shut off the car in the middle of the cycle it has to run the fans to keep cool. It has nothing to do with anything burning off the frame.