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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 6.53e-05/6.588e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2451, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.944/6.189, allocations: 2.465 GB / 2.722 GB, free: 72.26 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/6.189, allocations: 88.08 kB / 2.722 GB, free: 72.21 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.223/7.412, allocations: 289 MB / 3.004 GB, free: 41.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.322e-06/7.412, allocations: 0 / 3.004 GB, free: 41.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/7.412, allocations: 7.25 kB / 3.004 GB, free: 41.73 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.002345/7.415, allocations: 0.8927 MB / 3.005 GB, free: 41.14 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/7.415, allocations: 9.625 kB / 3.005 GB, free: 41.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009414/7.416, allocations: 85.14 kB / 3.005 GB, free: 41.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004079/7.416, allocations: 302.2 kB / 3.006 GB, free: 40.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/7.416, allocations: 23.38 kB / 3.006 GB, free: 40.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/7.416, allocations: 33.33 kB / 3.006 GB, free: 40.83 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009186/7.417, allocations: 446.9 kB / 3.006 GB, free: 40.58 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/7.417, allocations: 7.844 kB / 3.006 GB, free: 40.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.841e-05/7.417, allocations: 15.88 kB / 3.006 GB, free: 40.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/7.417, allocations: 7.844 kB / 3.006 GB, free: 40.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007501/7.418, allocations: 316.4 kB / 3.007 GB, free: 40.47 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.002664/7.421, allocations: 2.625 MB / 3.009 GB, free: 38.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006671/7.421, allocations: 260.9 kB / 3.009 GB, free: 38.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000194/7.421, allocations: 94.8 kB / 3.009 GB, free: 38 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03142/7.453, allocations: 15.31 MB / 3.024 GB, free: 28.35 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.656e-05/7.453, allocations: 33.22 kB / 3.024 GB, free: 28.31 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.415e-06/7.453, allocations: 0 / 3.024 GB, free: 28.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=30): time 0.004872/7.458, allocations: 1.177 MB / 3.026 GB, free: 27.73 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/7.458, allocations: 54.62 kB / 3.026 GB, free: 27.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/7.458, allocations: 239.7 kB / 3.026 GB, free: 27.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/7.458, allocations: 33.61 kB / 3.026 GB, free: 27.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.827e-05/7.458, allocations: 199.3 kB / 3.026 GB, free: 27.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.151e-05/7.459, allocations: 103.9 kB / 3.026 GB, free: 27.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.096e-05/7.459, allocations: 7.812 kB / 3.026 GB, free: 27.24 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.326e-05/7.459, allocations: 345 kB / 3.027 GB, free: 26.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/7.459, allocations: 93.66 kB / 3.027 GB, free: 26.88 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002521/7.459, allocations: 214.5 kB / 3.027 GB, free: 26.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002818/7.459, allocations: 134.5 kB / 3.027 GB, free: 26.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/7.459, allocations: 0 / 3.027 GB, free: 26.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009027/7.46, allocations: 419.8 kB / 3.027 GB, free: 26.44 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/7.46, allocations: 8.906 kB / 3.027 GB, free: 26.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/7.46, allocations: 3.906 kB / 3.027 GB, free: 26.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004025/7.464, allocations: 272.6 kB / 3.028 GB, free: 26.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004171/7.465, allocations: 79.62 kB / 3.028 GB, free: 26.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/7.466, allocations: 1.866 MB / 3.03 GB, free: 24.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/7.467, allocations: 18.12 kB / 3.03 GB, free: 24.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-05/7.467, allocations: 22.03 kB / 3.03 GB, free: 24.49 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.0001297/7.467, allocations: 139.2 kB / 3.03 GB, free: 24.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-05/7.467, allocations: 34.06 kB / 3.03 GB, free: 24.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/7.468, allocations: 0.9359 MB / 3.031 GB, free: 23.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-05/7.468, allocations: 11.11 kB / 3.031 GB, free: 23.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.985e-06/7.468, allocations: 6.422 kB / 3.031 GB, free: 23.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/7.47, allocations: 1.111 MB / 3.032 GB, free: 23.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/7.472, allocations: 1.584 MB / 3.033 GB, free: 22.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.986e-06/7.472, allocations: 3.938 kB / 3.033 GB, free: 22.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002631/7.472, allocations: 53.41 kB / 3.033 GB, free: 22.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002031/7.474, allocations: 281.2 kB / 3.034 GB, free: 22.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.724e-05/7.474, allocations: 7.891 kB / 3.034 GB, free: 22.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005335/7.475, allocations: 0.6607 MB / 3.034 GB, free: 21.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.529e-06/7.475, allocations: 4.062 kB / 3.034 GB, free: 21.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/7.476, allocations: 0.9488 MB / 3.035 GB, free: 21.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/7.476, allocations: 138.5 kB / 3.035 GB, free: 20.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.448e-05/7.476, allocations: 7.953 kB / 3.035 GB, free: 20.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/7.477, allocations: 20.91 kB / 3.035 GB, free: 20.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/7.477, allocations: 17.95 kB / 3.035 GB, free: 20.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/7.477, allocations: 11.69 kB / 3.035 GB, free: 20.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003093/7.477, allocations: 236 kB / 3.036 GB, free: 20.74 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.78e-07/7.477, allocations: 0 / 3.036 GB, free: 20.74 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002455/7.48, allocations: 0.5369 MB / 3.036 GB, free: 20.66 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.003337/7.483, allocations: 0.8605 MB / 3.037 GB, free: 20.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/7.484, allocations: 0.4958 MB / 3.037 GB, free: 20.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.395e-06/7.484, allocations: 0 / 3.037 GB, free: 20.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/7.485, allocations: 291.6 kB / 3.038 GB, free: 20.05 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/7.486, allocations: 179.5 kB / 3.038 GB, free: 20.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/7.487, allocations: 0.7556 MB / 3.039 GB, free: 19.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/7.488, allocations: 0.8296 MB / 3.039 GB, free: 18.89 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004575/7.488, allocations: 115.3 kB / 3.04 GB, free: 18.88 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/7.488, allocations: 37.25 kB / 3.04 GB, free: 18.86 MB / 362.7 MB Notification: Performance of SimCode: time 1.59e-06/7.488, allocations: 0 / 3.04 GB, free: 18.86 MB / 362.7 MB Notification: Performance of Templates: time 0.03967/7.528, allocations: 23.7 MB / 3.063 GB, free: 3.988 MB / 362.7 MB