Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.718/1.718, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.493e-05, allocations: 4 kB / 225 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.47/5.681, allocations: 2.465 GB / 2.722 GB, free: 71.79 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/5.682, allocations: 88.19 kB / 2.722 GB, free: 71.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.229/6.91, allocations: 289 MB / 3.004 GB, free: 42.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.837e-06/6.91, allocations: 0 / 3.004 GB, free: 42.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.545e-05/6.91, allocations: 11.94 kB / 3.004 GB, free: 42.06 MB / 362.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.002474/6.913, allocations: 0.8891 MB / 3.005 GB, free: 41.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/6.913, allocations: 11.69 kB / 3.005 GB, free: 41.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009905/6.914, allocations: 82.62 kB / 3.005 GB, free: 41.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004362/6.914, allocations: 299.2 kB / 3.006 GB, free: 41.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/6.915, allocations: 27.31 kB / 3.006 GB, free: 41.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.686e-05/6.915, allocations: 31.17 kB / 3.006 GB, free: 41.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009363/6.916, allocations: 444.7 kB / 3.006 GB, free: 40.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/6.916, allocations: 0 / 3.006 GB, free: 40.92 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.8e-05/6.916, allocations: 15.88 kB / 3.006 GB, free: 40.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.771e-05/6.916, allocations: 17.45 kB / 3.006 GB, free: 40.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008767/6.917, allocations: 311.3 kB / 3.007 GB, free: 40.82 MB / 362.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.002761/6.919, allocations: 2.631 MB / 3.009 GB, free: 38.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006997/6.92, allocations: 261.5 kB / 3.009 GB, free: 38.39 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001984/6.92, allocations: 96.14 kB / 3.009 GB, free: 38.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03559/6.956, allocations: 15.31 MB / 3.024 GB, free: 28.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/6.956, allocations: 38.19 kB / 3.024 GB, free: 28.64 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.078e-06/6.956, allocations: 2.844 kB / 3.024 GB, free: 28.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.005168/6.961, allocations: 1.166 MB / 3.026 GB, free: 28.07 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/6.961, allocations: 58.06 kB / 3.026 GB, free: 28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/6.962, allocations: 242.3 kB / 3.026 GB, free: 27.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/6.962, allocations: 29.7 kB / 3.026 GB, free: 27.82 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/6.962, allocations: 253.9 kB / 3.026 GB, free: 27.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.466e-05/6.962, allocations: 108.5 kB / 3.026 GB, free: 27.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.152e-05/6.962, allocations: 8 kB / 3.026 GB, free: 27.51 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.161e-05/6.962, allocations: 322.7 kB / 3.027 GB, free: 27.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000217/6.962, allocations: 96.78 kB / 3.027 GB, free: 27.16 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000265/6.962, allocations: 209.5 kB / 3.027 GB, free: 26.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/6.963, allocations: 136.8 kB / 3.027 GB, free: 26.91 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.679e-06/6.963, allocations: 0 / 3.027 GB, free: 26.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009431/6.964, allocations: 410.6 kB / 3.027 GB, free: 26.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/6.964, allocations: 7.719 kB / 3.027 GB, free: 26.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/6.964, allocations: 3.875 kB / 3.027 GB, free: 26.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005117/6.969, allocations: 264.6 kB / 3.028 GB, free: 26.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/6.969, allocations: 85.25 kB / 3.028 GB, free: 26.66 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/6.971, allocations: 1.874 MB / 3.03 GB, free: 24.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004474/6.971, allocations: 19.62 kB / 3.03 GB, free: 24.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.402e-05/6.971, allocations: 25.88 kB / 3.03 GB, free: 24.77 MB / 362.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): 43 * 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: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001259/6.972, allocations: 132.7 kB / 3.03 GB, free: 24.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.419e-05/6.972, allocations: 34.62 kB / 3.03 GB, free: 24.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001336/6.973, allocations: 0.9431 MB / 3.031 GB, free: 24.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/6.973, allocations: 7.844 kB / 3.031 GB, free: 24.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/6.973, allocations: 0 / 3.031 GB, free: 24.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001095/6.974, allocations: 1.114 MB / 3.032 GB, free: 23.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/6.976, allocations: 1.583 MB / 3.033 GB, free: 22.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.953e-06/6.976, allocations: 0 / 3.033 GB, free: 22.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002982/6.977, allocations: 51.44 kB / 3.033 GB, free: 22.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002348/6.979, allocations: 284.8 kB / 3.034 GB, free: 22.41 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.297e-05/6.979, allocations: 8 kB / 3.034 GB, free: 22.4 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000558/6.98, allocations: 0.6648 MB / 3.034 GB, free: 21.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.521e-06/6.98, allocations: 3.938 kB / 3.034 GB, free: 21.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/6.981, allocations: 0.9384 MB / 3.035 GB, free: 21.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001771/6.981, allocations: 140.9 kB / 3.035 GB, free: 21.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/6.982, allocations: 11.61 kB / 3.035 GB, free: 21.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003415/6.982, allocations: 15.58 kB / 3.035 GB, free: 21.17 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.122e-05/6.982, allocations: 22.73 kB / 3.035 GB, free: 21.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/6.982, allocations: 7.812 kB / 3.035 GB, free: 21.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003116/6.982, allocations: 238.7 kB / 3.036 GB, free: 21.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.55e-07/6.982, allocations: 0 / 3.036 GB, free: 21.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002377/6.985, allocations: 0.5401 MB / 3.036 GB, free: 20.95 MB / 362.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.T) * 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 (30): * Single equations (assignments): 27 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.00361/6.988, allocations: 0.8667 MB / 3.037 GB, free: 20.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/6.989, allocations: 0.4886 MB / 3.037 GB, free: 20.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.343e-06/6.989, allocations: 0 / 3.037 GB, free: 20.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005348/6.99, allocations: 293.1 kB / 3.038 GB, free: 20.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00137/6.991, allocations: 184.9 kB / 3.038 GB, free: 20.29 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001475/6.993, allocations: 0.7886 MB / 3.039 GB, free: 19.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002915/6.993, allocations: 0.8331 MB / 3.039 GB, free: 19.09 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00012/6.993, allocations: 39.44 kB / 3.04 GB, free: 19.05 MB / 362.7 MB Notification: Performance of SimCode: time 1.802e-06/6.993, allocations: 0 / 3.04 GB, free: 19.05 MB / 362.7 MB Notification: Performance of Templates: time 0.02704/7.02, allocations: 18.26 MB / 3.057 GB, free: 8.469 MB / 362.7 MB