Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_latest_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.42/4.42, allocations: 464.6 MB / 476.8 MB, free: 2.121 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.443e-05/4.46e-05, allocations: 4 kB / 0.5732 GB, free: 5.617 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2534, allocations: 107.2 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9116/1.165, allocations: 141.5 MB / 0.816 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.165, allocations: 97.25 kB / 0.8161 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05413/1.22, allocations: 13.91 MB / 0.8297 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.543e-06/1.22, allocations: 0 / 0.8297 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.389e-05/1.22, allocations: 15.69 kB / 0.8297 GB, free: 8.41 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.002057/1.222, allocations: 0.8458 MB / 0.8305 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/1.222, allocations: 11.72 kB / 0.8305 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/1.222, allocations: 94.67 kB / 0.8306 GB, free: 7.672 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/1.222, allocations: 69.88 kB / 0.8307 GB, free: 7.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/1.223, allocations: 474.8 kB / 0.8311 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.885e-05/1.223, allocations: 48.09 kB / 0.8312 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/1.224, allocations: 55 kB / 0.8312 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001377/1.225, allocations: 0.5285 MB / 0.8317 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/1.225, allocations: 0 / 0.8317 GB, free: 7.18 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.007e-05/1.225, allocations: 25.05 kB / 0.8318 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.416e-05/1.225, allocations: 11.53 kB / 0.8318 GB, free: 7.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001085/1.226, allocations: 413.6 kB / 0.8322 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003578/1.23, allocations: 1.553 MB / 0.8337 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/1.231, allocations: 453.2 kB / 0.8341 GB, free: 6.316 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004686/1.231, allocations: 219.4 kB / 0.8343 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/1.231, allocations: 11.86 kB / 0.8343 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006583/1.232, allocations: 300.3 kB / 0.8346 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=63): time 4.128e-06/1.232, allocations: 0 / 0.8346 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=63): time 0.001192/1.233, allocations: 453.4 kB / 0.8351 GB, free: 6.086 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.233, allocations: 119 kB / 0.8352 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007558/1.234, allocations: 456.6 kB / 0.8356 GB, free: 5.789 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/1.234, allocations: 56.38 kB / 0.8357 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/1.234, allocations: 262.7 kB / 0.8359 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/1.235, allocations: 152 kB / 0.8361 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-05/1.235, allocations: 15.31 kB / 0.8361 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000107/1.235, allocations: 369 kB / 0.8364 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/1.235, allocations: 178.1 kB / 0.8366 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005944/1.236, allocations: 300.9 kB / 0.8369 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004791/1.236, allocations: 206.2 kB / 0.8371 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/1.236, allocations: 0 / 0.8371 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001342/1.238, allocations: 0.5761 MB / 0.8376 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.027e-05/1.238, allocations: 33.5 kB / 0.8377 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.217e-05/1.238, allocations: 7.797 kB / 0.8377 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/1.238, allocations: 3.844 kB / 0.8377 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006381/1.239, allocations: 89.61 kB / 0.8378 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.772e-05/1.239, allocations: 7.688 kB / 0.8378 GB, free: 4.773 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007284/1.239, allocations: 81.84 kB / 0.8379 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.333e-05/1.239, allocations: 27.12 kB / 0.8379 GB, free: 4.738 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,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,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0002586/1.24, allocations: 175 kB / 0.8381 GB, free: 4.609 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/1.24, allocations: 46.53 kB / 0.8381 GB, free: 4.586 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/1.241, allocations: 0.5531 MB / 0.8386 GB, free: 4.449 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/1.241, allocations: 15.58 kB / 0.8387 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.241, allocations: 0 / 0.8387 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.241, allocations: 7.922 kB / 0.8387 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/1.244, allocations: 1.334 MB / 0.84 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.473e-06/1.244, allocations: 0 / 0.84 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000481/1.245, allocations: 64.89 kB / 0.84 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/1.245, allocations: 3.688 kB / 0.84 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.217e-05/1.245, allocations: 11.41 kB / 0.84 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.536e-06/1.245, allocations: 7.797 kB / 0.84 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.245, allocations: 0 / 0.84 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/1.246, allocations: 0.5977 MB / 0.8406 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/1.246, allocations: 143 kB / 0.8408 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/1.246, allocations: 16.73 kB / 0.8408 GB, free: 3.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006773/1.247, allocations: 61.91 kB / 0.8408 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002946/1.247, allocations: 93.05 kB / 0.8409 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.506e-05/1.247, allocations: 21.97 kB / 0.8409 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007169/1.248, allocations: 325.9 kB / 0.8413 GB, free: 19.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.2e-07/1.248, allocations: 0 / 0.8413 GB, free: 19.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008937/1.249, allocations: 160.9 kB / 0.8414 GB, free: 19.31 MB / 0.6511 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,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,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.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.003384/1.253, allocations: 1.716 MB / 0.8431 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001468/1.254, allocations: 0.5375 MB / 0.8436 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/1.254, allocations: 0.5 kB / 0.8436 GB, free: 18.03 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006166/1.255, allocations: 270.4 kB / 0.8439 GB, free: 17.84 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/1.256, allocations: 85.08 kB / 0.844 GB, free: 17.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002773/1.258, allocations: 0.9274 MB / 0.8449 GB, free: 16.98 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/1.259, allocations: 0.9029 MB / 0.8457 GB, free: 16.06 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000579/1.26, allocations: 96.55 kB / 0.8458 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004883/1.26, allocations: 211 kB / 0.846 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of SimCode: time 2.024e-06/1.26, allocations: 0 / 0.846 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05392/1.314, allocations: 12.43 MB / 0.8582 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004085/1.315, allocations: 231.5 kB / 0.8584 GB, free: 3.305 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.035/4.349, allocations: 3.938 kB / 0.8584 GB, free: 3.301 MB / 0.6511 GB