Add parameter 'sim_length' to global parameters
Print statistics to statistics log file.