Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(Buildings): time 3.555/3.555, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.972e-05, allocations: 11.98 kB / 0.499 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4749, allocations: 92.68 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9086/1.383, allocations: 385.1 MB / 0.9656 GB, free: 8.535 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.384, allocations: 87.2 kB / 0.9657 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.65/12.03, allocations: 2.273 GB / 3.238 GB, free: 91.82 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.018e-06/12.03, allocations: 0 / 3.238 GB, free: 91.82 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.00152/12.04, allocations: 260.5 kB / 3.239 GB, free: 91.78 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2186 * Number of variables: 2186 Notification: Performance of Generate backend data structure: time 0.0271/12.06, allocations: 8.331 MB / 3.247 GB, free: 88.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/12.06, allocations: 15.25 kB / 3.247 GB, free: 88.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007269/12.07, allocations: 1.187 MB / 3.248 GB, free: 88.22 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03486/12.11, allocations: 11.93 MB / 3.26 GB, free: 87.05 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007667/12.11, allocations: 0.6268 MB / 3.26 GB, free: 87.03 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003474/12.11, allocations: 0.8282 MB / 3.261 GB, free: 87.03 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03547/12.15, allocations: 11.8 MB / 3.273 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000491/12.15, allocations: 34.06 kB / 3.273 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003042/12.15, allocations: 361.1 kB / 3.273 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002957/12.15, allocations: 258.6 kB / 3.273 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02785/12.18, allocations: 9.621 MB / 3.283 GB, free: 85.39 MB / 0.8073 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.08698/12.26, allocations: 51.12 MB / 3.332 GB, free: 61.48 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01365/12.28, allocations: 6.457 MB / 3.339 GB, free: 61.13 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01094/12.29, allocations: 5.739 MB / 3.344 GB, free: 60.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001352/12.29, allocations: 0.5069 MB / 3.345 GB, free: 60.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009722/12.3, allocations: 3.889 MB / 3.349 GB, free: 59.6 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005331/12.31, allocations: 0.5719 MB / 3.349 GB, free: 59.22 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=507): time 2.151e-05/12.31, allocations: 0 / 3.349 GB, free: 59.22 MB / 0.8073 GB Notification: Performance of matching and sorting (n=547): time 0.06313/12.37, allocations: 22 MB / 3.371 GB, free: 49.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001196/12.37, allocations: 249.3 kB / 3.371 GB, free: 49.39 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0162/12.39, allocations: 6.895 MB / 3.378 GB, free: 47.02 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001183/12.39, allocations: 120.6 kB / 3.378 GB, free: 46.92 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005608/12.39, allocations: 4.306 MB / 3.382 GB, free: 43.64 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002985/12.4, allocations: 1.889 MB / 3.384 GB, free: 42.2 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007192/12.4, allocations: 129.6 kB / 3.384 GB, free: 42.1 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0004882/12.4, allocations: 0.5663 MB / 3.385 GB, free: 41.68 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007313/12.4, allocations: 3.344 MB / 3.388 GB, free: 40.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009034/12.41, allocations: 5.231 MB / 3.393 GB, free: 37.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009287/12.42, allocations: 4.474 MB / 3.397 GB, free: 34.69 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.356e-05/12.42, allocations: 23.78 kB / 3.397 GB, free: 34.67 MB / 0.8073 GB Notification: Performance of matching and sorting (n=831) (initialization): time 0.02279/12.45, allocations: 9.632 MB / 3.407 GB, free: 26.22 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.009382/12.45, allocations: 29.06 MB / 3.435 GB, free: 10.57 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/12.45, allocations: 56 kB / 3.435 GB, free: 10.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001363/12.45, allocations: 100 kB / 3.435 GB, free: 10.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00918/12.46, allocations: 1.622 MB / 3.437 GB, free: 9.047 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001697/12.46, allocations: 126.6 kB / 3.437 GB, free: 8.934 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/12.47, allocations: 0.682 MB / 3.438 GB, free: 8.395 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/12.48, allocations: 308 kB / 3.438 GB, free: 8.109 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/12.48, allocations: 6.406 kB / 3.438 GB, free: 8.105 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02101/12.5, allocations: 9.002 MB / 3.447 GB, free: 256 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001459/12.5, allocations: 60 kB / 3.447 GB, free: 196 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001481/12.5, allocations: 99.95 kB / 3.447 GB, free: 96 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01056/12.51, allocations: 1.649 MB / 3.448 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002001/12.51, allocations: 122.2 kB / 3.449 GB, free: 14.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009805/12.52, allocations: 0.6565 MB / 3.449 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001725/12.52, allocations: 308.3 kB / 3.45 GB, free: 13.93 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 261 * Number of states: 0 () * Number of discrete variables: 14 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (819): * Single equations (assignments): 817 * 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.002635/12.52, allocations: 0.5671 MB / 3.45 GB, free: 13.35 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002675/12.53, allocations: 0.7371 MB / 3.451 GB, free: 12.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02399/12.55, allocations: 8.798 MB / 3.459 GB, free: 5.191 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001039/12.55, allocations: 63.19 kB / 3.459 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.932e-05/12.55, allocations: 0 / 3.459 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5585/13.11, allocations: 7.427 MB / 3.467 GB, free: 114.2 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05038/13.16, allocations: 19.39 MB / 3.486 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.654e-05/13.16, allocations: 12.5 kB / 3.486 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007663/13.17, allocations: 1.169 MB / 3.487 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.093e-05/13.17, allocations: 32.53 kB / 3.487 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009667/13.17, allocations: 174.4 kB / 3.487 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.589e-05/13.17, allocations: 33.16 kB / 3.487 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.479e-05/13.17, allocations: 16.03 kB / 3.487 GB, free: 112.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02451/13.19, allocations: 14.02 MB / 3.501 GB, free: 109.2 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007389/13.2, allocations: 1.84 MB / 3.503 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003439/13.2, allocations: 141.3 kB / 3.503 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009402/13.21, allocations: 0.6462 MB / 3.503 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00136/13.21, allocations: 364.4 kB / 3.504 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009782/13.21, allocations: 214.2 kB / 3.504 GB, free: 109.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01279/13.23, allocations: 5.392 MB / 3.509 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.202e-06/13.23, allocations: 0 / 3.509 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.02033/13.25, allocations: 4.075 MB / 3.513 GB, free: 108.8 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * Number of states: 23 (tanSim.port_a.h_outflow,tanSim.port_b.h_outflow,tanSim.vol[2].ports[2].h_outflow,tanSim.vol[3].ports[2].h_outflow,tanSim.vol[4].ports[2].h_outflow,tanSim.vol[5].ports[2].h_outflow,tanSim.vol[6].ports[2].h_outflow,tanSim.vol[7].ports[2].h_outflow,tanSim.vol[8].ports[2].h_outflow,tanSim.vol[9].ports[2].h_outflow,tanEnh.vol[1].ports[3].h_outflow,tanEnh.vol[2].ports[3].h_outflow,tanEnh.vol[3].ports[3].h_outflow,tanEnh.vol[4].ports[3].h_outflow,tanEnh.vol[5].ports[3].h_outflow,tanEnh.vol[6].ports[3].h_outflow,tanEnh.vol[7].ports[3].h_outflow,tanEnh.vol[8].ports[3].h_outflow,tanEnh.vol[9].ports[3].h_outflow,tanEnh.vol[10].ports[3].h_outflow,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 (579): * Single equations (assignments): 557 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 20 * 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.003013/13.25, allocations: 1.015 MB / 3.514 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02634/13.28, allocations: 13.15 MB / 3.527 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-05/13.28, allocations: 7.438 kB / 3.527 GB, free: 108.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007855/13.29, allocations: 3.867 MB / 3.531 GB, free: 108.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02643/13.31, allocations: 4.521 MB / 3.535 GB, free: 108 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04577/13.36, allocations: 18.63 MB / 3.553 GB, free: 104.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01298/13.37, allocations: 6.536 MB / 3.56 GB, free: 103.8 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.02922/13.4, allocations: 6.85 MB / 3.566 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003261/13.4, allocations: 0.5506 MB / 3.567 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of SimCode: time 1.99e-06/13.4, allocations: 3.75 kB / 3.567 GB, free: 103.7 MB / 0.8386 GB Notification: Performance of Templates: time 0.3611/13.76, allocations: 172 MB / 3.735 GB, free: 20.11 MB / 0.8386 GB