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.488/3.488, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.006e-05/3.009e-05, allocations: 4 kB / 0.499 GB, free: 13.43 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5143, allocations: 92.69 MB / 0.5896 GB, free: 14.45 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8817/1.396, allocations: 385.1 MB / 0.9657 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.396, allocations: 87.72 kB / 0.9657 GB, free: 8.359 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.62/12.01, allocations: 2.273 GB / 3.238 GB, free: 91.94 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.875e-06/12.01, allocations: 0 / 3.238 GB, free: 91.94 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.001384/12.01, allocations: 261.5 kB / 3.239 GB, free: 91.9 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.02653/12.04, allocations: 8.339 MB / 3.247 GB, free: 88.91 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/12.04, allocations: 11.75 kB / 3.247 GB, free: 88.9 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006892/12.05, allocations: 1.181 MB / 3.248 GB, free: 88.34 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0339/12.08, allocations: 11.93 MB / 3.26 GB, free: 87.17 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007641/12.08, allocations: 0.625 MB / 3.26 GB, free: 87.15 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003306/12.09, allocations: 0.8319 MB / 3.261 GB, free: 87.15 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03458/12.12, allocations: 11.7 MB / 3.272 GB, free: 85.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004441/12.12, allocations: 39.16 kB / 3.273 GB, free: 85.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0027/12.12, allocations: 357.8 kB / 3.273 GB, free: 85.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002634/12.12, allocations: 266.3 kB / 3.273 GB, free: 85.61 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02744/12.15, allocations: 9.458 MB / 3.282 GB, free: 85.58 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.08512/12.24, allocations: 51.13 MB / 3.332 GB, free: 61.67 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/12.25, allocations: 6.404 MB / 3.339 GB, free: 61.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01096/12.26, allocations: 5.737 MB / 3.344 GB, free: 61.18 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/12.26, allocations: 0.5083 MB / 3.345 GB, free: 60.8 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009609/12.27, allocations: 3.866 MB / 3.348 GB, free: 59.71 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005183/12.28, allocations: 0.5627 MB / 3.349 GB, free: 59.34 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=507): time 1.902e-05/12.28, allocations: 0 / 3.349 GB, free: 59.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=547): time 0.0628/12.34, allocations: 22 MB / 3.37 GB, free: 49.73 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/12.34, allocations: 241.1 kB / 3.371 GB, free: 49.51 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0157/12.36, allocations: 6.902 MB / 3.377 GB, free: 47.14 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.001147/12.36, allocations: 120.4 kB / 3.378 GB, free: 47.04 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.005343/12.36, allocations: 4.303 MB / 3.382 GB, free: 43.76 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.002854/12.37, allocations: 1.895 MB / 3.384 GB, free: 42.32 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000857/12.37, allocations: 126.3 kB / 3.384 GB, free: 42.22 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0004813/12.37, allocations: 0.5654 MB / 3.384 GB, free: 41.8 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007235/12.37, allocations: 3.347 MB / 3.388 GB, free: 40.63 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008961/12.38, allocations: 5.187 MB / 3.393 GB, free: 37.18 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008781/12.39, allocations: 4.484 MB / 3.397 GB, free: 34.61 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.565e-05/12.39, allocations: 16 kB / 3.397 GB, free: 34.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=831) (initialization): time 0.02234/12.41, allocations: 9.469 MB / 3.406 GB, free: 26.3 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.008802/12.42, allocations: 29.06 MB / 3.435 GB, free: 10.63 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001449/12.42, allocations: 63.61 kB / 3.435 GB, free: 10.57 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001367/12.42, allocations: 96 kB / 3.435 GB, free: 10.48 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009174/12.43, allocations: 1.619 MB / 3.436 GB, free: 9.113 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001663/12.43, allocations: 133.9 kB / 3.436 GB, free: 8.996 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009905/12.44, allocations: 0.6811 MB / 3.437 GB, free: 8.457 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001665/12.44, allocations: 307.5 kB / 3.437 GB, free: 8.172 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/12.44, allocations: 0 / 3.437 GB, free: 8.172 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02198/12.47, allocations: 8.842 MB / 3.446 GB, free: 488 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001515/12.47, allocations: 56 kB / 3.446 GB, free: 432 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00015/12.47, allocations: 104 kB / 3.446 GB, free: 328 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01082/12.48, allocations: 1.673 MB / 3.448 GB, free: 15.1 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001976/12.48, allocations: 132.8 kB / 3.448 GB, free: 14.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009683/12.49, allocations: 0.6451 MB / 3.449 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001781/12.49, allocations: 304 kB / 3.449 GB, free: 14.2 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.00257/12.49, allocations: 0.568 MB / 3.449 GB, free: 13.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002684/12.5, allocations: 0.7371 MB / 3.45 GB, free: 12.87 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02413/12.52, allocations: 8.81 MB / 3.459 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.164e-05/12.52, allocations: 59.33 kB / 3.459 GB, free: 5.395 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.153e-05/12.52, allocations: 4 kB / 3.459 GB, free: 5.391 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5602/13.08, allocations: 7.315 MB / 3.466 GB, free: 113.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05242/13.13, allocations: 19.37 MB / 3.485 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.658e-05/13.13, allocations: 7.688 kB / 3.485 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00741/13.14, allocations: 1.174 MB / 3.486 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.101e-05/13.14, allocations: 36.91 kB / 3.486 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001058/13.14, allocations: 168.5 kB / 3.486 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.279e-05/13.14, allocations: 40.75 kB / 3.486 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/13.14, allocations: 20.27 kB / 3.486 GB, free: 112.2 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02588/13.17, allocations: 14.01 MB / 3.5 GB, free: 108.9 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006855/13.17, allocations: 1.837 MB / 3.502 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003049/13.18, allocations: 146.9 kB / 3.502 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00922/13.19, allocations: 0.6479 MB / 3.503 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00128/13.19, allocations: 363.9 kB / 3.503 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008838/13.19, allocations: 215.4 kB / 3.503 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.01252/13.2, allocations: 5.388 MB / 3.508 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.263e-06/13.2, allocations: 1.469 kB / 3.508 GB, free: 108.5 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.01999/13.22, allocations: 4.077 MB / 3.512 GB, free: 108.5 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.00294/13.22, allocations: 1.037 MB / 3.513 GB, free: 108.4 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.02636/13.25, allocations: 12.92 MB / 3.526 GB, free: 107.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/13.25, allocations: 6.688 kB / 3.526 GB, free: 107.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.007894/13.26, allocations: 3.837 MB / 3.53 GB, free: 107.8 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02582/13.28, allocations: 4.522 MB / 3.534 GB, free: 107.7 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0447/13.33, allocations: 18.58 MB / 3.552 GB, free: 104.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01214/13.34, allocations: 6.539 MB / 3.559 GB, free: 103.5 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.02803/13.37, allocations: 6.854 MB / 3.565 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003226/13.37, allocations: 0.5479 MB / 3.566 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of SimCode: time 1.847e-06/13.37, allocations: 3.062 kB / 3.566 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of Templates: time 0.3666/13.74, allocations: 170.5 MB / 3.732 GB, free: 21.79 MB / 0.8386 GB