Running command: translateModel(Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Examples.ChillerPlant.DataCenterDiscreteTimeControl") Notification: Performance of loadModel(Buildings): time 3.688/3.688, allocations: 403.9 MB / 411 MB, free: 348 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.723e-05/1.766e-05, allocations: 3.938 kB / 0.4941 GB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4891/0.4891, allocations: 92.7 MB / 0.5847 GB, free: 2.359 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.156/6.645, allocations: 2.517 GB / 3.102 GB, free: 0.8477 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/6.645, allocations: 86.47 kB / 3.102 GB, free: 0.8086 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 23.82/30.47, allocations: 4.876 GB / 7.978 GB, free: 41.72 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.116e-06/30.47, allocations: 0 / 7.978 GB, free: 41.72 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.002376/30.47, allocations: 324 kB / 7.978 GB, free: 41.64 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.04099/30.51, allocations: 11.7 MB / 7.99 GB, free: 36.14 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/30.51, allocations: 14.27 kB / 7.99 GB, free: 36.14 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03166/30.54, allocations: 3.591 MB / 7.993 GB, free: 34.86 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05256/30.6, allocations: 15.81 MB / 8.009 GB, free: 24.44 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008544/30.6, allocations: 452 kB / 8.009 GB, free: 23.99 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003965/30.6, allocations: 0.554 MB / 8.01 GB, free: 23.44 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02772/30.63, allocations: 9.288 MB / 8.019 GB, free: 14.88 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03457/30.66, allocations: 9.661 MB / 8.028 GB, free: 4.895 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005941/30.66, allocations: 27.77 kB / 8.028 GB, free: 4.867 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003503/30.67, allocations: 12 kB / 8.028 GB, free: 4.855 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004092/30.67, allocations: 360.6 kB / 8.028 GB, free: 4.5 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.9573/31.62, allocations: 48.65 MB / 8.076 GB, free: 49.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01968/31.64, allocations: 7.258 MB / 8.083 GB, free: 49.11 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009764/31.65, allocations: 4.013 MB / 8.087 GB, free: 49.04 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04425/31.7, allocations: 15.86 MB / 8.102 GB, free: 43.96 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01052/31.71, allocations: 3.855 MB / 8.106 GB, free: 43.75 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009409/31.72, allocations: 0.931 MB / 8.107 GB, free: 43.75 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=635): time 4.916e-05/31.72, allocations: 1.641 kB / 8.107 GB, free: 43.75 MB / 0.9948 GB Notification: Performance of matching and sorting (n=693): time 0.1111/31.83, allocations: 23.58 MB / 8.13 GB, free: 39.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001659/31.83, allocations: 319.8 kB / 8.13 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02238/31.85, allocations: 7.383 MB / 8.138 GB, free: 38.81 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.002041/31.85, allocations: 47.86 kB / 8.138 GB, free: 38.78 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.008802/31.86, allocations: 5.418 MB / 8.143 GB, free: 37.66 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.004022/31.87, allocations: 2.251 MB / 8.145 GB, free: 36.44 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001813/31.87, allocations: 0 / 8.145 GB, free: 36.44 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0008534/31.87, allocations: 0.595 MB / 8.146 GB, free: 36.12 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008561/31.88, allocations: 3.134 MB / 8.149 GB, free: 36.11 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01061/31.89, allocations: 5.188 MB / 8.154 GB, free: 33.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01927/31.91, allocations: 4.634 MB / 8.158 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001019/31.91, allocations: 11.25 kB / 8.158 GB, free: 33.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=973) (initialization): time 0.06334/31.97, allocations: 12.25 MB / 8.17 GB, free: 32.98 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0086/31.98, allocations: 24.55 MB / 8.194 GB, free: 23.62 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00034/31.98, allocations: 42.78 kB / 8.194 GB, free: 23.62 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02617/32.01, allocations: 4.122 MB / 8.198 GB, free: 23.54 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009645/32.02, allocations: 1.307 MB / 8.2 GB, free: 23.54 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03008/32.05, allocations: 14.43 MB / 8.214 GB, free: 18.74 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01494/32.06, allocations: 0.8015 MB / 8.215 GB, free: 18.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002422/32.06, allocations: 384.7 kB / 8.215 GB, free: 18.67 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/32.06, allocations: 3.062 kB / 8.215 GB, free: 18.67 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03958/32.1, allocations: 10.28 MB / 8.225 GB, free: 18.42 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002325/32.1, allocations: 40.16 kB / 8.225 GB, free: 18.42 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01717/32.12, allocations: 4.062 MB / 8.229 GB, free: 18.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007387/32.13, allocations: 1.278 MB / 8.23 GB, free: 18.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0311/32.16, allocations: 16.2 MB / 8.246 GB, free: 11.94 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01388/32.17, allocations: 0.7389 MB / 8.247 GB, free: 11.88 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00233/32.18, allocations: 366.2 kB / 8.247 GB, free: 11.88 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.004733/32.18, allocations: 313.5 kB / 8.247 GB, free: 27.74 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004378/32.19, allocations: 1 MB / 8.248 GB, free: 27.21 MB / 1.026 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.03686/32.22, allocations: 5.945 MB / 8.254 GB, free: 26.94 MB / 1.026 GB Error: post-optimization module wrapFunctionCalls (simulation) failed.