Modify TraceBasedSim so that it can run O3 traces

Add an macro "O3TRACE" to select running O3 traces