Running command: translateModel(IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(IBPSA): time 2.654/2.654, allocations: 288.1 MB / 300.7 MB, free: 15.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.803e-05/2.815e-05, allocations: 4.312 kB / 370.6 MB, free: 7.832 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1207/0.1208, allocations: 67 MB / 437.6 MB, free: 11.35 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.086/1.207, allocations: 371.1 MB / 0.7898 GB, free: 190.6 MB / 0.573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002353/1.207, allocations: 88.14 kB / 0.7899 GB, free: 190.5 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 13.71/14.92, allocations: 2.917 GB / 3.707 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.548e-06/14.92, allocations: 0 / 3.707 GB, free: 8.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.001398/14.92, allocations: 251.8 kB / 3.707 GB, free: 8.484 MB / 0.6042 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.0251/14.95, allocations: 8.292 MB / 3.716 GB, free: 104 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/14.95, allocations: 12.03 kB / 3.716 GB, free: 92 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8746/15.82, allocations: 1.16 MB / 3.717 GB, free: 43.86 MB / 0.6043 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03449/15.86, allocations: 10.76 MB / 3.727 GB, free: 43.19 MB / 0.6043 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009102/15.86, allocations: 0.6123 MB / 3.728 GB, free: 43.17 MB / 0.6043 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003618/15.86, allocations: 0.8154 MB / 3.729 GB, free: 43.17 MB / 0.6043 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03647/15.9, allocations: 11.44 MB / 3.74 GB, free: 42.03 MB / 0.6043 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006821/15.9, allocations: 26.09 kB / 3.74 GB, free: 42.02 MB / 0.6043 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004537/15.9, allocations: 355.9 kB / 3.74 GB, free: 42.02 MB / 0.6043 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004818/15.9, allocations: 246.1 kB / 3.74 GB, free: 42.02 MB / 0.6043 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02748/15.93, allocations: 9.325 MB / 3.749 GB, free: 41.99 MB / 0.6043 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.08517/16.02, allocations: 46.23 MB / 3.795 GB, free: 39.15 MB / 0.6199 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/16.03, allocations: 6.231 MB / 3.801 GB, free: 38.88 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01021/16.04, allocations: 5.424 MB / 3.806 GB, free: 38.78 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001536/16.04, allocations: 0.8211 MB / 3.807 GB, free: 38.03 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007941/16.05, allocations: 3.32 MB / 3.81 GB, free: 37.87 MB / 0.6199 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005371/16.05, allocations: 0.56 MB / 3.811 GB, free: 37.57 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=455): time 2.172e-05/16.05, allocations: 0 / 3.811 GB, free: 37.57 MB / 0.6199 GB Notification: Performance of matching and sorting (n=455): time 0.01526/16.07, allocations: 6.231 MB / 3.817 GB, free: 37.02 MB / 0.6199 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/16.07, allocations: 156.6 kB / 3.817 GB, free: 36.89 MB / 0.6199 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01557/16.08, allocations: 7.013 MB / 3.824 GB, free: 36.43 MB / 0.6199 GB Notification: Performance of collectPreVariables (initialization): time 0.0011/16.08, allocations: 112.7 kB / 3.824 GB, free: 36.4 MB / 0.6199 GB Notification: Performance of collectInitialEqns (initialization): time 0.005181/16.09, allocations: 4.273 MB / 3.828 GB, free: 34.79 MB / 0.6199 GB Notification: Performance of collectInitialBindings (initialization): time 0.002319/16.09, allocations: 1.581 MB / 3.829 GB, free: 33.8 MB / 0.6199 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006058/16.09, allocations: 119.8 kB / 3.83 GB, free: 33.8 MB / 0.6199 GB Notification: Performance of setup shared object (initialization): time 0.0005161/16.09, allocations: 0.5422 MB / 3.83 GB, free: 33.48 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006426/16.1, allocations: 2.911 MB / 3.833 GB, free: 33.46 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007825/16.11, allocations: 4.726 MB / 3.838 GB, free: 31.31 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008018/16.12, allocations: 3.978 MB / 3.841 GB, free: 31.2 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.982e-05/16.12, allocations: 18.39 kB / 3.841 GB, free: 31.19 MB / 0.6199 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02107/16.14, allocations: 8.525 MB / 3.85 GB, free: 30.66 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.01653/16.15, allocations: 28.64 MB / 3.878 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000305/16.15, allocations: 61.61 kB / 3.878 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/16.15, allocations: 96.78 kB / 3.878 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01422/16.17, allocations: 1.451 MB / 3.879 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002617/16.17, allocations: 123.5 kB / 3.879 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01663/16.19, allocations: 0.627 MB / 3.88 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002119/16.19, allocations: 278.8 kB / 3.88 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/16.19, allocations: 6.281 kB / 3.88 GB, free: 16.86 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02961/16.22, allocations: 7.951 MB / 3.888 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002626/16.22, allocations: 60.02 kB / 3.888 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001198/16.22, allocations: 101.8 kB / 3.888 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01298/16.23, allocations: 1.448 MB / 3.89 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002225/16.23, allocations: 127.5 kB / 3.89 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01475/16.25, allocations: 0.5974 MB / 3.89 GB, free: 15.15 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002153/16.25, allocations: 284.4 kB / 3.891 GB, free: 15.1 MB / 0.6355 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.004011/16.25, allocations: 0.5339 MB / 3.891 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004112/16.26, allocations: 0.7091 MB / 3.892 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02937/16.29, allocations: 7.012 MB / 3.899 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.624e-05/16.29, allocations: 43.09 kB / 3.899 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.48e-05/16.29, allocations: 3.906 kB / 3.899 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02256/16.31, allocations: 5.699 MB / 3.904 GB, free: 9.734 MB / 0.6355 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.05671/16.37, allocations: 16.52 MB / 3.92 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.997e-05/16.37, allocations: 0 / 3.92 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006557/16.37, allocations: 0.925 MB / 3.921 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.832e-05/16.37, allocations: 14.62 kB / 3.921 GB, free: 3.445 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008109/16.37, allocations: 120.8 kB / 3.921 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.416e-05/16.37, allocations: 15.22 kB / 3.921 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.883e-06/16.37, allocations: 8.672 kB / 3.922 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02652/16.4, allocations: 10.8 MB / 3.932 GB, free: 15.96 MB / 0.6512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007088/16.41, allocations: 1.748 MB / 3.934 GB, free: 14.45 MB / 0.6512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002942/16.41, allocations: 99.31 kB / 3.934 GB, free: 14.36 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008813/16.42, allocations: 0.5647 MB / 3.934 GB, free: 13.98 MB / 0.6512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001114/16.42, allocations: 261.3 kB / 3.935 GB, free: 13.82 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008553/16.42, allocations: 195.1 kB / 3.935 GB, free: 13.66 MB / 0.6512 GB Notification: Performance of sorting global known variables: time 0.01399/16.43, allocations: 5.471 MB / 3.94 GB, free: 8.941 MB / 0.6512 GB Notification: Performance of sort global known variables: time 1.441e-06/16.43, allocations: 0 / 3.94 GB, free: 8.941 MB / 0.6512 GB Notification: Performance of remove unused functions: time 0.02146/16.46, allocations: 4.926 MB / 3.945 GB, free: 4.059 MB / 0.6512 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.002987/16.46, allocations: 0.9632 MB / 3.946 GB, free: 3.379 MB / 0.6512 GB Notification: Performance of simCode: created initialization part: time 0.4968/16.96, allocations: 11.94 MB / 3.958 GB, free: 87.6 MB / 0.6512 GB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/16.96, allocations: 4.781 kB / 3.958 GB, free: 87.6 MB / 0.6512 GB Notification: Performance of simCode: created simulation system equations: time 0.007434/16.96, allocations: 3.123 MB / 3.961 GB, free: 87.47 MB / 0.6512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02615/16.99, allocations: 4.39 MB / 3.965 GB, free: 87.4 MB / 0.6512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04178/17.03, allocations: 16.71 MB / 3.981 GB, free: 84.62 MB / 0.6512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/17.04, allocations: 6.277 MB / 3.987 GB, free: 83.71 MB / 0.6512 GB Notification: Performance of simCode: alias equations: time 0.02789/17.07, allocations: 6.614 MB / 3.994 GB, free: 83.3 MB / 0.6512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00297/17.07, allocations: 0.4887 MB / 3.994 GB, free: 83.29 MB / 0.6512 GB Notification: Performance of SimCode: time 2.153e-06/17.07, allocations: 2.812 kB / 3.994 GB, free: 83.29 MB / 0.6512 GB Notification: Performance of Templates: time 0.3536/17.43, allocations: 163.1 MB / 4.154 GB, free: 25.83 MB / 0.6512 GB