Employee was busting rock with the excavator. he turned around to get out of the hammer and saw smoke. He got out with fire extinguisher, heard a pop and saw flames. He stood on the tracks and saw flames in the engine compartment. He tried to put it out with the fire extinguisher but could not so he got on the ground to fight the fire.