Added logging to parallel simulation