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 4.277/4.277, allocations: 403.3 MB / 415.4 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.825e-05/3.83e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6211/0.6212, allocations: 92.67 MB / 0.5896 GB, free: 14.39 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2419/0.8631, allocations: 126.9 MB / 0.7136 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003789/0.8635, allocations: 91.94 kB / 0.7137 GB, free: 15.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.04859/0.9121, allocations: 10.65 MB / 0.7241 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9122, allocations: 0 / 0.7241 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.94e-05/0.9122, allocations: 16 kB / 0.7241 GB, free: 4.512 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.001997/0.9142, allocations: 0.7859 MB / 0.7248 GB, free: 3.652 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/0.9143, allocations: 15.91 kB / 0.7249 GB, free: 3.637 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001898/0.9145, allocations: 86.52 kB / 0.7249 GB, free: 3.543 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/0.9148, allocations: 75.2 kB / 0.725 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008598/0.9156, allocations: 374.3 kB / 0.7254 GB, free: 3.066 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.9157, allocations: 44.94 kB / 0.7254 GB, free: 3.023 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.9159, allocations: 52 kB / 0.7255 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/0.9173, allocations: 0.504 MB / 0.726 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.9174, allocations: 0 / 0.726 GB, free: 2.457 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-05/0.9175, allocations: 23.95 kB / 0.726 GB, free: 2.434 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.9175, allocations: 12 kB / 0.726 GB, free: 2.422 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00123/0.9187, allocations: 405.9 kB / 0.7264 GB, free: 2.027 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003938/0.9227, allocations: 1.442 MB / 0.7278 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001204/0.924, allocations: 444.3 kB / 0.7282 GB, free: 80 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005762/0.9246, allocations: 217 kB / 0.7284 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.63e-05/0.9247, allocations: 8.562 kB / 0.7284 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007804/0.9255, allocations: 285.9 kB / 0.7287 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=61): time 4.349e-06/0.9255, allocations: 0 / 0.7287 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61): time 0.001413/0.9269, allocations: 470.5 kB / 0.7291 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.303e-05/0.927, allocations: 76.84 kB / 0.7292 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.9276, allocations: 319.1 kB / 0.7295 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001303/0.9278, allocations: 53.7 kB / 0.7296 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.928, allocations: 213.2 kB / 0.7298 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/0.9282, allocations: 146.1 kB / 0.7299 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.997e-05/0.9283, allocations: 16 kB / 0.7299 GB, free: 14.27 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001843/0.9285, allocations: 358.8 kB / 0.7303 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005712/0.9291, allocations: 185.5 kB / 0.7305 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006367/0.9297, allocations: 269.8 kB / 0.7307 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006106/0.9304, allocations: 263.2 kB / 0.731 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.9304, allocations: 0 / 0.731 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001711/0.9321, allocations: 0.6452 MB / 0.7316 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.413e-05/0.9322, allocations: 97.03 kB / 0.7317 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.9323, allocations: 0 / 0.7317 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.9323, allocations: 4 kB / 0.7317 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.9329, allocations: 80.05 kB / 0.7318 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.9329, allocations: 7.938 kB / 0.7318 GB, free: 12.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007192/0.9337, allocations: 91.52 kB / 0.7319 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.654e-05/0.9338, allocations: 28 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.0002892/0.9341, allocations: 168.8 kB / 0.732 GB, free: 12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001253/0.9342, allocations: 43.52 kB / 0.7321 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.9358, allocations: 0.5421 MB / 0.7326 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.32e-05/0.9358, allocations: 8 kB / 0.7326 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.9359, allocations: 0 / 0.7326 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.9359, allocations: 3.984 kB / 0.7326 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003133/0.939, allocations: 1.25 MB / 0.7338 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.9391, allocations: 0 / 0.7338 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.9395, allocations: 51.91 kB / 0.7339 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.59e-05/0.9396, allocations: 7.953 kB / 0.7339 GB, free: 10.03 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.9396, allocations: 15.98 kB / 0.7339 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.9397, allocations: 4 kB / 0.7339 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9397, allocations: 0 / 0.7339 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.9411, allocations: 0.5968 MB / 0.7345 GB, free: 9.398 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.9412, allocations: 120.5 kB / 0.7346 GB, free: 9.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9414, allocations: 27.92 kB / 0.7346 GB, free: 9.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.942, allocations: 63.94 kB / 0.7347 GB, free: 9.172 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003011/0.9423, allocations: 80.44 kB / 0.7348 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/0.9425, allocations: 27.98 kB / 0.7348 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004251/0.9429, allocations: 223.1 kB / 0.735 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.71e-07/0.9429, allocations: 0 / 0.735 GB, free: 8.844 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008453/0.9438, 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.002674/0.9465, allocations: 1.339 MB / 0.7365 GB, free: 7.398 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001578/0.9481, allocations: 0.6332 MB / 0.7371 GB, free: 6.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.9481, allocations: 3.938 kB / 0.7371 GB, free: 6.727 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006681/0.9488, allocations: 262 kB / 0.7373 GB, free: 6.473 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005966/0.9494, allocations: 48.81 kB / 0.7374 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.952, allocations: 0.7785 MB / 0.7381 GB, free: 5.613 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005774/0.9527, allocations: 0.8636 MB / 0.739 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0004525/0.9531, allocations: 76.08 kB / 0.7391 GB, free: 4.645 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004484/0.9536, allocations: 171.3 kB / 0.7392 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of SimCode: time 1.723e-06/0.9536, allocations: 0 / 0.7392 GB, free: 4.477 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04134/0.995, allocations: 9.685 MB / 0.7487 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003795/0.9954, allocations: 242.4 kB / 0.7489 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.679, allocations: 0 / 0.7489 GB, free: 10.62 MB / 0.6355 GB