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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.941/1.941, allocations: 194.9 MB / 208.4 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.946e-05/2.96e-05, allocations: 3.938 kB / 255.4 MB, free: 3.191 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07704/0.07709, allocations: 44.5 MB / 299.9 MB, free: 6.633 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.937/6.014, allocations: 2.576 GB / 2.869 GB, free: 93.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/6.015, allocations: 88.09 kB / 2.869 GB, free: 93.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954/7.969, allocations: 429.7 MB / 3.288 GB, free: 34.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.267e-06/7.969, allocations: 0 / 3.288 GB, free: 34.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.394e-05/7.969, allocations: 11.59 kB / 3.288 GB, free: 34.3 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.003957/7.973, allocations: 1.205 MB / 3.29 GB, free: 33.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/7.973, allocations: 10 kB / 3.29 GB, free: 33.81 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001755/7.975, allocations: 163.5 kB / 3.29 GB, free: 33.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005072/7.976, allocations: 313.4 kB / 3.29 GB, free: 33.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.02e-05/7.976, allocations: 23.47 kB / 3.29 GB, free: 33.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.789e-05/7.976, allocations: 33.91 kB / 3.29 GB, free: 33.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/7.977, allocations: 0.538 MB / 3.291 GB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/7.977, allocations: 0 / 3.291 GB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/7.977, allocations: 15.7 kB / 3.291 GB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/7.977, allocations: 7.938 kB / 3.291 GB, free: 33.47 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008121/7.978, allocations: 325.2 kB / 3.291 GB, free: 33.47 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.003237/7.981, allocations: 2.574 MB / 3.293 GB, free: 31.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007802/7.982, allocations: 276.9 kB / 3.294 GB, free: 31.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/7.982, allocations: 107.5 kB / 3.294 GB, free: 31.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07289/8.055, allocations: 30.87 MB / 3.324 GB, free: 29.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/8.055, allocations: 37.72 kB / 3.324 GB, free: 29.52 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.028e-06/8.055, allocations: 1.969 kB / 3.324 GB, free: 29.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004168/8.06, allocations: 1.087 MB / 3.325 GB, free: 29.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/8.06, allocations: 59.19 kB / 3.325 GB, free: 29.13 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/8.06, allocations: 232.5 kB / 3.325 GB, free: 29.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.859e-05/8.06, allocations: 29.08 kB / 3.325 GB, free: 29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/8.06, allocations: 253.2 kB / 3.326 GB, free: 28.81 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.697e-05/8.06, allocations: 109.9 kB / 3.326 GB, free: 28.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/8.06, allocations: 13.44 kB / 3.326 GB, free: 28.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/8.061, allocations: 323.5 kB / 3.326 GB, free: 28.43 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002054/8.061, allocations: 91.58 kB / 3.326 GB, free: 28.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/8.061, allocations: 201.2 kB / 3.326 GB, free: 28.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/8.061, allocations: 127.1 kB / 3.326 GB, free: 28.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.73e-06/8.061, allocations: 0 / 3.326 GB, free: 28.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008998/8.062, allocations: 393.2 kB / 3.327 GB, free: 28.21 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/8.062, allocations: 8.719 kB / 3.327 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/8.062, allocations: 3.562 kB / 3.327 GB, free: 28.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003255/8.063, allocations: 55.03 kB / 3.327 GB, free: 28.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004663/8.063, allocations: 94.06 kB / 3.327 GB, free: 28.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/8.065, allocations: 2.422 MB / 3.329 GB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/8.066, allocations: 31.97 kB / 3.329 GB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/8.066, allocations: 21.36 kB / 3.329 GB, free: 25.83 MB / 426.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.0001794/8.066, allocations: 128.9 kB / 3.33 GB, free: 25.72 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/8.066, allocations: 35.05 kB / 3.33 GB, free: 25.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/8.067, allocations: 0.8627 MB / 3.33 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/8.067, allocations: 12.52 kB / 3.33 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.182e-06/8.067, allocations: 0 / 3.33 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/8.069, allocations: 1.03 MB / 3.331 GB, free: 25.1 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/8.071, allocations: 1.496 MB / 3.333 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.837e-06/8.071, allocations: 0 / 3.333 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003257/8.071, allocations: 54.67 kB / 3.333 GB, free: 24.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004428/8.072, allocations: 73.3 kB / 3.333 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/8.072, allocations: 7.75 kB / 3.333 GB, free: 24.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005113/8.072, allocations: 0.5899 MB / 3.334 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.329e-06/8.072, allocations: 0 / 3.334 GB, free: 24.15 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/8.073, allocations: 0.8135 MB / 3.334 GB, free: 23.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00019/8.074, allocations: 135.5 kB / 3.335 GB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.031e-05/8.074, allocations: 7.625 kB / 3.335 GB, free: 23.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005637/8.074, allocations: 45.73 kB / 3.335 GB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.431e-05/8.074, allocations: 30.05 kB / 3.335 GB, free: 23.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.783e-05/8.074, allocations: 20.47 kB / 3.335 GB, free: 23.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003265/8.075, allocations: 224.7 kB / 3.335 GB, free: 23.75 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.25e-07/8.075, allocations: 1.875 kB / 3.335 GB, free: 23.75 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003529/8.078, allocations: 0.895 MB / 3.336 GB, free: 23.63 MB / 426.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.007178/8.086, allocations: 1.335 MB / 3.337 GB, free: 23.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001195/8.087, allocations: 464.4 kB / 3.337 GB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/8.087, allocations: 3.781 kB / 3.337 GB, free: 23.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/8.087, allocations: 243 kB / 3.338 GB, free: 23.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/8.088, allocations: 185.6 kB / 3.338 GB, free: 23.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/8.09, allocations: 0.7561 MB / 3.339 GB, free: 22.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005259/8.091, allocations: 0.829 MB / 3.339 GB, free: 22.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/8.091, allocations: 30.53 kB / 3.339 GB, free: 22.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.677e-06/8.091, allocations: 0 / 3.339 GB, free: 22.2 MB / 426.7 MB Notification: Performance of Templates: time 0.04108/8.132, allocations: 26.1 MB / 3.365 GB, free: 19.69 MB / 426.7 MB