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.605/3.605, allocations: 402 MB / 416 MB, free: 10.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.663e-05, allocations: 4 kB / 0.5003 GB, free: 8.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1678, allocations: 92.68 MB / 0.5908 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.4/1.568, allocations: 385.2 MB / 0.967 GB, free: 182.8 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004298/1.569, allocations: 94.2 kB / 0.9671 GB, free: 182.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 10.12/11.68, allocations: 2.285 GB / 3.252 GB, free: 59.47 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.381e-06/11.68, allocations: 0 / 3.252 GB, free: 59.47 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001409/11.69, allocations: 259.8 kB / 3.252 GB, free: 59.21 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.02671/11.71, allocations: 8.345 MB / 3.261 GB, free: 50.78 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/11.71, allocations: 15.97 kB / 3.261 GB, free: 50.76 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007542/11.72, allocations: 1.19 MB / 3.262 GB, free: 49.56 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03254/11.75, allocations: 11.97 MB / 3.273 GB, free: 37.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007732/11.75, allocations: 0.626 MB / 3.274 GB, free: 36.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003461/11.76, allocations: 0.8318 MB / 3.275 GB, free: 36.11 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03534/11.79, allocations: 11.98 MB / 3.287 GB, free: 23.59 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000532/11.79, allocations: 31.72 kB / 3.287 GB, free: 23.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003246/11.8, allocations: 364 kB / 3.287 GB, free: 23.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002629/11.8, allocations: 259.9 kB / 3.287 GB, free: 22.95 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02844/11.83, allocations: 9.839 MB / 3.297 GB, free: 13.11 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting 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 1.147/12.97, allocations: 51.11 MB / 3.347 GB, free: 54.85 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0151/12.99, allocations: 6.566 MB / 3.353 GB, free: 54.52 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/12.99, allocations: 0.5049 MB / 3.354 GB, free: 54.14 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01029/13, allocations: 3.999 MB / 3.358 GB, free: 53.92 MB / 0.8074 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005426/13, allocations: 0.5637 MB / 3.358 GB, free: 53.76 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=507): time 2.212e-05/13.01, allocations: 3.5 kB / 3.358 GB, free: 53.76 MB / 0.8074 GB Notification: Performance of matching and sorting (n=547): time 0.08044/13.09, allocations: 27.31 MB / 3.385 GB, free: 48.67 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/13.09, allocations: 247.2 kB / 3.385 GB, free: 48.44 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01551/13.1, allocations: 6.96 MB / 3.392 GB, free: 48.05 MB / 0.8074 GB Notification: Performance of collectPreVariables (initialization): time 0.001216/13.1, allocations: 120.9 kB / 3.392 GB, free: 48.02 MB / 0.8074 GB Notification: Performance of collectInitialEqns (initialization): time 0.005269/13.11, allocations: 4.307 MB / 3.396 GB, free: 46.89 MB / 0.8074 GB Notification: Performance of collectInitialBindings (initialization): time 0.002875/13.11, allocations: 1.885 MB / 3.398 GB, free: 45.76 MB / 0.8074 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007967/13.11, allocations: 127.3 kB / 3.398 GB, free: 45.76 MB / 0.8074 GB Notification: Performance of setup shared object (initialization): time 0.0004853/13.11, allocations: 0.5716 MB / 3.399 GB, free: 45.44 MB / 0.8074 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008106/13.12, allocations: 3.448 MB / 3.402 GB, free: 45.43 MB / 0.8074 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009995/13.13, allocations: 5.341 MB / 3.407 GB, free: 43.25 MB / 0.8074 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/13.14, allocations: 4.576 MB / 3.412 GB, free: 43.1 MB / 0.8074 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.697e-05/13.14, allocations: 14.41 kB / 3.412 GB, free: 43.1 MB / 0.8074 GB Notification: Performance of matching and sorting (n=831) (initialization): time 0.02554/13.17, allocations: 9.86 MB / 3.421 GB, free: 42.45 MB / 0.8074 GB Notification: Performance of prepare postOptimizeDAE: time 0.01388/13.18, allocations: 29.05 MB / 3.45 GB, free: 43.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/13.18, allocations: 57.34 kB / 3.45 GB, free: 43.57 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000144/13.18, allocations: 104.3 kB / 3.45 GB, free: 43.57 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009298/13.19, allocations: 1.609 MB / 3.451 GB, free: 43.57 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001702/13.19, allocations: 127.1 kB / 3.452 GB, free: 43.57 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/13.2, allocations: 0.6268 MB / 3.452 GB, free: 43.51 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001722/13.2, allocations: 316.8 kB / 3.452 GB, free: 43.5 MB / 0.8387 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/13.2, allocations: 3.781 kB / 3.452 GB, free: 43.5 MB / 0.8387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02202/13.22, allocations: 9.172 MB / 3.461 GB, free: 43.26 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000164/13.22, allocations: 56.38 kB / 3.461 GB, free: 43.26 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001138/13.22, allocations: 99.59 kB / 3.462 GB, free: 43.26 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009188/13.23, allocations: 1.592 MB / 3.463 GB, free: 43.26 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001626/13.23, allocations: 129.2 kB / 3.463 GB, free: 43.26 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01026/13.24, allocations: 0.591 MB / 3.464 GB, free: 43.21 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001738/13.25, allocations: 305.7 kB / 3.464 GB, free: 43.21 MB / 0.8387 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.009291/13.25, allocations: 3.541 MB / 3.468 GB, free: 43 MB / 0.8387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002761/13.26, allocations: 0.7341 MB / 3.468 GB, free: 42.62 MB / 0.8387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02635/13.28, allocations: 9.623 MB / 3.478 GB, free: 42.02 MB / 0.8387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.328e-05/13.28, allocations: 63.3 kB / 3.478 GB, free: 42.02 MB / 0.8387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-05/13.28, allocations: 3.953 kB / 3.478 GB, free: 42.02 MB / 0.8387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02046/13.3, allocations: 7.921 MB / 3.486 GB, free: 41.52 MB / 0.8387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.055/13.36, allocations: 19.76 MB / 3.505 GB, free: 39.63 MB / 0.8387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.304e-05/13.36, allocations: 14.23 kB / 3.505 GB, free: 39.63 MB / 0.8387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00756/13.37, allocations: 1.047 MB / 3.506 GB, free: 39.63 MB / 0.8387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002803/13.37, allocations: 0.8972 MB / 3.507 GB, free: 39.47 MB / 0.8387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001253/13.37, allocations: 179.5 kB / 3.507 GB, free: 39.47 MB / 0.8387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/13.38, allocations: 11.86 MB / 3.518 GB, free: 29.1 MB / 0.8387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.67e-05/13.38, allocations: 18.53 kB / 3.518 GB, free: 29.1 MB / 0.8387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03168/13.41, allocations: 15.44 MB / 3.534 GB, free: 24.25 MB / 0.8387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007139/13.42, allocations: 1.837 MB / 3.535 GB, free: 23.28 MB / 0.8387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003438/13.42, allocations: 149.2 kB / 3.536 GB, free: 23.2 MB / 0.8387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009871/13.43, allocations: 0.6542 MB / 3.536 GB, free: 23.09 MB / 0.8387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001385/13.44, allocations: 363.4 kB / 3.536 GB, free: 23.03 MB / 0.8387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00125/13.44, allocations: 211.2 kB / 3.537 GB, free: 22.99 MB / 0.8387 GB Notification: Performance of sorting global known variables: time 0.01286/13.45, allocations: 5.458 MB / 3.542 GB, free: 21.14 MB / 0.8387 GB Notification: Performance of sort global known variables: time 1.38e-06/13.45, allocations: 0 / 3.542 GB, free: 21.14 MB / 0.8387 GB Notification: Performance of remove unused functions: time 0.0217/13.47, allocations: 4.148 MB / 3.546 GB, free: 20.8 MB / 0.8387 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 (519): * Single equations (assignments): 497 * 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.003118/13.47, allocations: 1.011 MB / 3.547 GB, free: 20.53 MB / 0.8387 GB Notification: Performance of simCode: created initialization part: time 0.02838/13.5, allocations: 13.45 MB / 3.56 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created event and clocks part: time 1.675e-05/13.5, allocations: 5.969 kB / 3.56 GB, free: 15.95 MB / 0.8387 GB Notification: Performance of simCode: created simulation system equations: time 0.009657/13.51, allocations: 4.15 MB / 3.564 GB, free: 14.47 MB / 0.8387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02628/13.54, allocations: 4.532 MB / 3.569 GB, free: 13.7 MB / 0.8387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05465/13.59, allocations: 24.83 MB / 3.593 GB, free: 14 MB / 0.8543 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01453/13.61, allocations: 6.539 MB / 3.599 GB, free: 9.145 MB / 0.8543 GB Notification: Performance of simCode: alias equations: time 0.02954/13.64, allocations: 6.793 MB / 3.606 GB, free: 4.934 MB / 0.8543 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003217/13.64, allocations: 0.5263 MB / 3.606 GB, free: 4.449 MB / 0.8543 GB Notification: Performance of SimCode: time 1.744e-06/13.64, allocations: 0 / 3.606 GB, free: 4.449 MB / 0.8543 GB Notification: Performance of Templates: time 0.9906/14.63, allocations: 174.7 MB / 3.777 GB, free: 126.6 MB / 0.8699 GB