Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.775e-05/2.794e-05, allocations: 2.406 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07815/0.0782, allocations: 44.51 MB / 299.9 MB, free: 6.605 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.016/6.094, allocations: 2.576 GB / 2.869 GB, free: 15.56 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/6.095, allocations: 86.88 kB / 2.869 GB, free: 15.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.92/8.015, allocations: 429.6 MB / 3.288 GB, free: 41.86 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.814e-06/8.015, allocations: 0 / 3.288 GB, free: 41.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.327e-05/8.015, allocations: 7.984 kB / 3.288 GB, free: 41.86 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.00424/8.019, allocations: 1.25 MB / 3.29 GB, free: 41.12 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/8.019, allocations: 9.5 kB / 3.29 GB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/8.021, allocations: 162.6 kB / 3.29 GB, free: 41.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/8.021, allocations: 313.9 kB / 3.29 GB, free: 40.83 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.963e-05/8.022, allocations: 31.78 kB / 3.29 GB, free: 40.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.662e-05/8.022, allocations: 34.92 kB / 3.29 GB, free: 40.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/8.023, allocations: 0.5415 MB / 3.291 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/8.023, allocations: 0 / 3.291 GB, free: 40.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.978e-05/8.023, allocations: 16.56 kB / 3.291 GB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/8.023, allocations: 7.656 kB / 3.291 GB, free: 40.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/8.025, allocations: 473.5 kB / 3.291 GB, free: 40.41 MB / 410.7 MB 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.003313/8.028, allocations: 2.624 MB / 3.294 GB, free: 38.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/8.03, allocations: 416.8 kB / 3.294 GB, free: 38.04 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002601/8.03, allocations: 130.3 kB / 3.294 GB, free: 37.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008055/8.031, allocations: 0.5613 MB / 3.295 GB, free: 37.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.151e-05/8.031, allocations: 38.52 kB / 3.295 GB, free: 37.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 2.893e-06/8.031, allocations: 3.312 kB / 3.295 GB, free: 37.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.004419/8.035, allocations: 1.24 MB / 3.296 GB, free: 36.87 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/8.035, allocations: 59.06 kB / 3.296 GB, free: 36.8 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/8.036, allocations: 226 kB / 3.296 GB, free: 36.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.761e-05/8.036, allocations: 33.42 kB / 3.296 GB, free: 36.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.859e-05/8.036, allocations: 241.5 kB / 3.296 GB, free: 36.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.223e-05/8.036, allocations: 115.9 kB / 3.297 GB, free: 36.32 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.32e-05/8.036, allocations: 7 kB / 3.297 GB, free: 36.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.02e-05/8.036, allocations: 326.5 kB / 3.297 GB, free: 36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/8.036, allocations: 103.2 kB / 3.297 GB, free: 35.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/8.036, allocations: 200.9 kB / 3.297 GB, free: 35.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002741/8.037, allocations: 134.8 kB / 3.297 GB, free: 35.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.235e-06/8.037, allocations: 2.969 kB / 3.297 GB, free: 35.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009731/8.038, allocations: 414.5 kB / 3.298 GB, free: 35.56 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/8.038, allocations: 3.938 kB / 3.298 GB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/8.038, allocations: 7.547 kB / 3.298 GB, free: 35.56 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000448/8.038, allocations: 78.73 kB / 3.298 GB, free: 35.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004838/8.039, allocations: 94.16 kB / 3.298 GB, free: 35.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/8.04, allocations: 2.368 MB / 3.3 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/8.041, allocations: 49.73 kB / 3.3 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.781e-05/8.041, allocations: 16.84 kB / 3.3 GB, free: 33.11 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001248/8.041, allocations: 130.1 kB / 3.3 GB, free: 32.99 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/8.041, allocations: 31.48 kB / 3.3 GB, free: 32.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00175/8.043, allocations: 1.343 MB / 3.302 GB, free: 32.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/8.043, allocations: 19.58 kB / 3.302 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.758e-06/8.043, allocations: 0 / 3.302 GB, free: 32.31 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001391/8.044, allocations: 1.428 MB / 3.303 GB, free: 31.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002673/8.047, allocations: 2.096 MB / 3.305 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.478e-06/8.047, allocations: 0 / 3.305 GB, free: 30.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/8.048, allocations: 107.9 kB / 3.305 GB, free: 30.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004483/8.048, allocations: 69.12 kB / 3.305 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-05/8.048, allocations: 12.84 kB / 3.305 GB, free: 30.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003484/8.049, allocations: 0.5858 MB / 3.306 GB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.734e-06/8.049, allocations: 3.5 kB / 3.306 GB, free: 29.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/8.05, allocations: 1.18 MB / 3.307 GB, free: 29.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/8.05, allocations: 169.3 kB / 3.307 GB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/8.05, allocations: 4 kB / 3.307 GB, free: 28.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004763/8.051, allocations: 52.89 kB / 3.307 GB, free: 28.88 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/8.051, allocations: 32.75 kB / 3.307 GB, free: 28.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/8.051, allocations: 15.31 kB / 3.307 GB, free: 28.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002865/8.051, allocations: 229.8 kB / 3.308 GB, free: 28.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.83e-07/8.051, allocations: 3.406 kB / 3.308 GB, free: 28.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003758/8.055, allocations: 0.8907 MB / 3.308 GB, free: 28.57 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006811/8.062, allocations: 1.337 MB / 3.31 GB, free: 28.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00131/8.063, allocations: 0.5678 MB / 3.31 GB, free: 28.02 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/8.063, allocations: 0 / 3.31 GB, free: 28.02 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000597/8.064, allocations: 377 kB / 3.311 GB, free: 27.86 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/8.065, allocations: 175.3 kB / 3.311 GB, free: 27.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001818/8.067, allocations: 0.9941 MB / 3.312 GB, free: 27.37 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/8.068, allocations: 0.8886 MB / 3.313 GB, free: 26.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/8.068, allocations: 35.16 kB / 3.313 GB, free: 26.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.728e-06/8.068, allocations: 0 / 3.313 GB, free: 26.66 MB / 410.7 MB Notification: Performance of Templates: time 0.04257/8.11, allocations: 27.61 MB / 3.34 GB, free: 20.12 MB / 410.7 MB