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_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.984/1.984, allocations: 225.8 MB / 239.4 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.505e-05/4.52e-05, allocations: 6.031 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 50.41 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3651/0.4903, allocations: 77.57 MB / 420.6 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002021/0.4906, allocations: 64.41 kB / 420.7 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04584/0.5364, allocations: 11.89 MB / 432.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.864e-06/0.5365, allocations: 0 / 432.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.552e-05/0.5366, allocations: 31.92 kB / 432.6 MB, free: 6.297 MB / 346.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.0018/0.5384, allocations: 0.906 MB / 433.5 MB, free: 5.375 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.5384, allocations: 12.03 kB / 433.5 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002314/0.5387, allocations: 98.91 kB / 433.6 MB, free: 5.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/0.5395, allocations: 443.8 kB / 434.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001178/0.5396, allocations: 92.61 kB / 434.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/0.5398, allocations: 106.6 kB / 434.3 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.542, allocations: 0.9289 MB / 435.2 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.5421, allocations: 4 kB / 435.2 MB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.5422, allocations: 43.86 kB / 435.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.548e-05/0.5422, allocations: 27.95 kB / 435.3 MB, free: 4.035 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.544, allocations: 0.6776 MB / 435.9 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006249/0.5502, allocations: 2.479 MB / 438.4 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/0.5526, allocations: 0.6537 MB / 439.1 MB, free: 1.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.5537, allocations: 333.4 kB / 439.4 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.5538, allocations: 21.28 kB / 439.4 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/0.5553, allocations: 432.8 kB / 439.8 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 8.036e-06/0.5554, allocations: 0 / 439.8 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.002386/0.5578, allocations: 0.6026 MB / 440.4 MB, free: 76 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001801/0.558, allocations: 127.6 kB / 440.6 MB, free: 15.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006829/0.5587, allocations: 290 kB / 440.8 MB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002526/0.559, allocations: 71.25 kB / 440.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000446/0.5595, allocations: 309.6 kB / 441.2 MB, free: 15.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004442/0.5599, allocations: 246.4 kB / 441.5 MB, free: 15.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.5601, allocations: 21.81 kB / 441.5 MB, free: 15.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002905/0.5604, allocations: 370.3 kB / 441.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/0.5616, allocations: 253 kB / 442.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009938/0.5626, allocations: 473.8 kB / 442.5 MB, free: 14.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006668/0.5633, allocations: 268 kB / 442.8 MB, free: 14.07 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.876e-06/0.5633, allocations: 4 kB / 442.8 MB, free: 14.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001923/0.5653, allocations: 0.8449 MB / 443.7 MB, free: 13.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.5653, allocations: 8 kB / 443.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.5653, allocations: 8 kB / 443.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/0.5654, allocations: 12 kB / 443.7 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005505/0.5659, allocations: 120.5 kB / 443.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.917e-05/0.566, allocations: 19.89 kB / 443.8 MB, free: 13.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004798/0.5665, allocations: 75.66 kB / 443.9 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000124/0.5666, allocations: 49.69 kB / 443.9 MB, free: 13.15 MB / 362.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,$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,$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.0003176/0.567, allocations: 223 kB / 444.2 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.5671, allocations: 47.44 kB / 444.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/0.5688, allocations: 0.7343 MB / 444.9 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.5688, allocations: 12 kB / 445 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/0.5688, allocations: 0 / 445 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.559e-05/0.5689, allocations: 15.92 kB / 445 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0038/0.5727, allocations: 1.665 MB / 446.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-06/0.5728, allocations: 3.938 kB / 446.6 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.5732, allocations: 71.83 kB / 446.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/0.5732, allocations: 4 kB / 446.7 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.5733, allocations: 23.98 kB / 446.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-05/0.5733, allocations: 4 kB / 446.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.994e-06/0.5733, allocations: 0 / 446.7 MB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001598/0.5749, allocations: 0.8094 MB / 447.6 MB, free: 9.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.5751, allocations: 128.3 kB / 447.7 MB, free: 9.566 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.946e-05/0.5752, allocations: 20 kB / 447.7 MB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.5756, allocations: 55.92 kB / 447.8 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.5759, allocations: 104.8 kB / 447.9 MB, free: 9.391 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.181e-05/0.576, allocations: 31.98 kB / 447.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000193/0.5762, allocations: 145.4 kB / 448 MB, free: 9.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.16e-07/0.5762, allocations: 0 / 448 MB, free: 9.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000831/0.577, allocations: 176 kB / 448.2 MB, free: 9.047 MB / 362.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.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: 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.0003075/0.5774, allocations: 163 kB / 448.4 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.579, allocations: 0.7101 MB / 449.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.519e-06/0.579, allocations: 0 / 449.1 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007807/0.5798, allocations: 371.6 kB / 449.4 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005387/0.5804, allocations: 80.62 kB / 449.5 MB, free: 7.734 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002245/0.5826, allocations: 0.9348 MB / 450.4 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.5834, allocations: 0.9703 MB / 451.4 MB, free: 5.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004959/0.5839, allocations: 102 kB / 451.5 MB, free: 5.668 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/0.5842, allocations: 71.41 kB / 451.6 MB, free: 5.598 MB / 362.7 MB Notification: Performance of SimCode: time 1.891e-06/0.5843, allocations: 0 / 451.6 MB, free: 5.598 MB / 362.7 MB Notification: Performance of Templates: time 0.02004/0.6043, allocations: 6.646 MB / 458.2 MB, free: 14.97 MB / 378.7 MB