With 100 parametrics with same setup (generic battery / residential with price signal dispatch)
On second run through , SAM 2022.11.21 crashed with report
Thread 9 Crashed:
0 libsystem_kernel.dylib 0x184853224 __pthread_kill + 8
1 libsystem_pthread.dylib 0x184889cec pthread_kill + 288
2 libsystem_c.dylib 0x1847c32c8 abort + 180
3 libsystem_malloc.dylib 0x1846e1f18 malloc_vreport + 908
4 libsystem_malloc.dylib 0x1846e5694 malloc_report + 64
5 libsystem_malloc.dylib 0x1846f1f44 find_zone_and_free + 308
6 ssc.dylib 0x10894a380 ur_month::~ur_month() + 468
7 ssc.dylib 0x10894a15c rate_data::~rate_data() + 504
8 ssc.dylib 0x108c9d9ec std::__1::__shared_ptr_pointer<rate_data*, std::__1::shared_ptr<rate_data>::__shared_ptr_default_delete<rate_data, rate_data>, std::__1::allocator<rate_data> >::__on_zero_shared() + 20
9 ssc.dylib 0x10914cf74 UtilityRateForecast::~UtilityRateForecast() + 212
10 ssc.dylib 0x1090c2344 dispatch_automatic_behind_the_meter_t::compute_costs(unsigned long, unsigned long, unsigned long, __sFILE*, bool) + 1140
With 100 parametrics with same setup (generic battery / residential with price signal dispatch)
On second run through , SAM 2022.11.21 crashed with report
Thread 9 Crashed:
0 libsystem_kernel.dylib 0x184853224 __pthread_kill + 8
1 libsystem_pthread.dylib 0x184889cec pthread_kill + 288
2 libsystem_c.dylib 0x1847c32c8 abort + 180
3 libsystem_malloc.dylib 0x1846e1f18 malloc_vreport + 908
4 libsystem_malloc.dylib 0x1846e5694 malloc_report + 64
5 libsystem_malloc.dylib 0x1846f1f44 find_zone_and_free + 308
6 ssc.dylib 0x10894a380 ur_month::~ur_month() + 468
7 ssc.dylib 0x10894a15c rate_data::~rate_data() + 504
8 ssc.dylib 0x108c9d9ec std::__1::__shared_ptr_pointer<rate_data*, std::__1::shared_ptr<rate_data>::__shared_ptr_default_delete<rate_data, rate_data>, std::__1::allocator<rate_data> >::__on_zero_shared() + 20
9 ssc.dylib 0x10914cf74 UtilityRateForecast::~UtilityRateForecast() + 212
10 ssc.dylib 0x1090c2344 dispatch_automatic_behind_the_meter_t::compute_costs(unsigned long, unsigned long, unsigned long, __sFILE*, bool) + 1140