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.726/3.726, allocations: 403.9 MB / 411 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.704e-05, allocations: 4 kB / 0.4941 GB, free: 1.387 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4895/0.4896, allocations: 92.69 MB / 0.5847 GB, free: 2.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9486/1.438, allocations: 384.5 MB / 0.9601 GB, free: 240 kB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.439, allocations: 89.89 kB / 0.9602 GB, free: 196 kB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 10.6/12.04, allocations: 2.261 GB / 3.221 GB, free: 101.4 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.982e-06/12.04, allocations: 2.094 kB / 3.221 GB, free: 101.4 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001377/12.04, allocations: 254.1 kB / 3.221 GB, free: 101.3 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.0269/12.07, allocations: 8.342 MB / 3.229 GB, free: 98.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/12.07, allocations: 10.69 kB / 3.229 GB, free: 98.36 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007814/12.08, allocations: 1.183 MB / 3.23 GB, free: 97.8 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03356/12.11, allocations: 11.93 MB / 3.242 GB, free: 96.62 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005202/12.11, allocations: 276.5 kB / 3.242 GB, free: 96.62 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00316/12.12, allocations: 493 kB / 3.243 GB, free: 96.62 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02438/12.14, allocations: 8.935 MB / 3.251 GB, free: 96.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/12.17, allocations: 10.52 MB / 3.262 GB, free: 95.05 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003596/12.17, allocations: 37.5 kB / 3.262 GB, free: 95.04 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002163/12.17, allocations: 20.66 kB / 3.262 GB, free: 95.04 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002626/12.17, allocations: 251.7 kB / 3.262 GB, free: 95.04 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.08268/12.26, allocations: 49.53 MB / 3.31 GB, free: 71.37 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/12.27, allocations: 6.149 MB / 3.316 GB, free: 71.06 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009471/12.28, allocations: 4.964 MB / 3.321 GB, free: 70.97 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001342/12.28, allocations: 0.5049 MB / 3.322 GB, free: 70.59 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008399/12.29, allocations: 3.662 MB / 3.325 GB, free: 70.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005061/12.29, allocations: 401.2 kB / 3.326 GB, free: 70.14 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=507): time 3.116e-05/12.29, allocations: 2.953 kB / 3.326 GB, free: 70.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=527): time 0.0637/12.36, allocations: 19.26 MB / 3.345 GB, free: 65.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/12.36, allocations: 237.7 kB / 3.345 GB, free: 65.6 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01397/12.37, allocations: 5.725 MB / 3.35 GB, free: 63.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.00121/12.37, allocations: 29.55 kB / 3.35 GB, free: 63.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005538/12.38, allocations: 4.297 MB / 3.355 GB, free: 60.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.003052/12.38, allocations: 1.748 MB / 3.356 GB, free: 59.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00121/12.38, allocations: 0 / 3.356 GB, free: 59.32 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0006863/12.38, allocations: 0.5596 MB / 3.357 GB, free: 58.91 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006818/12.39, allocations: 3.034 MB / 3.36 GB, free: 57.81 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008234/12.4, allocations: 4.881 MB / 3.365 GB, free: 54.43 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/12.41, allocations: 4.572 MB / 3.369 GB, free: 52.93 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.635e-05/12.41, allocations: 16.09 kB / 3.369 GB, free: 52.93 MB / 0.8073 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.02539/12.43, allocations: 8.983 MB / 3.378 GB, free: 50.02 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005946/12.44, allocations: 27.94 MB / 3.405 GB, free: 36.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002073/12.44, allocations: 56.91 kB / 3.405 GB, free: 36.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/12.44, allocations: 104.4 kB / 3.405 GB, free: 36.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008448/12.45, allocations: 1.492 MB / 3.407 GB, free: 36.51 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001439/12.45, allocations: 127.7 kB / 3.407 GB, free: 36.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00966/12.46, allocations: 487.1 kB / 3.407 GB, free: 36.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001717/12.46, allocations: 298.4 kB / 3.408 GB, free: 36.35 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/12.46, allocations: 11.28 kB / 3.408 GB, free: 36.35 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02217/12.48, allocations: 8.292 MB / 3.416 GB, free: 32.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/12.48, allocations: 60 kB / 3.416 GB, free: 32.84 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001144/12.48, allocations: 96 kB / 3.416 GB, free: 32.75 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008063/12.49, allocations: 1.478 MB / 3.417 GB, free: 31.48 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000137/12.49, allocations: 133.6 kB / 3.417 GB, free: 31.36 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009367/12.5, allocations: 457.9 kB / 3.418 GB, free: 31.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001803/12.5, allocations: 303.6 kB / 3.418 GB, free: 30.75 MB / 0.823 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 (799): * Single equations (assignments): 797 * 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.002882/12.51, allocations: 367.9 kB / 3.418 GB, free: 30.38 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002411/12.51, allocations: 0.6556 MB / 3.419 GB, free: 29.72 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02592/12.53, allocations: 8.953 MB / 3.428 GB, free: 22.31 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001043/12.53, allocations: 58.95 kB / 3.428 GB, free: 22.26 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/12.53, allocations: 4 kB / 3.428 GB, free: 22.25 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02031/12.56, allocations: 7.504 MB / 3.435 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05609/12.61, allocations: 18.33 MB / 3.453 GB, free: 1.027 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/12.61, allocations: 11.95 kB / 3.453 GB, free: 1.016 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006608/12.62, allocations: 0.9734 MB / 3.454 GB, free: 208 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5592/13.18, allocations: 0.8749 MB / 3.455 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001122/13.18, allocations: 86.62 kB / 3.455 GB, free: 107.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008887/13.19, allocations: 11.9 MB / 3.467 GB, free: 97.01 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-05/13.19, allocations: 16.38 kB / 3.467 GB, free: 97.01 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02929/13.22, allocations: 14.44 MB / 3.481 GB, free: 93.86 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006254/13.22, allocations: 1.711 MB / 3.482 GB, free: 93.77 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002745/13.23, allocations: 38 kB / 3.483 GB, free: 93.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008746/13.23, allocations: 0.5569 MB / 3.483 GB, free: 93.77 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001336/13.24, allocations: 352.5 kB / 3.483 GB, free: 93.75 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009587/13.24, allocations: 207.9 kB / 3.484 GB, free: 93.75 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.01009/13.25, allocations: 4.385 MB / 3.488 GB, free: 93.53 MB / 0.823 GB Notification: Performance of sort global known variables: time 7.8e-07/13.25, allocations: 0 / 3.488 GB, free: 93.53 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0199/13.27, allocations: 3.734 MB / 3.492 GB, free: 93.53 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * 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 (499): * Single equations (assignments): 477 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002908/13.27, allocations: 0.9374 MB / 3.492 GB, free: 93.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.02371/13.29, allocations: 11.98 MB / 3.504 GB, free: 92.98 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-05/13.29, allocations: 11.22 kB / 3.504 GB, free: 92.98 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.008568/13.3, allocations: 3.782 MB / 3.508 GB, free: 92.84 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0218/13.32, allocations: 3.627 MB / 3.511 GB, free: 92.79 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04585/13.37, allocations: 17.64 MB / 3.529 GB, free: 89.52 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01329/13.38, allocations: 6.488 MB / 3.535 GB, free: 88.61 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.02568/13.41, allocations: 5.87 MB / 3.541 GB, free: 88.54 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002962/13.41, allocations: 0.4925 MB / 3.541 GB, free: 88.53 MB / 0.823 GB Notification: Performance of SimCode: time 1.55e-06/13.41, allocations: 0 / 3.541 GB, free: 88.53 MB / 0.823 GB Notification: Performance of Templates: time 0.3109/13.72, allocations: 139.1 MB / 3.677 GB, free: 48.64 MB / 0.823 GB