Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,fileNamePrefix="Buildings_5_0_1_Buildings_Examples_ChillerPlant_DataCenterDiscreteTimeControl",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.342/4.342, allocations: 404.1 MB / 411.3 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.882e-05, allocations: 8 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6846/0.6847, allocations: 92.69 MB / 0.585 GB, free: 2.352 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.533/9.218, allocations: 2.517 GB / 3.102 GB, free: 60.6 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/9.219, allocations: 81.89 kB / 3.102 GB, free: 60.56 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 31.55/40.77, allocations: 4.876 GB / 7.978 GB, free: 45.74 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.214e-06/40.77, allocations: 0 / 7.978 GB, free: 45.74 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003776/40.77, allocations: 324.6 kB / 7.978 GB, free: 45.68 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2228 * Number of variables: 2228 Notification: Performance of Generate backend data structure: time 0.06157/40.84, allocations: 11.7 MB / 7.99 GB, free: 40.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.343e-05/40.84, allocations: 9.562 kB / 7.99 GB, free: 40.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04939/40.89, allocations: 3.595 MB / 7.993 GB, free: 39.47 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08753/40.97, allocations: 15.81 MB / 8.009 GB, free: 37.34 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001673/40.97, allocations: 454.4 kB / 8.009 GB, free: 37.26 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006708/40.98, allocations: 0.5475 MB / 8.01 GB, free: 37.25 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05094/41.03, allocations: 9.286 MB / 8.019 GB, free: 37.21 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04967/41.08, allocations: 9.654 MB / 8.028 GB, free: 36.13 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008458/41.08, allocations: 23.56 kB / 8.028 GB, free: 36.12 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004688/41.09, allocations: 17.95 kB / 8.028 GB, free: 36.11 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006227/41.09, allocations: 364.8 kB / 8.028 GB, free: 36.09 MB / 0.9792 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1534/41.24, allocations: 48.69 MB / 8.076 GB, free: 13.86 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03139/41.27, allocations: 7.258 MB / 8.083 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01514/41.29, allocations: 4.02 MB / 8.087 GB, free: 3.473 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06766/41.36, allocations: 15.86 MB / 8.102 GB, free: 4.191 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01676/41.37, allocations: 3.862 MB / 8.106 GB, free: 264 kB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 1.186/42.56, allocations: 0.9186 MB / 8.107 GB, free: 85.14 MB / 1.01 GB Notification: Performance of pre-optimization done (n=635): time 6.059e-05/42.56, allocations: 0 / 8.107 GB, free: 85.14 MB / 1.01 GB Notification: Performance of matching and sorting (n=693): time 0.243/42.8, allocations: 23.57 MB / 8.13 GB, free: 81.85 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002668/42.8, allocations: 315.8 kB / 8.13 GB, free: 81.56 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03745/42.84, allocations: 7.388 MB / 8.138 GB, free: 81.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003124/42.84, allocations: 41.8 kB / 8.138 GB, free: 80.99 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01354/42.86, allocations: 5.42 MB / 8.143 GB, free: 79.88 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.00531/42.86, allocations: 2.246 MB / 8.145 GB, free: 78.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002197/42.86, allocations: 1.375 kB / 8.145 GB, free: 78.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001013/42.87, allocations: 0.5986 MB / 8.146 GB, free: 78.38 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01179/42.88, allocations: 3.133 MB / 8.149 GB, free: 78.37 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01449/42.89, allocations: 5.191 MB / 8.154 GB, free: 76.15 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0265/42.92, allocations: 4.637 MB / 8.158 GB, free: 76.05 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001118/42.92, allocations: 14.75 kB / 8.158 GB, free: 76.05 MB / 1.01 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.07367/42.99, allocations: 12.25 MB / 8.17 GB, free: 75.24 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.005827/43, allocations: 24.55 MB / 8.194 GB, free: 49.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002847/43, allocations: 41.53 kB / 8.194 GB, free: 49.89 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02862/43.03, allocations: 4.128 MB / 8.198 GB, free: 49.82 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01409/43.04, allocations: 1.307 MB / 8.2 GB, free: 49.82 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04044/43.08, allocations: 14.43 MB / 8.214 GB, free: 45.01 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.023/43.1, allocations: 0.8014 MB / 8.215 GB, free: 44.97 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003143/43.11, allocations: 384 kB / 8.215 GB, free: 44.97 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/43.11, allocations: 2.312 kB / 8.215 GB, free: 44.97 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05507/43.16, allocations: 10.28 MB / 8.225 GB, free: 44.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001976/43.16, allocations: 45.67 kB / 8.225 GB, free: 44.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02875/43.19, allocations: 4.058 MB / 8.229 GB, free: 44.64 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/43.21, allocations: 1.271 MB / 8.23 GB, free: 44.64 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04332/43.25, allocations: 16.21 MB / 8.246 GB, free: 38.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02119/43.27, allocations: 0.7334 MB / 8.247 GB, free: 38.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003069/43.27, allocations: 368.2 kB / 8.247 GB, free: 38.23 MB / 1.01 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: cooCoi.ele[2].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] cooCoi.ele[1].con1.dT:VARIABLE(min = -200.0 unit = "K" protected = true ) "= solid.T - fluid.T" type: Real [4] wse.Q2_flow:VARIABLE(unit = "W" ) "Heat transferred into the medium 2" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 192 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.wseCon.T1.enableFire,$PRE.wseCon.T2.enableFire,$PRE.triAndRes.firstTrigger,triAndRes.firstTrigger,$whenCondition7,triAndRes.sampleTrigger,$PRE.triAndRes.uniDel1.firstTrigger,triAndRes.uniDel1.firstTrigger,$PRE.triAndRes.sam.firstTrigger,triAndRes.sam.firstTrigger,$whenCondition5,triAndRes.sam.sampleTrigger,$whenCondition6,triAndRes.uniDel1.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wseCon.off.localActive,wseCon.off.localActive,$PRE.wseCon.off.newActive,wseCon.off.newActive,$PRE.wseCon.off.oldActive,wseCon.off.oldActive,wseCon.off.active,wseCon.T1.enableFire,wseCon.T1.fire,$PRE.wseCon.T1.t_start,wseCon.T1.t_start,wseCon.T1.condition,$PRE.wseCon.on.localActive,wseCon.on.localActive,$PRE.wseCon.on.newActive,wseCon.on.newActive,$PRE.wseCon.on.oldActive,wseCon.on.oldActive,wseCon.on.active,wseCon.T2.enableFire,wseCon.T2.fire,$PRE.wseCon.T2.t_start,wseCon.T2.t_start,wseCon.T2.condition,wseCon.stateGraphRoot.activeSteps,$PRE.chiSwi.hysteresis.y,chiSwi.hysteresis.y,$PRE.weaData.conTim1.tStart,weaData.conTim1.tStart,$PRE.weaData.conTim.tStart,weaData.conTim.tStart,greaterThreshold.y,mCWFlo.u,triAndRes.incY.y,triAndRes.sam.y,$PRE.triAndRes.uniDel1.y,triAndRes.uniDel1.y,wseCon.stateGraphRoot.resume,wseCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (741): * Single equations (assignments): 727 * Array equations: 4 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {19 172,4 16,1 4,2 9,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.004873/43.28, allocations: 316.5 kB / 8.247 GB, free: 38.12 MB / 1.01 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05631/43.33, allocations: 8.999 MB / 8.256 GB, free: 37.2 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005754/43.34, allocations: 1.009 MB / 8.257 GB, free: 36.67 MB / 1.01 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 805 equation(s) and 803 variable(s). Warning: Equation 611 (size: 2) $cse92 = Buildings.Fluid.Interfaces.ConservationEquation$chi$vol1$dynBal.Medium.setState_phX(expVesChi.p_start, chi.vol1.ports[1].h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse93 Already solved: Equations used to solve those variables: Warning: Equation 617 (size: 2) $cse86 = Buildings.Fluid.Interfaces.ConservationEquation$pumCHW$vol$dynBal.Medium.setState_phX(expVesCHW.p_start, pumCHW.port_a.h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse89 Already solved: Equations used to solve those variables: Warning: Equation 623 (size: 2) $cse80 = Buildings.Fluid.Interfaces.ConservationEquation$cooCoi$ele$vol1$dynBal.Medium.setState_phX(expVesCHW.p_start, cooCoi.ele[2].vol1.hOut_internal, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse85 Already solved: Equations used to solve those variables: Warning: Equation 655 (size: 1) $cse63 = Buildings.Fluid.HeatExchangers.CoolingTowers.YorkCalc$cooTow.Medium.setState_pTX(cooTow.vol.p, cooTow.TAir + cooTow.TAppAct, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: Already solved: Equations used to solve those variables: Warning: Equation 669 (size: 2) $cse55 = Buildings.Fluid.Movers.BaseClasses.IdealSource$pumCW$preSou.Medium.setState_phX(cooTow.vol.p, pumCW.port_a.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse62 Already solved: Equations used to solve those variables: Warning: Equation 697 (size: 2) $cse35 = Buildings.Fluid.Chillers.ElectricEIR$chi.Medium2.setState_phX(chi.vol2.p, chi.preDro2.port_b.h_outflow, {1.0}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse48 Already solved: Equations used to solve those variables: Warning: Equation 706 (size: 2) $cse31 = Buildings.Fluid.Sensors.TemperatureTwoPort$TCHWEntChi.Medium.setState_phX(chi.vol2.p, TCHWEntChi.port_b.h_outflow, {}) is not big enough to solve for enough variables. Remaining unsolved variables are: $cse40 Already solved: wseCon.T1.fire Equations used to solve those variables: Equation 174 (size: 1): wseCon.T1.fire = wseCon.T1.enableFire and time >= wseCon.T1.t_start + wseCon.T1.waitTime Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03684/43.38, allocations: 5.934 MB / 8.263 GB, free: 36.42 MB / 1.01 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.