Running command: translateModel(Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_StateGraph2_Modelica_StateGraph2.Examples.BasicStateGraphs.FirstExample_Variant3") Notification: Performance of loadModel(Modelica_StateGraph2): time 1.986/1.986, allocations: 208.4 MB / 220.6 MB, free: 15.44 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.756e-05/2.775e-05, allocations: 4 kB / 271.2 MB, free: 12.69 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.26, allocations: 47.78 MB / 319 MB, free: 12.22 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1528/0.4128, allocations: 71.92 MB / 390.9 MB, free: 5.844 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001474/0.413, allocations: 47.98 kB / 391 MB, free: 5.797 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.01787/0.4309, allocations: 4.972 MB / 396 MB, free: 0.793 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.877e-06/0.4309, allocations: 0 / 396 MB, free: 0.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.554e-05/0.431, allocations: 19.98 kB / 396 MB, free: 0.7734 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.0009053/0.4319, allocations: 0.5654 MB / 396.5 MB, free: 156 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.432, allocations: 8.031 kB / 396.6 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.4321, allocations: 43.53 kB / 396.6 MB, free: 104 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/0.4327, allocations: 318.5 kB / 396.9 MB, free: 15.75 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.79e-05/0.4328, allocations: 58.69 kB / 397 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/0.4329, allocations: 44 kB / 397 MB, free: 15.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009631/0.4339, allocations: 477.1 kB / 397.5 MB, free: 15.13 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.4339, allocations: 4 kB / 397.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/0.434, allocations: 19.94 kB / 397.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.434, allocations: 12 kB / 397.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006754/0.4347, allocations: 273.4 kB / 397.8 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/0.4375, allocations: 1.878 MB / 399.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005205/0.438, allocations: 416.2 kB / 400.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4382, allocations: 74.73 kB / 400.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/0.4393, allocations: 0.721 MB / 400.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000298/0.4396, allocations: 166.8 kB / 401 MB, free: 11.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=23): time 3.398e-06/0.4396, allocations: 0 / 401 MB, free: 11.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.0004709/0.4401, allocations: 203.1 kB / 401.2 MB, free: 11.06 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/0.4402, allocations: 174.3 kB / 401.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.4405, allocations: 229.7 kB / 401.6 MB, free: 10.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.393e-05/0.4406, allocations: 37.7 kB / 401.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001811/0.4408, allocations: 200.2 kB / 401.8 MB, free: 10.38 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.4409, allocations: 55.41 kB / 401.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.742e-05/0.4409, allocations: 4 kB / 401.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.4411, allocations: 346.8 kB / 402.2 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001728/0.4413, allocations: 60.88 kB / 402.3 MB, free: 9.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003007/0.4416, allocations: 215 kB / 402.5 MB, free: 9.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.4419, allocations: 129.5 kB / 402.6 MB, free: 9.504 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.439e-06/0.4419, allocations: 4 kB / 402.6 MB, free: 9.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0006953/0.4426, allocations: 330.9 kB / 403 MB, free: 9.164 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.964e-05/0.4426, allocations: 37.69 kB / 403 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.4427, allocations: 8 kB / 403 MB, free: 9.113 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.4427, allocations: 4 kB / 403 MB, free: 9.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001162/0.4428, allocations: 31.86 kB / 403 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.596e-05/0.4429, allocations: 8 kB / 403.1 MB, free: 9.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.4431, allocations: 24.25 kB / 403.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/0.4432, allocations: 23.98 kB / 403.1 MB, free: 9.023 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.T1.enableFire,$PRE.T2.enableFire,$PRE.T3.enableFire,$PRE.onDelay.u,$PRE.step3.oldActive,step3.oldActive,$PRE.step2.oldActive,step2.oldActive,$PRE.initialStep.oldActive,initialStep.oldActive,$whenCondition1,$whenCondition2,$whenCondition3,initialStep.active,$PRE.initialStep.newActive,initialStep.newActive,T1.condition,T1.enableFire,$PRE.step2.newActive,step2.newActive,step2.inport_fire,T2.enableFire,T2.conditionPort,$PRE.step3.newActive,step3.newActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.enableFire,$PRE.T3.t_start,T3.t_start,onDelay.u,$PRE.onDelay.delaySignal,onDelay.delaySignal,$PRE.onDelay.t_next,onDelay.t_next,step3.outPort[1].checkOneDelayedTransitionPerLoop,initialStep.node.resume,initialStep.node.suspend,T3.condition,step3.inPort[1].checkUnaryConnection,T3.outPort.checkOneDelayedTransitionPerLoop,initialStep.outPort[1].checkOneDelayedTransitionPerLoop,step2.outPort[1].checkOneDelayedTransitionPerLoop,step2.inPort[1].checkUnaryConnection,initialStep.inPort[1].checkUnaryConnection,T2.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002036/0.4434, allocations: 183.2 kB / 403.3 MB, free: 8.836 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.4435, allocations: 27.7 kB / 403.3 MB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005059/0.444, allocations: 240.8 kB / 403.5 MB, free: 8.566 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.433e-06/0.444, allocations: 4 kB / 403.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.666e-06/0.444, allocations: 0 / 403.5 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.089e-06/0.444, allocations: 7.953 kB / 403.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.4452, allocations: 0.6638 MB / 404.2 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.201e-06/0.4452, allocations: 4 kB / 404.2 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.61e-05/0.4453, allocations: 7.984 kB / 404.2 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.293e-06/0.4453, allocations: 0 / 404.2 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.4453, allocations: 8 kB / 404.2 MB, free: 7.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.693e-06/0.4453, allocations: 3.938 kB / 404.2 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.976e-06/0.4453, allocations: 0 / 404.2 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004868/0.4458, allocations: 320.9 kB / 404.6 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000127/0.446, allocations: 112.8 kB / 404.7 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.8e-05/0.446, allocations: 8 kB / 404.7 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001867/0.4462, allocations: 15.98 kB / 404.7 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.4463, allocations: 19.97 kB / 404.7 MB, free: 7.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/0.4464, allocations: 4 kB / 404.7 MB, free: 7.293 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.4466, allocations: 152.6 kB / 404.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.58e-07/0.4466, allocations: 0 / 404.9 MB, free: 7.145 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004977/0.4471, allocations: 56 kB / 404.9 MB, free: 7.09 MB / 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: 23 (T3.enableFire,$whenCondition1,$whenCondition2,$whenCondition3,initialStep.active,initialStep.newActive,initialStep.oldActive,T1.condition,T1.enableFire,step2.newActive,step2.oldActive,step2.inport_fire,T2.enableFire,T2.conditionPort,step3.newActive,step3.oldActive,step3.inport_fire,step3.outport_fire,T3.fire,T3.t_start,onDelay.u,onDelay.delaySignal,onDelay.t_next) * Number of discrete states: 7 (initialStep.newActive,step2.newActive,step3.newActive,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.0002094/0.4473, allocations: 124 kB / 405 MB, free: 6.957 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005181/0.4478, allocations: 248.2 kB / 405.3 MB, free: 6.703 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.207e-06/0.4479, allocations: 4.062 kB / 405.3 MB, free: 6.699 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002257/0.4481, allocations: 147.3 kB / 405.4 MB, free: 6.543 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.4484, allocations: 24.61 kB / 405.4 MB, free: 6.516 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008853/0.4493, allocations: 355 kB / 405.8 MB, free: 6.148 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.4498, allocations: 0.7996 MB / 406.6 MB, free: 5.324 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001497/0.45, allocations: 42.89 kB / 406.6 MB, free: 5.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.4501, allocations: 27.42 kB / 406.7 MB, free: 5.254 MB / 346.7 MB Notification: Performance of SimCode: time 1.798e-06/0.4501, allocations: 0 / 406.7 MB, free: 5.254 MB / 346.7 MB Notification: Performance of Templates: time 0.008154/0.4582, allocations: 1.93 MB / 408.6 MB, free: 3.336 MB / 346.7 MB