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.602/2.602, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.783e-05/2.813e-05, allocations: 3.125 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4488/0.4488, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.0529/0.5018, allocations: 31.98 MB / 394.9 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.03255/0.5344, allocations: 16.23 MB / 411.1 MB, free: 13.48 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001202/0.5357, allocations: 27.75 kB / 411.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001373/0.5371, allocations: 358.2 kB / 411.5 MB, free: 13.1 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01418/0.5513, allocations: 3.55 MB / 415 MB, free: 9.543 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007542/0.5588, allocations: 1.885 MB / 416.9 MB, free: 7.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002583/0.5614, allocations: 0.9971 MB / 417.9 MB, free: 6.652 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007602/0.5622, allocations: 327.4 kB / 418.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01672/0.579, allocations: 6.187 MB / 424.4 MB, free: 144 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02096/0.6, allocations: 8.718 MB / 433.1 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01915/0.6192, allocations: 6.556 MB / 439.7 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00271/0.6219, allocations: 420 kB / 440.1 MB, free: 456 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004737/0.6224, allocations: 215.3 kB / 440.3 MB, free: 240 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003719/0.6228, allocations: 92 kB / 440.4 MB, free: 148 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008721/0.6316, allocations: 3.177 MB / 443.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.6316, allocations: 0 / 443.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.6316, allocations: 4 kB / 443.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.857e-05/0.6317, allocations: 0 / 443.6 MB, free: 12.96 MB / 378.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.005059/0.6367, allocations: 1.396 MB / 445 MB, free: 11.51 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.995e-05/0.6368, allocations: 8.031 kB / 445 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.6389, allocations: 218.9 kB / 445.2 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.6402, allocations: 0.5354 MB / 445.7 MB, free: 10.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001551/0.6403, allocations: 108.7 kB / 445.8 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001596/0.6405, allocations: 60 kB / 445.9 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/0.6435, allocations: 1.064 MB / 447 MB, free: 9.359 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.698e-05/0.6436, allocations: 4 kB / 447 MB, free: 9.355 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.6437, allocations: 31.92 kB / 447 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.861e-05/0.6438, allocations: 40.98 kB / 447 MB, free: 9.285 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/0.6465, allocations: 0.8155 MB / 447.8 MB, free: 8.465 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.009268/0.6558, allocations: 5.55 MB / 453.4 MB, free: 2.551 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.6577, allocations: 0.5193 MB / 453.9 MB, free: 2.004 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.535/1.193, allocations: 54.06 MB / 0.4961 GB, free: 123.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.709e-05/1.193, allocations: 40.91 kB / 0.4961 GB, free: 123.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 3.777e-06/1.193, allocations: 0 / 0.4961 GB, free: 123.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.008861/1.202, allocations: 2.101 MB / 0.4982 GB, free: 122.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/1.202, allocations: 183.9 kB / 0.4983 GB, free: 122.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008975/1.203, allocations: 0.5531 MB / 0.4989 GB, free: 122 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.469e-05/1.203, allocations: 33.61 kB / 0.4989 GB, free: 121.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003035/1.203, allocations: 410.4 kB / 0.4993 GB, free: 121.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/1.203, allocations: 167 kB / 0.4995 GB, free: 121.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/1.203, allocations: 19.77 kB / 0.4995 GB, free: 121.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/1.203, allocations: 383 kB / 0.4998 GB, free: 121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005724/1.204, allocations: 231.9 kB / 0.5001 GB, free: 120.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007663/1.205, allocations: 0.6024 MB / 0.5007 GB, free: 120.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007641/1.206, allocations: 349.4 kB / 0.501 GB, free: 120.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.205e-06/1.206, allocations: 3.844 kB / 0.501 GB, free: 120.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002142/1.208, allocations: 0.9112 MB / 0.5019 GB, free: 119.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/1.208, allocations: 12.38 kB / 0.5019 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.881e-05/1.208, allocations: 15.28 kB / 0.5019 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00535/1.213, allocations: 275.2 kB / 0.5022 GB, free: 119.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/1.216, allocations: 288.5 kB / 0.5024 GB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.218, allocations: 2.035 MB / 0.5044 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001202/1.219, allocations: 54.14 kB / 0.5045 GB, free: 117.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.878e-05/1.219, allocations: 49.33 kB / 0.5045 GB, free: 117.4 MB / 426.7 MB 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],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.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.0005641/1.22, allocations: 265 kB / 0.5048 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002057/1.22, allocations: 74.06 kB / 0.5049 GB, free: 117.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003076/1.223, allocations: 2.017 MB / 0.5068 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.944e-05/1.223, allocations: 27.95 kB / 0.5068 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.223, allocations: 0 / 0.5068 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/1.223, allocations: 3.953 kB / 0.5069 GB, free: 115.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/1.228, allocations: 2.984 MB / 0.5098 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/1.228, allocations: 0 / 0.5098 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/1.229, allocations: 183.8 kB / 0.5099 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002799/1.232, allocations: 307.8 kB / 0.5102 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.287e-05/1.232, allocations: 11.95 kB / 0.5102 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/1.234, allocations: 2.079 MB / 0.5123 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.234, allocations: 7.406 kB / 0.5123 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002925/1.237, allocations: 1.947 MB / 0.5142 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/1.238, allocations: 279.4 kB / 0.5145 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/1.238, allocations: 12 kB / 0.5145 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008747/1.239, allocations: 39.94 kB / 0.5145 GB, free: 107.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.441e-05/1.239, allocations: 37.55 kB / 0.5145 GB, free: 107.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.211e-05/1.239, allocations: 23.62 kB / 0.5146 GB, free: 107.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00094/1.24, allocations: 0.5498 MB / 0.5151 GB, free: 106.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.5e-07/1.24, allocations: 0 / 0.5151 GB, free: 106.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003669/1.244, allocations: 1.048 MB / 0.5161 GB, free: 105.8 MB / 426.7 MB 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.006726/1.25, allocations: 1.203 MB / 0.5173 GB, free: 104.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003212/1.254, allocations: 0.9034 MB / 0.5182 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/1.254, allocations: 4 kB / 0.5182 GB, free: 103.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/1.256, allocations: 0.6279 MB / 0.5188 GB, free: 103.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.259, allocations: 358.9 kB / 0.5191 GB, free: 102.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004464/1.264, allocations: 2.569 MB / 0.5216 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/1.264, allocations: 1.116 MB / 0.5227 GB, free: 99.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001329/1.266, allocations: 350.3 kB / 0.5231 GB, free: 98.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.266, allocations: 67.42 kB / 0.5231 GB, free: 98.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/1.266, allocations: 0 / 0.5231 GB, free: 98.77 MB / 426.7 MB Notification: Performance of Templates: time 0.07201/1.338, allocations: 34.49 MB / 0.5568 GB, free: 64.32 MB / 426.7 MB