Model Execution: Concepts and Terms : Simulation Scope : Nondeterminism And Racing : User-Case Diagnostics

User-Case Diagnostics

The ability to record a sequence diagram during a simulation run is enhanced to allow the creation of multiple lifelines, following the selection of activities in the model.To record a sequence diagram:

1.
Select Simulation profile > Options > Sequence Diagram Generation.
2.
Select Generate Sequence Diagram.

This dialog box has an additional field named Activities Lifeline Selection.

Two recording modes are now supported:

Record Only Toplevel - The tool generates a sequence diagram with two lifelines: one for the system and one for the user.
Lifeline Entities to Record - A dialog box opens to enable you to select the activities in the model that the tool should generate a lifeline for. In this mode, the tool generates an external lifeline for each external activity that interacts with the defined lifelines (activities).
Note: The list of (internal) activities is based on semantic entities, those activities that have a separate internal clock, like a control-activity with a statechart, or a reactive mini-spec.

Click Add to open an easy to use tree-view of the model hierarchy. When an activity is selected and added to the list, a check is made so that only a single activity in the hierarchy is recorded at any time. For example, if both the activity and its descendant are listed in the Lifeline Entities list, only one of them has the flag that controls recording set ‘yes’. The top-most element is the default.