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.864/1.864, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.287e-05/2.289e-05, allocations: 7.938 kB / 249.6 MB, free: 15.3 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2449, allocations: 44.49 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1094/0.3544, allocations: 71.32 MB / 365.4 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002163/0.3546, allocations: 75.84 kB / 365.5 MB, free: 10.62 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05035/0.405, allocations: 11.12 MB / 376.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.155e-06/0.4051, allocations: 0 / 376.6 MB, free: 15.42 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001048/0.4052, allocations: 27.94 kB / 376.6 MB, free: 15.39 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.003546/0.4088, allocations: 0.877 MB / 377.5 MB, free: 14.44 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.301e-05/0.4089, allocations: 12.03 kB / 377.5 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004928/0.4094, allocations: 90.97 kB / 377.6 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00182/0.4112, allocations: 437.9 kB / 378 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.4114, allocations: 43.98 kB / 378.1 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003774/0.4118, allocations: 64 kB / 378.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003703/0.4156, allocations: 0.6443 MB / 378.8 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004043/0.4197, allocations: 0.7815 MB / 379.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.639e-05/0.4197, allocations: 0 / 379.6 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001995/0.42, allocations: 19.92 kB / 379.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.456e-05/0.42, allocations: 20 kB / 379.6 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008849/0.4289, allocations: 2.174 MB / 381.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002667/0.4317, allocations: 0.6112 MB / 382.4 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.433, allocations: 296 kB / 382.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.4332, allocations: 8.781 kB / 382.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/0.435, allocations: 399.7 kB / 383.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of pre-optimization done (n=99): time 8.785e-06/0.435, allocations: 0 / 383.1 MB, free: 8.695 MB / 330.7 MB Notification: Performance of matching and sorting (n=99): time 0.003069/0.4381, allocations: 0.5465 MB / 383.6 MB, free: 8.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.4383, allocations: 101.9 kB / 383.7 MB, free: 8.023 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.4391, allocations: 279.7 kB / 384 MB, free: 7.742 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002494/0.4394, allocations: 53.69 kB / 384.1 MB, free: 7.684 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.44, allocations: 351.5 kB / 384.4 MB, free: 7.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005698/0.4406, allocations: 225 kB / 384.6 MB, free: 7.113 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.706e-05/0.4408, allocations: 0 / 384.6 MB, free: 7.113 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003842/0.4412, allocations: 358.8 kB / 385 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001327/0.4425, allocations: 230.6 kB / 385.2 MB, free: 6.531 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.4443, allocations: 441.1 kB / 385.6 MB, free: 6.023 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001476/0.4458, allocations: 242.6 kB / 385.9 MB, free: 5.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.484e-05/0.4458, allocations: 0 / 385.9 MB, free: 5.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003941/0.4498, allocations: 0.7343 MB / 386.6 MB, free: 5.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.112e-05/0.4499, allocations: 10.03 kB / 386.6 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.028e-05/0.4499, allocations: 8.688 kB / 386.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.072e-05/0.45, allocations: 15.98 kB / 386.6 MB, free: 5.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.4512, allocations: 119.6 kB / 386.8 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-05/0.4512, allocations: 19.88 kB / 386.8 MB, free: 4.879 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000994/0.4523, allocations: 47.72 kB / 386.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002699/0.4526, allocations: 55.97 kB / 386.9 MB, free: 4.777 MB / 330.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.0005619/0.4532, allocations: 182.7 kB / 387.1 MB, free: 4.586 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.4534, allocations: 47.44 kB / 387.1 MB, free: 4.539 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.4574, allocations: 0.6711 MB / 387.8 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.851e-05/0.4575, allocations: 8 kB / 387.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/0.4575, allocations: 11.95 kB / 387.8 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-05/0.4576, allocations: 3.984 kB / 387.8 MB, free: 3.844 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007598/0.4652, allocations: 1.463 MB / 389.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-05/0.4653, allocations: 0 / 389.3 MB, free: 2.336 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007938/0.4661, allocations: 71.83 kB / 389.3 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.047e-05/0.4662, allocations: 8 kB / 389.3 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001208/0.4663, allocations: 11.98 kB / 389.3 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.015e-05/0.4663, allocations: 4 kB / 389.4 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.691e-06/0.4664, allocations: 3.938 kB / 389.4 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003568/0.47, allocations: 0.7259 MB / 390.1 MB, free: 1.488 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002448/0.4702, allocations: 132.3 kB / 390.2 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.4705, allocations: 19.98 kB / 390.2 MB, free: 1.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006833/0.4712, allocations: 23.97 kB / 390.3 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002792/0.4715, allocations: 109.1 kB / 390.4 MB, free: 1.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.585e-05/0.4716, allocations: 27.98 kB / 390.4 MB, free: 1.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001737/0.4718, allocations: 144.5 kB / 390.5 MB, free: 1.023 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.96e-07/0.4718, allocations: 4 kB / 390.5 MB, free: 1.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007873/0.4726, allocations: 124 kB / 390.7 MB, free: 0.8984 MB / 330.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.0002836/0.4729, allocations: 151 kB / 390.8 MB, free: 0.7422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001386/0.4743, allocations: 0.6672 MB / 391.5 MB, free: 80 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.948e-06/0.4743, allocations: 4.062 kB / 391.5 MB, free: 76 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006993/0.475, allocations: 341 kB / 391.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/0.4755, allocations: 64.31 kB / 391.9 MB, free: 15.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002029/0.4776, allocations: 0.8663 MB / 392.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.4783, allocations: 0.9506 MB / 393.7 MB, free: 13.79 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000311/0.4787, allocations: 71.42 kB / 393.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.649e-06/0.4787, allocations: 0 / 393.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of Templates: time 0.01681/0.4955, allocations: 8.647 MB / 402.4 MB, free: 5.078 MB / 346.7 MB