Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.Actions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.Actions3") Notification: Performance of loadModel(Modelica_StateGraph2): time 1.942/1.942, allocations: 208.4 MB / 220.6 MB, free: 15.43 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.003e-05, allocations: 0 / 271.2 MB, free: 12.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2783, allocations: 47.78 MB / 319 MB, free: 12.27 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1086/0.387, allocations: 72.12 MB / 391.1 MB, free: 5.633 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001342/0.3872, allocations: 51.98 kB / 391.2 MB, free: 5.582 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.02919/0.4164, allocations: 8.066 MB / 399.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.962e-06/0.4164, allocations: 0 / 399.3 MB, free: 13.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.807e-05/0.4165, allocations: 20 kB / 399.3 MB, free: 13.46 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: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.001363/0.4179, allocations: 0.7475 MB / 400 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.4179, allocations: 11.98 kB / 400 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001868/0.4181, allocations: 75.16 kB / 400.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009655/0.4191, allocations: 449.8 kB / 400.6 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.145e-05/0.4192, allocations: 54 kB / 400.6 MB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.4193, allocations: 76 kB / 400.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.421, allocations: 0.7842 MB / 401.5 MB, free: 11.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.577e-05/0.4211, allocations: 4 kB / 401.5 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.236e-05/0.4212, allocations: 28 kB / 401.5 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-05/0.4212, allocations: 29.31 kB / 401.5 MB, free: 11.06 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001222/0.4224, allocations: 490.4 kB / 402 MB, free: 10.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004747/0.4272, allocations: 3.214 MB / 405.2 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.4281, allocations: 0.6443 MB / 405.9 MB, free: 6.355 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002522/0.4284, allocations: 116.8 kB / 406 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001137/0.4285, allocations: 89.09 kB / 406.1 MB, free: 6.133 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.4289, allocations: 189.9 kB / 406.3 MB, free: 5.934 MB / 346.7 MB Notification: Performance of pre-optimization done (n=45): time 4.046e-06/0.4289, allocations: 0 / 406.3 MB, free: 5.934 MB / 346.7 MB Notification: Performance of matching and sorting (n=45): time 0.000856/0.4298, allocations: 313.5 kB / 406.6 MB, free: 5.621 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.43, allocations: 195.9 kB / 406.8 MB, free: 5.387 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005237/0.4305, allocations: 353.9 kB / 407.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.4e-05/0.4306, allocations: 49.69 kB / 407.1 MB, free: 4.977 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.4309, allocations: 288.2 kB / 407.4 MB, free: 4.691 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.431, allocations: 110.8 kB / 407.5 MB, free: 4.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/0.4311, allocations: 12 kB / 407.5 MB, free: 4.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.4313, allocations: 354.8 kB / 407.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.4316, allocations: 133.5 kB / 408 MB, free: 4.086 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/0.4322, allocations: 397.1 kB / 408.4 MB, free: 3.578 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.4327, allocations: 181.5 kB / 408.6 MB, free: 3.398 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.168e-06/0.4327, allocations: 0 / 408.6 MB, free: 3.398 MB / 346.7 MB Notification: Performance of matching and sorting (n=91) (initialization): time 0.001231/0.4339, allocations: 0.5426 MB / 409.1 MB, free: 2.848 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/0.434, allocations: 8 kB / 409.1 MB, free: 2.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.434, allocations: 8 kB / 409.1 MB, free: 2.832 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.133e-05/0.434, allocations: 16 kB / 409.2 MB, free: 2.816 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.4343, allocations: 55.84 kB / 409.2 MB, free: 2.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.902e-05/0.4343, allocations: 23.89 kB / 409.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004689/0.4348, allocations: 52.19 kB / 409.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.4349, allocations: 32 kB / 409.3 MB, free: 2.656 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 91 ($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,$PRE.add1.y,add1.y,initialStep.node.resume,initialStep.node.suspend,$whenCondition7,$whenCondition6,$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.enableFire,$PRE.T2.t_start,T2.t_start,T2.firePort,$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.enableFire,$PRE.T5.t_start,T5.t_start,T5.firePort,$PRE.step1.newActive,step1.newActive,step1.inport_fire,step1.outport_fire,$PRE.set1.y,set1.y,set1.firstActiveIndex,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 (91): * Single equations (assignments): 91 * 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.0002423/0.4351, allocations: 196.6 kB / 409.5 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.169e-05/0.4352, allocations: 39.53 kB / 409.6 MB, free: 2.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007869/0.436, allocations: 345.6 kB / 409.9 MB, free: 2.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.4361, allocations: 4 kB / 409.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.71e-06/0.4361, allocations: 4 kB / 409.9 MB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.4361, allocations: 7.938 kB / 409.9 MB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/0.4383, allocations: 1.007 MB / 410.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.4383, allocations: 4 kB / 410.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.104e-05/0.4384, allocations: 11.94 kB / 410.9 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.4384, allocations: 3.984 kB / 410.9 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.4385, allocations: 12 kB / 410.9 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.302e-06/0.4385, allocations: 3.938 kB / 410.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.265e-06/0.4385, allocations: 4 kB / 411 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007054/0.4392, allocations: 414.8 kB / 411.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.4394, allocations: 132.6 kB / 411.5 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.159e-05/0.4395, allocations: 15.98 kB / 411.5 MB, free: 376 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.4399, allocations: 31.97 kB / 411.5 MB, free: 344 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.44, allocations: 39.94 kB / 411.6 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.4401, allocations: 15.98 kB / 411.6 MB, free: 288 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002946/0.4404, allocations: 202.2 kB / 411.8 MB, free: 88 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.4404, allocations: 0 / 411.8 MB, free: 88 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001056/0.4415, allocations: 112 kB / 411.9 MB, free: 15.97 MB / 362.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: 45 (initialStep.inport_fire,initialStep.outport_fire,T1.enableFire,step2.outport_fire,T2.firePort,T2.enableFire,step3.outport_fire,T4.enableFire,step4.outport_fire,T5.firePort,T5.enableFire,T3.enableFire,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,initialStep.newActive,initialStep.oldActive,T1.fire,T1.t_start,step2.newActive,step2.oldActive,step2.inport_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.t_start,step1.newActive,step1.oldActive,step1.inport_fire,step1.outport_fire,add1.y,set1.y,set1.firstActiveIndex) * Number of discrete states: 7 (step1.newActive,step4.newActive,step3.newActive,step2.newActive,initialStep.newActive,set1.y,add1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0003498/0.4418, allocations: 134.3 kB / 412 MB, free: 15.83 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001364/0.4432, allocations: 363.2 kB / 412.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.392e-06/0.4433, allocations: 8.062 kB / 412.4 MB, free: 15.48 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005544/0.4438, allocations: 139.9 kB / 412.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006655/0.4445, allocations: 48.53 kB / 412.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.4469, allocations: 0.6132 MB / 413.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009535/0.4479, allocations: 0.9106 MB / 414.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005637/0.4485, allocations: 84.34 kB / 414.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.4487, allocations: 39.44 kB / 414.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of SimCode: time 2.289e-06/0.4488, allocations: 0 / 414.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Templates: time 0.02417/0.4729, allocations: 4.017 MB / 418.2 MB, free: 9.594 MB / 362.7 MB