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_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 2.17/2.17, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.137e-05/3.136e-05, allocations: 4 kB / 294.5 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1162/0.1162, allocations: 50.42 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.004843/0.1211, allocations: 2.195 MB / 347.2 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003205/0.1244, allocations: 0.8488 MB / 348 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000519/0.125, allocations: 27.94 kB / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003497/0.1253, allocations: 83.25 kB / 348.1 MB, free: 5.789 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003145/0.1257, allocations: 51.77 kB / 348.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.1274, allocations: 343.5 kB / 348.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001604/0.129, allocations: 0.5542 MB / 349.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.1304, allocations: 0.5339 MB / 349.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004971/0.131, allocations: 255.4 kB / 349.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006137/0.1316, allocations: 290.9 kB / 350.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002417/0.1319, allocations: 48 kB / 350.2 MB, free: 3.711 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001667/0.132, allocations: 40 kB / 350.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003352/0.1324, allocations: 175.4 kB / 350.4 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001785/0.1326, allocations: 52 kB / 350.4 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.1341, allocations: 0.6861 MB / 351.1 MB, free: 2.762 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1341, allocations: 4 kB / 351.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.446e-06/0.1341, allocations: 0 / 351.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.782e-05/0.1342, allocations: 0 / 351.1 MB, free: 2.758 MB / 282.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.002796/0.137, allocations: 0.8906 MB / 352 MB, free: 1.809 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.1371, allocations: 11.97 kB / 352 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003846/0.1375, allocations: 98.91 kB / 352.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.1387, allocations: 453.7 kB / 352.6 MB, free: 1.215 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001891/0.139, allocations: 86 kB / 352.7 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003304/0.1393, allocations: 116 kB / 352.8 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003587/0.1429, allocations: 0.9619 MB / 353.7 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.257e-05/0.143, allocations: 0 / 353.7 MB, free: 28 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.1432, allocations: 39.98 kB / 353.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.425e-05/0.1433, allocations: 24 kB / 353.8 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003127/0.1464, allocations: 0.7182 MB / 354.5 MB, free: 15.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007498/0.154, allocations: 2.555 MB / 357.1 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.1561, allocations: 0.6714 MB / 357.7 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/0.1562, allocations: 26.25 kB / 357.8 MB, free: 11.89 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001079/0.1573, allocations: 447.5 kB / 358.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of pre-optimization done (n=100): time 4.478e-06/0.1574, allocations: 0 / 358.2 MB, free: 11.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=100): time 0.002547/0.1599, allocations: 0.8435 MB / 359 MB, free: 10.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.1601, allocations: 135.7 kB / 359.2 MB, free: 10.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.1606, allocations: 291.5 kB / 359.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001618/0.1608, allocations: 77.69 kB / 359.5 MB, free: 10.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003198/0.1611, allocations: 363.5 kB / 359.9 MB, free: 9.699 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003092/0.1614, allocations: 252.6 kB / 360.1 MB, free: 9.449 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-05/0.1615, allocations: 24 kB / 360.2 MB, free: 9.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1617, allocations: 358.8 kB / 360.5 MB, free: 9.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008303/0.1625, allocations: 262.5 kB / 360.8 MB, free: 8.812 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.1635, allocations: 488.5 kB / 361.2 MB, free: 8.254 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008033/0.1644, allocations: 278.4 kB / 361.5 MB, free: 7.984 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.1644, allocations: 4 kB / 361.5 MB, free: 7.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.002254/0.1666, allocations: 0.8638 MB / 362.4 MB, free: 7.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.1667, allocations: 8 kB / 362.4 MB, free: 7.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/0.1667, allocations: 4 kB / 362.4 MB, free: 7.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/0.1668, allocations: 12 kB / 362.4 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007572/0.1676, allocations: 115.7 kB / 362.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.187e-05/0.1676, allocations: 19.92 kB / 362.5 MB, free: 6.953 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005933/0.1682, allocations: 111 kB / 362.7 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.1684, allocations: 55.98 kB / 362.7 MB, free: 6.789 MB / 298.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,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,$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.0005961/0.169, allocations: 299.7 kB / 363 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.1691, allocations: 47.44 kB / 363 MB, free: 6.434 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002031/0.1712, allocations: 0.7532 MB / 363.8 MB, free: 5.676 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.1712, allocations: 11.98 kB / 363.8 MB, free: 5.664 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.1712, allocations: 4 kB / 363.8 MB, free: 5.66 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-05/0.1713, allocations: 7.969 kB / 363.8 MB, free: 5.652 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004297/0.1756, allocations: 1.71 MB / 365.5 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/0.1756, allocations: 4 kB / 365.5 MB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005273/0.1762, allocations: 75.77 kB / 365.6 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.601e-05/0.1762, allocations: 4 kB / 365.6 MB, free: 3.805 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.132e-05/0.1763, allocations: 23.98 kB / 365.6 MB, free: 3.781 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.073e-05/0.1763, allocations: 4 kB / 365.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.1763, allocations: 0 / 365.6 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.1781, allocations: 0.8211 MB / 366.5 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.1783, allocations: 140.3 kB / 366.6 MB, free: 2.762 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.1785, allocations: 23.94 kB / 366.6 MB, free: 2.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.1789, allocations: 43.97 kB / 366.7 MB, free: 2.695 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003233/0.1792, allocations: 108.7 kB / 366.8 MB, free: 2.59 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.363e-05/0.1794, allocations: 35.98 kB / 366.8 MB, free: 2.555 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.1796, allocations: 156.5 kB / 367 MB, free: 2.398 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1796, allocations: 0 / 367 MB, free: 2.398 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0009283/0.1805, allocations: 211.3 kB / 367.2 MB, free: 2.191 MB / 298.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.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: 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.0003323/0.1809, allocations: 166.6 kB / 367.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002078/0.183, allocations: 0.7494 MB / 368.1 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.183, allocations: 0 / 368.1 MB, free: 1.27 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009876/0.184, allocations: 385.8 kB / 368.5 MB, free: 0.8945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.1846, allocations: 68.53 kB / 368.5 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/0.1879, allocations: 1.445 MB / 370 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/0.1887, allocations: 0.9628 MB / 370.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000432/0.1891, allocations: 75.41 kB / 371 MB, free: 14.27 MB / 314.7 MB Notification: Performance of SimCode: time 1.213e-06/0.1891, allocations: 4 kB / 371 MB, free: 14.27 MB / 314.7 MB Notification: Performance of Templates: time 0.02195/0.2111, allocations: 8.86 MB / 379.9 MB, free: 5.395 MB / 314.7 MB