Running command: translateModel(Modelica.StateGraph.Examples.ExecutionPaths,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.StateGraph.Examples.ExecutionPaths") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.635e-05/2.644e-05, allocations: 7.984 kB / 292.1 MB, free: 8.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08913/0.08918, allocations: 50.42 MB / 342.5 MB, free: 6.438 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3649/0.4541, allocations: 77.63 MB / 420.2 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.4545, allocations: 63.09 kB / 420.2 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06617/0.5207, allocations: 11.9 MB / 432.1 MB, free: 6.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.076e-06/0.5208, allocations: 0 / 432.1 MB, free: 6.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.27e-05/0.5208, allocations: 32.09 kB / 432.2 MB, free: 6.219 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.00178/0.5226, allocations: 0.9053 MB / 433.1 MB, free: 5.293 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.5227, allocations: 8.031 kB / 433.1 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002331/0.5229, allocations: 90.97 kB / 433.2 MB, free: 5.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008324/0.5238, allocations: 445.1 kB / 433.6 MB, free: 4.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001103/0.5239, allocations: 91.8 kB / 433.7 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001879/0.5241, allocations: 107.1 kB / 433.8 MB, free: 4.672 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/0.5261, allocations: 0.9331 MB / 434.7 MB, free: 4.008 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.942e-05/0.5262, allocations: 3.984 kB / 434.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.5263, allocations: 36.5 kB / 434.8 MB, free: 3.996 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.828e-05/0.5263, allocations: 27.95 kB / 434.8 MB, free: 3.969 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.5279, allocations: 0.6743 MB / 435.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00441/0.5324, allocations: 2.489 MB / 438 MB, free: 1.492 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001287/0.5337, allocations: 0.6557 MB / 438.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006307/0.5343, allocations: 331.7 kB / 438.9 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.03e-05/0.5344, allocations: 16.77 kB / 438.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008318/0.5353, allocations: 429.3 kB / 439.4 MB, free: 500 kB / 346.7 MB Notification: Performance of pre-optimization done (n=100): time 5.123e-06/0.5353, allocations: 0 / 439.4 MB, free: 500 kB / 346.7 MB Notification: Performance of matching and sorting (n=100): time 0.001419/0.5367, allocations: 0.6013 MB / 440 MB, free: 12 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.5369, allocations: 131.2 kB / 440.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004126/0.5373, allocations: 296.9 kB / 440.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.5374, allocations: 69.94 kB / 440.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.5378, allocations: 371 kB / 440.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002677/0.538, allocations: 238.3 kB / 441 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.732e-05/0.5381, allocations: 22.81 kB / 441.1 MB, free: 15.06 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002055/0.5383, allocations: 355.5 kB / 441.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.539, allocations: 261.5 kB / 441.7 MB, free: 14.56 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008207/0.5398, allocations: 467 kB / 442.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.5405, allocations: 274 kB / 442.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.697e-06/0.5405, allocations: 0 / 442.4 MB, free: 13.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=156) (initialization): time 0.001859/0.5424, allocations: 0.8267 MB / 443.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.705e-05/0.5424, allocations: 8 kB / 443.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.877e-05/0.5424, allocations: 8 kB / 443.2 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.5425, allocations: 12 kB / 443.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/0.543, allocations: 122.6 kB / 443.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.109e-05/0.5431, allocations: 19.89 kB / 443.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004805/0.5436, allocations: 77.81 kB / 443.5 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/0.5437, allocations: 47 kB / 443.5 MB, free: 13.05 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.0003159/0.544, allocations: 227.7 kB / 443.7 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.5442, allocations: 47.44 kB / 443.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001668/0.5459, allocations: 0.7342 MB / 444.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.5459, allocations: 12 kB / 444.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.071e-06/0.5459, allocations: 3.938 kB / 444.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.222e-05/0.546, allocations: 15.92 kB / 444.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/0.5496, allocations: 1.657 MB / 446.2 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5496, allocations: 3.984 kB / 446.2 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.55, allocations: 74.27 kB / 446.3 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.615e-05/0.55, allocations: 4 kB / 446.3 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.5501, allocations: 25.36 kB / 446.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-05/0.5501, allocations: 4 kB / 446.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.01e-06/0.5501, allocations: 0 / 446.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/0.5517, allocations: 0.8065 MB / 447.1 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001267/0.5518, allocations: 128.4 kB / 447.2 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.55e-05/0.5519, allocations: 16 kB / 447.3 MB, free: 9.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003359/0.5523, allocations: 51.92 kB / 447.3 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002772/0.5526, allocations: 104.8 kB / 447.4 MB, free: 9.688 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.284e-05/0.5527, allocations: 32 kB / 447.4 MB, free: 9.656 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001939/0.5529, allocations: 153.3 kB / 447.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.5529, allocations: 0 / 447.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008225/0.5538, allocations: 175.9 kB / 447.8 MB, free: 9.336 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.0002906/0.5541, allocations: 167.1 kB / 447.9 MB, free: 9.164 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.5556, allocations: 0.7135 MB / 448.6 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.056e-06/0.5557, allocations: 0.625 kB / 448.6 MB, free: 8.453 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007457/0.5564, allocations: 367.6 kB / 449 MB, free: 8.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005055/0.557, allocations: 72.38 kB / 449.1 MB, free: 8.027 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5592, allocations: 0.9405 MB / 450 MB, free: 7.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007675/0.56, allocations: 0.9588 MB / 451 MB, free: 6.062 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003266/0.5603, allocations: 75.41 kB / 451 MB, free: 5.988 MB / 362.7 MB Notification: Performance of SimCode: time 1.713e-06/0.5604, allocations: 0 / 451 MB, free: 5.988 MB / 362.7 MB Notification: Performance of Templates: time 0.01775/0.5781, allocations: 8.813 MB / 459.9 MB, free: 13.16 MB / 378.7 MB