Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_5_0_1_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.749/4.749, allocations: 404.2 MB / 411.3 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.496e-05, allocations: 0 / 0.4945 GB, free: 1.227 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6736/0.6737, allocations: 92.68 MB / 0.5851 GB, free: 2.301 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.269/0.9427, allocations: 126.2 MB / 0.7083 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/0.9431, allocations: 99.92 kB / 0.7084 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.05582/0.9989, allocations: 10.5 MB / 0.7187 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.999, allocations: 0 / 0.7187 GB, free: 9.25 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.263e-05/0.9991, allocations: 12 kB / 0.7187 GB, free: 9.238 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.00231/1.001, allocations: 0.8021 MB / 0.7195 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/1.001, allocations: 12.2 kB / 0.7195 GB, free: 8.355 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/1.002, allocations: 63.23 kB / 0.7195 GB, free: 8.293 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/1.003, allocations: 382.2 kB / 0.7199 GB, free: 7.883 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/1.003, allocations: 16 kB / 0.7199 GB, free: 7.867 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/1.003, allocations: 40 kB / 0.72 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001478/1.004, allocations: 394.4 kB / 0.7203 GB, free: 7.441 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/1.006, allocations: 460.2 kB / 0.7208 GB, free: 6.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/1.006, allocations: 3.953 kB / 0.7208 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.028e-05/1.006, allocations: 3.984 kB / 0.7208 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.588e-05/1.006, allocations: 12 kB / 0.7208 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004407/1.011, allocations: 1.336 MB / 0.7221 GB, free: 5.578 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/1.012, allocations: 424.7 kB / 0.7225 GB, free: 5.148 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006189/1.013, allocations: 199.5 kB / 0.7227 GB, free: 4.953 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.963e-05/1.013, allocations: 8.547 kB / 0.7227 GB, free: 4.945 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000907/1.014, allocations: 270 kB / 0.723 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 4.799e-06/1.014, allocations: 0 / 0.723 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.001558/1.015, allocations: 442.5 kB / 0.7234 GB, free: 4.227 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/1.015, allocations: 59.97 kB / 0.7234 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006795/1.016, allocations: 313.9 kB / 0.7237 GB, free: 3.848 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001343/1.016, allocations: 41.69 kB / 0.7238 GB, free: 3.801 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/1.017, allocations: 213.2 kB / 0.724 GB, free: 3.586 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/1.017, allocations: 130.2 kB / 0.7241 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.129e-05/1.017, allocations: 4 kB / 0.7241 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.00023/1.017, allocations: 358.7 kB / 0.7245 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000637/1.018, allocations: 169.5 kB / 0.7246 GB, free: 2.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/1.019, allocations: 257.8 kB / 0.7249 GB, free: 2.652 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006513/1.019, allocations: 168.5 kB / 0.725 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.61e-06/1.019, allocations: 0 / 0.725 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001894/1.021, allocations: 0.5191 MB / 0.7255 GB, free: 1.961 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/1.021, allocations: 93.09 kB / 0.7256 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.021, allocations: 4 kB / 0.7256 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/1.021, allocations: 4 kB / 0.7256 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007062/1.022, allocations: 71.83 kB / 0.7257 GB, free: 1.773 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/1.022, allocations: 4 kB / 0.7257 GB, free: 1.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008566/1.023, allocations: 71.84 kB / 0.7258 GB, free: 1.699 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001229/1.023, allocations: 28 kB / 0.7258 GB, free: 1.672 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 3 * 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.000318/1.023, allocations: 170.6 kB / 0.726 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001439/1.025, allocations: 422.6 kB / 0.7264 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.025, allocations: 43.52 kB / 0.7264 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/1.027, allocations: 0.4993 MB / 0.7269 GB, free: 0.5312 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/1.027, allocations: 4 kB / 0.7269 GB, free: 0.5273 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.027, allocations: 4 kB / 0.7269 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.022e-05/1.027, allocations: 11.94 kB / 0.7269 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003759/1.031, allocations: 1.126 MB / 0.728 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.031, allocations: 7.938 kB / 0.728 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005558/1.031, allocations: 51.89 kB / 0.7281 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.95e-05/1.031, allocations: 7.953 kB / 0.7281 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.81e-05/1.031, allocations: 4 kB / 0.7281 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-05/1.031, allocations: 4 kB / 0.7281 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/1.032, allocations: 0 / 0.7281 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/1.033, allocations: 0.5617 MB / 0.7286 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/1.033, allocations: 124.6 kB / 0.7287 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/1.034, allocations: 7.953 kB / 0.7288 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008029/1.034, allocations: 51.94 kB / 0.7288 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003744/1.035, allocations: 92.42 kB / 0.7289 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/1.035, allocations: 23.98 kB / 0.7289 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004171/1.035, allocations: 210 kB / 0.7291 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.21e-07/1.035, allocations: 0 / 0.7291 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009945/1.036, allocations: 115.8 kB / 0.7292 GB, free: 14.06 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.nextTime,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.003115/1.04, allocations: 1.293 MB / 0.7305 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001769/1.041, allocations: 0.6176 MB / 0.7311 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.041, allocations: 0 / 0.7311 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007743/1.042, allocations: 242 kB / 0.7313 GB, free: 11.9 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007011/1.043, allocations: 52.78 kB / 0.7314 GB, free: 11.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003028/1.046, allocations: 0.7229 MB / 0.7321 GB, free: 11.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007378/1.047, allocations: 0.8634 MB / 0.7329 GB, free: 10.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005645/1.047, allocations: 72.08 kB / 0.733 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006047/1.048, allocations: 163.4 kB / 0.7331 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of SimCode: time 1.473e-06/1.048, allocations: 0 / 0.7331 GB, free: 9.969 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07594/1.124, allocations: 9.122 MB / 0.7421 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004231/1.124, allocations: 213.5 kB / 0.7423 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.418/4.543, allocations: 0 / 0.7423 GB, free: 0.6016 MB / 0.6198 GB