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.1_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.282e-05/3.28e-05, allocations: 0 / 228.1 MB, free: 8.004 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09167/0.09173, allocations: 38.78 MB / 266.9 MB, free: 1.148 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.0039/0.0957, allocations: 2.132 MB / 269 MB, free: 14.99 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.09823, allocations: 0.7941 MB / 269.8 MB, free: 14.2 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005295/0.09881, allocations: 23.94 kB / 269.8 MB, free: 14.17 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002895/0.09912, allocations: 87.25 kB / 269.9 MB, free: 14.09 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002456/0.09938, allocations: 43.78 kB / 270 MB, free: 14.04 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00143/0.1008, allocations: 339.6 kB / 270.3 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001431/0.1023, allocations: 0.5386 MB / 270.8 MB, free: 13.17 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.1035, allocations: 0.5384 MB / 271.4 MB, free: 12.62 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004305/0.104, allocations: 243.4 kB / 271.6 MB, free: 12.39 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000485/0.1045, allocations: 279 kB / 271.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.1047, allocations: 55.92 kB / 271.9 MB, free: 12.06 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.1049, allocations: 44 kB / 272 MB, free: 12.02 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002558/0.1052, allocations: 171.5 kB / 272.1 MB, free: 11.85 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.1054, allocations: 52 kB / 272.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001114/0.1065, allocations: 0.6628 MB / 272.9 MB, free: 11.13 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1065, allocations: 0 / 272.9 MB, free: 11.13 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.1065, allocations: 0 / 272.9 MB, free: 11.13 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.242e-05/0.1066, allocations: 0 / 272.9 MB, free: 11.13 MB / 234.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.002169/0.1087, allocations: 0.878 MB / 273.7 MB, free: 10.2 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/0.1088, allocations: 8.031 kB / 273.7 MB, free: 10.19 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002682/0.1091, allocations: 94.95 kB / 273.8 MB, free: 10.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008868/0.11, allocations: 457.5 kB / 274.3 MB, free: 9.605 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.1101, allocations: 78 kB / 274.4 MB, free: 9.531 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.1104, allocations: 108 kB / 274.5 MB, free: 9.426 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002533/0.1129, allocations: 0.9258 MB / 275.4 MB, free: 8.473 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.184e-05/0.113, allocations: 0 / 275.4 MB, free: 8.473 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001168/0.1131, allocations: 39.98 kB / 275.4 MB, free: 8.434 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.1132, allocations: 31.94 kB / 275.5 MB, free: 8.402 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002268/0.1155, allocations: 0.7222 MB / 276.2 MB, free: 7.684 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005686/0.1212, allocations: 2.411 MB / 278.6 MB, free: 5.195 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.1231, allocations: 0.6608 MB / 279.3 MB, free: 4.516 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001165/0.1232, allocations: 18.33 kB / 279.3 MB, free: 4.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.1244, allocations: 429.7 kB / 279.7 MB, free: 4.059 MB / 234.7 MB Notification: Performance of pre-optimization done (n=99): time 4.558e-06/0.1244, allocations: 4 kB / 279.7 MB, free: 4.055 MB / 234.7 MB Notification: Performance of matching and sorting (n=99): time 0.002458/0.1269, allocations: 0.8357 MB / 280.5 MB, free: 3.219 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.127, allocations: 102 kB / 280.6 MB, free: 3.102 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.1275, allocations: 291.3 kB / 280.9 MB, free: 2.809 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001685/0.1277, allocations: 73.69 kB / 281 MB, free: 2.73 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.128, allocations: 351.5 kB / 281.3 MB, free: 2.383 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.1284, allocations: 244.7 kB / 281.6 MB, free: 2.141 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-05/0.1284, allocations: 24 kB / 281.6 MB, free: 2.117 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1286, allocations: 362.9 kB / 281.9 MB, free: 1.754 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000817/0.1295, allocations: 262.5 kB / 282.2 MB, free: 1.5 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.1305, allocations: 479.6 kB / 282.7 MB, free: 0.9531 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008481/0.1314, allocations: 278.4 kB / 282.9 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.1314, allocations: 0 / 282.9 MB, free: 0.6797 MB / 234.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002267/0.1337, allocations: 0.8516 MB / 283.8 MB, free: 15.82 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.748e-05/0.1337, allocations: 9.875 kB / 283.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.1338, allocations: 4 kB / 283.8 MB, free: 15.81 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.724e-05/0.1338, allocations: 12 kB / 283.8 MB, free: 15.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/0.1346, allocations: 115.6 kB / 283.9 MB, free: 15.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.335e-05/0.1347, allocations: 16.56 kB / 284 MB, free: 15.67 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006362/0.1353, allocations: 126.9 kB / 284.1 MB, free: 15.54 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001377/0.1355, allocations: 47.98 kB / 284.1 MB, free: 15.5 MB / 250.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,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.0006435/0.1361, allocations: 311.5 kB / 284.4 MB, free: 15.18 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1363, allocations: 43.44 kB / 284.5 MB, free: 15.13 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002073/0.1384, allocations: 0.7417 MB / 285.2 MB, free: 14.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.1384, allocations: 12 kB / 285.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.1385, allocations: 0 / 285.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/0.1385, allocations: 7.969 kB / 285.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004447/0.1429, allocations: 1.691 MB / 286.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.143, allocations: 0 / 286.9 MB, free: 12.62 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005549/0.1436, allocations: 71.83 kB / 287 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.1436, allocations: 4 kB / 287 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/0.1437, allocations: 23.98 kB / 287 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-05/0.1437, allocations: 4 kB / 287 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.1437, allocations: 4 kB / 287 MB, free: 12.52 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.1456, allocations: 0.799 MB / 287.8 MB, free: 11.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.1458, allocations: 136.3 kB / 288 MB, free: 11.54 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.146, allocations: 19.98 kB / 288 MB, free: 11.52 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004479/0.1464, allocations: 47.97 kB / 288 MB, free: 11.48 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003773/0.1468, allocations: 104.8 kB / 288.1 MB, free: 11.38 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/0.1469, allocations: 31.98 kB / 288.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002182/0.1472, allocations: 160.4 kB / 288.3 MB, free: 11.19 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1472, allocations: 0 / 288.3 MB, free: 11.19 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0009625/0.1482, allocations: 211.2 kB / 288.5 MB, free: 10.98 MB / 250.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.0003644/0.1485, allocations: 174.8 kB / 288.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.1507, allocations: 0.7336 MB / 289.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/0.1508, allocations: 0.5 kB / 289.4 MB, free: 10.07 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.1518, allocations: 385.5 kB / 289.8 MB, free: 9.691 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006356/0.1525, allocations: 64.41 kB / 289.9 MB, free: 9.625 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003334/0.1559, allocations: 1.409 MB / 291.3 MB, free: 8.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.1566, allocations: 0.951 MB / 292.2 MB, free: 7.203 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.1571, allocations: 75.41 kB / 292.3 MB, free: 7.133 MB / 250.7 MB Notification: Performance of SimCode: time 1.623e-06/0.1571, allocations: 0 / 292.3 MB, free: 7.133 MB / 250.7 MB Notification: Performance of Templates: time 0.2416/0.3988, allocations: 8.702 MB / 301 MB, free: 28.52 MB / 250.7 MB