Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.enableFire|transition2.enableFire|transition3.enableFire|transition4.enableFire|transition4a.enableFire|transition5.enableFire|transition6.enableFire|transition6a.enableFire|transition7.enableFire",fileNamePrefix="Modelica_4.0.0_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.342e-05, allocations: 7.984 kB / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1014, allocations: 50.41 MB / 342.5 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4609/0.5623, allocations: 77.56 MB / 420.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.5626, allocations: 64.41 kB / 420.2 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04571/0.6083, allocations: 11.9 MB / 432.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.25e-06/0.6084, allocations: 0 / 432.1 MB, free: 6.301 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.368e-05/0.6084, allocations: 27.94 kB / 432.1 MB, free: 6.273 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.001745/0.6102, allocations: 0.9045 MB / 433 MB, free: 5.352 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.6103, allocations: 12.03 kB / 433 MB, free: 5.34 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002283/0.6105, allocations: 94.95 kB / 433.1 MB, free: 5.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008196/0.6113, allocations: 444.5 kB / 433.5 MB, free: 4.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.6115, allocations: 88.19 kB / 433.6 MB, free: 4.797 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001919/0.6117, allocations: 109.6 kB / 433.7 MB, free: 4.723 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.6138, allocations: 0.9315 MB / 434.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.6138, allocations: 0 / 434.7 MB, free: 4.059 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.614, allocations: 44.06 kB / 434.7 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.974e-05/0.614, allocations: 27.89 kB / 434.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/0.6157, allocations: 0.6759 MB / 435.4 MB, free: 3.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005413/0.6211, allocations: 2.484 MB / 437.9 MB, free: 1.547 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001281/0.6224, allocations: 0.656 MB / 438.6 MB, free: 1.094 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006769/0.6231, allocations: 332.8 kB / 438.9 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.884e-05/0.6232, allocations: 20.94 kB / 438.9 MB, free: 0.8594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008426/0.6241, allocations: 428.6 kB / 439.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 4.679e-06/0.6241, allocations: 0 / 439.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.00146/0.6256, allocations: 0.6047 MB / 439.9 MB, free: 56 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.6257, allocations: 126.5 kB / 440 MB, free: 15.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004325/0.6262, allocations: 297.7 kB / 440.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.6263, allocations: 72.06 kB / 440.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.6266, allocations: 302.4 kB / 440.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.6269, allocations: 246.2 kB / 440.9 MB, free: 15.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.627, allocations: 23.81 kB / 441 MB, free: 15.17 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.6272, allocations: 365.9 kB / 441.3 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/0.6279, allocations: 260.5 kB / 441.6 MB, free: 14.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000998/0.6289, allocations: 467.1 kB / 442 MB, free: 14.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.6296, allocations: 277.8 kB / 442.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.6296, allocations: 7.938 kB / 442.3 MB, free: 14.04 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001894/0.6315, allocations: 0.833 MB / 443.1 MB, free: 13.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.6316, allocations: 8 kB / 443.2 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.701e-05/0.6316, allocations: 8 kB / 443.2 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.329e-05/0.6317, allocations: 12 kB / 443.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005414/0.6322, allocations: 118.8 kB / 443.3 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.914e-05/0.6323, allocations: 19.88 kB / 443.3 MB, free: 13.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004729/0.6328, allocations: 78.11 kB / 443.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.6329, allocations: 50.98 kB / 443.4 MB, free: 13.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 126 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.transition6.enableFire,$PRE.transition7.enableFire,$PRE.transition4a.enableFire,$PRE.transition6a.enableFire,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,step0.active,transition1.enableFire,transition1.fire,$PRE.transition1.t_start,transition1.t_start,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,step1.active,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step6.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,step2.active,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step3.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,step4.active,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,step4a.active,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps,$PRE.transition7.t_start,transition7.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition6a.condition,transition4a.condition,transition6.condition,transition5.condition,transition4.condition,transition3.condition,transition2.condition,transition1.condition) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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.0003072/0.6332, allocations: 226.7 kB / 443.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.6334, allocations: 47.44 kB / 443.7 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.635, allocations: 0.7349 MB / 444.4 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/0.635, allocations: 12 kB / 444.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.216e-06/0.6351, allocations: 4 kB / 444.5 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.6351, allocations: 7.938 kB / 444.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.6388, allocations: 1.669 MB / 446.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.6388, allocations: 0 / 446.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.6392, allocations: 67.83 kB / 446.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/0.6393, allocations: 4 kB / 446.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.82e-05/0.6393, allocations: 27.98 kB / 446.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.029e-05/0.6394, allocations: 4 kB / 446.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.498e-06/0.6394, allocations: 0 / 446.2 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.6409, allocations: 0.8016 MB / 447 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.6411, allocations: 128.3 kB / 447.2 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.6412, allocations: 23.98 kB / 447.2 MB, free: 9.559 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003373/0.6416, allocations: 51.92 kB / 447.2 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002674/0.6418, allocations: 96.84 kB / 447.3 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/0.6419, allocations: 35.98 kB / 447.4 MB, free: 9.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001906/0.6421, allocations: 153.4 kB / 447.5 MB, free: 9.23 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.6422, allocations: 0 / 447.5 MB, free: 9.23 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008606/0.643, allocations: 168 kB / 447.7 MB, free: 9.066 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 85 (transition7.t_start,transition4a.enableFire,transition4.enableFire,transition6a.enableFire,step4a.localActive,transition2.enableFire,step5.localActive,transition5.enableFire,transition6.enableFire,step4.localActive,step3.localActive,transition3.enableFire,transition1.enableFire,step2.localActive,step6.localActive,step1.localActive,step0.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,step0.newActive,step0.oldActive,step0.active,transition1.fire,transition1.t_start,step1.newActive,step1.oldActive,step1.active,transition2.fire,transition2.t_start,step6.newActive,step6.oldActive,step6.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,step2.active,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.newActive,step3.oldActive,step3.active,step4.newActive,step4.oldActive,step4.active,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.inPort[1].set,step5.newActive,step5.oldActive,step5.active,transition7.enableFire,setCondition.y,transition4a.fire,transition4a.t_start,step4a.newActive,step4a.oldActive,step4a.active,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,Parallel1.inPort.occupied,Parallel1.outPort.available,stateGraphRoot.activeSteps) * Number of discrete states: 9 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive,transition7.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 17 * 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.0003035/0.6434, allocations: 172 kB / 447.8 MB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/0.645, allocations: 0.7103 MB / 448.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.795e-06/0.645, allocations: 0 / 448.6 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.6458, allocations: 379.6 kB / 448.9 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.6464, allocations: 84.44 kB / 449 MB, free: 7.73 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002269/0.6486, allocations: 0.9193 MB / 449.9 MB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007876/0.6495, allocations: 0.9703 MB / 450.9 MB, free: 5.781 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000511/0.65, allocations: 110 kB / 451 MB, free: 5.672 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002895/0.6503, allocations: 71.41 kB / 451.1 MB, free: 5.602 MB / 362.7 MB Notification: Performance of SimCode: time 1.765e-06/0.6503, allocations: 0 / 451.1 MB, free: 5.602 MB / 362.7 MB Notification: Performance of Templates: time 0.0208/0.6711, allocations: 6.642 MB / 457.7 MB, free: 14.98 MB / 378.7 MB