Running command: translateModel(Buildings.Fluid.Storage.Examples.Stratified,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Storage.Examples.Stratified") Notification: Performance of loadModel(Buildings): time 4.498/4.498, allocations: 458.9 MB / 473.5 MB, free: 11.86 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.96e-05/3.953e-05, allocations: 7.531 kB / 0.5697 GB, free: 9.809 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2363/0.2364, allocations: 106.2 MB / 0.6734 GB, free: 2.621 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.Stratified): time 0.07346/0.3099, allocations: 45.61 MB / 0.718 GB, free: 4.883 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.03383/0.3438, allocations: 14.11 MB / 0.7318 GB, free: 6.746 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002896/0.3467, allocations: 95.56 kB / 0.7318 GB, free: 6.652 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003791/0.3506, allocations: 0.8123 MB / 0.7326 GB, free: 5.836 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.008931/0.3595, allocations: 2.048 MB / 0.7346 GB, free: 3.781 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.007031/0.3666, allocations: 1.563 MB / 0.7362 GB, free: 2.215 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.02299/0.3896, allocations: 12.06 MB / 0.7479 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01573/0.4054, allocations: 7.462 MB / 0.7552 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01305/0.4185, allocations: 5.174 MB / 0.7603 GB, free: 9.445 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01209/0.4306, allocations: 4.722 MB / 0.7649 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007683/0.4384, allocations: 1.116 MB / 0.766 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003091/0.4415, allocations: 364 kB / 0.7663 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00441/0.446, allocations: 1.845 MB / 0.7681 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.005476/0.4515, allocations: 1.055 MB / 0.7692 GB, free: 336 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.02425/0.4758, allocations: 14.15 MB / 0.783 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4758, allocations: 0 / 0.783 GB, free: 2.148 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.766e-06/0.4759, allocations: 3.938 kB / 0.783 GB, free: 2.145 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.00063/0.4765, allocations: 0 / 0.783 GB, free: 2.145 MB / 0.6511 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.02759/0.5041, allocations: 8.308 MB / 0.7911 GB, free: 9.742 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.818e-05/0.5042, allocations: 16.03 kB / 0.7911 GB, free: 9.727 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007369/0.5116, allocations: 1.163 MB / 0.7922 GB, free: 8.551 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02695/0.5386, allocations: 8.248 MB / 0.8003 GB, free: 228 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.5952/1.134, allocations: 0.61 MB / 0.8009 GB, free: 109.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00351/1.137, allocations: 0.8169 MB / 0.8017 GB, free: 109.5 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0395/1.177, allocations: 12.27 MB / 0.8137 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003049/1.177, allocations: 24.09 kB / 0.8137 GB, free: 104.5 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001891/1.179, allocations: 353.8 kB / 0.814 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003741/1.18, allocations: 250 kB / 0.8143 GB, free: 104.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03251/1.212, allocations: 10.38 MB / 0.8244 GB, free: 100.3 MB / 0.6667 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 0.08518/1.297, allocations: 48.73 MB / 0.872 GB, free: 56.03 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01377/1.311, allocations: 6.417 MB / 0.8783 GB, free: 49.59 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/1.313, allocations: 0.8496 MB / 0.8791 GB, free: 48.62 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007677/1.321, allocations: 3.376 MB / 0.8824 GB, free: 45.21 MB / 0.6667 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00479/1.326, allocations: 0.533 MB / 0.8829 GB, free: 44.67 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=455): time 1.678e-05/1.326, allocations: 0 / 0.8829 GB, free: 44.67 MB / 0.6667 GB Notification: Performance of matching and sorting (n=455): time 0.02344/1.349, allocations: 9.102 MB / 0.8918 GB, free: 35.5 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.349, allocations: 154.3 kB / 0.8919 GB, free: 35.32 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01458/1.364, allocations: 7.051 MB / 0.8988 GB, free: 28.3 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.001187/1.365, allocations: 109.7 kB / 0.8989 GB, free: 28.18 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.004821/1.37, allocations: 4.274 MB / 0.9031 GB, free: 23.89 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.002676/1.373, allocations: 1.579 MB / 0.9047 GB, free: 22.33 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000552/1.373, allocations: 124 kB / 0.9048 GB, free: 22.21 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0003258/1.374, allocations: 0.5498 MB / 0.9053 GB, free: 21.65 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006809/1.38, allocations: 3.017 MB / 0.9083 GB, free: 18.62 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008072/1.388, allocations: 4.867 MB / 0.913 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00934/1.398, allocations: 4.058 MB / 0.917 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.852e-05/1.398, allocations: 20 kB / 0.917 GB, free: 8.84 MB / 0.6667 GB Notification: Performance of matching and sorting (n=758) (initialization): time 0.02357/1.422, allocations: 8.879 MB / 0.9257 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.01129/1.433, allocations: 28.64 MB / 0.9536 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001785/1.433, allocations: 63.94 kB / 0.9537 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001531/1.433, allocations: 96 kB / 0.9538 GB, free: 1.195 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0113/1.445, allocations: 1.431 MB / 0.9552 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000189/1.445, allocations: 123.6 kB / 0.9553 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01132/1.456, allocations: 0.6543 MB / 0.9559 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00163/1.458, allocations: 287.9 kB / 0.9562 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.458, allocations: 4 kB / 0.9562 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03308/1.491, allocations: 8.3 MB / 0.9643 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002129/1.491, allocations: 56 kB / 0.9644 GB, free: 6.332 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001826/1.491, allocations: 96 kB / 0.9645 GB, free: 6.238 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01474/1.506, allocations: 1.432 MB / 0.9659 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002665/1.507, allocations: 123.6 kB / 0.966 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01113/1.518, allocations: 0.6195 MB / 0.9666 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001168/1.519, allocations: 275.4 kB / 0.9668 GB, free: 3.797 MB / 0.7136 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.009078/1.528, allocations: 3.465 MB / 0.9702 GB, free: 312 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002555/1.531, allocations: 0.7102 MB / 0.9709 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02086/1.551, allocations: 7.181 MB / 0.9779 GB, free: 8.375 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.52e-05/1.552, allocations: 47.94 kB / 0.978 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.439e-05/1.552, allocations: 0 / 0.978 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0151/1.567, allocations: 5.877 MB / 0.9837 GB, free: 2.414 MB / 0.7292 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 postOpt removeSimpleEquations (simulation): time 0.04549/1.612, allocations: 16.61 MB / 0.9999 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/1.612, allocations: 7.938 kB / 0.9999 GB, free: 1.719 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007913/1.62, allocations: 0.9051 MB / 1.001 GB, free: 0.8125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.285e-05/1.62, allocations: 16 kB / 1.001 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004919/1.621, allocations: 119.9 kB / 1.001 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.461e-05/1.621, allocations: 23.98 kB / 1.001 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.621, allocations: 0 / 1.001 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02659/1.647, allocations: 10.83 MB / 1.012 GB, free: 5.73 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006902/1.654, allocations: 1.769 MB / 1.013 GB, free: 3.934 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002621/1.657, allocations: 99.98 kB / 1.013 GB, free: 3.836 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01005/1.667, allocations: 0.6003 MB / 1.014 GB, free: 3.238 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008898/1.668, allocations: 263.1 kB / 1.014 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006785/1.669, allocations: 187.9 kB / 1.014 GB, free: 2.797 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.01456/1.683, allocations: 5.515 MB / 1.02 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.052e-06/1.683, allocations: 0 / 1.02 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.02047/1.704, allocations: 4.846 MB / 1.025 GB, free: 8.473 MB / 0.7761 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.002502/1.706, allocations: 0.581 MB / 1.025 GB, free: 7.922 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.03082/1.737, allocations: 11.77 MB / 1.037 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/1.737, allocations: 0 / 1.037 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.008487/1.746, allocations: 3.251 MB / 1.04 GB, free: 8.855 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03495/1.781, allocations: 4.366 MB / 1.044 GB, free: 4.52 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05463/1.835, allocations: 22.71 MB / 1.066 GB, free: 13.75 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01204/1.848, allocations: 6.268 MB / 1.072 GB, free: 7.445 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.03245/1.88, allocations: 6.55 MB / 1.079 GB, free: 0.8789 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003077/1.883, allocations: 491.2 kB / 1.079 GB, free: 412 kB / 0.823 GB Notification: Performance of SimCode: time 1.032e-06/1.883, allocations: 0 / 1.079 GB, free: 412 kB / 0.823 GB Notification: Performance of Templates: time 1.025/2.908, allocations: 157.7 MB / 1.233 GB, free: 214.2 MB / 0.8698 GB