Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.033e-05, allocations: 6.5 kB / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 54.85 MB / 359.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.515/6.842, allocations: 2.625 GB / 2.976 GB, free: 111.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/6.843, allocations: 93.8 kB / 2.977 GB, free: 111.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.113/8.956, allocations: 0.4883 GB / 3.465 GB, free: 39.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.366e-06/8.956, allocations: 0 / 3.465 GB, free: 39.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.22e-05/8.956, allocations: 19.25 kB / 3.465 GB, free: 39.07 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006162/8.962, allocations: 1.7 MB / 3.467 GB, free: 38.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/8.962, allocations: 10 kB / 3.467 GB, free: 38.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002559/8.965, allocations: 224.5 kB / 3.467 GB, free: 37.91 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/8.966, allocations: 0.5997 MB / 3.467 GB, free: 37.29 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/8.967, allocations: 108.7 kB / 3.467 GB, free: 37.17 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/8.967, allocations: 67.81 kB / 3.467 GB, free: 37.11 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002401/8.969, allocations: 1.066 MB / 3.469 GB, free: 35.94 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/8.969, allocations: 3.938 kB / 3.469 GB, free: 35.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/8.969, allocations: 31.83 kB / 3.469 GB, free: 35.91 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/8.97, allocations: 40.98 kB / 3.469 GB, free: 35.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/8.973, allocations: 0.7981 MB / 3.469 GB, free: 35.07 MB / 490.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.01033/8.984, allocations: 5.53 MB / 3.475 GB, free: 29.25 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/8.986, allocations: 0.5311 MB / 3.475 GB, free: 28.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003557/8.986, allocations: 205.1 kB / 3.475 GB, free: 28.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4387/9.425, allocations: 53.54 MB / 3.528 GB, free: 58.81 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/9.425, allocations: 44.22 kB / 3.528 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=39): time 4.249e-06/9.425, allocations: 0 / 3.528 GB, free: 58.77 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.007871/9.433, allocations: 1.986 MB / 3.53 GB, free: 58.31 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/9.433, allocations: 185.9 kB / 3.53 GB, free: 58.09 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/9.434, allocations: 0.5421 MB / 3.53 GB, free: 57.96 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.229e-05/9.434, allocations: 35.77 kB / 3.531 GB, free: 57.93 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003081/9.434, allocations: 410.6 kB / 3.531 GB, free: 57.74 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001803/9.434, allocations: 164.7 kB / 3.531 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.871e-05/9.434, allocations: 15.14 kB / 3.531 GB, free: 57.66 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000147/9.435, allocations: 383.9 kB / 3.531 GB, free: 57.35 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/9.435, allocations: 221.2 kB / 3.532 GB, free: 57.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007074/9.436, allocations: 0.5972 MB / 3.532 GB, free: 56.86 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007002/9.437, allocations: 339.2 kB / 3.533 GB, free: 56.86 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/9.437, allocations: 7.016 kB / 3.533 GB, free: 56.86 MB / 0.4948 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002106/9.439, allocations: 0.8664 MB / 3.533 GB, free: 56.78 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.576e-05/9.439, allocations: 9.938 kB / 3.533 GB, free: 56.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.486e-05/9.439, allocations: 13.66 kB / 3.533 GB, free: 56.78 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004241/9.443, allocations: 276.9 kB / 3.534 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/9.445, allocations: 290.1 kB / 3.534 GB, free: 56.77 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001663/9.447, allocations: 2.016 MB / 3.536 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/9.448, allocations: 60.89 kB / 3.536 GB, free: 54.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/9.448, allocations: 42.28 kB / 3.536 GB, free: 54.93 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * 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: 1 * 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: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002478/9.448, allocations: 176.6 kB / 3.536 GB, free: 54.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/9.448, allocations: 67.03 kB / 3.536 GB, free: 54.79 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00296/9.451, allocations: 2.003 MB / 3.538 GB, free: 54.58 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-05/9.451, allocations: 27.98 kB / 3.538 GB, free: 54.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.598e-06/9.451, allocations: 1.312 kB / 3.538 GB, free: 54.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/9.451, allocations: 5.047 kB / 3.538 GB, free: 54.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00481/9.456, allocations: 2.971 MB / 3.541 GB, free: 54.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.101e-05/9.456, allocations: 5.688 kB / 3.541 GB, free: 54.14 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001184/9.457, allocations: 184.6 kB / 3.541 GB, free: 54.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/9.46, allocations: 296.2 kB / 3.542 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.604e-05/9.46, allocations: 15.39 kB / 3.542 GB, free: 54.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/9.462, allocations: 2.067 MB / 3.544 GB, free: 52.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.818e-06/9.462, allocations: 2.219 kB / 3.544 GB, free: 52.29 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/9.464, allocations: 1.934 MB / 3.546 GB, free: 51.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005793/9.465, allocations: 288.6 kB / 3.546 GB, free: 51.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001628/9.465, allocations: 18.33 kB / 3.546 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007562/9.466, allocations: 32.31 kB / 3.546 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/9.466, allocations: 35.5 kB / 3.546 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/9.466, allocations: 18.95 kB / 3.546 GB, free: 51.71 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0009088/9.467, allocations: 0.5437 MB / 3.546 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.7e-07/9.467, allocations: 2.297 kB / 3.546 GB, free: 51.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004962/9.472, allocations: 1.128 MB / 3.548 GB, free: 51.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008202/9.48, allocations: 1.585 MB / 3.549 GB, free: 51.49 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002454/9.483, allocations: 0.8736 MB / 3.55 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.381e-06/9.483, allocations: 0 / 3.55 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/9.484, allocations: 0.6197 MB / 3.551 GB, free: 51.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002509/9.487, allocations: 356.7 kB / 3.551 GB, free: 51.47 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003142/9.49, allocations: 1.608 MB / 3.552 GB, free: 51.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006444/9.491, allocations: 1.111 MB / 3.554 GB, free: 50.41 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.001206/9.492, allocations: 346.5 kB / 3.554 GB, free: 50.4 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/9.492, allocations: 66.27 kB / 3.554 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of SimCode: time 1.747e-06/9.492, allocations: 0 / 3.554 GB, free: 50.39 MB / 0.4948 GB Notification: Performance of Templates: time 0.08149/9.574, allocations: 41.07 MB / 3.594 GB, free: 48.86 MB / 0.4948 GB