Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.03/4.03, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.435e-05, allocations: 2.719 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2133/0.2134, allocations: 98.72 MB / 0.6302 GB, free: 6.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2824/0.4958, allocations: 130.9 MB / 0.7581 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.4962, allocations: 99.86 kB / 0.7582 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.04576/0.542, allocations: 10.63 MB / 0.7686 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/0.542, allocations: 0 / 0.7686 GB, free: 8.254 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.081e-05/0.5421, allocations: 8 kB / 0.7686 GB, free: 8.246 MB / 0.6511 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.001885/0.544, allocations: 0.7935 MB / 0.7693 GB, free: 7.379 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.5441, allocations: 8.031 kB / 0.7693 GB, free: 7.371 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.5442, allocations: 86.52 kB / 0.7694 GB, free: 7.277 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.5444, allocations: 67.28 kB / 0.7695 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.5452, allocations: 382.1 kB / 0.7699 GB, free: 6.797 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.029e-05/0.5453, allocations: 44.98 kB / 0.7699 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.5454, allocations: 52 kB / 0.7699 GB, free: 6.703 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.5468, allocations: 0.5079 MB / 0.7704 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5468, allocations: 0 / 0.7704 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.54e-05/0.5469, allocations: 20 kB / 0.7705 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.715e-05/0.547, allocations: 11.98 kB / 0.7705 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.5481, allocations: 413.8 kB / 0.7709 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00358/0.5517, allocations: 1.442 MB / 0.7723 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00114/0.5529, allocations: 444.8 kB / 0.7727 GB, free: 3.801 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005424/0.5535, allocations: 212.6 kB / 0.7729 GB, free: 3.594 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/0.5535, allocations: 4.562 kB / 0.7729 GB, free: 3.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007272/0.5543, allocations: 290.9 kB / 0.7732 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=61): time 7.885e-06/0.5543, allocations: 0 / 0.7732 GB, free: 3.293 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61): time 0.001326/0.5556, allocations: 466.5 kB / 0.7736 GB, free: 2.828 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.684e-05/0.5557, allocations: 75.95 kB / 0.7737 GB, free: 2.742 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005583/0.5563, allocations: 319 kB / 0.774 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.5564, allocations: 61.69 kB / 0.7741 GB, free: 2.352 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002092/0.5566, allocations: 209.2 kB / 0.7743 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001864/0.5568, allocations: 146 kB / 0.7744 GB, free: 2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.5569, allocations: 16 kB / 0.7744 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5571, allocations: 362.7 kB / 0.7748 GB, free: 1.621 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005554/0.5577, allocations: 181.5 kB / 0.7749 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.5583, allocations: 269.9 kB / 0.7752 GB, free: 1.156 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005594/0.5589, allocations: 259.1 kB / 0.7754 GB, free: 0.8828 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.405e-06/0.5589, allocations: 4 kB / 0.7754 GB, free: 0.8789 MB / 0.6511 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001552/0.5605, allocations: 0.6491 MB / 0.7761 GB, free: 212 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/0.5605, allocations: 93.09 kB / 0.7762 GB, free: 100 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.5606, allocations: 0 / 0.7762 GB, free: 100 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.779e-05/0.5606, allocations: 8 kB / 0.7762 GB, free: 92 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005536/0.5612, allocations: 76.05 kB / 0.7762 GB, free: 16 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.981e-05/0.5612, allocations: 8 kB / 0.7763 GB, free: 8 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.5175/1.079, allocations: 69.48 kB / 0.7763 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/1.079, allocations: 31.78 kB / 0.7764 GB, free: 137.4 MB / 0.6511 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.000281/1.079, allocations: 179.2 kB / 0.7765 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001333/1.079, allocations: 40.72 kB / 0.7766 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/1.081, allocations: 0.5387 MB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/1.081, allocations: 9.656 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/1.081, allocations: 2.328 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.081, allocations: 7.531 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/1.084, allocations: 1.247 MB / 0.7783 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.105e-06/1.084, allocations: 1.719 kB / 0.7783 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004603/1.085, allocations: 56.66 kB / 0.7784 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/1.085, allocations: 2.156 kB / 0.7784 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/1.085, allocations: 16.7 kB / 0.7784 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/1.085, allocations: 2.469 kB / 0.7784 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/1.085, allocations: 0.6875 kB / 0.7784 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001592/1.086, allocations: 0.5969 MB / 0.779 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001631/1.087, allocations: 130.4 kB / 0.7791 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/1.087, allocations: 16.77 kB / 0.7791 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007071/1.087, allocations: 57.31 kB / 0.7792 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003626/1.088, allocations: 85.38 kB / 0.7793 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/1.088, allocations: 33.89 kB / 0.7793 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004475/1.088, allocations: 221.6 kB / 0.7795 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.4e-07/1.088, allocations: 4.422 kB / 0.7795 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009452/1.089, allocations: 129.9 kB / 0.7796 GB, free: 136.6 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,$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.002332/1.092, allocations: 1.345 MB / 0.7809 GB, free: 136 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001496/1.093, allocations: 0.6341 MB / 0.7816 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.762e-05/1.093, allocations: 0 / 0.7816 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007311/1.094, allocations: 258.7 kB / 0.7818 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/1.095, allocations: 48.89 kB / 0.7819 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002616/1.097, allocations: 0.7754 MB / 0.7826 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004618/1.098, allocations: 0.8627 MB / 0.7835 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004972/1.098, allocations: 69.3 kB / 0.7835 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004188/1.099, allocations: 166.8 kB / 0.7837 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/1.099, allocations: 2.625 kB / 0.7837 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04472/1.144, allocations: 9.705 MB / 0.7932 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002587/1.144, allocations: 232.5 kB / 0.7934 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.7/3.844, allocations: 0 / 0.7934 GB, free: 133.8 MB / 0.6511 GB