Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions2") Notification: Performance of loadModel(Modelica_StateGraph2): time 1.912/1.912, allocations: 208.4 MB / 220.6 MB, free: 15.44 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.295e-05, allocations: 4 kB / 271.2 MB, free: 12.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2585, allocations: 47.77 MB / 319 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1082/0.3668, allocations: 72.03 MB / 391 MB, free: 5.742 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001339/0.367, allocations: 51.92 kB / 391.1 MB, free: 5.691 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica_StateGraph2 2.0.3/package.mo:12150:5-12156:3:writable] Warning: Usage of non-standard operator (not specified in the Modelica specification): Connections.uniqueRoot. Functionality might be partially supported but is not guaranteed. Notification: Performance of FrontEnd - DAE generated: time 0.03003/0.397, allocations: 7.972 MB / 399.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.986e-06/0.3971, allocations: 0 / 399.1 MB, free: 13.69 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.701e-05/0.3971, allocations: 20 kB / 399.1 MB, free: 13.67 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.00129/0.3984, allocations: 0.7255 MB / 399.8 MB, free: 12.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.3985, allocations: 15.98 kB / 399.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.3987, allocations: 75.16 kB / 399.9 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009286/0.3996, allocations: 437.9 kB / 400.3 MB, free: 12.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/0.3997, allocations: 58 kB / 400.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.3999, allocations: 68 kB / 400.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.4015, allocations: 0.7764 MB / 401.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.4016, allocations: 3.938 kB / 401.2 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.547e-05/0.4017, allocations: 35.98 kB / 401.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/0.4017, allocations: 25.31 kB / 401.3 MB, free: 11.31 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.403, allocations: 486.4 kB / 401.8 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004484/0.4075, allocations: 3.1 MB / 404.9 MB, free: 7.484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008725/0.4084, allocations: 0.6691 MB / 405.5 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002694/0.4087, allocations: 116.9 kB / 405.7 MB, free: 6.598 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.4088, allocations: 89.09 kB / 405.7 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004058/0.4092, allocations: 189.9 kB / 405.9 MB, free: 6.293 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 4.187e-06/0.4092, allocations: 0 / 405.9 MB, free: 6.293 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007347/0.41, allocations: 313.5 kB / 406.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.4101, allocations: 188.1 kB / 406.4 MB, free: 5.754 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005159/0.4107, allocations: 357.8 kB / 406.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.484e-05/0.4108, allocations: 45.7 kB / 406.8 MB, free: 5.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002729/0.411, allocations: 280.2 kB / 407.1 MB, free: 5.062 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.4112, allocations: 102.9 kB / 407.2 MB, free: 4.961 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.4112, allocations: 20 kB / 407.2 MB, free: 4.941 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.4115, allocations: 358.7 kB / 407.6 MB, free: 4.582 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.4118, allocations: 141.5 kB / 407.7 MB, free: 4.441 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005863/0.4124, allocations: 403.1 kB / 408.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.4129, allocations: 191.1 kB / 408.3 MB, free: 3.746 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.116e-06/0.4129, allocations: 4 kB / 408.3 MB, free: 3.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001202/0.4141, allocations: 0.5411 MB / 408.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.4141, allocations: 8 kB / 408.8 MB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.4142, allocations: 8.906 kB / 408.8 MB, free: 3.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/0.4142, allocations: 12 kB / 408.8 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.4144, allocations: 59.78 kB / 408.9 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.361e-05/0.4144, allocations: 11.94 kB / 408.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004247/0.4149, allocations: 43.97 kB / 409 MB, free: 3.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.203e-05/0.415, allocations: 32 kB / 409 MB, free: 3.023 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 93 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.T4.enableFire,$PRE.T5.enableFire,$PRE.initialStep.oldActive,initialStep.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.step3.oldActive,step3.oldActive,$PRE.step4.oldActive,step4.oldActive,$PRE.step1.oldActive,step1.oldActive,initialStep.node.resume,initialStep.node.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.initialStep.newActive,initialStep.newActive,initialStep.inport_fire,initialStep.outport_fire,T1.fire,T1.enableFire,$PRE.T1.t_start,T1.t_start,$PRE.step2.newActive,step2.newActive,step2.inport_fire,step2.outport_fire,T2.fire,T2.enableFire,$PRE.T2.t_start,T2.t_start,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,$PRE.step4.newActive,step4.newActive,step4.inport_fire,step4.outport_fire,T4.fire,T4.enableFire,$PRE.T4.t_start,T4.t_start,T5.fire,T5.enableFire,$PRE.T5.t_start,T5.t_start,$PRE.step1.newActive,step1.newActive,step1.inport_fire,step1.outport_fire,$PRE.risingEdge.u,risingEdge.u,set1.u[1],set1.u[2],$PRE.set1.y,set1.y,set1.firstActiveIndex,$PRE.fallingEdge.not_u,fallingEdge.not_u,set1.expr[1],set1.expr[2],T5.condition,T4.condition,T3.condition,T2.condition,T1.condition,T5.outPort.checkOneDelayedTransitionPerLoop,step1.outPort[1].checkOneDelayedTransitionPerLoop,step1.inPort[1].checkUnaryConnection,T4.outPort.checkOneDelayedTransitionPerLoop,step4.outPort[1].checkOneDelayedTransitionPerLoop,step4.inPort[1].checkUnaryConnection,T2.outPort.checkOneDelayedTransitionPerLoop,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step3.inPort[1].checkUnaryConnection,T1.outPort.checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00025/0.4152, allocations: 208.7 kB / 409.2 MB, free: 2.812 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.895e-05/0.4153, allocations: 39.53 kB / 409.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007799/0.4161, allocations: 345.5 kB / 409.6 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.4162, allocations: 4 kB / 409.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.185e-06/0.4162, allocations: 0 / 409.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.527e-06/0.4162, allocations: 7.984 kB / 409.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002073/0.4183, allocations: 0.9827 MB / 410.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.418e-06/0.4183, allocations: 7.938 kB / 410.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.127e-05/0.4184, allocations: 11.98 kB / 410.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.067e-05/0.4184, allocations: 4 kB / 410.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.289e-05/0.4185, allocations: 11.94 kB / 410.6 MB, free: 1.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.596e-06/0.4185, allocations: 7.938 kB / 410.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.883e-06/0.4185, allocations: 0 / 410.6 MB, free: 1.332 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007351/0.4192, allocations: 414.9 kB / 411 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.4195, allocations: 136.6 kB / 411.1 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.329e-05/0.4195, allocations: 11.98 kB / 411.2 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.4198, allocations: 31.94 kB / 411.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000146/0.42, allocations: 47.91 kB / 411.2 MB, free: 0.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.672e-05/0.4201, allocations: 16 kB / 411.3 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002737/0.4204, allocations: 202.2 kB / 411.5 MB, free: 464 kB / 346.7 MB Notification: Performance of sort global known variables: time 3.839e-06/0.4204, allocations: 3.938 kB / 411.5 MB, free: 460 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007117/0.4211, allocations: 115.9 kB / 411.6 MB, free: 344 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 46 (initialStep.inport_fire,initialStep.outport_fire,T1.enableFire,step2.outport_fire,T2.enableFire,step3.outport_fire,T4.enableFire,step4.outport_fire,T5.enableFire,T3.enableFire,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,T1.fire,T1.t_start,step2.newActive,step2.oldActive,step2.inport_fire,T2.fire,T2.t_start,step3.newActive,step3.oldActive,step3.inport_fire,T3.fire,T3.t_start,step4.newActive,step4.oldActive,step4.inport_fire,T4.fire,T4.t_start,T5.fire,T5.t_start,step1.newActive,step1.oldActive,step1.inport_fire,step1.outport_fire,risingEdge.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,fallingEdge.not_u) * Number of discrete states: 8 (step1.newActive,step4.newActive,step3.newActive,fallingEdge.not_u,step2.newActive,initialStep.newActive,risingEdge.u,set1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002464/0.4214, allocations: 130.3 kB / 411.7 MB, free: 204 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008585/0.4222, allocations: 381.8 kB / 412.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/0.4223, allocations: 4 kB / 412.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003051/0.4226, allocations: 143.8 kB / 412.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.4229, allocations: 50.64 kB / 412.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.4244, allocations: 0.6092 MB / 412.9 MB, free: 15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006883/0.4251, allocations: 0.8993 MB / 413.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003186/0.4254, allocations: 88.34 kB / 413.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/0.4256, allocations: 43.42 kB / 413.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4256, allocations: 0 / 413.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of Templates: time 0.01376/0.4394, allocations: 4.006 MB / 417.9 MB, free: 9.957 MB / 362.7 MB