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_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.516/1.516, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.2e-05/2.202e-05, allocations: 0 / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07588/0.07593, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.StateGraph.Examples.ExecutionPaths): time 0.003298/0.07927, allocations: 2.134 MB / 269 MB, free: 14.32 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001918/0.08121, allocations: 0.7902 MB / 269.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.08145, allocations: 27.88 kB / 269.9 MB, free: 13.5 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.08168, allocations: 83.31 kB / 269.9 MB, free: 13.42 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001752/0.08187, allocations: 47.8 kB / 270 MB, free: 13.38 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009602/0.08284, allocations: 335.6 kB / 270.3 MB, free: 13.05 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008685/0.08372, allocations: 0.5386 MB / 270.8 MB, free: 12.51 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008517/0.08459, allocations: 0.5383 MB / 271.4 MB, free: 11.96 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000296/0.0849, allocations: 247.4 kB / 271.6 MB, free: 11.72 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.08533, allocations: 286.9 kB / 271.9 MB, free: 11.44 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001647/0.0855, allocations: 51.98 kB / 272 MB, free: 11.39 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.08562, allocations: 40 kB / 272 MB, free: 11.35 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002141/0.08585, allocations: 175.5 kB / 272.2 MB, free: 11.18 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.08598, allocations: 48 kB / 272.2 MB, free: 11.13 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.08688, allocations: 0.6627 MB / 272.9 MB, free: 10.46 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.08689, allocations: 0 / 272.9 MB, free: 10.46 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.08691, allocations: 0 / 272.9 MB, free: 10.46 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.08693, allocations: 0 / 272.9 MB, free: 10.46 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.001822/0.08876, allocations: 0.8858 MB / 273.8 MB, free: 9.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.08881, allocations: 8.031 kB / 273.8 MB, free: 9.512 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002107/0.08903, allocations: 94.95 kB / 273.9 MB, free: 9.418 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007807/0.08983, allocations: 437.6 kB / 274.3 MB, free: 8.949 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/0.08996, allocations: 89.98 kB / 274.4 MB, free: 8.863 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/0.09017, allocations: 108 kB / 274.5 MB, free: 8.758 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002234/0.09241, allocations: 0.9219 MB / 275.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.781e-05/0.09246, allocations: 0 / 275.4 MB, free: 7.809 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.09258, allocations: 39.98 kB / 275.4 MB, free: 7.77 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.09262, allocations: 24 kB / 275.5 MB, free: 7.746 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001987/0.09462, allocations: 0.7377 MB / 276.2 MB, free: 7.012 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004549/0.09918, allocations: 2.403 MB / 278.6 MB, free: 4.531 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001519/0.1007, allocations: 0.6699 MB / 279.3 MB, free: 3.848 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.009e-05/0.1008, allocations: 13 kB / 279.3 MB, free: 3.836 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009511/0.1018, allocations: 433.7 kB / 279.7 MB, free: 3.391 MB / 234.7 MB Notification: Performance of pre-optimization done (n=99): time 3.417e-06/0.1018, allocations: 0 / 279.7 MB, free: 3.391 MB / 234.7 MB Notification: Performance of matching and sorting (n=99): time 0.002173/0.104, allocations: 0.8396 MB / 280.6 MB, free: 2.551 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.899e-05/0.1041, allocations: 102 kB / 280.7 MB, free: 2.434 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003573/0.1044, allocations: 295.3 kB / 280.9 MB, free: 2.137 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.1046, allocations: 73.69 kB / 281 MB, free: 2.059 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.1048, allocations: 293.1 kB / 281.3 MB, free: 1.766 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002697/0.1051, allocations: 248.7 kB / 281.5 MB, free: 1.52 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-05/0.1052, allocations: 24 kB / 281.6 MB, free: 1.496 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1054, allocations: 370.9 kB / 281.9 MB, free: 1.125 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007506/0.1061, allocations: 266.4 kB / 282.2 MB, free: 0.8672 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009221/0.1071, allocations: 483.7 kB / 282.7 MB, free: 324 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007433/0.1078, allocations: 270.4 kB / 282.9 MB, free: 52 kB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.1079, allocations: 4 kB / 282.9 MB, free: 48 kB / 234.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002042/0.1099, allocations: 0.8594 MB / 283.8 MB, free: 15.18 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.1099, allocations: 9.234 kB / 283.8 MB, free: 15.17 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.11, allocations: 8 kB / 283.8 MB, free: 15.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.11, allocations: 15.94 kB / 283.8 MB, free: 15.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.1107, allocations: 107.7 kB / 283.9 MB, free: 15.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/0.1108, allocations: 12 kB / 283.9 MB, free: 15.03 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005301/0.1113, allocations: 115.5 kB / 284.1 MB, free: 14.91 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.1114, allocations: 47.98 kB / 284.1 MB, free: 14.87 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.0004876/0.1119, allocations: 307.5 kB / 284.4 MB, free: 14.55 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.112, allocations: 51.44 kB / 284.4 MB, free: 14.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001861/0.1139, allocations: 0.7417 MB / 285.2 MB, free: 13.76 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/0.114, allocations: 12 kB / 285.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.114, allocations: 0 / 285.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.114, allocations: 3.984 kB / 285.2 MB, free: 13.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003827/0.1178, allocations: 1.698 MB / 286.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1178, allocations: 0 / 286.9 MB, free: 11.99 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004806/0.1183, allocations: 71.83 kB / 287 MB, free: 11.92 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.157e-05/0.1184, allocations: 4 kB / 287 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.466e-05/0.1184, allocations: 27.98 kB / 287 MB, free: 11.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.1185, allocations: 4 kB / 287 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.1185, allocations: 0 / 287 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001615/0.1201, allocations: 0.799 MB / 287.8 MB, free: 11.06 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.837e-05/0.1202, allocations: 136.2 kB / 287.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.1203, allocations: 23.94 kB / 288 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000401/0.1207, allocations: 43.97 kB / 288 MB, free: 10.84 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.121, allocations: 104.8 kB / 288.1 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.765e-05/0.1211, allocations: 35.98 kB / 288.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.1213, allocations: 156.4 kB / 288.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1213, allocations: 0 / 288.3 MB, free: 10.56 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007353/0.1221, allocations: 207.3 kB / 288.5 MB, free: 10.36 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.000277/0.1224, allocations: 178.8 kB / 288.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001758/0.1241, allocations: 0.7376 MB / 289.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1242, allocations: 0 / 289.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008626/0.125, allocations: 385.9 kB / 289.8 MB, free: 9.055 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.1256, allocations: 68.41 kB / 289.9 MB, free: 8.984 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00277/0.1283, allocations: 1.396 MB / 291.3 MB, free: 7.559 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.129, allocations: 0.9588 MB / 292.2 MB, free: 6.574 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0005085/0.1295, allocations: 109.9 kB / 292.3 MB, free: 6.465 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003186/0.1298, allocations: 75.41 kB / 292.4 MB, free: 6.395 MB / 250.7 MB Notification: Performance of SimCode: time 8.72e-07/0.1298, allocations: 0 / 292.4 MB, free: 6.395 MB / 250.7 MB Notification: Performance of Templates: time 0.2169/0.3468, allocations: 6.59 MB / 299 MB, free: 30.07 MB / 250.7 MB