Adding trace support for ns3 RMs