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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.532/2.532, allocations: 234.9 MB / 250.1 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.736e-05/4.751e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5288/0.5288, allocations: 54.85 MB / 362.9 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.08924/0.6181, allocations: 31.98 MB / 394.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05158/0.6698, allocations: 16.22 MB / 411.1 MB, free: 13.56 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.6714, allocations: 27.75 kB / 411.1 MB, free: 13.53 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.6736, allocations: 362.2 kB / 411.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02349/0.6971, allocations: 3.548 MB / 415 MB, free: 9.617 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01218/0.7094, allocations: 1.889 MB / 416.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.00388/0.7133, allocations: 1.001 MB / 417.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.7146, allocations: 319.4 kB / 418.2 MB, free: 6.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02563/0.7402, allocations: 6.179 MB / 424.4 MB, free: 228 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03449/0.7748, allocations: 8.726 MB / 433.1 MB, free: 7.492 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02967/0.8045, allocations: 6.559 MB / 439.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004088/0.8087, allocations: 420 kB / 440.1 MB, free: 0.5156 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008248/0.8096, allocations: 219.3 kB / 440.3 MB, free: 308 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006488/0.8103, allocations: 92 kB / 440.4 MB, free: 216 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01352/0.8238, allocations: 3.165 MB / 443.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8239, allocations: 4 kB / 443.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.607e-06/0.8239, allocations: 0 / 443.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.974e-05/0.824, allocations: 0 / 443.5 MB, free: 13.03 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.008403/0.8324, allocations: 1.4 MB / 444.9 MB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.8325, allocations: 8.031 kB / 444.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003979/0.8365, allocations: 218.9 kB / 445.2 MB, free: 11.36 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.8389, allocations: 0.5394 MB / 445.7 MB, free: 10.78 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002489/0.8392, allocations: 108.7 kB / 445.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002545/0.8395, allocations: 63.98 kB / 445.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004988/0.8445, allocations: 1.056 MB / 446.9 MB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.782e-05/0.8446, allocations: 4 kB / 446.9 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/0.8449, allocations: 31.98 kB / 447 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001527/0.8451, allocations: 48.92 kB / 447 MB, free: 9.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004721/0.8498, allocations: 0.8116 MB / 447.8 MB, free: 8.535 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.015/0.8649, allocations: 5.546 MB / 453.4 MB, free: 2.625 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/0.8682, allocations: 0.5232 MB / 453.9 MB, free: 2.074 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5625/1.431, allocations: 54.06 MB / 0.496 GB, free: 123.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/1.431, allocations: 53 kB / 0.4961 GB, free: 123.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=39): time 3.356e-06/1.431, allocations: 0 / 0.4961 GB, free: 123.6 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.00914/1.44, allocations: 2.103 MB / 0.4981 GB, free: 122.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.713e-05/1.44, allocations: 183.9 kB / 0.4983 GB, free: 122.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008869/1.441, allocations: 0.5497 MB / 0.4989 GB, free: 122.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.022e-05/1.441, allocations: 37.67 kB / 0.4989 GB, free: 122.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002848/1.441, allocations: 442.2 kB / 0.4993 GB, free: 121.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/1.442, allocations: 164 kB / 0.4995 GB, free: 121.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/1.442, allocations: 19.61 kB / 0.4995 GB, free: 121.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/1.442, allocations: 350.5 kB / 0.4998 GB, free: 121.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006061/1.442, allocations: 222.4 kB / 0.5 GB, free: 121.1 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007529/1.443, allocations: 0.6089 MB / 0.5006 GB, free: 120.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007649/1.444, allocations: 342.4 kB / 0.501 GB, free: 120.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.406e-06/1.444, allocations: 3.969 kB / 0.501 GB, free: 120.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002047/1.446, allocations: 0.8801 MB / 0.5018 GB, free: 119.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.446, allocations: 17.03 kB / 0.5018 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/1.446, allocations: 11.69 kB / 0.5018 GB, free: 119.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005416/1.452, allocations: 268.8 kB / 0.5021 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002303/1.454, allocations: 290.6 kB / 0.5024 GB, free: 119.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001937/1.456, allocations: 2.022 MB / 0.5044 GB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.457, allocations: 61.05 kB / 0.5044 GB, free: 117.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.353e-05/1.457, allocations: 48.08 kB / 0.5045 GB, free: 117.5 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.000513/1.458, allocations: 275.5 kB / 0.5047 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/1.458, allocations: 64.94 kB / 0.5048 GB, free: 117.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/1.461, allocations: 2.019 MB / 0.5068 GB, free: 115.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.113e-05/1.461, allocations: 23.95 kB / 0.5068 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.461, allocations: 4 kB / 0.5068 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/1.461, allocations: 3.953 kB / 0.5068 GB, free: 115.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004396/1.465, allocations: 2.98 MB / 0.5097 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.777e-06/1.466, allocations: 0 / 0.5097 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.467, allocations: 183.8 kB / 0.5099 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/1.47, allocations: 310.5 kB / 0.5102 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.429e-05/1.47, allocations: 19.95 kB / 0.5102 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/1.472, allocations: 2.075 MB / 0.5122 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.472, allocations: 4.031 kB / 0.5122 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00284/1.475, allocations: 1.955 MB / 0.5141 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005325/1.476, allocations: 275.4 kB / 0.5144 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001908/1.476, allocations: 12 kB / 0.5144 GB, free: 107.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008078/1.477, allocations: 33.62 kB / 0.5144 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.477, allocations: 41.61 kB / 0.5145 GB, free: 107.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.161e-05/1.477, allocations: 16 kB / 0.5145 GB, free: 107.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009171/1.478, allocations: 0.5537 MB / 0.515 GB, free: 106.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/1.478, allocations: 0 / 0.515 GB, free: 106.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003663/1.481, allocations: 1.043 MB / 0.516 GB, free: 105.9 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.006326/1.488, allocations: 1.202 MB / 0.5172 GB, free: 104.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002796/1.491, allocations: 0.8995 MB / 0.5181 GB, free: 104 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.491, allocations: 0 / 0.5181 GB, free: 104 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001801/1.492, allocations: 0.6195 MB / 0.5187 GB, free: 103.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.496, allocations: 367.1 kB / 0.5191 GB, free: 103.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004326/1.5, allocations: 2.61 MB / 0.5216 GB, free: 100.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006286/1.501, allocations: 1.113 MB / 0.5227 GB, free: 99.31 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002817/1.501, allocations: 67.44 kB / 0.5228 GB, free: 99.25 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/1.501, allocations: 0 / 0.5228 GB, free: 99.25 MB / 426.7 MB Notification: Performance of Templates: time 0.06709/1.568, allocations: 37.93 MB / 0.5598 GB, free: 61.3 MB / 426.7 MB