Page 1 of 1

Vensim DSS Crashes on macOS

Posted: Sat Mar 28, 2020 9:48 pm
by aliakhavan89
Hi,

I figured that during the final steps of the optimization (specifically, using Powell with Random starts), Vensim crashes without saving the optimization reports. I am on Vensim DSS 8.0.9 and running macOS version 10.15.4.

In the crash report generated by the operating system, I found these that might be useful:

Thread 2 Crashed:
0 libsystem_platform.dylib 0x00007fff6ee17e52 _platform_strlen + 18
1 libsystem_c.dylib 0x00007fff6ecb3891 __vfprintf + 5379
2 libsystem_c.dylib 0x00007fff6ecd9ad3 __v2printf + 475
3 libsystem_c.dylib 0x00007fff6ecc0085 vsprintf_l + 239
4 com.vensim.VensimDSS 0x0000000106b84786 _v_error + 2166
5 com.vensim.VensimDSS 0x0000000106c0512b powcall + 1867
6 com.vensim.VensimDSS 0x0000000106c1127b run_opt + 811
7 com.vensim.VensimDSS 0x0000000106c48cb7 _run_model + 4967
8 com.vensim.VensimDSS 0x0000000106da9cba _do_run_model_start + 1914
9 com.vensim.VensimDSS 0x0000000106da93cd _do_sim_menu_raw + 173
10 com.vensim.VensimDSS 0x0000000106da9fbd execute_do_sim_menu + 45
11 com.vensim.VensimDSS 0x0000000106d6321c _execute_in_new_thread + 236
12 com.vensim.VensimDSS 0x0000000106daa064 _do_sim_menu + 116
13 com.vensim.VensimDSS 0x0000000106dd43a6 do_toolbar_menu_execute + 1606
14 com.vensim.VensimDSS 0x0000000106d63695 execute_in_new_thread_worker_function + 357
15 libsystem_pthread.dylib 0x00007fff6ee26109 _pthread_start + 148
16 libsystem_pthread.dylib 0x00007fff6ee21b8b thread_start + 15


I also checked the exact model with the same optimization settings and it works well.

Re: Vensim DSS Crashes on macOS

Posted: Sat Mar 28, 2020 10:12 pm
by tomfid
I think this might be a bug in the payoff reporting that we've fixed in development already. If so, the .out file written should still contain your final parameters, so you can rerun the endpoint solution.

Re: Vensim DSS Crashes on macOS

Posted: Sun Mar 29, 2020 10:07 am
by aliakhavan89
The .out file provides the endpoint solution, but the ***_sensitive.tab is empty. I am using Powell to estimate the confidence intervals.

Re: Vensim DSS Crashes on macOS

Posted: Sun Mar 29, 2020 11:08 am
by Administrator
If you can upload or send us the files that cause the crash, we can take a look into it.

Re: Vensim DSS Crashes on macOS

Posted: Sun Mar 29, 2020 11:11 am
by Administrator
Also make sure that "Payoff report" is unticked when doing optimization.

Re: Vensim DSS Crashes on macOS

Posted: Mon Mar 30, 2020 2:35 pm
by aliakhavan89
I sent the model via email with the instructions to the steps that cause the software crash.