Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.043/1.043, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.559e-05/2.572e-05, allocations: 4 kB / 151.4 MB, free: 15.64 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1421, allocations: 25.15 MB / 176.5 MB, free: 20 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05444/0.1966, allocations: 34.28 MB / 210.8 MB, free: 15.21 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002014/0.1969, allocations: 63.97 kB / 210.9 MB, free: 15.14 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04382/0.2407, allocations: 11.31 MB / 222.2 MB, free: 3.766 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.2408, allocations: 0 / 222.2 MB, free: 3.766 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.957e-05/0.2408, allocations: 27.88 kB / 222.2 MB, free: 3.738 MB / 186.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.001742/0.2426, allocations: 0.8812 MB / 223.1 MB, free: 2.773 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2426, allocations: 8.031 kB / 223.1 MB, free: 2.766 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.2429, allocations: 90.92 kB / 223.2 MB, free: 2.676 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008267/0.2437, allocations: 430 kB / 223.6 MB, free: 2.215 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.2439, allocations: 85.98 kB / 223.7 MB, free: 2.133 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000187/0.2441, allocations: 108 kB / 223.8 MB, free: 2.027 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.2461, allocations: 0.891 MB / 224.7 MB, free: 1.109 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.2462, allocations: 3.938 kB / 224.7 MB, free: 1.105 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.2463, allocations: 39.98 kB / 224.7 MB, free: 1.066 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.023e-05/0.2463, allocations: 27.95 kB / 224.8 MB, free: 1.039 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.2481, allocations: 0.6872 MB / 225.4 MB, free: 360 kB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/0.2526, allocations: 2.306 MB / 227.8 MB, free: 13.97 MB / 202.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/0.254, allocations: 0.6309 MB / 228.4 MB, free: 13.32 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000697/0.2547, allocations: 335.8 kB / 228.7 MB, free: 12.99 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.296e-05/0.2548, allocations: 12.78 kB / 228.7 MB, free: 12.98 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008804/0.2557, allocations: 416.3 kB / 229.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of pre-optimization done (n=99): time 4.688e-06/0.2558, allocations: 0 / 229.1 MB, free: 12.55 MB / 202.7 MB Notification: Performance of matching and sorting (n=99): time 0.001494/0.2573, allocations: 0.5972 MB / 229.7 MB, free: 11.95 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/0.2574, allocations: 105.9 kB / 229.8 MB, free: 11.82 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004372/0.2578, allocations: 288.2 kB / 230.1 MB, free: 11.54 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001262/0.258, allocations: 65.7 kB / 230.2 MB, free: 11.46 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.2583, allocations: 347.5 kB / 230.5 MB, free: 11.12 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003094/0.2586, allocations: 248.9 kB / 230.8 MB, free: 10.88 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-05/0.2587, allocations: 24 kB / 230.8 MB, free: 10.85 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.2589, allocations: 354.8 kB / 231.1 MB, free: 10.5 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006428/0.2596, allocations: 250.6 kB / 231.4 MB, free: 10.25 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008284/0.2604, allocations: 456.8 kB / 231.8 MB, free: 9.73 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006957/0.2611, allocations: 273.1 kB / 232.1 MB, free: 9.465 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.985e-06/0.2611, allocations: 4 kB / 232.1 MB, free: 9.461 MB / 202.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001921/0.2631, allocations: 0.8203 MB / 232.9 MB, free: 8.633 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.2631, allocations: 8 kB / 232.9 MB, free: 8.625 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/0.2632, allocations: 4 kB / 232.9 MB, free: 8.621 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.488e-05/0.2632, allocations: 16.73 kB / 232.9 MB, free: 8.605 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.2637, allocations: 119.6 kB / 233.1 MB, free: 8.488 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.664e-05/0.2638, allocations: 15.98 kB / 233.1 MB, free: 8.473 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.2643, allocations: 63.73 kB / 233.1 MB, free: 8.41 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.2644, allocations: 51.98 kB / 233.2 MB, free: 8.359 MB / 202.7 MB Warning: Assuming fixed start value for the following 8 variables: transition6a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition6.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition5.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition3.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition2.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real 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.0004086/0.2648, allocations: 251.8 kB / 233.4 MB, free: 8.105 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.265, allocations: 51.42 kB / 233.5 MB, free: 8.055 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001729/0.2667, allocations: 0.7378 MB / 234.2 MB, free: 7.309 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.2667, allocations: 8 kB / 234.2 MB, free: 7.301 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.22e-06/0.2668, allocations: 4 kB / 234.2 MB, free: 7.297 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.2668, allocations: 3.984 kB / 234.2 MB, free: 7.293 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.2705, allocations: 1.65 MB / 235.9 MB, free: 5.59 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.719e-06/0.2706, allocations: 0 / 235.9 MB, free: 5.59 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003657/0.2709, allocations: 67.84 kB / 236 MB, free: 5.523 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.271, allocations: 4 kB / 236 MB, free: 5.52 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.378e-05/0.271, allocations: 23.98 kB / 236 MB, free: 5.496 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.576e-06/0.2711, allocations: 4 kB / 236 MB, free: 5.492 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.376e-06/0.2711, allocations: 0 / 236 MB, free: 5.492 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001529/0.2726, allocations: 0.7872 MB / 236.8 MB, free: 4.68 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.2728, allocations: 132.3 kB / 236.9 MB, free: 4.531 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.583e-05/0.2729, allocations: 20 kB / 236.9 MB, free: 4.512 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.2732, allocations: 43.97 kB / 237 MB, free: 4.469 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002722/0.2735, allocations: 100.8 kB / 237.1 MB, free: 4.367 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.143e-05/0.2736, allocations: 35.98 kB / 237.1 MB, free: 4.332 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001938/0.2738, allocations: 149.4 kB / 237.2 MB, free: 4.188 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.2738, allocations: 0 / 237.2 MB, free: 4.188 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0008304/0.2747, allocations: 168 kB / 237.4 MB, free: 4.023 MB / 202.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.0002971/0.275, allocations: 171.8 kB / 237.6 MB, free: 3.848 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.2766, allocations: 0.7049 MB / 238.3 MB, free: 3.145 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.699e-06/0.2766, allocations: 0 / 238.3 MB, free: 3.145 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007474/0.2774, allocations: 357.2 kB / 238.6 MB, free: 2.797 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/0.278, allocations: 80.39 kB / 238.7 MB, free: 2.715 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002188/0.2802, allocations: 0.9201 MB / 239.6 MB, free: 1.762 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007511/0.2809, allocations: 0.9469 MB / 240.6 MB, free: 0.7891 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003461/0.2813, allocations: 71.42 kB / 240.6 MB, free: 0.7227 MB / 202.7 MB Notification: Performance of SimCode: time 1.991e-06/0.2813, allocations: 0 / 240.6 MB, free: 0.7227 MB / 202.7 MB Notification: Performance of Templates: time 0.01716/0.2985, allocations: 8.686 MB / 249.3 MB, free: 8.027 MB / 218.7 MB