Running command: translateModel(BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Chillers.Examples.CompressionChillerWithStorage") Notification: Performance of loadModel(BuildingSystems): time 3.374/3.374, allocations: 343.8 MB / 355.9 MB, free: 9.398 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.324e-05, allocations: 4 kB / 436.6 MB, free: 2.496 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1408/0.1408, allocations: 77.72 MB / 0.5022 GB, free: 4.613 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.371, allocations: 418.2 MB / 0.9107 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002234/1.372, allocations: 87.08 kB / 0.9108 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.813/7.184, allocations: 1.23 GB / 2.141 GB, free: 53.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.411e-06/7.185, allocations: 0.875 kB / 2.141 GB, free: 53.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006384/7.185, allocations: 107.8 kB / 2.141 GB, free: 53.73 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 714 * Number of variables: 714 Notification: Performance of Generate backend data structure: time 0.01121/7.196, allocations: 3.688 MB / 2.144 GB, free: 52.13 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/7.196, allocations: 9.625 kB / 2.144 GB, free: 52.13 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004114/7.201, allocations: 0.6229 MB / 2.145 GB, free: 51.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/7.215, allocations: 4.775 MB / 2.15 GB, free: 51.24 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003218/7.216, allocations: 246.9 kB / 2.15 GB, free: 51.2 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00101/7.217, allocations: 293.3 kB / 2.15 GB, free: 51.2 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008075/7.225, allocations: 3.232 MB / 2.153 GB, free: 50.77 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001037/7.225, allocations: 9.188 kB / 2.153 GB, free: 50.76 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/7.225, allocations: 118.3 kB / 2.153 GB, free: 50.76 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.45e-05/7.225, allocations: 82.86 kB / 2.153 GB, free: 50.76 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006424/7.232, allocations: 2.428 MB / 2.156 GB, free: 50.75 MB / 0.698 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.0244/7.256, allocations: 14.02 MB / 2.169 GB, free: 44.88 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003614/7.26, allocations: 1.894 MB / 2.171 GB, free: 44.65 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002334/7.262, allocations: 1.115 MB / 2.172 GB, free: 44.63 MB / 0.698 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 evalFunc (simulation): time 0.01194/7.274, allocations: 5.714 MB / 2.178 GB, free: 42.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/7.274, allocations: 56.53 kB / 2.178 GB, free: 42.02 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00212/7.276, allocations: 314.6 kB / 2.178 GB, free: 41.91 MB / 0.698 GB Notification: Performance of pre-optimization done (n=150): time 7.082e-06/7.277, allocations: 0 / 2.178 GB, free: 41.91 MB / 0.698 GB Notification: Performance of matching and sorting (n=150): time 0.004202/7.281, allocations: 1.73 MB / 2.18 GB, free: 41.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/7.281, allocations: 148 kB / 2.18 GB, free: 41.51 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005401/7.286, allocations: 2.713 MB / 2.183 GB, free: 41.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003527/7.287, allocations: 59.86 kB / 2.183 GB, free: 41.21 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001797/7.288, allocations: 1.73 MB / 2.185 GB, free: 40.64 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006988/7.289, allocations: 0.5262 MB / 2.185 GB, free: 40.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/7.289, allocations: 40.34 kB / 2.185 GB, free: 40.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001511/7.29, allocations: 387 kB / 2.185 GB, free: 40 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001594/7.291, allocations: 0.6753 MB / 2.186 GB, free: 39.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/7.293, allocations: 1.322 MB / 2.187 GB, free: 39.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00187/7.295, allocations: 0.9516 MB / 2.188 GB, free: 39.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/7.295, allocations: 5.469 kB / 2.188 GB, free: 39.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.006124/7.301, allocations: 2.471 MB / 2.191 GB, free: 38.93 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001561/7.303, allocations: 7.675 MB / 2.198 GB, free: 30.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.731e-05/7.303, allocations: 21.59 kB / 2.198 GB, free: 30.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007529/7.304, allocations: 174.2 kB / 2.198 GB, free: 30.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002896/7.306, allocations: 494.5 kB / 2.199 GB, free: 30.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/7.309, allocations: 2.264 MB / 2.201 GB, free: 29.46 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004343/7.314, allocations: 225.4 kB / 2.201 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004669/7.314, allocations: 106.3 kB / 2.201 GB, free: 29.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/7.314, allocations: 6.125 kB / 2.201 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004932/7.319, allocations: 2.14 MB / 2.204 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.626e-05/7.319, allocations: 19.59 kB / 2.204 GB, free: 29.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006123/7.32, allocations: 176.9 kB / 2.204 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/7.323, allocations: 485.2 kB / 2.204 GB, free: 29.36 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002567/7.325, allocations: 2.269 MB / 2.206 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/7.329, allocations: 219.8 kB / 2.207 GB, free: 27.98 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/7.33, allocations: 103.2 kB / 2.207 GB, free: 27.98 MB / 0.698 GB Warning: Assuming fixed start value for the following 7 variables: pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$pump$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$pump$vol$dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (-273.15 + pump.vol.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_top$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_top$dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (-273.15 + storage.vol_top.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_bot$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_bot$dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (-273.15 + storage.vol_bot.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (-273.15 + storage.vol[2].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (-273.15 + storage.vol[1].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] chiller.volEva.dynBal.U:VARIABLE(start = chiller.volEva.dynBal.fluidVolume * chiller.volEva.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volEva$dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (-273.15 + chiller.volEva.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real chiller.volCon.dynBal.U:VARIABLE(start = chiller.volCon.dynBal.fluidVolume * chiller.volCon.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$chiller$volCon$dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (-273.15 + chiller.volCon.dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.controller.y,controller.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 244 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008436/7.33, allocations: 436.1 kB / 2.207 GB, free: 27.78 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007406/7.331, allocations: 328 kB / 2.207 GB, free: 27.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005382/7.337, allocations: 2.275 MB / 2.21 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.209e-05/7.337, allocations: 18.78 kB / 2.21 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.02e-05/7.337, allocations: 8.297 kB / 2.21 GB, free: 27.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003431/7.34, allocations: 1.774 MB / 2.211 GB, free: 27.14 MB / 0.698 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 postOpt removeSimpleEquations (simulation): time 0.0121/7.352, allocations: 5.232 MB / 2.217 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/7.352, allocations: 6.797 kB / 2.217 GB, free: 26.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001981/7.354, allocations: 300.8 kB / 2.217 GB, free: 26.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005317/7.355, allocations: 151.2 kB / 2.217 GB, free: 26.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001621/7.355, allocations: 51.59 kB / 2.217 GB, free: 26.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002527/7.358, allocations: 2.24 MB / 2.219 GB, free: 25.15 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.331e-06/7.358, allocations: 3.938 kB / 2.219 GB, free: 25.14 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00656/7.364, allocations: 3.194 MB / 2.222 GB, free: 24.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/7.366, allocations: 0.6507 MB / 2.223 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001029/7.368, allocations: 40.41 kB / 2.223 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00303/7.371, allocations: 187.4 kB / 2.223 GB, free: 24.33 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003037/7.371, allocations: 117.1 kB / 2.223 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002036/7.371, allocations: 57.98 kB / 2.223 GB, free: 24.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.004651/7.376, allocations: 2.095 MB / 2.225 GB, free: 24.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.554e-06/7.376, allocations: 0 / 2.225 GB, free: 24.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.009899/7.386, allocations: 2.231 MB / 2.228 GB, free: 23.82 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 15 (senTemConIn.T,senTemConOut.T,chiller.volCon.dynBal.U,chiller.volEva.dynBal.U,senTemEvaIn.T,senTemEvaOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.x[1],pump.filter.x[2],exp.m,exp.H) * Number of discrete variables: 1 (controller.y) * Number of discrete states: 1 (controller.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004992/7.391, allocations: 2.152 MB / 2.23 GB, free: 23.02 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007093/7.398, allocations: 3.34 MB / 2.233 GB, free: 22.57 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.299e-06/7.398, allocations: 0 / 2.233 GB, free: 22.57 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/7.4, allocations: 1.005 MB / 2.234 GB, free: 22.42 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01016/7.41, allocations: 1.784 MB / 2.236 GB, free: 22.32 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/7.423, allocations: 5.619 MB / 2.241 GB, free: 20.59 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00345/7.427, allocations: 2.454 MB / 2.244 GB, free: 35.77 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.008832/7.436, allocations: 1.481 MB / 2.245 GB, free: 35.56 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008749/7.437, allocations: 214.8 kB / 2.245 GB, free: 35.55 MB / 0.7136 GB Notification: Performance of SimCode: time 2.278e-06/7.437, allocations: 0 / 2.245 GB, free: 35.55 MB / 0.7136 GB Notification: Performance of Templates: time 0.1838/7.621, allocations: 83.66 MB / 2.327 GB, free: 4.551 MB / 0.7292 GB