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_3.2.2_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.725/1.725, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.475e-05, allocations: 3.562 kB / 255.3 MB, free: 3.219 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07511/0.07516, allocations: 44.5 MB / 299.8 MB, free: 6.664 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.313/0.3882, allocations: 71.99 MB / 371.8 MB, free: 21.66 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.3884, allocations: 67.45 kB / 371.9 MB, free: 21.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05586/0.4443, allocations: 11.41 MB / 383.3 MB, free: 20.62 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.516e-06/0.4444, allocations: 1.719 kB / 383.3 MB, free: 20.62 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.27e-05/0.4445, allocations: 25.22 kB / 383.3 MB, free: 20.61 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002654/0.4471, allocations: 0.8789 MB / 384.2 MB, free: 20.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.4472, allocations: 9.062 kB / 384.2 MB, free: 20.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004113/0.4477, allocations: 93.91 kB / 384.3 MB, free: 19.99 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.449, allocations: 433.5 kB / 384.7 MB, free: 19.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.4492, allocations: 87.62 kB / 384.8 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003663/0.4496, allocations: 105.3 kB / 384.9 MB, free: 19.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003578/0.4532, allocations: 0.8969 MB / 385.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.247e-05/0.4533, allocations: 3.938 kB / 385.8 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/0.4535, allocations: 43.16 kB / 385.9 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/0.4536, allocations: 23.38 kB / 385.9 MB, free: 19.63 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003244/0.4569, allocations: 0.6878 MB / 386.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006912/0.4638, allocations: 2.335 MB / 388.9 MB, free: 18.77 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.4661, allocations: 0.6444 MB / 389.6 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.4673, allocations: 328.4 kB / 389.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001158/0.4674, allocations: 12.5 kB / 389.9 MB, free: 18.67 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00144/0.4689, allocations: 426.5 kB / 390.3 MB, free: 18.58 MB / 314.7 MB Notification: Performance of pre-optimization done (n=99): time 9.534e-06/0.4689, allocations: 0 / 390.3 MB, free: 18.58 MB / 314.7 MB Notification: Performance of matching and sorting (n=99): time 0.0024/0.4713, allocations: 0.5996 MB / 390.9 MB, free: 18.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.873e-05/0.4714, allocations: 104.8 kB / 391 MB, free: 18.39 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.472, allocations: 289.8 kB / 391.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.4722, allocations: 71.19 kB / 391.4 MB, free: 18.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003121/0.4725, allocations: 357 kB / 391.7 MB, free: 18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.4729, allocations: 239.7 kB / 392 MB, free: 17.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.4731, allocations: 22.78 kB / 392 MB, free: 17.88 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.4732, allocations: 356 kB / 392.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.4744, allocations: 261.6 kB / 392.6 MB, free: 17.56 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.4757, allocations: 463.9 kB / 393 MB, free: 17.34 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001124/0.4769, allocations: 270 kB / 393.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.4769, allocations: 0 / 393.3 MB, free: 17.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003117/0.4801, allocations: 0.8194 MB / 394.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.4801, allocations: 7.812 kB / 394.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.4802, allocations: 11.8 kB / 394.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.914e-05/0.4802, allocations: 11.69 kB / 394.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.4812, allocations: 115.8 kB / 394.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-05/0.4812, allocations: 11.75 kB / 394.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000839/0.4821, allocations: 68.78 kB / 394.3 MB, free: 17.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.4823, allocations: 54.03 kB / 394.4 MB, free: 17.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 124 ($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,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 (154): * Single equations (assignments): 154 * 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.0003928/0.4827, allocations: 226.5 kB / 394.6 MB, free: 17 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/0.4829, allocations: 46.69 kB / 394.7 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.4857, allocations: 0.7283 MB / 395.4 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.4857, allocations: 15.7 kB / 395.4 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.4858, allocations: 0 / 395.4 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.4858, allocations: 6.938 kB / 395.4 MB, free: 16.9 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005534/0.4914, allocations: 1.651 MB / 397.1 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.4914, allocations: 0 / 397.1 MB, free: 16.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/0.4921, allocations: 71.34 kB / 397.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.26e-05/0.4921, allocations: 3.906 kB / 397.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001108/0.4923, allocations: 25.3 kB / 397.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.395e-05/0.4923, allocations: 7.844 kB / 397.2 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.215e-06/0.4923, allocations: 3.953 kB / 397.2 MB, free: 16.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.4947, allocations: 0.7753 MB / 397.9 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001175/0.4948, allocations: 128 kB / 398.1 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.495, allocations: 21.58 kB / 398.1 MB, free: 16.16 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006769/0.4957, allocations: 52.73 kB / 398.1 MB, free: 16.15 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004739/0.4962, allocations: 98.17 kB / 398.2 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001685/0.4964, allocations: 34.56 kB / 398.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.4967, allocations: 154.1 kB / 398.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.321e-06/0.4968, allocations: 0 / 398.4 MB, free: 16.07 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001705/0.4985, allocations: 165.6 kB / 398.6 MB, free: 16.07 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 84 (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: 8 (step0.newActive,step1.newActive,step6.newActive,step2.newActive,step3.newActive,step4.newActive,step5.newActive,step4a.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.000444/0.499, allocations: 169.6 kB / 398.7 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002896/0.5019, allocations: 0.6991 MB / 399.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.826e-06/0.5019, allocations: 0 / 399.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.5033, allocations: 363.3 kB / 399.8 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007101/0.5041, allocations: 85.11 kB / 399.9 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.5059, allocations: 0.9073 MB / 400.8 MB, free: 15.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.5064, allocations: 0.9507 MB / 401.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002955/0.5067, allocations: 76.75 kB / 401.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of SimCode: time 1.662e-06/0.5067, allocations: 0 / 401.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of Templates: time 0.01363/0.5203, allocations: 8.657 MB / 410.5 MB, free: 12.91 MB / 314.7 MB