Introduction to Rapid SysML Simulation Debugging
1. Common Issues
*Incorrect or incomplete SysML model
**To execute action you require tokens in all action inputs
**State does not stays active if transition from state has no trigger or guard
**No signals on sent / accept event actions
**Parametric diagram constraint block parameters are not connected
*Elements in the model are not the same as in the diagram
**Deleted symbol from diagram but not from the model (use Ctrl + D)
**Copy pasted symbol in diagram.. Element is still the same
*No classifier behavior is assigned
*Classifier behavior is assigned but execution is not in context
*Variable names does not match
2. Common Time Issues
*Time parameters are not specified
*Clock does not start
*No duration constraints – time is based on animation speed
*Chart refresh rate is too high
3. Animation
4. Breakpoints
5. Runtime Value Monitoring, Watch Pane
6. Console pane
7. Rule #1 - Large Simulation - Fast Debugging!