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.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.033e-05/3.07e-05, allocations: 0 / 225 MB, free: 2.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.2126, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.112/6.324, allocations: 2.466 GB / 2.724 GB, free: 62.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/6.325, allocations: 90.72 kB / 2.724 GB, free: 62.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.655/7.98, allocations: 418.9 MB / 3.133 GB, free: 2.184 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.754e-06/7.98, allocations: 0 / 3.133 GB, free: 2.184 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.708e-05/7.98, allocations: 12 kB / 3.133 GB, free: 2.172 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.004049/7.984, allocations: 1.184 MB / 3.134 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/7.984, allocations: 11.19 kB / 3.134 GB, free: 0.9414 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001779/7.986, allocations: 160.4 kB / 3.134 GB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005239/7.986, allocations: 328.8 kB / 3.135 GB, free: 444 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/7.987, allocations: 20.78 kB / 3.135 GB, free: 424 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.862e-05/7.987, allocations: 32 kB / 3.135 GB, free: 392 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/7.988, allocations: 0.5305 MB / 3.135 GB, free: 15.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.495e-05/7.988, allocations: 4 kB / 3.135 GB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.678e-05/7.988, allocations: 16 kB / 3.135 GB, free: 15.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/7.988, allocations: 8 kB / 3.135 GB, free: 15.8 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009527/7.989, allocations: 328.8 kB / 3.136 GB, free: 15.48 MB / 378.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.004331/7.994, allocations: 2.559 MB / 3.138 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008564/7.995, allocations: 280.6 kB / 3.138 GB, free: 12.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002588/7.995, allocations: 113.3 kB / 3.138 GB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3066/8.302, allocations: 30.87 MB / 3.169 GB, free: 36.95 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.275e-05/8.302, allocations: 43.38 kB / 3.169 GB, free: 36.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=27): time 3.173e-06/8.302, allocations: 0 / 3.169 GB, free: 36.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003899/8.306, allocations: 1.09 MB / 3.17 GB, free: 36.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/8.306, allocations: 56 kB / 3.17 GB, free: 36.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002987/8.306, allocations: 228.2 kB / 3.17 GB, free: 36.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/8.306, allocations: 33.2 kB / 3.17 GB, free: 36.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/8.306, allocations: 194.5 kB / 3.17 GB, free: 36.3 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.467e-05/8.306, allocations: 107.3 kB / 3.17 GB, free: 36.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.032e-05/8.306, allocations: 12.47 kB / 3.17 GB, free: 36.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.41e-05/8.306, allocations: 339.2 kB / 3.171 GB, free: 35.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/8.307, allocations: 90.17 kB / 3.171 GB, free: 35.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/8.307, allocations: 204.8 kB / 3.171 GB, free: 35.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/8.307, allocations: 127.9 kB / 3.171 GB, free: 35.8 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.567e-06/8.307, allocations: 7.562 kB / 3.171 GB, free: 35.8 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009042/8.308, allocations: 395.9 kB / 3.171 GB, free: 35.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/8.308, allocations: 7.375 kB / 3.171 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/8.308, allocations: 3.406 kB / 3.171 GB, free: 35.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000333/8.308, allocations: 61.2 kB / 3.172 GB, free: 35.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/8.309, allocations: 89.72 kB / 3.172 GB, free: 35.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/8.31, allocations: 2.416 MB / 3.174 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005144/8.311, allocations: 29.28 kB / 3.174 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/8.311, allocations: 25.19 kB / 3.174 GB, free: 33.36 MB / 378.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.0001522/8.311, allocations: 127.9 kB / 3.174 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.813e-05/8.311, allocations: 30.16 kB / 3.174 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/8.313, allocations: 0.8593 MB / 3.175 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/8.313, allocations: 16.33 kB / 3.175 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.5e-06/8.313, allocations: 3 kB / 3.175 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001025/8.314, allocations: 1.035 MB / 3.176 GB, free: 32.64 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/8.316, allocations: 1.483 MB / 3.177 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.41e-06/8.316, allocations: 3.906 kB / 3.177 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/8.316, allocations: 56.62 kB / 3.178 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/8.317, allocations: 70.22 kB / 3.178 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.001e-05/8.317, allocations: 10.8 kB / 3.178 GB, free: 32.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003591/8.317, allocations: 0.5852 MB / 3.178 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.426e-06/8.317, allocations: 7.688 kB / 3.178 GB, free: 31.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/8.319, allocations: 0.8103 MB / 3.179 GB, free: 31.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/8.319, allocations: 136.2 kB / 3.179 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.977e-05/8.319, allocations: 10.67 kB / 3.179 GB, free: 31.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005314/8.319, allocations: 43.03 kB / 3.179 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/8.319, allocations: 27.62 kB / 3.179 GB, free: 31.42 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/8.319, allocations: 14.14 kB / 3.179 GB, free: 31.42 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002919/8.32, allocations: 229.8 kB / 3.179 GB, free: 31.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.67e-07/8.32, allocations: 3.719 kB / 3.179 GB, free: 31.33 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003686/8.323, allocations: 0.8887 MB / 3.18 GB, free: 31.33 MB / 378.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.006953/8.33, allocations: 1.329 MB / 3.182 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/8.332, allocations: 477.5 kB / 3.182 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.746e-06/8.332, allocations: 0 / 3.182 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004471/8.332, allocations: 243 kB / 3.182 GB, free: 31.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/8.334, allocations: 175.5 kB / 3.182 GB, free: 31.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/8.335, allocations: 0.7375 MB / 3.183 GB, free: 30.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00029/8.335, allocations: 0.8365 MB / 3.184 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005972/8.336, allocations: 176.6 kB / 3.184 GB, free: 30.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.76e-05/8.336, allocations: 33.72 kB / 3.184 GB, free: 30.23 MB / 378.7 MB Notification: Performance of SimCode: time 1.761e-06/8.336, allocations: 0 / 3.184 GB, free: 30.23 MB / 378.7 MB Notification: Performance of Templates: time 0.05459/8.391, allocations: 31.54 MB / 3.215 GB, free: 29.02 MB / 378.7 MB