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 0.9873/0.9873, allocations: 111.1 MB / 126.3 MB, free: 6.398 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.022e-05/3.023e-05, allocations: 4 kB / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05541/0.05546, allocations: 25.18 MB / 179.7 MB, free: 9.617 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003509/0.05902, allocations: 2.013 MB / 181.7 MB, free: 7.598 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.06119, allocations: 0.7747 MB / 182.5 MB, free: 6.82 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002572/0.06147, allocations: 23.94 kB / 182.5 MB, free: 6.797 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002285/0.06171, allocations: 87.25 kB / 182.6 MB, free: 6.711 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000189/0.06191, allocations: 43.78 kB / 182.6 MB, free: 6.668 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.06294, allocations: 331.5 kB / 182.9 MB, free: 6.344 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009306/0.06389, allocations: 0.5384 MB / 183.5 MB, free: 5.805 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008948/0.0648, allocations: 0.5232 MB / 184 MB, free: 5.277 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003418/0.06516, allocations: 231.5 kB / 184.2 MB, free: 5.051 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004415/0.06561, allocations: 282.9 kB / 184.5 MB, free: 4.773 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001736/0.0658, allocations: 48 kB / 184.6 MB, free: 4.727 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.06592, allocations: 40 kB / 184.6 MB, free: 4.688 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.06617, allocations: 175.4 kB / 184.8 MB, free: 4.516 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.06631, allocations: 48 kB / 184.8 MB, free: 4.469 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.06734, allocations: 0.6549 MB / 185.5 MB, free: 3.812 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.06735, allocations: 0 / 185.5 MB, free: 3.812 MB / 154.7 MB Notification: Performance of FrontEnd: time 5.681e-06/0.06737, allocations: 4 kB / 185.5 MB, free: 3.809 MB / 154.7 MB Notification: Performance of Transformations before backend: time 1.428e-05/0.06739, allocations: 0 / 185.5 MB, free: 3.809 MB / 154.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.001954/0.06936, allocations: 0.8706 MB / 186.3 MB, free: 2.871 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.06942, allocations: 8.031 kB / 186.3 MB, free: 2.863 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002194/0.06964, allocations: 94.92 kB / 186.4 MB, free: 2.77 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008376/0.07049, allocations: 449.4 kB / 186.9 MB, free: 2.289 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.07063, allocations: 85.97 kB / 187 MB, free: 2.207 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002058/0.07085, allocations: 104 kB / 187.1 MB, free: 2.105 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00237/0.07323, allocations: 0.9298 MB / 188 MB, free: 1.148 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.95e-05/0.07328, allocations: 0 / 188 MB, free: 1.148 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.07341, allocations: 39.98 kB / 188 MB, free: 1.109 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.07345, allocations: 24 kB / 188.1 MB, free: 1.086 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002186/0.07565, allocations: 0.7299 MB / 188.8 MB, free: 364 kB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005393/0.08109, allocations: 2.364 MB / 191.2 MB, free: 13.92 MB / 170.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001733/0.08288, allocations: 0.6726 MB / 191.8 MB, free: 13.22 MB / 170.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001195/0.08305, allocations: 14.33 kB / 191.8 MB, free: 13.21 MB / 170.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001097/0.08415, allocations: 433.7 kB / 192.3 MB, free: 12.77 MB / 170.7 MB Notification: Performance of pre-optimization done (n=99): time 4.489e-06/0.0842, allocations: 3.938 kB / 192.3 MB, free: 12.77 MB / 170.7 MB Notification: Performance of matching and sorting (n=99): time 0.002407/0.08662, allocations: 0.8241 MB / 193.1 MB, free: 11.94 MB / 170.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.08677, allocations: 110 kB / 193.2 MB, free: 11.81 MB / 170.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.0873, allocations: 291.4 kB / 193.5 MB, free: 11.52 MB / 170.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001843/0.0875, allocations: 69.69 kB / 193.5 MB, free: 11.45 MB / 170.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003501/0.08786, allocations: 351.3 kB / 193.9 MB, free: 11.1 MB / 170.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.08824, allocations: 248.7 kB / 194.1 MB, free: 10.86 MB / 170.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.543e-05/0.08832, allocations: 28.12 kB / 194.2 MB, free: 10.83 MB / 170.7 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.08852, allocations: 354.8 kB / 194.5 MB, free: 10.47 MB / 170.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/0.08936, allocations: 254.5 kB / 194.8 MB, free: 10.22 MB / 170.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.09041, allocations: 467.4 kB / 195.2 MB, free: 9.691 MB / 170.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000891/0.09134, allocations: 290.5 kB / 195.5 MB, free: 9.406 MB / 170.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/0.09138, allocations: 0 / 195.5 MB, free: 9.406 MB / 170.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002371/0.09376, allocations: 0.8515 MB / 196.3 MB, free: 8.547 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/0.09383, allocations: 11.94 kB / 196.4 MB, free: 8.535 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.932e-05/0.09386, allocations: 8 kB / 196.4 MB, free: 8.527 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.857e-05/0.09391, allocations: 12 kB / 196.4 MB, free: 8.516 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007642/0.09468, allocations: 116.3 kB / 196.5 MB, free: 8.402 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.458e-05/0.09474, allocations: 15.94 kB / 196.5 MB, free: 8.387 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006411/0.09539, allocations: 115 kB / 196.6 MB, free: 8.273 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.09554, allocations: 44 kB / 196.7 MB, free: 8.23 MB / 170.7 MB Warning: Assuming fixed start value for the following 8 variables: transition6a.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4a.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition6.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition5.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition4.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition3.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition2.t_start:DISCRETE(unit = "s" fixed = true protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = true 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,step0.active,$PRE.step0.localActive,step0.localActive,$PRE.step0.newActive,step0.newActive,$PRE.step0.oldActive,step0.oldActive,transition1.enableFire,transition1.fire,transition1.outPort.occupied,$PRE.transition1.t_start,transition1.t_start,step1.active,$PRE.step1.localActive,step1.localActive,$PRE.step1.newActive,step1.newActive,$PRE.step1.oldActive,step1.oldActive,transition2.enableFire,transition2.fire,$PRE.transition2.t_start,transition2.t_start,step6.active,$PRE.step6.localActive,step6.localActive,$PRE.step6.newActive,step6.newActive,$PRE.step6.oldActive,step6.oldActive,step2.active,$PRE.step2.localActive,step2.localActive,step2.outPort[1].reset,$PRE.step2.newActive,step2.newActive,$PRE.step2.oldActive,step2.oldActive,transition3.enableFire,transition3.fire,$PRE.transition3.t_start,transition3.t_start,transition4.enableFire,transition4.fire,$PRE.transition4.t_start,transition4.t_start,step3.active,$PRE.step3.localActive,step3.localActive,$PRE.step3.newActive,step3.newActive,$PRE.step3.oldActive,step3.oldActive,step4.active,$PRE.step4.localActive,step4.localActive,$PRE.step4.newActive,step4.newActive,$PRE.step4.oldActive,step4.oldActive,transition5.enableFire,transition5.fire,$PRE.transition5.t_start,transition5.t_start,transition6.enableFire,transition6.fire,$PRE.transition6.t_start,transition6.t_start,step5.active,$PRE.step5.localActive,step5.localActive,step5.inPort[1].set,$PRE.step5.newActive,step5.newActive,$PRE.step5.oldActive,step5.oldActive,transition7.condition,transition7.enableFire,transition4a.enableFire,transition4a.fire,$PRE.transition4a.t_start,transition4a.t_start,step4a.active,$PRE.step4a.localActive,step4a.localActive,$PRE.step4a.newActive,step4a.newActive,$PRE.step4a.oldActive,step4a.oldActive,transition6a.enableFire,transition6a.fire,$PRE.transition6a.t_start,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,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.0007715/0.09633, allocations: 332.5 kB / 197 MB, free: 7.891 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001479/0.09649, allocations: 47.42 kB / 197 MB, free: 7.844 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.09857, allocations: 0.7533 MB / 197.8 MB, free: 7.086 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/0.09863, allocations: 15.94 kB / 197.8 MB, free: 7.07 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.09865, allocations: 0 / 197.8 MB, free: 7.07 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.644e-05/0.09868, allocations: 3.984 kB / 197.8 MB, free: 7.066 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004408/0.1031, allocations: 1.687 MB / 199.5 MB, free: 5.324 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.1032, allocations: 11.92 kB / 199.5 MB, free: 5.312 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005351/0.1037, allocations: 71.78 kB / 199.6 MB, free: 5.242 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.892e-05/0.1037, allocations: 4 kB / 199.6 MB, free: 5.238 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.139e-05/0.1038, allocations: 23.98 kB / 199.6 MB, free: 5.215 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.089e-05/0.1038, allocations: 4 kB / 199.6 MB, free: 5.211 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1039, allocations: 0 / 199.6 MB, free: 5.211 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.1056, allocations: 0.7952 MB / 200.4 MB, free: 4.391 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001352/0.1058, allocations: 136.2 kB / 200.5 MB, free: 4.238 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001209/0.1059, allocations: 23.98 kB / 200.6 MB, free: 4.215 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/0.1064, allocations: 43.97 kB / 200.6 MB, free: 4.172 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003147/0.1067, allocations: 108.8 kB / 200.7 MB, free: 4.062 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.184e-05/0.1068, allocations: 39.92 kB / 200.7 MB, free: 4.023 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0001989/0.107, allocations: 148.5 kB / 200.9 MB, free: 3.879 MB / 170.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.107, allocations: 0 / 200.9 MB, free: 3.879 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0008576/0.1079, allocations: 203.4 kB / 201.1 MB, free: 3.68 MB / 170.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.active,step0.newActive,step0.oldActive,transition1.fire,transition1.outPort.occupied,transition1.t_start,step1.active,step1.newActive,step1.oldActive,transition2.fire,transition2.t_start,step6.active,step6.newActive,step6.oldActive,step2.active,step2.outPort[1].reset,step2.newActive,step2.oldActive,transition3.fire,transition3.t_start,transition4.fire,transition4.t_start,step3.active,step3.newActive,step3.oldActive,step4.active,step4.newActive,step4.oldActive,transition5.fire,transition5.t_start,transition6.fire,transition6.t_start,step5.active,step5.inPort[1].set,step5.newActive,step5.oldActive,transition7.condition,transition7.enableFire,transition4a.fire,transition4a.t_start,step4a.active,step4a.newActive,step4a.oldActive,transition6a.fire,transition6a.t_start,alternative.split[2].available,alternative.split[3].available,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.0002977/0.1082, allocations: 155.1 kB / 201.2 MB, free: 3.52 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.002121/0.1103, allocations: 0.7521 MB / 202 MB, free: 2.77 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.1104, allocations: 0 / 202 MB, free: 2.77 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.1114, allocations: 375.1 kB / 202.4 MB, free: 2.406 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006928/0.1122, allocations: 72.41 kB / 202.4 MB, free: 2.336 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003421/0.1156, allocations: 1.405 MB / 203.8 MB, free: 0.8906 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1391/0.2548, allocations: 0.9524 MB / 204.8 MB, free: 23.23 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/0.2553, allocations: 76.39 kB / 204.9 MB, free: 23.22 MB / 170.7 MB Notification: Performance of SimCode: time 1.323e-06/0.2553, allocations: 0 / 204.9 MB, free: 23.22 MB / 170.7 MB Notification: Performance of Templates: time 0.02026/0.2755, allocations: 8.727 MB / 213.6 MB, free: 20.23 MB / 170.7 MB