Running command: translateModel(BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(BuildSysPro): time 2.919/2.919, allocations: 325.3 MB / 337.5 MB, free: 10.02 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.014e-05/6.068e-05, allocations: 2.031 kB / 414.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1589, allocations: 74.42 MB / 489.2 MB, free: 11.56 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.159/1.318, allocations: 372.1 MB / 0.8411 GB, free: 163.2 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/1.318, allocations: 96.81 kB / 0.8412 GB, free: 163.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 12.87/14.19, allocations: 2.803 GB / 3.644 GB, free: 34.71 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.198e-06/14.19, allocations: 0 / 3.644 GB, free: 34.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.001362/14.19, allocations: 255.9 kB / 3.645 GB, free: 34.46 MB / 0.6667 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.02573/14.22, allocations: 8.24 MB / 3.653 GB, free: 26.12 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/14.22, allocations: 12.03 kB / 3.653 GB, free: 26.11 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006853/14.22, allocations: 1.151 MB / 3.654 GB, free: 24.95 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03096/14.25, allocations: 12.02 MB / 3.666 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007206/14.26, allocations: 0.614 MB / 3.666 GB, free: 12.29 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003223/14.26, allocations: 0.8201 MB / 3.667 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4723/14.73, allocations: 11.3 MB / 3.678 GB, free: 58.57 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005134/14.73, allocations: 28.84 kB / 3.678 GB, free: 58.57 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00319/14.73, allocations: 348.5 kB / 3.678 GB, free: 58.57 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003996/14.74, allocations: 245.2 kB / 3.679 GB, free: 58.57 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02887/14.76, allocations: 9.328 MB / 3.688 GB, free: 58.54 MB / 0.6667 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.089/14.85, allocations: 46.41 MB / 3.733 GB, free: 39.52 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/14.87, allocations: 6.208 MB / 3.739 GB, free: 39.25 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01019/14.88, allocations: 5.35 MB / 3.744 GB, free: 39.16 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/14.88, allocations: 0.8231 MB / 3.745 GB, free: 38.4 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008594/14.89, allocations: 3.226 MB / 3.748 GB, free: 38.24 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00527/14.89, allocations: 0.5527 MB / 3.749 GB, free: 38.09 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=452): time 1.943e-05/14.89, allocations: 0 / 3.749 GB, free: 38.09 MB / 0.6667 GB Notification: Performance of matching and sorting (n=452): time 0.01742/14.91, allocations: 6.272 MB / 3.755 GB, free: 37.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/14.91, allocations: 156.9 kB / 3.755 GB, free: 37.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.016/14.93, allocations: 6.825 MB / 3.762 GB, free: 36.99 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001034/14.93, allocations: 107.4 kB / 3.762 GB, free: 36.96 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0056/14.93, allocations: 4.257 MB / 3.766 GB, free: 35.62 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002451/14.94, allocations: 1.574 MB / 3.768 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007178/14.94, allocations: 118.7 kB / 3.768 GB, free: 34.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0004501/14.94, allocations: 0.5424 MB / 3.768 GB, free: 34.32 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006098/14.94, allocations: 2.849 MB / 3.771 GB, free: 34.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007463/14.95, allocations: 4.779 MB / 3.776 GB, free: 32 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008117/14.96, allocations: 3.929 MB / 3.78 GB, free: 31.88 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.076e-05/14.96, allocations: 17.75 kB / 3.78 GB, free: 31.88 MB / 0.6667 GB Notification: Performance of matching and sorting (n=757) (initialization): time 0.02089/14.98, allocations: 8.449 MB / 3.788 GB, free: 31.34 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.01412/14.99, allocations: 30.76 MB / 3.818 GB, free: 31.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/14.99, allocations: 60 kB / 3.818 GB, free: 31.33 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001501/14.99, allocations: 108.9 kB / 3.818 GB, free: 31.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008832/15, allocations: 1.469 MB / 3.819 GB, free: 31.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001669/15, allocations: 131.5 kB / 3.82 GB, free: 31.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01028/15.01, allocations: 0.5737 MB / 3.82 GB, free: 31.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/15.01, allocations: 286.1 kB / 3.82 GB, free: 31.27 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/15.01, allocations: 6.625 kB / 3.82 GB, free: 31.27 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01798/15.03, allocations: 7.856 MB / 3.828 GB, free: 31.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000145/15.03, allocations: 59.5 kB / 3.828 GB, free: 31.12 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001233/15.03, allocations: 107.9 kB / 3.828 GB, free: 31.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008333/15.04, allocations: 1.447 MB / 3.83 GB, free: 31.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001648/15.04, allocations: 135.9 kB / 3.83 GB, free: 31.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009641/15.05, allocations: 0.5423 MB / 3.83 GB, free: 31.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001526/15.05, allocations: 286.2 kB / 3.831 GB, free: 31.07 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 280 * 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 (747): * Single equations (assignments): 745 * 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.001964/15.05, allocations: 0.5419 MB / 3.831 GB, free: 30.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002128/15.06, allocations: 0.692 MB / 3.832 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01706/15.07, allocations: 6.93 MB / 3.839 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-05/15.07, allocations: 44.19 kB / 3.839 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.831e-05/15.07, allocations: 0 / 3.839 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01294/15.09, allocations: 5.636 MB / 3.844 GB, free: 29.98 MB / 0.698 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.04265/15.13, allocations: 16.03 MB / 3.86 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/15.13, allocations: 0 / 3.86 GB, free: 28.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006289/15.14, allocations: 0.9069 MB / 3.861 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.609e-05/15.14, allocations: 12.94 kB / 3.861 GB, free: 28.75 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008908/15.14, allocations: 125.7 kB / 3.861 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.754e-05/15.14, allocations: 13.38 kB / 3.861 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.262e-06/15.14, allocations: 2.406 kB / 3.861 GB, free: 28.69 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02113/15.16, allocations: 10.3 MB / 3.871 GB, free: 24.66 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005884/15.16, allocations: 1.669 MB / 3.872 GB, free: 23.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0026/15.17, allocations: 93.92 kB / 3.873 GB, free: 23.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008638/15.18, allocations: 0.5308 MB / 3.873 GB, free: 23.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009878/15.18, allocations: 258.4 kB / 3.873 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006209/15.18, allocations: 160.8 kB / 3.873 GB, free: 23.56 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.01162/15.19, allocations: 5.327 MB / 3.879 GB, free: 21.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.408e-06/15.19, allocations: 3.844 kB / 3.879 GB, free: 21.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01939/15.21, allocations: 4.816 MB / 3.883 GB, free: 20.73 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (448): * Single equations (assignments): 444 * 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.00263/15.21, allocations: 0.9549 MB / 3.884 GB, free: 20.48 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0221/15.23, allocations: 11.11 MB / 3.895 GB, free: 16.53 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.8e-06/15.23, allocations: 0 / 3.895 GB, free: 16.53 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005908/15.24, allocations: 3.088 MB / 3.898 GB, free: 14.51 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02282/15.26, allocations: 4.329 MB / 3.902 GB, free: 11.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04063/15.3, allocations: 16.61 MB / 3.919 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01277/15.32, allocations: 6.237 MB / 3.925 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.02842/15.34, allocations: 6.569 MB / 3.931 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002718/15.35, allocations: 494.8 kB / 3.932 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of SimCode: time 1.74e-06/15.35, allocations: 0 / 3.932 GB, free: 4.16 MB / 0.7136 GB Notification: Performance of Templates: time 0.8038/16.15, allocations: 158.5 MB / 4.086 GB, free: 76.06 MB / 0.7136 GB