Running command: translateModel(BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.ThermalStorages.Examples.FluidStorage") Notification: Performance of loadModel(BuildingSystems): time 3.049/3.049, allocations: 343.8 MB / 355.9 MB, free: 9.387 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.279e-05, allocations: 7.984 kB / 436.6 MB, free: 2.488 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1447, allocations: 77.73 MB / 0.5022 GB, free: 4.598 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.138/1.283, allocations: 366.6 MB / 0.8602 GB, free: 180.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002109/1.283, allocations: 79.95 kB / 0.8603 GB, free: 180.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.412/4.695, allocations: 0.8051 GB / 1.665 GB, free: 97.41 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.254e-06/4.695, allocations: 0 / 1.665 GB, free: 97.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.00041/4.696, allocations: 77.08 kB / 1.665 GB, free: 97.39 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: 631 * Number of variables: 631 Notification: Performance of Generate backend data structure: time 0.007674/4.703, allocations: 2.867 MB / 1.668 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.378e-05/4.703, allocations: 10.25 kB / 1.668 GB, free: 95.63 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0021/4.705, allocations: 384.9 kB / 1.669 GB, free: 95.45 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/4.717, allocations: 3.655 MB / 1.672 GB, free: 93.21 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000373/4.717, allocations: 187.6 kB / 1.672 GB, free: 93.12 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001297/4.719, allocations: 251.9 kB / 1.673 GB, free: 93.04 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/4.73, allocations: 3.042 MB / 1.676 GB, free: 91.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.139e-05/4.73, allocations: 11.44 kB / 1.676 GB, free: 91.21 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003683/4.73, allocations: 106.6 kB / 1.676 GB, free: 91.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.301e-05/4.731, allocations: 76.11 kB / 1.676 GB, free: 91.13 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006284/4.737, allocations: 2.37 MB / 1.678 GB, free: 90.04 MB / 0.6511 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.02037/4.757, allocations: 12.06 MB / 1.69 GB, free: 80.67 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003106/4.76, allocations: 1.532 MB / 1.691 GB, free: 79.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/4.762, allocations: 1.03 MB / 1.692 GB, free: 78.38 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007023/4.763, allocations: 1.012 MB / 1.693 GB, free: 77.15 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001459/4.764, allocations: 0.8027 MB / 1.694 GB, free: 76.34 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=132): time 6.094e-06/4.764, allocations: 0 / 1.694 GB, free: 76.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=132): time 0.003268/4.768, allocations: 1.56 MB / 1.696 GB, free: 74.77 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/4.768, allocations: 68.72 kB / 1.696 GB, free: 74.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004336/4.772, allocations: 2.254 MB / 1.698 GB, free: 72.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002951/4.772, allocations: 49.7 kB / 1.698 GB, free: 72.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/4.774, allocations: 1.312 MB / 1.699 GB, free: 71.03 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005731/4.774, allocations: 465 kB / 1.7 GB, free: 70.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001216/4.774, allocations: 39.47 kB / 1.7 GB, free: 70.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001292/4.775, allocations: 389.8 kB / 1.7 GB, free: 70.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/4.776, allocations: 0.6677 MB / 1.701 GB, free: 69.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/4.777, allocations: 1.179 MB / 1.702 GB, free: 68.11 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/4.779, allocations: 0.9915 MB / 1.703 GB, free: 67.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.38e-05/4.779, allocations: 4 kB / 1.703 GB, free: 67.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=219) (initialization): time 0.004524/4.784, allocations: 2.216 MB / 1.705 GB, free: 64.86 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/4.784, allocations: 71.39 kB / 1.705 GB, free: 64.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.392e-05/4.784, allocations: 16 kB / 1.705 GB, free: 64.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.8e-05/4.784, allocations: 27.56 kB / 1.705 GB, free: 64.74 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001982/4.786, allocations: 426.3 kB / 1.706 GB, free: 64.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.655e-05/4.786, allocations: 27.94 kB / 1.706 GB, free: 64.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003064/4.789, allocations: 329.5 kB / 1.706 GB, free: 63.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/4.789, allocations: 87.97 kB / 1.706 GB, free: 63.89 MB / 0.6511 GB Warning: Assuming fixed start value for the following 7 variables: storage.vol_HX_1.dynBal.U:VARIABLE(start = storage.vol_HX_1.dynBal.fluidVolume * storage.vol_HX_1.dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_HX_1$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol_HX_1$dynBal.Medium.setState_pTX(storage.vol_HX_1.dynBal.p_start, storage.vol_HX_1.dynBal.T_start, {})) + (-273.15 + storage.vol_HX_1.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[4].dynBal.U:VARIABLE(start = storage.vol[4].dynBal.fluidVolume * storage.vol[4].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[4].dynBal.p_start, storage.vol[4].dynBal.T_start, {})) + (-273.15 + storage.vol[4].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [4] storage.vol[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.specificInternalEnergy(BuildingSystems.Fluid.Interfaces.ConservationEquation$storage$vol$dynBal.Medium.setState_pTX(storage.vol[3].dynBal.p_start, storage.vol[3].dynBal.T_start, {})) + (-273.15 + storage.vol[3].dynBal.T_start) * 0.0 unit = "J" nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [4] 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 [4] 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 [4] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 68 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 2 * 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.0006932/4.79, allocations: 445.3 kB / 1.706 GB, free: 63.45 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000597/4.791, allocations: 241.1 kB / 1.707 GB, free: 63.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003596/4.794, allocations: 1.805 MB / 1.708 GB, free: 61.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.129e-05/4.794, allocations: 16 kB / 1.708 GB, free: 61.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.347e-06/4.794, allocations: 0 / 1.708 GB, free: 61.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00244/4.797, allocations: 1.42 MB / 1.71 GB, free: 59.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00924/4.806, allocations: 4.515 MB / 1.714 GB, free: 55.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/4.806, allocations: 0 / 1.714 GB, free: 55.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/4.808, allocations: 279.6 kB / 1.715 GB, free: 55.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-05/4.808, allocations: 4.188 kB / 1.715 GB, free: 55.12 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/4.808, allocations: 39.98 kB / 1.715 GB, free: 55.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-05/4.808, allocations: 8 kB / 1.715 GB, free: 55.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/4.808, allocations: 3.938 kB / 1.715 GB, free: 55.07 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004706/4.813, allocations: 2.848 MB / 1.717 GB, free: 52.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/4.814, allocations: 0.5796 MB / 1.718 GB, free: 51.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005884/4.815, allocations: 31.98 kB / 1.718 GB, free: 51.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002167/4.817, allocations: 167.7 kB / 1.718 GB, free: 51.36 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002847/4.818, allocations: 101.1 kB / 1.718 GB, free: 51.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/4.818, allocations: 51.98 kB / 1.718 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.003227/4.821, allocations: 1.752 MB / 1.72 GB, free: 49.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.083e-06/4.821, allocations: 0 / 1.72 GB, free: 49.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00362/4.825, allocations: 0.9666 MB / 1.721 GB, free: 48.46 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol[4].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,storage.vol_HX_1.dynBal.U) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow1.count,m_flow2.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (136): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 4 * 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.001593/4.826, allocations: 0.7882 MB / 1.722 GB, free: 47.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003165/4.829, allocations: 1.757 MB / 1.723 GB, free: 46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.168e-06/4.829, allocations: 0 / 1.723 GB, free: 46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/4.831, allocations: 0.7701 MB / 1.724 GB, free: 45.23 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007927/4.839, allocations: 1.473 MB / 1.726 GB, free: 43.82 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009513/4.848, allocations: 4.618 MB / 1.73 GB, free: 39.18 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002055/4.85, allocations: 2.244 MB / 1.732 GB, free: 36.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003649/4.854, allocations: 0.813 MB / 1.733 GB, free: 36.12 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000898/4.855, allocations: 203.4 kB / 1.733 GB, free: 35.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.781e-06/4.855, allocations: 0 / 1.733 GB, free: 35.93 MB / 0.6511 GB Notification: Performance of Templates: time 0.5101/5.365, allocations: 53.49 MB / 1.785 GB, free: 111.1 MB / 0.6667 GB