Fixed makefile issue and created trace meta-event for the sim