Notification: Performance of loadModel(Modelica): time 1.016/1.016, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.486e-05/2.497e-05, allocations: 4 kB / 145.9 MB, free: 4.051 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1285, allocations: 25.16 MB / 171.1 MB, free: 1.723 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05782/0.1864, allocations: 33.91 MB / 205 MB, free: 3.582 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.1867, allocations: 59.97 kB / 205 MB, free: 3.523 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.04902/0.2357, allocations: 13.07 MB / 218.1 MB, free: 6.371 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.943e-05/0.2358, allocations: 27.94 kB / 218.1 MB, free: 6.344 MB / 186.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.002071/0.2379, allocations: 0.9195 MB / 219.1 MB, free: 5.344 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2379, allocations: 8.031 kB / 219.1 MB, free: 5.336 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.2382, allocations: 102.8 kB / 219.2 MB, free: 5.234 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.2392, allocations: 483.2 kB / 219.6 MB, free: 4.723 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.2393, allocations: 40 kB / 219.7 MB, free: 4.684 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.2395, allocations: 75.98 kB / 219.7 MB, free: 4.609 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002053/0.2416, allocations: 0.7497 MB / 220.5 MB, free: 3.859 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002207/0.2438, allocations: 0.8792 MB / 221.4 MB, free: 2.953 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.448e-05/0.2439, allocations: 4 kB / 221.4 MB, free: 2.949 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001122/0.244, allocations: 7.953 kB / 221.4 MB, free: 2.941 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.03e-05/0.2441, allocations: 27.94 kB / 221.4 MB, free: 2.914 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005141/0.2492, allocations: 2.687 MB / 224.1 MB, free: 124 kB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001545/0.2508, allocations: 0.6537 MB / 224.8 MB, free: 15.46 MB / 202.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007427/0.2515, allocations: 340.1 kB / 225.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.925e-05/0.2516, allocations: 21.61 kB / 225.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009007/0.2526, allocations: 386.8 kB / 225.5 MB, free: 14.71 MB / 202.7 MB Notification: Performance of pre-optimization done (n=104): time 3.837e-06/0.2526, allocations: 0 / 225.5 MB, free: 14.71 MB / 202.7 MB Notification: Performance of matching and sorting (n=104): time 0.001647/0.2542, allocations: 0.6297 MB / 226.1 MB, free: 14.08 MB / 202.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.2543, allocations: 72.41 kB / 226.2 MB, free: 14 MB / 202.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004183/0.2547, allocations: 312.9 kB / 226.5 MB, free: 13.69 MB / 202.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000134/0.2549, allocations: 49.7 kB / 226.5 MB, free: 13.63 MB / 202.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.2552, allocations: 312.9 kB / 226.8 MB, free: 13.32 MB / 202.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002944/0.2555, allocations: 240.9 kB / 227.1 MB, free: 13.08 MB / 202.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.208e-05/0.2556, allocations: 0 / 227.1 MB, free: 13.08 MB / 202.7 MB Notification: Performance of setup shared object (initialization): time 0.000188/0.2558, allocations: 370.8 kB / 227.4 MB, free: 12.71 MB / 202.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007252/0.2565, allocations: 274.6 kB / 227.7 MB, free: 12.45 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009208/0.2574, allocations: 496.1 kB / 228.2 MB, free: 11.88 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.2583, allocations: 302 kB / 228.5 MB, free: 11.59 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.2583, allocations: 4 kB / 228.5 MB, free: 11.58 MB / 202.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.002095/0.2604, allocations: 0.8475 MB / 229.3 MB, free: 10.73 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.625e-05/0.2604, allocations: 10.5 kB / 229.4 MB, free: 10.72 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.2605, allocations: 4 kB / 229.4 MB, free: 10.71 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.359e-05/0.2605, allocations: 16 kB / 229.4 MB, free: 10.7 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.2613, allocations: 128.3 kB / 229.5 MB, free: 10.57 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-05/0.2613, allocations: 23.88 kB / 229.5 MB, free: 10.55 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005515/0.2619, allocations: 48.08 kB / 229.6 MB, free: 10.5 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.2621, allocations: 55.98 kB / 229.6 MB, free: 10.45 MB / 202.7 MB Warning: Assuming fixed start value for the following 9 variables: transition2.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real transition1.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition6a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition4a.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition6.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition5.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition4.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.transition3.t_start:DISCRETE(unit = "s" fixed = false protected = true ) "Time instant at which the transition would fire, if waitTime would be zero" type: Real compositeStep.newActive:DISCRETE(fixed = false protected = true ) "Value of active in the next iteration" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.compositeStep.transition3.enableFire,$PRE.compositeStep.transition4.enableFire,$PRE.compositeStep.transition5.enableFire,$PRE.compositeStep.transition6.enableFire,$PRE.compositeStep.transition4a.enableFire,$PRE.compositeStep.transition6a.enableFire,$PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition7.enableFire,stateGraphRoot.resume,stateGraphRoot.suspend,transition2.condition,transition1.condition,compositeStep.resume[1].set,compositeStep.suspend[1].reset,compositeStep.transition6a.condition,compositeStep.transition4a.condition,compositeStep.transition6.condition,compositeStep.transition5.condition,compositeStep.transition4.condition,compositeStep.transition3.condition,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.compositeStep.active,compositeStep.active,$PRE.compositeStep.newActive,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.enableFire,compositeStep.transition3.fire,$PRE.compositeStep.transition3.t_start,compositeStep.transition3.t_start,compositeStep.transition4.enableFire,compositeStep.transition4.fire,$PRE.compositeStep.transition4.t_start,compositeStep.transition4.t_start,$PRE.compositeStep.step3.localActive,compositeStep.step3.localActive,$PRE.compositeStep.step3.newActive,compositeStep.step3.newActive,$PRE.compositeStep.step3.oldActive,compositeStep.step3.oldActive,compositeStep.step3.active,$PRE.compositeStep.step4.localActive,compositeStep.step4.localActive,$PRE.compositeStep.step4.newActive,compositeStep.step4.newActive,$PRE.compositeStep.step4.oldActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.enableFire,compositeStep.transition5.fire,$PRE.compositeStep.transition5.t_start,compositeStep.transition5.t_start,compositeStep.transition6.enableFire,compositeStep.transition6.fire,$PRE.compositeStep.transition6.t_start,compositeStep.transition6.t_start,compositeStep.transition4a.enableFire,compositeStep.transition4a.fire,$PRE.compositeStep.transition4a.t_start,compositeStep.transition4a.t_start,$PRE.compositeStep.step4a.localActive,compositeStep.step4a.localActive,$PRE.compositeStep.step4a.newActive,compositeStep.step4a.newActive,$PRE.compositeStep.step4a.oldActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.enableFire,compositeStep.transition6a.fire,$PRE.compositeStep.transition6a.t_start,compositeStep.transition6a.t_start,$PRE.compositeStep.initStep.localActive,compositeStep.initStep.localActive,compositeStep.initStep.outPort[1].reset,$PRE.compositeStep.initStep.newActive,compositeStep.initStep.newActive,$PRE.compositeStep.initStep.oldActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,$PRE.compositeStep.exitStep.localActive,compositeStep.exitStep.localActive,compositeStep.exitStep.inPort[1].set,$PRE.compositeStep.exitStep.newActive,compositeStep.exitStep.newActive,$PRE.compositeStep.exitStep.oldActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,$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,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps,compositeStep.stateGraphRoot.resume,compositeStep.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 166 * 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.0004516/0.2625, allocations: 232 kB / 229.9 MB, free: 10.22 MB / 202.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001503/0.264, allocations: 0.618 MB / 230.5 MB, free: 9.594 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2642, allocations: 47.44 kB / 230.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001848/0.266, allocations: 0.6873 MB / 231.2 MB, free: 8.855 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.2661, allocations: 11.95 kB / 231.2 MB, free: 8.844 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.317e-05/0.2661, allocations: 7.984 kB / 231.2 MB, free: 8.836 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.2661, allocations: 7.984 kB / 231.2 MB, free: 8.828 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.2702, allocations: 1.615 MB / 232.8 MB, free: 7.168 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.2702, allocations: 4 kB / 232.8 MB, free: 7.164 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005143/0.2707, allocations: 67.83 kB / 232.9 MB, free: 7.098 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.2708, allocations: 4 kB / 232.9 MB, free: 7.094 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.2708, allocations: 11.98 kB / 232.9 MB, free: 7.082 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.2708, allocations: 4 kB / 232.9 MB, free: 7.078 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2709, allocations: 0 / 232.9 MB, free: 7.078 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001572/0.2724, allocations: 0.7457 MB / 233.7 MB, free: 6.316 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.2726, allocations: 132.5 kB / 233.8 MB, free: 6.168 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.2727, allocations: 4 kB / 233.8 MB, free: 6.164 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004178/0.2731, allocations: 23.97 kB / 233.8 MB, free: 6.141 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003784/0.2735, allocations: 136.7 kB / 234 MB, free: 6.008 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.684e-05/0.2736, allocations: 31.98 kB / 234 MB, free: 5.977 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001789/0.2738, allocations: 158 kB / 234.2 MB, free: 5.82 MB / 202.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.2738, allocations: 4 kB / 234.2 MB, free: 5.816 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0008233/0.2747, allocations: 135.9 kB / 234.3 MB, free: 5.684 MB / 202.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 80 (compositeStep.transition4a.enableFire,compositeStep.transition4.enableFire,step6.localActive,transition2.enableFire,transition1.enableFire,step1.localActive,step0.localActive,compositeStep.exitStep.localActive,compositeStep.transition5.enableFire,compositeStep.transition6.enableFire,compositeStep.transition6a.enableFire,compositeStep.initStep.localActive,compositeStep.transition3.enableFire,compositeStep.step4a.localActive,compositeStep.step4.localActive,compositeStep.step3.localActive,$cse1,$cse2,$cse3,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,compositeStep.active,compositeStep.newActive,compositeStep.activeSteps,compositeStep.transition3.fire,compositeStep.transition3.t_start,compositeStep.transition4.fire,compositeStep.transition4.t_start,compositeStep.step3.newActive,compositeStep.step3.oldActive,compositeStep.step3.active,compositeStep.step4.newActive,compositeStep.step4.oldActive,compositeStep.step4.active,compositeStep.transition5.fire,compositeStep.transition5.t_start,compositeStep.transition6.fire,compositeStep.transition6.t_start,compositeStep.transition4a.fire,compositeStep.transition4a.t_start,compositeStep.step4a.newActive,compositeStep.step4a.oldActive,compositeStep.step4a.active,compositeStep.transition6a.fire,compositeStep.transition6a.t_start,compositeStep.initStep.outPort[1].reset,compositeStep.initStep.newActive,compositeStep.initStep.oldActive,compositeStep.initStep.active,compositeStep.exitStep.inPort[1].set,compositeStep.exitStep.newActive,compositeStep.exitStep.oldActive,compositeStep.exitStep.active,compositeStep.Alternative1.split[2].available,compositeStep.Alternative1.split[3].available,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,transition7.enableFire,Parallel1.inPort.occupied,Parallel1.outPort.available,setCondition.y,stateGraphRoot.activeSteps) * Number of discrete states: 9 (compositeStep.step3.newActive,compositeStep.step4.newActive,compositeStep.step4a.newActive,compositeStep.initStep.newActive,compositeStep.exitStep.newActive,compositeStep.newActive,step0.newActive,step1.newActive,step6.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 91 * 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.002041/0.2767, allocations: 1.338 MB / 235.6 MB, free: 4.309 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/0.2785, allocations: 0.7596 MB / 236.4 MB, free: 3.555 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.2785, allocations: 8 kB / 236.4 MB, free: 3.547 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007715/0.2793, allocations: 371.6 kB / 236.8 MB, free: 3.184 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005539/0.2798, allocations: 54.09 kB / 236.8 MB, free: 3.133 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00349/0.2834, allocations: 1.145 MB / 238 MB, free: 1.949 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007016/0.2841, allocations: 0.9741 MB / 238.9 MB, free: 0.9492 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0006089/0.2847, allocations: 114.2 kB / 239 MB, free: 0.8359 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006994/0.2854, allocations: 287.3 kB / 239.3 MB, free: 0.5547 MB / 202.7 MB Notification: Performance of SimCode: time 8.71e-07/0.2854, allocations: 0 / 239.3 MB, free: 0.5547 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07399/0.3594, allocations: 13.09 MB / 252.4 MB, free: 3.504 MB / 218.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004409/0.3639, allocations: 135 kB / 252.5 MB, free: 3.309 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.233/3.597, allocations: 0 / 252.5 MB, free: 3.309 MB / 218.7 MB