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.
Vensim DSS Crashes on macOS
-
- Senior Member
- Posts: 94
- Joined: Sun Oct 21, 2018 7:09 am
- Vensim version: DSS
Re: Vensim DSS Crashes on macOS
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.
/*
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
Advice to posters (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Blog: http://blog.metasd.com
Model library: http://models.metasd.com
Bookmarks: http://delicious.com/tomfid/SystemDynamics
*/
-
- Senior Member
- Posts: 94
- Joined: Sun Oct 21, 2018 7:09 am
- Vensim version: DSS
Re: Vensim DSS Crashes on macOS
The .out file provides the endpoint solution, but the ***_sensitive.tab is empty. I am using Powell to estimate the confidence intervals.
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim DSS Crashes on macOS
If you can upload or send us the files that cause the crash, we can take a look into it.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Super Administrator
- Posts: 4589
- Joined: Wed Mar 05, 2003 3:10 am
Re: Vensim DSS Crashes on macOS
Also make sure that "Payoff report" is unticked when doing optimization.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
-
- Senior Member
- Posts: 94
- Joined: Sun Oct 21, 2018 7:09 am
- Vensim version: DSS
Re: Vensim DSS Crashes on macOS
I sent the model via email with the instructions to the steps that cause the software crash.