Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.WaterHeater_u") Notification: Performance of loadModel(BuildingSystems): time 3.017/3.017, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.597e-05/3.603e-05, allocations: 8 kB / 436.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1665, allocations: 77.73 MB / 0.5022 GB, free: 4.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.31/1.477, allocations: 413.2 MB / 0.9058 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/1.477, allocations: 94.5 kB / 0.9059 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.754/6.231, allocations: 1.093 GB / 1.999 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.387e-06/6.231, allocations: 0 / 1.999 GB, free: 53.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003092/6.231, allocations: 63.16 kB / 1.999 GB, free: 53.75 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.005372/6.237, allocations: 2.18 MB / 2.001 GB, free: 51.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/6.237, allocations: 8.031 kB / 2.001 GB, free: 51.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002092/6.239, allocations: 376.9 kB / 2.001 GB, free: 51.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007362/6.246, allocations: 2.459 MB / 2.004 GB, free: 48.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001274/6.246, allocations: 102.5 kB / 2.004 GB, free: 48.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002833/6.247, allocations: 131.3 kB / 2.004 GB, free: 48.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002773/6.25, allocations: 1.335 MB / 2.005 GB, free: 47.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.728e-05/6.25, allocations: 3.953 kB / 2.005 GB, free: 47.03 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001583/6.25, allocations: 56 kB / 2.005 GB, free: 46.98 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.727e-05/6.25, allocations: 43.56 kB / 2.006 GB, free: 46.94 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002143/6.252, allocations: 0.891 MB / 2.006 GB, free: 46.04 MB / 0.6823 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.01039/6.262, allocations: 7.128 MB / 2.013 GB, free: 38.43 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/6.264, allocations: 1.164 MB / 2.014 GB, free: 37.16 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/6.265, allocations: 354.6 kB / 2.015 GB, free: 36.82 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004229/6.269, allocations: 2.258 MB / 2.017 GB, free: 34.35 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007364/6.27, allocations: 381.8 kB / 2.017 GB, free: 33.96 MB / 0.6823 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008914/6.271, allocations: 87.3 kB / 2.017 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 4.549e-06/6.271, allocations: 0 / 2.017 GB, free: 33.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001867/6.273, allocations: 0.7399 MB / 2.018 GB, free: 33.13 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/6.273, allocations: 166.8 kB / 2.018 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/6.275, allocations: 1.289 MB / 2.02 GB, free: 31.64 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002161/6.276, allocations: 45.7 kB / 2.02 GB, free: 31.59 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008577/6.276, allocations: 0.8925 MB / 2.021 GB, free: 30.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/6.277, allocations: 250.2 kB / 2.021 GB, free: 30.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/6.277, allocations: 16 kB / 2.021 GB, free: 30.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.903e-05/6.277, allocations: 341.9 kB / 2.021 GB, free: 30.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006513/6.278, allocations: 293.9 kB / 2.021 GB, free: 29.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008545/6.278, allocations: 0.6717 MB / 2.022 GB, free: 28.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008264/6.279, allocations: 411.6 kB / 2.022 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.366e-06/6.279, allocations: 4 kB / 2.022 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002492/6.282, allocations: 1.096 MB / 2.023 GB, free: 27.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007527/6.283, allocations: 3.744 MB / 2.027 GB, free: 23.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/6.283, allocations: 12 kB / 2.027 GB, free: 23.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.639e-05/6.283, allocations: 16 kB / 2.027 GB, free: 23.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/6.284, allocations: 247.6 kB / 2.027 GB, free: 23.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.582e-05/6.284, allocations: 27.86 kB / 2.027 GB, free: 23.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001913/6.286, allocations: 135.7 kB / 2.028 GB, free: 22.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/6.286, allocations: 51.98 kB / 2.028 GB, free: 22.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/6.286, allocations: 6.344 kB / 2.028 GB, free: 22.9 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002019/6.288, allocations: 0.9185 MB / 2.029 GB, free: 21.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.801e-05/6.288, allocations: 16 kB / 2.029 GB, free: 21.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/6.288, allocations: 16 kB / 2.029 GB, free: 21.94 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/6.29, allocations: 247.6 kB / 2.029 GB, free: 21.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.12e-05/6.29, allocations: 19.89 kB / 2.029 GB, free: 21.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/6.291, allocations: 131.8 kB / 2.029 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/6.292, allocations: 59.97 kB / 2.029 GB, free: 21.49 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 117 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.0003014/6.292, allocations: 171.4 kB / 2.029 GB, free: 21.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003208/6.292, allocations: 165.9 kB / 2.029 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002356/6.295, allocations: 0.9817 MB / 2.03 GB, free: 20.17 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/6.295, allocations: 15.95 kB / 2.03 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.916e-06/6.295, allocations: 0 / 2.03 GB, free: 20.15 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001318/6.296, allocations: 0.6823 MB / 2.031 GB, free: 19.45 MB / 0.6823 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.00492/6.301, allocations: 2.271 MB / 2.033 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.751e-06/6.301, allocations: 0 / 2.033 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009747/6.302, allocations: 155.8 kB / 2.033 GB, free: 16.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002029/6.302, allocations: 24.84 kB / 2.033 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.92e-05/6.302, allocations: 24.05 kB / 2.033 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000903/6.303, allocations: 1.303 MB / 2.035 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.977e-06/6.303, allocations: 4.031 kB / 2.035 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002611/6.306, allocations: 1.392 MB / 2.036 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000967/6.307, allocations: 346.7 kB / 2.036 GB, free: 13.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002734/6.307, allocations: 20.06 kB / 2.036 GB, free: 13.69 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/6.309, allocations: 111.8 kB / 2.036 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001623/6.309, allocations: 52.7 kB / 2.037 GB, free: 13.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.609e-05/6.309, allocations: 27.98 kB / 2.037 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001819/6.311, allocations: 0.9857 MB / 2.038 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.029e-06/6.311, allocations: 4 kB / 2.038 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004127/6.315, allocations: 1.122 MB / 2.039 GB, free: 11.39 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (vol.dynBal.U,mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002367/6.317, allocations: 1.207 MB / 2.04 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002868/6.32, allocations: 1.461 MB / 2.041 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.432e-06/6.32, allocations: 8.188 kB / 2.041 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009495/6.321, allocations: 480.6 kB / 2.042 GB, free: 8.32 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/6.325, allocations: 0.763 MB / 2.042 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005364/6.331, allocations: 2.379 MB / 2.045 GB, free: 5.176 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/6.332, allocations: 1.447 MB / 2.046 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.003759/6.336, allocations: 0.5442 MB / 2.047 GB, free: 3.188 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004082/6.336, allocations: 115.3 kB / 2.047 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of SimCode: time 1.843e-06/6.336, allocations: 0 / 2.047 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of Templates: time 0.5291/6.865, allocations: 41.14 MB / 2.087 GB, free: 69.39 MB / 0.6823 GB