필터 지우기
필터 지우기

Simulink/ Stateflow crash when running model in accelerator mode on 2020B - failed assertion

조회 수: 14 (최근 30일)
Hello
I have a model which references many other models, this runs fine when I simulate in normal mode, but when I choose accelerator mode one referenced model crashes and therefore the top model willl not run. I get the following error. No idea what it means. The particular model handles a ton of inputs, I tend to think that has something to do with it. Any pointers appreciated!!
Cheers
Richard
failed assertion in b:\matlab\toolbox\stateflow\src\stateflow\fsm\de.cpp at line 167:
mxGetLength(prhs[0]) == 1
[ 0] 0x00007ff871985c0d C:\Users\me\Documents\2021\bin\win64\stateflow.dll+14048269 SF::mx2str_write_str+00036989
[ 1] 0x00007ff8716287e6 C:\Users\me\Documents\2021\bin\win64\stateflow.dll+10520550 SF::sf_mexFunction+00002406
[ 2] 0x00007ff871627e95 C:\Users\me\Documents\2021\bin\win64\stateflow.dll+10518165 SF::sf_mexFunction+00000021
[ 3] 0x00007ff8e480a289 C:\Users\me\Documents\2021\bin\win64\libmex.dll+00565897 mexfile::Inspector::needs_upgrade+00015977
[ 4] 0x00007ff8e480b67b C:\Users\me\Documents\2021\bin\win64\libmex.dll+00571003 MexRetrieveVersion+00003579
[ 5] 0x00007ff8e480b9b4 C:\Users\me\Documents\2021\bin\win64\libmex.dll+00571828 MexRetrieveVersion+00004404
[ 6] 0x00007ff8e47ec209 C:\Users\me\Documents\2021\bin\win64\libmex.dll+00442889 mexUnlock_800+00023993
[ 7] 0x00007ff8e4dc26c1 bin\win64\pgo\m_dispatcher.dll+00665281 Mfh_file::dispatch_file_common+00000165
[ 8] 0x00007ff8e4dc1d62 bin\win64\pgo\m_dispatcher.dll+00662882 Mfh_error::lookup+00006498
[ 9] 0x00007ff8e4dc2615 bin\win64\pgo\m_dispatcher.dll+00665109 Mfh_file::dispatch+00000045
[ 10] 0x00007ff8e1ec8208 bin\win64\pgo\m_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 11] 0x00007ff8e1eab484 bin\win64\pgo\m_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 12] 0x00007ff8e1fc7861 bin\win64\pgo\m_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 13] 0x00007ff8e1ea9cfb bin\win64\pgo\m_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 14] 0x00007ff8e1ea7eb9 bin\win64\pgo\m_lxe.dll+00425657 CGGBuiltinImpl+00049865
[ 15] 0x00007ff8e1ead185 bin\win64\pgo\m_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 16] 0x00007ff8e1eabeb3 bin\win64\pgo\m_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 17] 0x00007ff8e1ead680 bin\win64\pgo\m_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 18] 0x00007ff8e4d32700 bin\win64\pgo\m_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 19] 0x00007ff8e4d3239d bin\win64\pgo\m_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 20] 0x00007ff8e3a3fcc2 bin\win64\pgo\m_lxe.dll+29359298 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00532802
[ 21] 0x00007ff8e1ee3a07 bin\win64\pgo\m_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 22] 0x00007ff8e1ee3959 bin\win64\pgo\m_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 23] 0x00007ff8e4abc97c bin\win64\pgo\m_interpreter.dll+00051580 inCallFcn+00000084
[ 24] 0x00007ff8d0f34910 C:\Users\me\Documents\2021\bin\win64\libmwsl_services.dll+02509072 slsvFEVAL+00001248
[ 25] 0x00007ff87162839e C:\Users\me\Documents\2021\bin\win64\stateflow.dll+10519454 SF::sf_mexFunction+00001310
[ 26] 0x00007ff871985c0d C:\Users\me\Documents\2021\bin\win64\stateflow.dll+14048269 SF::mx2str_write_str+00036989
[ 27] 0x00007ff8716287e6 C:\Users\me\Documents\2021\bin\win64\stateflow.dll+10520550 SF::sf_mexFunction+00002406
[ 28] 0x00007ff871627e95 C:\Users\me\Documents\2021\bin\win64\stateflow.dll+10518165 SF::sf_mexFunction+00000021
[ 29] 0x00007ff8e480a289 C:\Users\me\Documents\2021\bin\win64\libmex.dll+00565897 mexfile::Inspector::needs_upgrade+00015977
[ 30] 0x00007ff8e480b67b C:\Users\me\Documents\2021\bin\win64\libmex.dll+00571003 MexRetrieveVersion+00003579
[ 31] 0x00007ff8e480b9b4 C:\Users\me\Documents\2021\bin\win64\libmex.dll+00571828 MexRetrieveVersion+00004404
[ 32] 0x00007ff8e47ec209 C:\Users\me\Documents\2021\bin\win64\libmex.dll+00442889 mexUnlock_800+00023993
[ 33] 0x00007ff8e4d32700 bin\win64\pgo\m_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 34] 0x00007ff8e4d3239d bin\win64\pgo\m_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 35] 0x00007ff8e1ee456a bin\win64\pgo\m_lxe.dll+00673130 CGGBuiltinImpl+00297338
[ 36] 0x00007ff8e1ee3a07 bin\win64\pgo\m_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 37] 0x00007ff8e1ee3959 bin\win64\pgo\m_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 38] 0x00007ff8e4abc97c bin\win64\pgo\m_interpreter.dll+00051580 inCallFcn+00000084
[ 39] 0x00007ff8d0f121cc C:\Users\me\Documents\2021\bin\win64\libmwsl_services.dll+02367948 slsv::mxw::WarningHandler::operator=+00006620
[ 40] 0x00007ff8d0f2542c C:\Users\me\Documents\2021\bin\win64\libmwsl_services.dll+02446380 CMatlabCommand::execute+00000364
[ 41] 0x00007ff8d0f34a9d C:\Users\me\Documents\2021\bin\win64\libmwsl_services.dll+02509469 slsvFEVAL_NoThrow+00000285
[ 42] 0x00007ff8d0f34b30 C:\Users\me\Documents\2021\bin\win64\libmwsl_services.dll+02509616 slsvFEVAL_NoThrow+00000064
[ 43] 0x00007ff8b7c1c2c7 C:\Users\me\Documents\2021\bin\win64\sl_graphical_classes.dll+02540231 NotifyStateflowNamedEventRecursively+00000951
[ 44] 0x00007ff8a4d6fb5f C:\Users\me\Documents\2021\bin\win64\sl_compile.dll+03799903 SlCallSysSort::operator=+00005199
[ 45] 0x00007ff8a4db4762 C:\Users\me\Documents\2021\bin\win64\sl_compile.dll+04081506 VarHiddenConnectionInfo::setNIForRemoval+00012818
[ 46] 0x00007ff8a4d2b204 C:\Users\me\Documents\2021\bin\win64\sl_compile.dll+03518980 slcomp::data_transfer::DataTransferSpec::setIntegrity+00010596
[ 47] 0x00007ff8a4d1a345 C:\Users\me\Documents\2021\bin\win64\sl_compile.dll+03449669 SLCompDiagramImpl+00000709
[ 48] 0x00007ff8ba403e8c C:\Users\me\Documents\2021\bin\win64\sl_link_bd.dll+01064588 slink::CreateSlModelForLink+00000780
[ 49] 0x00007ff8ba403bac C:\Users\me\Documents\2021\bin\win64\sl_link_bd.dll+01063852 slink::CreateSlModelForLink+00000044
[ 50] 0x00007ff8bb5e6a49 C:\Users\me\Documents\2021\bin\win64\libmwsimulink.dll+10709577 SLDynamicEnumType::isLocked+00057273
[ 51] 0x00007ff8bb5f297f C:\Users\me\Documents\2021\bin\win64\libmwsimulink.dll+10758527 SLDynamicEnumType::isLocked+00106223
[ 52] 0x00007ff8bb323ed0 C:\Users\me\Documents\2021\bin\win64\libmwsimulink.dll+07814864 slFullRTWGen+00000368
[ 53] 0x00007ff8ef8a0cbb C:\Users\me\Documents\2021\bin\win64\builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[ 54] 0x00007ff8e4d42156 bin\win64\pgo\m_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[ 55] 0x00007ff8e4d32053 bin\win64\pgo\m_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[ 56] 0x00007ff8e4d31dad bin\win64\pgo\m_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 57] 0x00007ff8e1ec8208 bin\win64\pgo\m_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 58] 0x00007ff8e1eab484 bin\win64\pgo\m_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 59] 0x00007ff8e1fc7861 bin\win64\pgo\m_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 60] 0x00007ff8e1ea9cfb bin\win64\pgo\m_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 61] 0x00007ff8e1ea7eb9 bin\win64\pgo\m_lxe.dll+00425657 CGGBuiltinImpl+00049865
[ 62] 0x00007ff8e1ead185 bin\win64\pgo\m_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 63] 0x00007ff8e1eabeb3 bin\win64\pgo\m_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 64] 0x00007ff8e1ead680 bin\win64\pgo\m_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 65] 0x00007ff8e4d32700 bin\win64\pgo\m_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 66] 0x00007ff8e4d3239d bin\win64\pgo\m_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 67] 0x00007ff8db38744a bin\win64\pgo\mcos_impl.dll+00685130 mdIsA+00257770
[ 68] 0x00007ff8db3452cd bin\win64\pgo\mcos_impl.dll+00414413
[ 69] 0x00007ff8db358c9d bin\win64\pgo\mcos_impl.dll+00494749 mdIsA+00067389
[ 70] 0x00007ff8e4d33157 bin\win64\pgo\m_dispatcher.dll+00078167 Mfh_MATLAB_fn_impl::ensure_loading_of_load_module+00001895
[ 71] 0x00007ff8e4d3331d bin\win64\pgo\m_dispatcher.dll+00078621 Mfh_MATLAB_fn_impl::dispatch_with_reuse+00000045
[ 72] 0x00007ff8e1ee3d17 bin\win64\pgo\m_lxe.dll+00670999 CGGBuiltinImpl+00295207
[ 73] 0x00007ff8e1eaa56a bin\win64\pgo\m_lxe.dll+00435562 CGGBuiltinImpl+00059770
[ 74] 0x00007ff8e1ed7701 bin\win64\pgo\m_lxe.dll+00620289 CGGBuiltinImpl+00244497
[ 75] 0x00007ff8e1ed762b bin\win64\pgo\m_lxe.dll+00620075 CGGBuiltinImpl+00244283
[ 76] 0x00007ff8e1ed7587 bin\win64\pgo\m_lxe.dll+00619911 CGGBuiltinImpl+00244119
[ 77] 0x00007ff8e1ed731f bin\win64\pgo\m_lxe.dll+00619295 CGGBuiltinImpl+00243503
[ 78] 0x00007ff8e1eab484 bin\win64\pgo\m_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 79] 0x00007ff8e200a4dd bin\win64\pgo\m_lxe.dll+01877213 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00054677
[ 80] 0x00007ff8e1ea9cfb bin\win64\pgo\m_lxe.dll+00433403 CGGBuiltinImpl+00057611
[ 81] 0x00007ff8e2000494 bin\win64\pgo\m_lxe.dll+01836180 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00013644
[ 82] 0x00007ff8e1ea9747 bin\win64\pgo\m_lxe.dll+00431943 CGGBuiltinImpl+00056151
[ 83] 0x00007ff8e1ead185 bin\win64\pgo\m_lxe.dll+00446853 CGGBuiltinImpl+00071061
[ 84] 0x00007ff8e1eabeb3 bin\win64\pgo\m_lxe.dll+00442035 CGGBuiltinImpl+00066243
[ 85] 0x00007ff8e1ead680 bin\win64\pgo\m_lxe.dll+00448128 CGGBuiltinImpl+00072336
[ 86] 0x00007ff8e4d32700 bin\win64\pgo\m_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[ 87] 0x00007ff8e4d3239d bin\win64\pgo\m_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[ 88] 0x00007ff8e1ee456a bin\win64\pgo\m_lxe.dll+00673130 CGGBuiltinImpl+00297338
[ 89] 0x00007ff8e1ee3a07 bin\win64\pgo\m_lxe.dll+00670215 CGGBuiltinImpl+00294423
[ 90] 0x00007ff8e1ee3959 bin\win64\pgo\m_lxe.dll+00670041 CGGBuiltinImpl+00294249
[ 91] 0x00007ff8e4ab9991 bin\win64\pgo\m_interpreter.dll+00039313 inFullFevalFcn+00000369
[ 92] 0x00007ff8ef8a0cbb C:\Users\S60415\Documents\2021\bin\win64\builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[ 93] 0x00007ff8e4d42156 bin\win64\pgo\m_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[ 94] 0x00007ff8e4d32053 bin\win64\pgo\m_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[ 95] 0x00007ff8e4d31dad bin\win64\pgo\m_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[ 96] 0x00007ff8e1ec8208 bin\win64\pgo\m_lxe.dll+00557576 CGGBuiltinImpl+00181784
[ 97] 0x00007ff8e1eab484 bin\win64\pgo\m_lxe.dll+00439428 CGGBuiltinImpl+00063636
[ 98] 0x00007ff8e1fc7861 bin\win64\pgo\m_lxe.dll+01603681 mwboost::serialization::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >::singleton<mwboost::serialization::extended_type_info_typeid<MathWorks::lxe::PreLineExecutionEvent> >+00649937
[ 99] 0x00007ff8e1ea9cfb bin\win64\pgo\m_lxe.dll+00433403 CGGBuiltinImpl+00057611
[100] 0x00007ff8e1ea7eb9 bin\win64\pgo\m_lxe.dll+00425657 CGGBuiltinImpl+00049865
[101] 0x00007ff8e1ead185 bin\win64\pgo\m_lxe.dll+00446853 CGGBuiltinImpl+00071061
[102] 0x00007ff8e1eac19c bin\win64\pgo\m_lxe.dll+00442780 CGGBuiltinImpl+00066988
[103] 0x00007ff8e1ed99aa bin\win64\pgo\m_lxe.dll+00629162 CGGBuiltinImpl+00253370
[104] 0x00007ff8e1ed974f bin\win64\pgo\m_lxe.dll+00628559 CGGBuiltinImpl+00252767
[105] 0x00007ff8e1ee3a07 bin\win64\pgo\m_lxe.dll+00670215 CGGBuiltinImpl+00294423
[106] 0x00007ff8e1ee3959 bin\win64\pgo\m_lxe.dll+00670041 CGGBuiltinImpl+00294249
[107] 0x00007ff8e4ab9991 bin\win64\pgo\m_interpreter.dll+00039313 inFullFevalFcn+00000369
[108] 0x00007ff8ef8a0cbb C:\Users\S60415\Documents\2021\bin\win64\builtin.dll+00068795 MathWorks::builtin::BuiltinFcn::invoke+00001403
[109] 0x00007ff8e4d42156 bin\win64\pgo\m_dispatcher.dll+00139606 Mfh_MATLAB_fn_impl::dispatch_mf_with_reuse+00000158
[110] 0x00007ff8e4d32053 bin\win64\pgo\m_dispatcher.dll+00073811 Mfh_MATLAB_fn_impl::dispatch+00000723
[111] 0x00007ff8e4d31dad bin\win64\pgo\m_dispatcher.dll+00073133 Mfh_MATLAB_fn_impl::dispatch+00000045
[112] 0x00007ff8e1ec875f bin\win64\pgo\m_lxe.dll+00558943 CGGBuiltinImpl+00183151
[113] 0x00007ff8e1feba76 bin\win64\pgo\m_lxe.dll+01751670 MathWorks::lxe::ShutdownLxeEngine+00033418
[114] 0x00007ff8e1feb8e3 bin\win64\pgo\m_lxe.dll+01751267 MathWorks::lxe::ShutdownLxeEngine+00033015
[115] 0x00007ff8e1eab484 bin\win64\pgo\m_lxe.dll+00439428 CGGBuiltinImpl+00063636
[116] 0x00007ff8e20053a1 bin\win64\pgo\m_lxe.dll+01856417 mwboost::archive::detail::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>::oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::ClosedAbstractionFunctionDescriptorOwningIrTree>+00033881
[117] 0x00007ff8e1ea9cfb bin\win64\pgo\m_lxe.dll+00433403 CGGBuiltinImpl+00057611
[118] 0x00007ff8e1ea7eb9 bin\win64\pgo\m_lxe.dll+00425657 CGGBuiltinImpl+00049865
[119] 0x00007ff8e1ead185 bin\win64\pgo\m_lxe.dll+00446853 CGGBuiltinImpl+00071061
[120] 0x00007ff8e1eac19c bin\win64\pgo\m_lxe.dll+00442780 CGGBuiltinImpl+00066988
[121] 0x00007ff8e1ed7c41 bin\win64\pgo\m_lxe.dll+00621633 CGGBuiltinImpl+00245841
[122] 0x00007ff8e1eac010 bin\win64\pgo\m_lxe.dll+00442384 CGGBuiltinImpl+00066592
[123] 0x00007ff8e1ead680 bin\win64\pgo\m_lxe.dll+00448128 CGGBuiltinImpl+00072336
[124] 0x00007ff8e4d32700 bin\win64\pgo\m_dispatcher.dll+00075520 AutoPushingExecutionFrame::~AutoPushingExecutionFrame+00000784
[125] 0x00007ff8e4d3239d bin\win64\pgo\m_dispatcher.dll+00074653 Mfh_file::dispatch_with_reuse+00000045
[126] 0x00007ff8e3a3fcc2 bin\win64\pgo\m_lxe.dll+29359298 mwboost::archive::detail::pointer_oserializer<mwboost::archive::binaryTerm_oarchive,MathWorks::lxe::MatlabIrTree>::save_object_ptr+00532802
[127] 0x00007ff8e1ee3a07 bin\win64\pgo\m_lxe.dll+00670215 CGGBuiltinImpl+00294423
MATLAB stack trace:
> In perform_model_reference_error_checks>error_check_machine_data_events (line 28)
In perform_model_reference_error_checks (line 18)
In autobuild_kernel>autobuild_local (line 127)
In autobuild_kernel (line 53)
In autobuild_driver (line 117)
In slsf (line 129)
In tlc_c
In coder.internal/ModelBuilder/buildProcedure (line 823)
In coder.internal/ModelBuilder/make_rtw (line 168)
In coder.internal.ModelCodegenMgr/make_rtw (line 8)
In make_rtw (line 20)
In build_target
In build_target
In build_model_reference_target
In updateMdlRefTarget
In slprivate
In coder.serial.hBuildModelRefs
In coder.serial.buildModelRefs
In update_model_reference_targets
In update_model_reference_targets
In update_model_reference_targets
In slbuild_private
In slbuild_private
In slprivate
mxGetLength(prhs[0]) == 1
Component:Stateflow | Category:Assertion error
### Build procedure for ACIN_HANDLER aborted due to an error.
  댓글 수: 3
Richard Good
Richard Good 2021년 7월 5일
OK thanks, I raised a case. Not had much luck with accelerated mode, hopefully support can help.
Raphaël
Raphaël 2023년 8월 31일
Hello,
I have the same issue in 2020a. Do you now have an answer?
Sincerely,
Raphael

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by