SMART: a Simulator of Massive ARchitectures and Topologies