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={"static"}) Notification: Performance of loadModel(Buildings): time 3.878/3.878, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.622e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.38 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6196/0.6197, allocations: 92.68 MB / 0.5896 GB, free: 14.41 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2431/0.8629, allocations: 126.9 MB / 0.7136 GB, free: 15.34 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003706/0.8633, allocations: 95.92 kB / 0.7136 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04943/0.9128, allocations: 10.64 MB / 0.724 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9128, allocations: 0 / 0.724 GB, free: 4.559 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.327e-05/0.9129, allocations: 12 kB / 0.724 GB, free: 4.547 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.002138/0.9151, allocations: 0.7935 MB / 0.7248 GB, free: 3.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/0.9151, allocations: 8.031 kB / 0.7248 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002073/0.9154, allocations: 86.52 kB / 0.7249 GB, free: 3.578 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.9156, allocations: 67.19 kB / 0.725 GB, free: 3.512 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000865/0.9165, allocations: 374.3 kB / 0.7253 GB, free: 3.109 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.92e-05/0.9166, allocations: 44.94 kB / 0.7254 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.9167, allocations: 55.98 kB / 0.7254 GB, free: 3.012 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.9182, allocations: 0.5137 MB / 0.7259 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.9183, allocations: 0 / 0.7259 GB, free: 2.488 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.604e-05/0.9184, allocations: 23.95 kB / 0.726 GB, free: 2.465 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.9184, allocations: 12 kB / 0.726 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001293/0.9197, allocations: 415.9 kB / 0.7264 GB, free: 2.043 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004045/0.9238, allocations: 1.434 MB / 0.7278 GB, free: 0.5508 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.9251, allocations: 454.8 kB / 0.7282 GB, free: 96 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005913/0.9257, allocations: 214.8 kB / 0.7284 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.607e-05/0.9258, allocations: 12.47 kB / 0.7284 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007826/0.9266, allocations: 291.1 kB / 0.7287 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=61): time 4.068e-06/0.9266, allocations: 0 / 0.7287 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61): time 0.001428/0.9281, allocations: 470.5 kB / 0.7291 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.272e-05/0.9282, allocations: 67.92 kB / 0.7292 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000607/0.9288, allocations: 327 kB / 0.7295 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/0.9289, allocations: 53.69 kB / 0.7296 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/0.9292, allocations: 217.2 kB / 0.7298 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.9294, allocations: 150.1 kB / 0.7299 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.527e-05/0.9295, allocations: 16 kB / 0.7299 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000182/0.9296, allocations: 354.8 kB / 0.7303 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.9302, allocations: 185.5 kB / 0.7304 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006403/0.9309, allocations: 271.4 kB / 0.7307 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006006/0.9315, allocations: 259.1 kB / 0.731 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.9315, allocations: 0 / 0.731 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001677/0.9332, allocations: 0.6608 MB / 0.7316 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.689e-05/0.9333, allocations: 89.09 kB / 0.7317 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.9334, allocations: 0 / 0.7317 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.053e-05/0.9334, allocations: 8 kB / 0.7317 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005924/0.934, allocations: 75.83 kB / 0.7318 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.008e-05/0.934, allocations: 7.938 kB / 0.7318 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007163/0.9348, allocations: 87.75 kB / 0.7319 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.9349, allocations: 31.98 kB / 0.7319 GB, free: 12.17 MB / 0.6198 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.0002719/0.9352, allocations: 172.8 kB / 0.732 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.9353, allocations: 39.53 kB / 0.7321 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.9369, allocations: 0.5382 MB / 0.7326 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/0.9369, allocations: 8 kB / 0.7326 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.9369, allocations: 3.984 kB / 0.7326 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.937, allocations: 0 / 0.7326 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002997/0.94, allocations: 1.254 MB / 0.7338 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.94, allocations: 0 / 0.7338 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/0.9405, allocations: 63.89 kB / 0.7339 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.9405, allocations: 3.953 kB / 0.7339 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.9406, allocations: 12 kB / 0.7339 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.742e-06/0.9406, allocations: 4 kB / 0.7339 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.9406, allocations: 0 / 0.7339 GB, free: 10 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.942, allocations: 0.5929 MB / 0.7345 GB, free: 9.395 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001412/0.9421, allocations: 124.5 kB / 0.7346 GB, free: 9.254 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001091/0.9423, allocations: 15.95 kB / 0.7346 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006328/0.9429, allocations: 63.94 kB / 0.7347 GB, free: 9.176 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003079/0.9432, allocations: 92.42 kB / 0.7348 GB, free: 9.086 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.9433, allocations: 23.98 kB / 0.7348 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004339/0.9438, allocations: 223.1 kB / 0.735 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.11e-07/0.9438, allocations: 0 / 0.735 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008115/0.9446, allocations: 135.8 kB / 0.7352 GB, free: 8.711 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.002578/0.9472, allocations: 1.34 MB / 0.7365 GB, free: 7.395 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001646/0.9489, allocations: 0.6476 MB / 0.7371 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.949, allocations: 448 / 0.7371 GB, free: 6.707 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006942/0.9497, allocations: 267.1 kB / 0.7374 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005838/0.9503, allocations: 52.75 kB / 0.7374 GB, free: 6.398 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.9528, allocations: 0.7869 MB / 0.7382 GB, free: 5.574 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.9534, allocations: 0.8636 MB / 0.739 GB, free: 4.688 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004462/0.9539, allocations: 68.12 kB / 0.7391 GB, free: 4.617 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004515/0.9543, allocations: 171.4 kB / 0.7392 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of SimCode: time 1.303e-06/0.9543, allocations: 0 / 0.7392 GB, free: 4.449 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0399/0.9943, allocations: 9.699 MB / 0.7487 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003622/0.9947, allocations: 236.5 kB / 0.7489 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.847/3.842, allocations: 2.969 kB / 0.7489 GB, free: 10.55 MB / 0.6355 GB