Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 2.078/2.078, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.524e-05/2.528e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08395/0.084, allocations: 47.58 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.997/7.081, allocations: 2.742 GB / 3.051 GB, free: 26.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004916/7.081, allocations: 98.3 kB / 3.051 GB, free: 26.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104/9.185, allocations: 426.9 MB / 3.468 GB, free: 42.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.057e-06/9.185, allocations: 0 / 3.468 GB, free: 42.78 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.399e-05/9.185, allocations: 6.688 kB / 3.468 GB, free: 42.78 MB / 426.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.004116/9.189, allocations: 1.205 MB / 3.469 GB, free: 42.12 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/9.189, allocations: 10.53 kB / 3.469 GB, free: 42.12 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/9.191, allocations: 156.7 kB / 3.47 GB, free: 42.11 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005074/9.192, allocations: 321.9 kB / 3.47 GB, free: 41.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/9.192, allocations: 26 kB / 3.47 GB, free: 41.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/9.192, allocations: 37.53 kB / 3.47 GB, free: 41.9 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/9.193, allocations: 0.5329 MB / 3.47 GB, free: 41.78 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/9.193, allocations: 0 / 3.47 GB, free: 41.78 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.759e-05/9.194, allocations: 16.47 kB / 3.47 GB, free: 41.78 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/9.194, allocations: 7.312 kB / 3.47 GB, free: 41.78 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007876/9.194, allocations: 321.8 kB / 3.471 GB, free: 41.78 MB / 426.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.003342/9.198, allocations: 2.573 MB / 3.473 GB, free: 39.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008092/9.199, allocations: 275.3 kB / 3.474 GB, free: 39.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/9.199, allocations: 114.7 kB / 3.474 GB, free: 39.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0738/9.273, allocations: 30.87 MB / 3.504 GB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/9.273, allocations: 37.59 kB / 3.504 GB, free: 21.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.146e-06/9.273, allocations: 0 / 3.504 GB, free: 21.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.003746/9.276, allocations: 1.098 MB / 3.505 GB, free: 21.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/9.277, allocations: 51.41 kB / 3.505 GB, free: 21.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002778/9.277, allocations: 231.2 kB / 3.505 GB, free: 20.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.72e-05/9.277, allocations: 32.42 kB / 3.505 GB, free: 20.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.626e-05/9.277, allocations: 191.1 kB / 3.505 GB, free: 20.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.709e-05/9.277, allocations: 110.2 kB / 3.505 GB, free: 20.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/9.277, allocations: 7.562 kB / 3.505 GB, free: 20.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.243e-05/9.277, allocations: 338.3 kB / 3.506 GB, free: 20.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002117/9.277, allocations: 92.02 kB / 3.506 GB, free: 20.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002662/9.278, allocations: 205.3 kB / 3.506 GB, free: 20.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002795/9.278, allocations: 121.8 kB / 3.506 GB, free: 20.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/9.278, allocations: 0 / 3.506 GB, free: 20.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009252/9.279, allocations: 397.3 kB / 3.507 GB, free: 20.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/9.279, allocations: 15.28 kB / 3.507 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/9.279, allocations: 3.281 kB / 3.507 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000341/9.279, allocations: 63.38 kB / 3.507 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000453/9.28, allocations: 88.86 kB / 3.507 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002439/9.282, allocations: 2.421 MB / 3.509 GB, free: 33.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004098/9.283, allocations: 29.98 kB / 3.509 GB, free: 33.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.962e-05/9.283, allocations: 22.14 kB / 3.509 GB, free: 33.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * 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 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001921/9.283, allocations: 123.3 kB / 3.509 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.059e-05/9.283, allocations: 31.25 kB / 3.509 GB, free: 33.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001217/9.284, allocations: 0.8619 MB / 3.51 GB, free: 33.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/9.284, allocations: 11.17 kB / 3.51 GB, free: 33.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.894e-06/9.284, allocations: 11.8 kB / 3.51 GB, free: 33.43 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001137/9.286, allocations: 1.037 MB / 3.511 GB, free: 32.7 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/9.288, allocations: 1.483 MB / 3.513 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.2e-06/9.288, allocations: 0 / 3.513 GB, free: 31.84 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003294/9.288, allocations: 59.52 kB / 3.513 GB, free: 31.83 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004554/9.289, allocations: 74.59 kB / 3.513 GB, free: 31.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/9.289, allocations: 11.59 kB / 3.513 GB, free: 31.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005093/9.289, allocations: 0.5849 MB / 3.513 GB, free: 31.24 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/9.289, allocations: 3.844 kB / 3.513 GB, free: 31.24 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/9.29, allocations: 0.8134 MB / 3.514 GB, free: 30.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001919/9.291, allocations: 136.1 kB / 3.514 GB, free: 30.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.647e-05/9.291, allocations: 7.188 kB / 3.514 GB, free: 30.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004944/9.291, allocations: 54.08 kB / 3.514 GB, free: 30.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/9.291, allocations: 21.33 kB / 3.514 GB, free: 30.65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.273e-05/9.291, allocations: 11.81 kB / 3.514 GB, free: 30.65 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000322/9.292, allocations: 235 kB / 3.515 GB, free: 30.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.87e-07/9.292, allocations: 0 / 3.515 GB, free: 30.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004286/9.296, allocations: 0.8919 MB / 3.515 GB, free: 30.34 MB / 442.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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00719/9.303, allocations: 1.338 MB / 3.517 GB, free: 30.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001253/9.304, allocations: 469 kB / 3.517 GB, free: 29.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.818e-06/9.304, allocations: 8.062 kB / 3.517 GB, free: 29.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000438/9.305, allocations: 245 kB / 3.517 GB, free: 29.69 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/9.306, allocations: 175.6 kB / 3.518 GB, free: 29.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/9.308, allocations: 0.717 MB / 3.518 GB, free: 29.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/9.308, allocations: 0.8361 MB / 3.519 GB, free: 28.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005799/9.309, allocations: 186.3 kB / 3.519 GB, free: 28.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.437e-05/9.309, allocations: 34.23 kB / 3.519 GB, free: 28.53 MB / 442.7 MB Notification: Performance of SimCode: time 1.765e-06/9.309, allocations: 0 / 3.519 GB, free: 28.53 MB / 442.7 MB Notification: Performance of Templates: time 0.05553/9.364, allocations: 31.53 MB / 3.55 GB, free: 21.08 MB / 442.7 MB