Notification: Performance of loadModel(Modelica): time 1.025/1.025, allocations: 111.2 MB / 118.4 MB, free: 15.59 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.265e-05/2.279e-05, allocations: 4 kB / 145.9 MB, free: 4.059 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1212, allocations: 25.15 MB / 171.1 MB, free: 1.734 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05648/0.1778, allocations: 33.59 MB / 204.7 MB, free: 3.918 MB / 170.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002222/0.178, allocations: 63.97 kB / 204.7 MB, free: 3.855 MB / 170.7 MB Notification: Performance of FrontEnd: time 0.0464/0.2245, allocations: 11.03 MB / 215.7 MB, free: 8.766 MB / 186.7 MB Notification: Performance of Transformations before backend: time 5.343e-05/0.2246, allocations: 23.94 kB / 215.8 MB, free: 8.742 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: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.002003/0.2266, allocations: 0.8773 MB / 216.6 MB, free: 7.785 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.2266, allocations: 8.031 kB / 216.6 MB, free: 7.777 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003009/0.2269, allocations: 98.91 kB / 216.7 MB, free: 7.68 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009034/0.2279, allocations: 426.9 kB / 217.2 MB, free: 7.223 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.331e-05/0.228, allocations: 40 kB / 217.2 MB, free: 7.184 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001726/0.2281, allocations: 63.98 kB / 217.3 MB, free: 7.121 MB / 186.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001804/0.23, allocations: 0.6521 MB / 217.9 MB, free: 6.469 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/0.232, allocations: 0.7854 MB / 218.7 MB, free: 5.656 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.481e-05/0.2321, allocations: 0 / 218.7 MB, free: 5.656 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.559e-05/0.2322, allocations: 7.953 kB / 218.7 MB, free: 5.648 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.089e-05/0.2323, allocations: 24 kB / 218.7 MB, free: 5.625 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004605/0.2369, allocations: 2.143 MB / 220.9 MB, free: 3.414 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001277/0.2382, allocations: 0.6009 MB / 221.5 MB, free: 2.793 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006435/0.2389, allocations: 303.8 kB / 221.8 MB, free: 2.492 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.681e-05/0.239, allocations: 16.84 kB / 221.8 MB, free: 2.477 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008388/0.2398, allocations: 398.9 kB / 222.2 MB, free: 2.07 MB / 186.7 MB Notification: Performance of pre-optimization done (n=99): time 3.416e-06/0.2398, allocations: 0 / 222.2 MB, free: 2.07 MB / 186.7 MB Notification: Performance of matching and sorting (n=99): time 0.00147/0.2413, allocations: 0.5387 MB / 222.7 MB, free: 1.527 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.2414, allocations: 101.9 kB / 222.8 MB, free: 1.406 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004017/0.2418, allocations: 279.4 kB / 223.1 MB, free: 1.121 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001182/0.242, allocations: 53.72 kB / 223.1 MB, free: 1.062 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002569/0.2422, allocations: 285.1 kB / 223.4 MB, free: 0.7773 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002656/0.2425, allocations: 228.9 kB / 223.6 MB, free: 0.5508 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.754e-05/0.2426, allocations: 0 / 223.6 MB, free: 0.5508 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.2428, allocations: 366.8 kB / 224 MB, free: 188 kB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006326/0.2434, allocations: 226.7 kB / 224.2 MB, free: 15.96 MB / 202.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007588/0.2442, allocations: 428.8 kB / 224.6 MB, free: 15.46 MB / 202.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006865/0.2449, allocations: 251 kB / 224.9 MB, free: 15.22 MB / 202.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.2449, allocations: 4 kB / 224.9 MB, free: 15.22 MB / 202.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001843/0.2468, allocations: 0.7427 MB / 225.6 MB, free: 14.47 MB / 202.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.2468, allocations: 10.91 kB / 225.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.787e-05/0.2469, allocations: 12 kB / 225.7 MB, free: 14.45 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/0.2469, allocations: 12 kB / 225.7 MB, free: 14.44 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007134/0.2476, allocations: 115.6 kB / 225.8 MB, free: 14.32 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/0.2477, allocations: 15.98 kB / 225.8 MB, free: 14.31 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005308/0.2482, allocations: 39.73 kB / 225.8 MB, free: 14.27 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001214/0.2483, allocations: 47.98 kB / 225.9 MB, free: 14.22 MB / 202.7 MB Warning: Assuming fixed start value for the following 8 variables: 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 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 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 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 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 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 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 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,$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,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.0003791/0.2487, allocations: 217.9 kB / 226.1 MB, free: 14 MB / 202.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001333/0.2501, allocations: 0.5387 MB / 226.6 MB, free: 13.46 MB / 202.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001056/0.2502, allocations: 55.34 kB / 226.7 MB, free: 13.4 MB / 202.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001853/0.2521, allocations: 0.6558 MB / 227.3 MB, free: 12.74 MB / 202.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.2521, allocations: 12 kB / 227.4 MB, free: 12.73 MB / 202.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.2521, allocations: 4.031 kB / 227.4 MB, free: 12.73 MB / 202.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.2521, allocations: 3.984 kB / 227.4 MB, free: 12.72 MB / 202.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003795/0.2559, allocations: 1.452 MB / 228.8 MB, free: 11.23 MB / 202.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.474e-06/0.256, allocations: 4 kB / 228.8 MB, free: 11.22 MB / 202.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005165/0.2565, allocations: 75.77 kB / 228.9 MB, free: 11.15 MB / 202.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.578e-05/0.2566, allocations: 8 kB / 228.9 MB, free: 11.14 MB / 202.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.545e-05/0.2566, allocations: 7.984 kB / 228.9 MB, free: 11.13 MB / 202.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.887e-06/0.2566, allocations: 4 kB / 228.9 MB, free: 11.13 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2567, allocations: 0 / 228.9 MB, free: 11.13 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.2583, allocations: 0.7252 MB / 229.6 MB, free: 10.38 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.2584, allocations: 128.4 kB / 229.8 MB, free: 10.23 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.2586, allocations: 12 kB / 229.8 MB, free: 10.22 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.259, allocations: 27.97 kB / 229.8 MB, free: 10.2 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002921/0.2593, allocations: 92.84 kB / 229.9 MB, free: 10.11 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.066e-05/0.2594, allocations: 35.98 kB / 229.9 MB, free: 10.07 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0001605/0.2596, allocations: 140.5 kB / 230.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.2596, allocations: 7.938 kB / 230.1 MB, free: 9.926 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0008085/0.2604, allocations: 139.9 kB / 230.2 MB, free: 9.789 MB / 202.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.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: 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.002129/0.2625, allocations: 1.394 MB / 231.6 MB, free: 8.363 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.2642, allocations: 0.6658 MB / 232.3 MB, free: 7.699 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.2642, allocations: 0 / 232.3 MB, free: 7.699 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007539/0.265, allocations: 349.2 kB / 232.6 MB, free: 7.359 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006227/0.2656, allocations: 60.44 kB / 232.7 MB, free: 7.301 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002881/0.2685, allocations: 0.9503 MB / 233.6 MB, free: 6.309 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006533/0.2692, allocations: 0.9622 MB / 234.6 MB, free: 5.32 MB / 202.7 MB Notification: Performance of simCode: alias equations: time 0.0006149/0.2699, allocations: 113.9 kB / 234.7 MB, free: 5.207 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006226/0.2705, allocations: 259.3 kB / 234.9 MB, free: 4.953 MB / 202.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2705, allocations: 0 / 234.9 MB, free: 4.953 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0666/0.3371, allocations: 11.71 MB / 246.7 MB, free: 9.277 MB / 218.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.004255/0.3414, allocations: 123.4 kB / 246.8 MB, free: 9.09 MB / 218.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.535/3.877, allocations: 6.594 kB / 246.8 MB, free: 9.086 MB / 218.7 MB