First solve the severe errors, then run simulation again and paste the text of .err to check why ended