Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadModel(BuildingSystems): time 3.08/3.08, allocations: 343.8 MB / 355.9 MB, free: 9.379 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.581e-05/3.588e-05, allocations: 4 kB / 436.6 MB, free: 2.473 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 77.73 MB / 0.5022 GB, free: 4.586 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.293, allocations: 310.5 MB / 0.8055 GB, free: 236.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002365/1.293, allocations: 81.12 kB / 0.8055 GB, free: 236.8 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02215/1.315, allocations: 7.649 MB / 0.813 GB, free: 229.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.807e-06/1.315, allocations: 0 / 0.813 GB, free: 229.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.943e-06/1.315, allocations: 0 / 0.813 GB, free: 229.3 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002694/1.316, allocations: 342.4 kB / 0.8133 GB, free: 228.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.316, allocations: 12.03 kB / 0.8133 GB, free: 228.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.797e-05/1.316, allocations: 4 kB / 0.8134 GB, free: 228.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.617e-05/1.316, allocations: 167 kB / 0.8135 GB, free: 228.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/1.316, allocations: 29.7 kB / 0.8135 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.744e-06/1.316, allocations: 0 / 0.8135 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/1.316, allocations: 45.62 kB / 0.8136 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.25e-06/1.316, allocations: 0 / 0.8136 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.316, allocations: 0 / 0.8136 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/1.316, allocations: 0 / 0.8136 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.677e-05/1.316, allocations: 19.91 kB / 0.8136 GB, free: 228.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/1.317, allocations: 0.6028 MB / 0.8142 GB, free: 227.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 3.429e-05/1.317, allocations: 18.58 kB / 0.8142 GB, free: 227.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.643e-05/1.317, allocations: 4.859 kB / 0.8142 GB, free: 227.8 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002157/1.317, allocations: 366.5 kB / 0.8146 GB, free: 227.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/1.317, allocations: 34.56 kB / 0.8146 GB, free: 227.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=1): time 2.12e-06/1.317, allocations: 0 / 0.8146 GB, free: 227.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1): time 0.0001338/1.317, allocations: 33.64 kB / 0.8146 GB, free: 227.3 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.045e-05/1.317, allocations: 55.36 kB / 0.8147 GB, free: 227.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.387e-05/1.317, allocations: 101 kB / 0.8148 GB, free: 227.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.007e-05/1.317, allocations: 25.7 kB / 0.8148 GB, free: 227.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 2.805e-05/1.317, allocations: 84.05 kB / 0.8149 GB, free: 227 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 7.26e-06/1.317, allocations: 3.906 kB / 0.8149 GB, free: 227 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.564e-06/1.317, allocations: 32 / 0.8149 GB, free: 227 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 4.909e-05/1.317, allocations: 322.8 kB / 0.8152 GB, free: 226.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.708e-05/1.317, allocations: 3.984 kB / 0.8152 GB, free: 226.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.702e-05/1.317, allocations: 13.72 kB / 0.8152 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.375e-05/1.318, allocations: 4 kB / 0.8152 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.1e-06/1.318, allocations: 3.938 kB / 0.8152 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.048e-05/1.318, allocations: 53.66 kB / 0.8153 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/1.318, allocations: 8 kB / 0.8153 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.545e-06/1.318, allocations: 0 / 0.8153 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/1.318, allocations: 0 / 0.8153 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/1.318, allocations: 8 kB / 0.8153 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.465e-06/1.318, allocations: 4 kB / 0.8153 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.965e-05/1.318, allocations: 3.953 kB / 0.8153 GB, free: 226.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/1.318, allocations: 0 / 0.8153 GB, free: 226.6 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 4.559e-05/1.318, allocations: 109 kB / 0.8154 GB, free: 226.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/1.318, allocations: 4 kB / 0.8154 GB, free: 226.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.762e-05/1.318, allocations: 120.9 kB / 0.8155 GB, free: 226.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-05/1.318, allocations: 176.3 kB / 0.8157 GB, free: 226.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-05/1.318, allocations: 180.2 kB / 0.8159 GB, free: 225.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.888e-05/1.318, allocations: 184.1 kB / 0.816 GB, free: 225.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001679/1.318, allocations: 421 kB / 0.8164 GB, free: 225.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.318, allocations: 101.1 kB / 0.8165 GB, free: 225.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/1.318, allocations: 111.6 kB / 0.8166 GB, free: 225.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.691e-05/1.318, allocations: 180.3 kB / 0.8168 GB, free: 224.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.939e-05/1.318, allocations: 176.3 kB / 0.817 GB, free: 224.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.741e-05/1.318, allocations: 184.2 kB / 0.8171 GB, free: 224.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.768e-05/1.319, allocations: 180.3 kB / 0.8173 GB, free: 224.3 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.836e-05/1.319, allocations: 307.7 kB / 0.8176 GB, free: 224 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/1.319, allocations: 186.1 kB / 0.8178 GB, free: 223.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.448e-05/1.319, allocations: 180.3 kB / 0.818 GB, free: 223.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/1.319, allocations: 112.9 kB / 0.8181 GB, free: 223.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.291e-05/1.319, allocations: 180.2 kB / 0.8182 GB, free: 223.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/1.319, allocations: 101 kB / 0.8183 GB, free: 223.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 3.855e-05/1.319, allocations: 79.28 kB / 0.8184 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.72e-07/1.319, allocations: 0 / 0.8184 GB, free: 223.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003662/1.319, allocations: 32 kB / 0.8184 GB, free: 223.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002345/1.32, allocations: 248.8 kB / 0.8187 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.779e-05/1.32, allocations: 4 kB / 0.8187 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.168e-06/1.32, allocations: 0 / 0.8187 GB, free: 222.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.575e-06/1.32, allocations: 8.109 kB / 0.8187 GB, free: 222.8 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/1.32, allocations: 0.5263 MB / 0.8192 GB, free: 222.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001412/1.32, allocations: 124.2 kB / 0.8193 GB, free: 222.2 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/1.32, allocations: 0.677 MB / 0.82 GB, free: 221.5 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.42e-05/1.32, allocations: 15.88 kB / 0.82 GB, free: 221.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/1.32, allocations: 15.42 kB / 0.82 GB, free: 221.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.324e-06/1.32, allocations: 0 / 0.82 GB, free: 221.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.003916/1.324, allocations: 1.095 MB / 0.8211 GB, free: 220.4 MB / 0.6511 GB