simulation error stack trace logging