Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(Modelica): time 1.858/1.858, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.556e-05/2.564e-05, allocations: 4 kB / 249.6 MB, free: 15.28 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2511, allocations: 44.5 MB / 294.1 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8337/1.085, allocations: 361.8 MB / 0.6406 GB, free: 61.59 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.085, allocations: 85.59 kB / 0.6407 GB, free: 61.54 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4303/1.516, allocations: 80.57 MB / 0.7194 GB, free: 119.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.436e-06/1.516, allocations: 0 / 0.7194 GB, free: 119.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.365e-05/1.516, allocations: 8.625 kB / 0.7194 GB, free: 119.2 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0009124/1.517, allocations: 0.5921 MB / 0.7199 GB, free: 118.8 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/1.517, allocations: 7.812 kB / 0.7199 GB, free: 118.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/1.517, allocations: 41.12 kB / 0.72 GB, free: 118.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003868/1.517, allocations: 282.1 kB / 0.7203 GB, free: 118.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/1.517, allocations: 7.75 kB / 0.7203 GB, free: 118.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.007e-05/1.517, allocations: 15.59 kB / 0.7203 GB, free: 118.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000385/1.518, allocations: 169.8 kB / 0.7204 GB, free: 118.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004535/1.518, allocations: 258.3 kB / 0.7207 GB, free: 118.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.926e-05/1.518, allocations: 2.344 kB / 0.7207 GB, free: 118.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.93e-05/1.518, allocations: 3.219 kB / 0.7207 GB, free: 118.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/1.518, allocations: 7.562 kB / 0.7207 GB, free: 118.5 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/1.52, allocations: 1.376 MB / 0.722 GB, free: 117.5 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003162/1.52, allocations: 159 kB / 0.7222 GB, free: 117.5 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/1.521, allocations: 88.78 kB / 0.7223 GB, free: 117.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.572e-05/1.521, allocations: 1.359 kB / 0.7223 GB, free: 117.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/1.521, allocations: 37.03 kB / 0.7223 GB, free: 117.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.793e-06/1.521, allocations: 2.375 kB / 0.7223 GB, free: 117.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002048/1.523, allocations: 0.7466 MB / 0.723 GB, free: 117.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/1.523, allocations: 54.94 kB / 0.7231 GB, free: 117.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/1.523, allocations: 192.8 kB / 0.7233 GB, free: 117 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.955e-05/1.523, allocations: 33.14 kB / 0.7233 GB, free: 116.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-05/1.523, allocations: 238.4 kB / 0.7235 GB, free: 116.7 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.036e-05/1.523, allocations: 89.62 kB / 0.7236 GB, free: 116.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.762e-05/1.523, allocations: 0 / 0.7236 GB, free: 116.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.756e-05/1.523, allocations: 324.3 kB / 0.7239 GB, free: 116.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/1.524, allocations: 76.48 kB / 0.724 GB, free: 116.4 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002037/1.524, allocations: 166.8 kB / 0.7242 GB, free: 116.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002312/1.524, allocations: 106.4 kB / 0.7243 GB, free: 116.3 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.611e-06/1.524, allocations: 0 / 0.7243 GB, free: 116.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000828/1.525, allocations: 325.8 kB / 0.7246 GB, free: 116.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/1.525, allocations: 10.47 kB / 0.7246 GB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.525, allocations: 7.547 kB / 0.7246 GB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/1.525, allocations: 62.05 kB / 0.7247 GB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/1.526, allocations: 72.97 kB / 0.7247 GB, free: 116.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001955/1.528, allocations: 2.572 MB / 0.7272 GB, free: 113.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/1.528, allocations: 10.86 kB / 0.7272 GB, free: 113.8 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.296e-05/1.528, allocations: 15.47 kB / 0.7273 GB, free: 113.8 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001817/1.528, allocations: 119.4 kB / 0.7274 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.696e-05/1.528, allocations: 26.83 kB / 0.7274 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.085e-05/1.528, allocations: 34.02 kB / 0.7274 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-06/1.528, allocations: 0 / 0.7274 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.089e-06/1.528, allocations: 3.625 kB / 0.7274 GB, free: 113.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005984/1.529, allocations: 0.5448 MB / 0.728 GB, free: 113.2 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001151/1.53, allocations: 0.6323 MB / 0.7286 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.589e-06/1.53, allocations: 2.25 kB / 0.7286 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002861/1.531, allocations: 46.06 kB / 0.7286 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003054/1.531, allocations: 54.08 kB / 0.7287 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/1.531, allocations: 7.672 kB / 0.7287 GB, free: 112.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001109/1.532, allocations: 1.322 MB / 0.73 GB, free: 111.7 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/1.532, allocations: 3.969 kB / 0.73 GB, free: 111.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008191/1.533, allocations: 446.8 kB / 0.7304 GB, free: 111.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/1.533, allocations: 99.8 kB / 0.7305 GB, free: 111.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.663e-05/1.533, allocations: 12.05 kB / 0.7305 GB, free: 111.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003243/1.533, allocations: 6.781 kB / 0.7305 GB, free: 111.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/1.534, allocations: 17.84 kB / 0.7305 GB, free: 111.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/1.534, allocations: 14.05 kB / 0.7306 GB, free: 111.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001611/1.534, allocations: 154.6 kB / 0.7307 GB, free: 111.4 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.85e-07/1.534, allocations: 0 / 0.7307 GB, free: 111.4 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000674/1.534, allocations: 89.12 kB / 0.7308 GB, free: 111.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002482/1.535, allocations: 164.8 kB / 0.7309 GB, free: 111.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007896/1.536, allocations: 444.4 kB / 0.7314 GB, free: 111.1 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/1.536, allocations: 0 / 0.7314 GB, free: 111.1 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/1.536, allocations: 221.5 kB / 0.7316 GB, free: 111 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/1.537, allocations: 128.5 kB / 0.7317 GB, free: 110.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001144/1.538, allocations: 0.5026 MB / 0.7322 GB, free: 110.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/1.538, allocations: 0.7626 MB / 0.7329 GB, free: 110.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/1.538, allocations: 30.73 kB / 0.733 GB, free: 110.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.859e-06/1.538, allocations: 0 / 0.733 GB, free: 110.1 MB / 394.7 MB Notification: Performance of Templates: time 0.009482/1.548, allocations: 5.91 MB / 0.7387 GB, free: 109.9 MB / 394.7 MB