Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(Buildings): time 4.27/4.27, allocations: 464.7 MB / 476.8 MB, free: 2.191 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.987e-05/6.017e-05, allocations: 10.28 kB / 0.5731 GB, free: 5.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2044, allocations: 107.1 MB / 0.6777 GB, free: 10.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.267, allocations: 404 MB / 1.072 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/1.267, allocations: 91.31 kB / 1.072 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 13.57/14.84, allocations: 2.845 GB / 3.917 GB, free: 126 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.288e-06/14.84, allocations: 0 / 3.917 GB, free: 126 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.001362/14.84, allocations: 252.2 kB / 3.918 GB, free: 125.9 MB / 0.9167 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.02626/14.86, allocations: 8.285 MB / 3.926 GB, free: 123.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/14.86, allocations: 9.625 kB / 3.926 GB, free: 123.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007111/14.87, allocations: 1.161 MB / 3.927 GB, free: 122.7 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03097/14.9, allocations: 10.72 MB / 3.937 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006863/14.9, allocations: 0.6151 MB / 3.938 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/14.91, allocations: 0.8183 MB / 3.939 GB, free: 121.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03233/14.94, allocations: 11.32 MB / 3.95 GB, free: 120.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003736/14.94, allocations: 38.12 kB / 3.95 GB, free: 120.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002457/14.94, allocations: 353.3 kB / 3.95 GB, free: 120.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/14.94, allocations: 249.8 kB / 3.95 GB, free: 120.4 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02591/14.97, allocations: 9.317 MB / 3.96 GB, free: 120.4 MB / 0.9167 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.08104/15.05, allocations: 46.1 MB / 4.005 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01169/15.06, allocations: 6.237 MB / 4.011 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00965/15.07, allocations: 5.421 MB / 4.016 GB, free: 101 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/15.07, allocations: 0.8213 MB / 4.017 GB, free: 100.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007374/15.08, allocations: 3.263 MB / 4.02 GB, free: 100.1 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005152/15.08, allocations: 0.5507 MB / 4.02 GB, free: 99.76 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=455): time 1.595e-05/15.08, allocations: 0 / 4.02 GB, free: 99.76 MB / 0.9167 GB Notification: Performance of matching and sorting (n=455): time 0.01477/15.1, allocations: 6.236 MB / 4.027 GB, free: 99.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.729e-05/15.1, allocations: 152.2 kB / 4.027 GB, free: 99.07 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01509/15.11, allocations: 7.012 MB / 4.034 GB, free: 98.61 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001016/15.11, allocations: 108.6 kB / 4.034 GB, free: 98.58 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.004982/15.12, allocations: 4.27 MB / 4.038 GB, free: 96.97 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.002292/15.12, allocations: 1.587 MB / 4.039 GB, free: 95.98 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005772/15.12, allocations: 122.3 kB / 4.04 GB, free: 95.98 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003993/15.12, allocations: 0.5424 MB / 4.04 GB, free: 95.66 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00619/15.13, allocations: 2.914 MB / 4.043 GB, free: 95.65 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007834/15.14, allocations: 4.722 MB / 4.047 GB, free: 93.5 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007883/15.15, allocations: 3.968 MB / 4.051 GB, free: 93.38 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.494e-05/15.15, allocations: 18.78 kB / 4.051 GB, free: 93.38 MB / 0.9167 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02137/15.17, allocations: 8.529 MB / 4.06 GB, free: 91.42 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.005537/15.17, allocations: 28.65 MB / 4.088 GB, free: 61.25 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001737/15.17, allocations: 57.44 kB / 4.088 GB, free: 61.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000148/15.17, allocations: 93.91 kB / 4.088 GB, free: 61.25 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008371/15.18, allocations: 1.449 MB / 4.089 GB, free: 61.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001519/15.18, allocations: 129 kB / 4.089 GB, free: 61.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01002/15.19, allocations: 0.6227 MB / 4.09 GB, free: 61.05 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001574/15.19, allocations: 286.8 kB / 4.09 GB, free: 61 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/15.19, allocations: 6.844 kB / 4.09 GB, free: 61 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01917/15.21, allocations: 7.947 MB / 4.098 GB, free: 58.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001483/15.21, allocations: 58.17 kB / 4.098 GB, free: 58.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001091/15.21, allocations: 97.62 kB / 4.098 GB, free: 58.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008054/15.22, allocations: 1.447 MB / 4.1 GB, free: 58.36 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001499/15.22, allocations: 120.6 kB / 4.1 GB, free: 58.34 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009443/15.23, allocations: 0.5979 MB / 4.1 GB, free: 58.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001546/15.23, allocations: 287.5 kB / 4.101 GB, free: 58.15 MB / 0.9167 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.002203/15.23, allocations: 0.5347 MB / 4.101 GB, free: 57.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002359/15.24, allocations: 0.7077 MB / 4.102 GB, free: 57.32 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01865/15.25, allocations: 7 MB / 4.109 GB, free: 54.77 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/15.26, allocations: 42.09 kB / 4.109 GB, free: 54.77 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/15.26, allocations: 3.625 kB / 4.109 GB, free: 54.77 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01284/15.27, allocations: 5.701 MB / 4.114 GB, free: 52.78 MB / 0.9167 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.04208/15.31, allocations: 16.46 MB / 4.13 GB, free: 46.58 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.909e-05/15.31, allocations: 0 / 4.13 GB, free: 46.58 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006074/15.32, allocations: 0.9214 MB / 4.131 GB, free: 46.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.633e-05/15.32, allocations: 21.53 kB / 4.131 GB, free: 46.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009854/15.32, allocations: 116.6 kB / 4.131 GB, free: 46.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.207e-05/15.32, allocations: 18 kB / 4.131 GB, free: 46.44 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.252e-06/15.32, allocations: 3.688 kB / 4.131 GB, free: 46.44 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02231/15.34, allocations: 10.58 MB / 4.142 GB, free: 41.62 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006432/15.35, allocations: 1.718 MB / 4.143 GB, free: 40.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002967/15.35, allocations: 101.8 kB / 4.143 GB, free: 40.03 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008582/15.36, allocations: 0.5626 MB / 4.144 GB, free: 39.66 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001102/15.36, allocations: 261.2 kB / 4.144 GB, free: 39.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008376/15.36, allocations: 189.6 kB / 4.144 GB, free: 39.34 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.01237/15.37, allocations: 5.463 MB / 4.15 GB, free: 34.62 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.346e-06/15.37, allocations: 0 / 4.15 GB, free: 34.62 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.03426/15.41, allocations: 4.91 MB / 4.155 GB, free: 29.72 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.004554/15.41, allocations: 0.9493 MB / 4.155 GB, free: 29.02 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.04158/15.45, allocations: 11.26 MB / 4.166 GB, free: 18.91 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.592e-05/15.45, allocations: 4 kB / 4.166 GB, free: 18.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.01036/15.46, allocations: 3.125 MB / 4.17 GB, free: 16.07 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02369/15.49, allocations: 4.374 MB / 4.174 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04441/15.53, allocations: 17.02 MB / 4.19 GB, free: 15.08 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01278/15.54, allocations: 6.272 MB / 4.197 GB, free: 10.43 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0269/15.57, allocations: 6.572 MB / 4.203 GB, free: 6.352 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002917/15.57, allocations: 493.1 kB / 4.203 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of SimCode: time 1.814e-06/15.57, allocations: 0 / 4.203 GB, free: 5.906 MB / 0.9323 GB Notification: Performance of Templates: time 1.02/16.59, allocations: 161.8 MB / 4.361 GB, free: 112 MB / 0.9323 GB