Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.408/2.408, allocations: 234.9 MB / 250.1 MB, free: 11 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.155e-05/3.16e-05, allocations: 0 / 308 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3639, allocations: 54.87 MB / 362.9 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.06043/0.4243, allocations: 31.97 MB / 394.8 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04243/0.4668, allocations: 16.22 MB / 411.1 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001373/0.4683, allocations: 27.75 kB / 411.1 MB, free: 11.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.4701, allocations: 362.2 kB / 411.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01831/0.4885, allocations: 3.558 MB / 415 MB, free: 7.637 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007583/0.4961, allocations: 1.877 MB / 416.9 MB, free: 5.754 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002705/0.4988, allocations: 0.9621 MB / 417.8 MB, free: 4.789 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009112/0.4998, allocations: 343.3 kB / 418.2 MB, free: 4.453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0167/0.5165, allocations: 6.195 MB / 424.4 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02149/0.5381, allocations: 8.726 MB / 433.1 MB, free: 5.523 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01941/0.5575, allocations: 6.708 MB / 439.8 MB, free: 14.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002899/0.5605, allocations: 424 kB / 440.2 MB, free: 14.39 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006085/0.5611, allocations: 227.3 kB / 440.4 MB, free: 14.17 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.5615, allocations: 92 kB / 440.5 MB, free: 14.08 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008855/0.5704, allocations: 3.27 MB / 443.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5705, allocations: 0 / 443.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5705, allocations: 0 / 443.8 MB, free: 10.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.457e-05/0.5705, allocations: 0 / 443.8 MB, free: 10.8 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.005382/0.5759, allocations: 1.439 MB / 445.2 MB, free: 9.312 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.576, allocations: 8.031 kB / 445.2 MB, free: 9.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003381/0.5794, allocations: 310.8 kB / 445.5 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.581, allocations: 0.5434 MB / 446.1 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001926/0.5812, allocations: 112.7 kB / 446.2 MB, free: 8.293 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001613/0.5814, allocations: 63.98 kB / 446.3 MB, free: 8.23 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003866/0.5852, allocations: 1.15 MB / 447.4 MB, free: 6.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.856e-05/0.5853, allocations: 15.92 kB / 447.4 MB, free: 6.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.5855, allocations: 28 kB / 447.5 MB, free: 6.938 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-05/0.5856, allocations: 41.3 kB / 447.5 MB, free: 6.895 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.5885, allocations: 0.8362 MB / 448.3 MB, free: 6.059 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.01048/0.599, allocations: 5.517 MB / 453.9 MB, free: 176 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.601, allocations: 0.5612 MB / 454.4 MB, free: 15.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4997/1.101, allocations: 49.69 MB / 0.4923 GB, free: 97.65 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/1.101, allocations: 40.16 kB / 0.4923 GB, free: 97.61 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.517e-06/1.101, allocations: 7.5 kB / 0.4923 GB, free: 97.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.007525/1.108, allocations: 1.928 MB / 0.4942 GB, free: 95.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.051e-05/1.109, allocations: 169.1 kB / 0.4944 GB, free: 95.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008572/1.109, allocations: 0.542 MB / 0.4949 GB, free: 94.95 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001133/1.11, allocations: 33.7 kB / 0.4949 GB, free: 94.91 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/1.11, allocations: 434.9 kB / 0.4953 GB, free: 94.49 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001731/1.11, allocations: 169.8 kB / 0.4955 GB, free: 94.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/1.11, allocations: 20 kB / 0.4955 GB, free: 94.31 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.792e-05/1.11, allocations: 338.8 kB / 0.4959 GB, free: 93.97 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006018/1.111, allocations: 225.9 kB / 0.4961 GB, free: 93.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007399/1.112, allocations: 0.5929 MB / 0.4966 GB, free: 92.98 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008018/1.112, allocations: 336.5 kB / 0.497 GB, free: 92.66 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/1.112, allocations: 7.094 kB / 0.497 GB, free: 92.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002025/1.114, allocations: 0.8522 MB / 0.4978 GB, free: 91.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.276e-05/1.115, allocations: 19.31 kB / 0.4978 GB, free: 91.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.977e-05/1.115, allocations: 15.81 kB / 0.4978 GB, free: 91.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003849/1.115, allocations: 64.81 kB / 0.4979 GB, free: 91.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002261/1.117, allocations: 287.6 kB / 0.4982 GB, free: 91.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/1.119, allocations: 1.973 MB / 0.5001 GB, free: 89.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/1.12, allocations: 67.92 kB / 0.5002 GB, free: 89.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.422e-05/1.12, allocations: 41.78 kB / 0.5002 GB, free: 89.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (volume.medium.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005266/1.121, allocations: 273.4 kB / 0.5005 GB, free: 88.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/1.121, allocations: 71.16 kB / 0.5005 GB, free: 88.83 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/1.124, allocations: 2.217 MB / 0.5027 GB, free: 86.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-05/1.124, allocations: 31.95 kB / 0.5027 GB, free: 86.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/1.124, allocations: 3.984 kB / 0.5027 GB, free: 86.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/1.124, allocations: 7.141 kB / 0.5027 GB, free: 86.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004901/1.129, allocations: 3.272 MB / 0.5059 GB, free: 83.24 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/1.129, allocations: 0 / 0.5059 GB, free: 83.24 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001801/1.131, allocations: 187.8 kB / 0.5061 GB, free: 83.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005364/1.132, allocations: 88.78 kB / 0.5062 GB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.366e-05/1.132, allocations: 15.94 kB / 0.5062 GB, free: 82.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/1.134, allocations: 1.994 MB / 0.5082 GB, free: 80.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/1.134, allocations: 11.95 kB / 0.5082 GB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003066/1.137, allocations: 1.983 MB / 0.5101 GB, free: 78.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/1.137, allocations: 287.2 kB / 0.5104 GB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/1.138, allocations: 8 kB / 0.5104 GB, free: 78.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009891/1.139, allocations: 59.92 kB / 0.5105 GB, free: 78.42 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/1.139, allocations: 32.39 kB / 0.5105 GB, free: 78.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/1.139, allocations: 27.98 kB / 0.5105 GB, free: 78.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008538/1.14, allocations: 0.4912 MB / 0.511 GB, free: 77.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.14, allocations: 0 / 0.511 GB, free: 77.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003758/1.143, allocations: 1.041 MB / 0.512 GB, free: 76.9 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007084/1.151, allocations: 1.228 MB / 0.5132 GB, free: 75.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002931/1.154, allocations: 0.9301 MB / 0.5141 GB, free: 74.94 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.415e-06/1.154, allocations: 4 kB / 0.5141 GB, free: 74.94 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/1.155, allocations: 0.6482 MB / 0.5147 GB, free: 74.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003132/1.159, allocations: 352.8 kB / 0.5151 GB, free: 73.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004733/1.163, allocations: 2.734 MB / 0.5178 GB, free: 71.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000661/1.164, allocations: 1.134 MB / 0.5189 GB, free: 70.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002898/1.164, allocations: 71.42 kB / 0.5189 GB, free: 69.97 MB / 410.7 MB Notification: Performance of SimCode: time 1.382e-06/1.164, allocations: 0 / 0.5189 GB, free: 69.97 MB / 410.7 MB Notification: Performance of Templates: time 0.07075/1.235, allocations: 38.73 MB / 0.5567 GB, free: 31.23 MB / 410.7 MB