AccaSim: An HPC simulator for workload management