question

Jon Abbott avatar image
0 Likes"
Jon Abbott asked Matt Long converted comment to answer

What do these MTBF/MTTR error messages mean, and how do I prevent them?

I have Operators set to periodically breakdown with an MTBF/MTTR. FlexSim is intermittently reporting the following error on the System Console when an Operator exits the breakdown state:

time: 35109.004386 exception: Exception Caught in resumeobject(treenode involved, int id)

time: 35109.004386 exception: Exception Caught in ObjectFunction202__project_exec_commandlist_resumeobject_node object: MAIN:/project/exec/commandlist/resumeobject/node class: MAIN:/project/exec/commandlist/resumeobject/node

time: 35109.004386 exception: Exception caught in TreeNode::callMemberFunction() c++/dll execution. Throwing... MAIN:/project/exec/commandlist/resumeobject/node c: MAIN:/project/exec/commandlist/resumeobject/node thisClass: MAIN:/project/exec/commandlist/resumeobject/node

time: 35109.004386 exception: Exception caught in flexscript execution of MODEL:/Tools/MTBFMTTR/Op_breakdown>variables/upfunction line 13 instruction 12. Discontinuing execution.

time: 35109.004386 exception: Exception caught in TreeNode::callMemberFunction() flexscript execution MODEL:/Tools/MTBFMTTR/Op_breakdown>variables/upfunction c: /Tools/MTBFMTTR/Op_breakdown>variables/upfunction theclass: /Tools/MTBFMTTR/Op_breakdown>variables/upfunction

time: 43246.708754 exception: Exception Caught in stopobject(treenode involved, int state, int id, double priority)

time: 43246.708754 exception: Exception Caught in ObjectFunction221__project_exec_commandlist_stopobject_node object: MAIN:/project/exec/commandlist/stopobject/node class: MAIN:/project/exec/commandlist/stopobject/node

What do these error messages mean, and how do I prevent them from happening? When this happens, the operator in question does not appear to exit the breakdown state. The MTBF/MTTR down function is set to "Stop Object" and the up function is set to "Resume Object". I have the breakdown set to break down members individually. If I manually run a resumeobject on the operator, it works fine. I am unfortunately not able to share the model that this is happening with. Thanks for any help you can provide.

FlexSim 16.2.1
operatorerror messagemtbf mttr
· 3
5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.

Matt Long avatar image Matt Long commented ·

Can you post your model or a subset of your model showing the problem? Not sure what it could be with just the error.

1 Like 1 ·
Phil BoBo avatar image Phil BoBo ♦♦ Matt Long commented ·

Or try to replicate the issue in a small sample model rather than your confidential model, and then post that.

1 Like 1 ·
Joerg Vogel avatar image Joerg Vogel commented ·

The Stop ID is the same for the combination of stopobject and resumeobject and if you use a pointer like item or involved object this pointer object still exists in your model when you call the function resumeobject?

0 Likes 0 ·

1 Answer

Jon Abbott avatar image
1 Like"
Jon Abbott answered

This issue isn't consistently happening, so I am unable to provide any additional info at this time. If the issue happens again and I am able to reliably reproduce it, I will reduce the model to something sharable and upload it here. Thanks.

5 |100000

Up to 12 attachments (including images) can be used with a maximum of 23.8 MiB each and 47.7 MiB total.