ComplexSim: a flexible simulation platform for complex systems. (1st January 2013)