Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(Buildings): time 4.204/4.204, allocations: 460.5 MB / 472.6 MB, free: 5.379 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.028e-05/3.036e-05, allocations: 4 kB / 0.5681 GB, free: 10.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 106.2 MB / 0.6718 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.245, allocations: 403.6 MB / 1.066 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/1.246, allocations: 86.52 kB / 1.066 GB, free: 7.965 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 13.45/14.7, allocations: 2.845 GB / 3.911 GB, free: 130.4 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.364e-06/14.7, allocations: 2.156 kB / 3.911 GB, free: 130.4 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.001399/14.7, allocations: 250.5 kB / 3.911 GB, free: 130.4 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2145 * Number of variables: 2145 Notification: Performance of Generate backend data structure: time 0.02616/14.72, allocations: 8.287 MB / 3.919 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/14.72, allocations: 7.344 kB / 3.919 GB, free: 127.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007105/14.73, allocations: 1.159 MB / 3.92 GB, free: 126.8 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02937/14.76, allocations: 10.73 MB / 3.931 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007397/14.76, allocations: 0.6145 MB / 3.932 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003155/14.76, allocations: 0.8138 MB / 3.932 GB, free: 125.7 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/14.8, allocations: 11.33 MB / 3.943 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004662/14.8, allocations: 29.53 kB / 3.943 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002956/14.8, allocations: 354 kB / 3.944 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002575/14.8, allocations: 251.5 kB / 3.944 GB, free: 124.5 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.031/14.83, allocations: 9.322 MB / 3.953 GB, free: 124.5 MB / 0.9011 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.09518/14.93, allocations: 46.1 MB / 3.998 GB, free: 99.16 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0114/14.94, allocations: 6.224 MB / 4.004 GB, free: 96.74 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009693/14.95, allocations: 5.425 MB / 4.01 GB, free: 95.04 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/14.95, allocations: 0.8204 MB / 4.01 GB, free: 94.27 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008298/14.96, allocations: 3.257 MB / 4.013 GB, free: 93.11 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0053/14.96, allocations: 0.5538 MB / 4.014 GB, free: 92.75 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=455): time 1.597e-05/14.97, allocations: 0 / 4.014 GB, free: 92.75 MB / 0.9011 GB Notification: Performance of matching and sorting (n=455): time 0.01532/14.98, allocations: 6.226 MB / 4.02 GB, free: 90.48 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.872e-05/14.98, allocations: 164.2 kB / 4.02 GB, free: 90.34 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01558/15, allocations: 7.005 MB / 4.027 GB, free: 85.36 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.00107/15, allocations: 112.9 kB / 4.027 GB, free: 85.24 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.005436/15, allocations: 4.273 MB / 4.031 GB, free: 81.39 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.002401/15.01, allocations: 1.58 MB / 4.033 GB, free: 79.96 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006841/15.01, allocations: 120 kB / 4.033 GB, free: 79.84 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000445/15.01, allocations: 0.5475 MB / 4.034 GB, free: 79.36 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00612/15.01, allocations: 2.91 MB / 4.036 GB, free: 76.82 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007612/15.02, allocations: 4.721 MB / 4.041 GB, free: 71.79 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007977/15.03, allocations: 3.968 MB / 4.045 GB, free: 68.47 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.874e-05/15.03, allocations: 20 kB / 4.045 GB, free: 68.45 MB / 0.9011 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02064/15.05, allocations: 8.535 MB / 4.053 GB, free: 60.99 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.005332/15.05, allocations: 28.64 MB / 4.081 GB, free: 30.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001354/15.05, allocations: 60 kB / 4.081 GB, free: 30.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/15.05, allocations: 103.7 kB / 4.081 GB, free: 30.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008012/15.06, allocations: 1.437 MB / 4.083 GB, free: 29.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001492/15.06, allocations: 133.3 kB / 4.083 GB, free: 28.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009781/15.07, allocations: 0.6219 MB / 4.084 GB, free: 28.47 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/15.07, allocations: 285.3 kB / 4.084 GB, free: 28.21 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/15.07, allocations: 5.875 kB / 4.084 GB, free: 28.21 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01797/15.09, allocations: 7.945 MB / 4.092 GB, free: 21.34 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001262/15.09, allocations: 56 kB / 4.092 GB, free: 21.28 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001113/15.09, allocations: 99.95 kB / 4.092 GB, free: 21.18 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007889/15.1, allocations: 1.451 MB / 4.093 GB, free: 19.95 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001556/15.1, allocations: 124.5 kB / 4.093 GB, free: 19.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009576/15.11, allocations: 0.5987 MB / 4.094 GB, free: 19.37 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001554/15.11, allocations: 279.9 kB / 4.094 GB, free: 19.11 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 260 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,$PRE.TWat.nextEvent,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,$PRE.P.nextEvent,P.nextEvent,P.nextEventScaled,dH.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (748): * Single equations (assignments): 746 * 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.001884/15.11, allocations: 0.5341 MB / 4.095 GB, free: 18.56 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002226/15.12, allocations: 0.7063 MB / 4.095 GB, free: 17.84 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01647/15.13, allocations: 7.009 MB / 4.102 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-05/15.13, allocations: 51.8 kB / 4.102 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/15.13, allocations: 0 / 4.102 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0125/15.14, allocations: 5.705 MB / 4.108 GB, free: 7.008 MB / 0.9011 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.04533/15.19, allocations: 16.44 MB / 4.124 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.042e-05/15.19, allocations: 2.75 kB / 4.124 GB, free: 7.422 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006403/15.2, allocations: 0.9207 MB / 4.125 GB, free: 6.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.54e-05/15.2, allocations: 19.56 kB / 4.125 GB, free: 6.484 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008731/15.2, allocations: 123.9 kB / 4.125 GB, free: 6.363 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.824e-05/15.2, allocations: 12 kB / 4.125 GB, free: 6.352 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.792e-06/15.2, allocations: 8 kB / 4.125 GB, free: 6.344 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6768/15.87, allocations: 10.58 MB / 4.135 GB, free: 135.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006733/15.88, allocations: 1.721 MB / 4.137 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002779/15.88, allocations: 97.39 kB / 4.137 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008295/15.89, allocations: 0.5663 MB / 4.138 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001088/15.89, allocations: 257.4 kB / 4.138 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007611/15.89, allocations: 188.9 kB / 4.138 GB, free: 135.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01424/15.91, allocations: 5.462 MB / 4.143 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.072e-06/15.91, allocations: 1.125 kB / 4.143 GB, free: 135.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.02035/15.93, allocations: 4.91 MB / 4.148 GB, free: 135.1 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (tanSim.vol[1].dynBal.U,tanSim.vol[2].dynBal.U,tanSim.vol[3].dynBal.U,tanSim.vol[4].dynBal.U,tanSim.vol[5].dynBal.U,tanSim.vol[6].dynBal.U,tanSim.vol[7].dynBal.U,tanSim.vol[8].dynBal.U,tanSim.vol[9].dynBal.U,tanSim.vol[10].dynBal.U,tanEnh.vol[1].dynBal.U,tanEnh.vol[2].dynBal.U,tanEnh.vol[3].dynBal.U,tanEnh.vol[4].dynBal.U,tanEnh.vol[5].dynBal.U,tanEnh.vol[6].dynBal.U,tanEnh.vol[7].dynBal.U,tanEnh.vol[8].dynBal.U,tanEnh.vol[9].dynBal.U,tanEnh.vol[10].dynBal.U,HOut_flow.h_out,HOut_flow1.h_out,dH.y) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,TWat.a,TWat.b,TWat.last,TWat.nextEvent,TWat.nextEventScaled,P.a,P.b,P.last,P.nextEvent,P.nextEventScaled) * Number of discrete states: 12 (P.nextEvent,P.last,P.nextEventScaled,P.b,P.a,$whenCondition2,TWat.nextEvent,TWat.last,TWat.nextEventScaled,TWat.b,TWat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (451): * Single equations (assignments): 447 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.00286/15.93, allocations: 0.9537 MB / 4.149 GB, free: 135 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.02386/15.96, allocations: 11.26 MB / 4.16 GB, free: 134.6 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.028e-06/15.96, allocations: 0 / 4.16 GB, free: 134.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.006281/15.96, allocations: 3.124 MB / 4.163 GB, free: 134.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02548/15.99, allocations: 4.375 MB / 4.167 GB, free: 134.4 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03952/16.03, allocations: 16.73 MB / 4.184 GB, free: 131.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01066/16.04, allocations: 6.273 MB / 4.19 GB, free: 130.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0266/16.06, allocations: 6.572 MB / 4.196 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003037/16.07, allocations: 499.1 kB / 4.197 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.741e-06/16.07, allocations: 1.781 kB / 4.197 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of Templates: time 0.3921/16.46, allocations: 161.8 MB / 4.355 GB, free: 79.87 MB / 0.9167 GB