Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc") Notification: Performance of loadModel(Buildings): time 4.099/4.099, allocations: 431.3 MB / 445.8 MB, free: 7.336 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.011e-05, allocations: 4 kB / 0.5354 GB, free: 1.277 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6885, allocations: 98.7 MB / 0.6318 GB, free: 0.8359 MB / 0.4948 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.YorkCalc): time 0.1156/0.8042, allocations: 70.58 MB / 0.7007 GB, free: 10.08 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.2415/1.046, allocations: 139.4 MB / 0.8369 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004026/1.05, allocations: 131.5 kB / 0.837 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00481/1.055, allocations: 0.9906 MB / 0.838 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01198/1.067, allocations: 2.648 MB / 0.8406 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01412/1.081, allocations: 3.383 MB / 0.8439 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008969/1.09, allocations: 3.132 MB / 0.8469 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004164/1.094, allocations: 1.795 MB / 0.8487 GB, free: 2.168 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004572/1.099, allocations: 1.496 MB / 0.8501 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6315/1.73, allocations: 1.175 MB / 0.8513 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007517/1.738, allocations: 1.815 MB / 0.8531 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001904/1.74, allocations: 145.4 kB / 0.8532 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001483/1.741, allocations: 0.5494 MB / 0.8537 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.001503/1.743, allocations: 257.4 kB / 0.854 GB, free: 33.89 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007933/1.751, allocations: 3.756 MB / 0.8577 GB, free: 33.6 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/1.751, allocations: 0 / 0.8577 GB, free: 33.6 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.826e-06/1.751, allocations: 0 / 0.8577 GB, free: 33.6 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001709/1.751, allocations: 0 / 0.8577 GB, free: 33.6 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 523 * Number of variables: 523 Notification: Performance of Generate backend data structure: time 0.007928/1.759, allocations: 2.745 MB / 0.8603 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/1.759, allocations: 7.969 kB / 0.8603 GB, free: 32.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007874/1.767, allocations: 0.8276 MB / 0.8611 GB, free: 31.99 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006462/1.773, allocations: 2.123 MB / 0.8632 GB, free: 31.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007554/1.774, allocations: 232.1 kB / 0.8634 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000765/1.775, allocations: 213.1 kB / 0.8636 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008464/1.783, allocations: 2.47 MB / 0.8661 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.796e-05/1.784, allocations: 6.906 kB / 0.8661 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003572/1.784, allocations: 88.5 kB / 0.8662 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/1.784, allocations: 57.62 kB / 0.8662 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009995/1.794, allocations: 2.505 MB / 0.8687 GB, free: 31 MB / 0.7136 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.02491/1.819, allocations: 10.52 MB / 0.8789 GB, free: 26.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007905/1.827, allocations: 1.878 MB / 0.8808 GB, free: 26.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01216/1.839, allocations: 5.368 MB / 0.886 GB, free: 23.23 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004003/1.843, allocations: 1.011 MB / 0.887 GB, free: 23.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001322/1.845, allocations: 160.1 kB / 0.8871 GB, free: 23.05 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=144): time 7.554e-06/1.845, allocations: 0 / 0.8871 GB, free: 23.05 MB / 0.7136 GB Notification: Performance of matching and sorting (n=144): time 0.01478/1.859, allocations: 2.792 MB / 0.8899 GB, free: 22.6 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.294e-05/1.86, allocations: 169.7 kB / 0.89 GB, free: 22.41 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/1.864, allocations: 1.861 MB / 0.8919 GB, free: 22.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0005199/1.864, allocations: 57.83 kB / 0.8919 GB, free: 22.15 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001328/1.866, allocations: 1.195 MB / 0.8931 GB, free: 21.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007748/1.867, allocations: 492.7 kB / 0.8935 GB, free: 21.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001837/1.867, allocations: 37.25 kB / 0.8936 GB, free: 21.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.867, allocations: 372.5 kB / 0.8939 GB, free: 21.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003479/1.87, allocations: 0.7599 MB / 0.8947 GB, free: 21.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004136/1.875, allocations: 1.338 MB / 0.896 GB, free: 20.53 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003906/1.879, allocations: 0.939 MB / 0.8969 GB, free: 20.42 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.091e-05/1.879, allocations: 2.938 kB / 0.8969 GB, free: 20.42 MB / 0.7136 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.01123/1.89, allocations: 2.559 MB / 0.8994 GB, free: 20.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001101/1.891, allocations: 5.246 MB / 0.9045 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-05/1.891, allocations: 13.97 kB / 0.9045 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001989/1.893, allocations: 180.6 kB / 0.9047 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004105/1.897, allocations: 463.5 kB / 0.9052 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005139/1.902, allocations: 3.608 MB / 0.9087 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004453/1.907, allocations: 232.4 kB / 0.9089 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005239/1.907, allocations: 93.39 kB / 0.909 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/1.908, allocations: 2.969 kB / 0.909 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00895/1.916, allocations: 2.252 MB / 0.9112 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/1.917, allocations: 19.73 kB / 0.9112 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001744/1.918, allocations: 172.8 kB / 0.9114 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/1.922, allocations: 450.6 kB / 0.9118 GB, free: 11.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004975/1.927, allocations: 3.613 MB / 0.9153 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004213/1.931, allocations: 224.9 kB / 0.9155 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/1.932, allocations: 93.89 kB / 0.9156 GB, free: 7.871 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.onOffController.y,onOffController.y,conFan.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (217): * Single equations (assignments): 210 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001838/1.934, allocations: 0.5527 MB / 0.9162 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007111/1.934, allocations: 248.8 kB / 0.9164 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.945, allocations: 2.458 MB / 0.9188 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.571e-05/1.945, allocations: 18.39 kB / 0.9188 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.945, allocations: 2.438 kB / 0.9188 GB, free: 7.367 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008374/1.954, allocations: 1.812 MB / 0.9206 GB, free: 7.164 MB / 0.7136 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.0152/1.969, allocations: 4.615 MB / 0.9251 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.419e-05/1.969, allocations: 2.938 kB / 0.9251 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003352/1.972, allocations: 349.4 kB / 0.9254 GB, free: 5.582 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/1.974, allocations: 163.3 kB / 0.9256 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004073/1.975, allocations: 50.89 kB / 0.9256 GB, free: 5.504 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00462/1.979, allocations: 3.046 MB / 0.9286 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/1.979, allocations: 5.109 kB / 0.9286 GB, free: 2.793 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01367/1.993, allocations: 3.283 MB / 0.9318 GB, free: 1.922 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/1.995, allocations: 0.573 MB / 0.9324 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009018/1.996, allocations: 29.72 kB / 0.9324 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004145/2, allocations: 224.9 kB / 0.9326 GB, free: 1.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004866/2.001, allocations: 122.8 kB / 0.9328 GB, free: 1.449 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002921/2.001, allocations: 73.62 kB / 0.9328 GB, free: 1.434 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.003261/2.004, allocations: 1.415 MB / 0.9342 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/2.004, allocations: 4 kB / 0.9342 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00681/2.011, allocations: 1.457 MB / 0.9356 GB, free: 0.8125 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (tow.vol.dynBal.U,vol.dynBal.U,conFan.I.y,conFan.D.x) * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext,onOffController.y) * Number of discrete states: 3 (onOffController.y,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (163): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003546/2.015, allocations: 1.034 MB / 0.9366 GB, free: 420 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01467/2.029, allocations: 3.813 MB / 0.9404 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.446e-05/2.029, allocations: 5.062 kB / 0.9404 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.005079/2.034, allocations: 1.201 MB / 0.9415 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008751/2.043, allocations: 1.039 MB / 0.9426 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/2.061, allocations: 5.797 MB / 0.9482 GB, free: 7.098 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/2.063, allocations: 1.779 MB / 0.95 GB, free: 5.336 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.008085/2.071, allocations: 0.9901 MB / 0.9509 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/2.072, allocations: 201.4 kB / 0.9511 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of SimCode: time 1.092e-06/2.072, allocations: 0 / 0.9511 GB, free: 4.164 MB / 0.7292 GB Notification: Performance of Templates: time 0.1533/2.225, allocations: 54.68 MB / 1.005 GB, free: 14.38 MB / 0.7917 GB