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.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(ModelicaTest): time 2.086/2.086, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.314e-05/4.321e-05, allocations: 4 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3713/0.3714, allocations: 48.69 MB / 324.9 MB, free: 2.906 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05628/0.4278, allocations: 31.76 MB / 356.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03235/0.4602, allocations: 16.08 MB / 372.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.4615, allocations: 27.75 kB / 372.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001636/0.4631, allocations: 358.2 kB / 373.1 MB, free: 15.29 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01647/0.4796, allocations: 3.52 MB / 376.6 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008323/0.488, allocations: 1.842 MB / 378.4 MB, free: 9.914 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002787/0.4908, allocations: 0.935 MB / 379.4 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009609/0.4918, allocations: 335.4 kB / 379.7 MB, free: 8.645 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0179/0.5098, allocations: 6.132 MB / 385.8 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02224/0.5321, allocations: 8.64 MB / 394.5 MB, free: 9.859 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02087/0.553, allocations: 6.591 MB / 401.1 MB, free: 3.262 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003223/0.5563, allocations: 416 kB / 401.5 MB, free: 2.855 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000629/0.557, allocations: 219.4 kB / 401.7 MB, free: 2.641 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.5575, allocations: 92 kB / 401.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009761/0.5673, allocations: 3.23 MB / 405 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.5673, allocations: 0 / 405 MB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5673, allocations: 0 / 405 MB, free: 15.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.619e-05/0.5674, allocations: 0 / 405 MB, free: 15.32 MB / 346.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.005498/0.5729, allocations: 1.419 MB / 406.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.573, allocations: 8.031 kB / 406.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003457/0.5764, allocations: 306.7 kB / 406.7 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001558/0.5781, allocations: 0.5318 MB / 407.3 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.5783, allocations: 112.7 kB / 407.4 MB, free: 12.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001657/0.5785, allocations: 67.86 kB / 407.4 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/0.5826, allocations: 1.165 MB / 408.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.957e-05/0.5827, allocations: 3.938 kB / 408.6 MB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.5828, allocations: 39.98 kB / 408.6 MB, free: 11.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.5829, allocations: 49.22 kB / 408.7 MB, free: 11.42 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003037/0.586, allocations: 0.8362 MB / 409.5 MB, free: 10.58 MB / 346.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.01047/0.5965, allocations: 5.482 MB / 415 MB, free: 4.73 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/0.5986, allocations: 0.5746 MB / 415.6 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1746/0.7732, allocations: 49.61 MB / 465.2 MB, free: 12.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.373e-05/0.7734, allocations: 38.56 kB / 465.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 3.577e-06/0.7734, allocations: 0 / 465.2 MB, free: 12.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.008559/0.7819, allocations: 1.926 MB / 467.2 MB, free: 10.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.7821, allocations: 166.2 kB / 467.3 MB, free: 10.55 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.7832, allocations: 0.5305 MB / 467.8 MB, free: 10.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001297/0.7834, allocations: 37.7 kB / 467.9 MB, free: 9.977 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.7838, allocations: 441.4 kB / 468.3 MB, free: 9.543 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/0.784, allocations: 169.7 kB / 468.5 MB, free: 9.375 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.7841, allocations: 16 kB / 468.5 MB, free: 9.359 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.7843, allocations: 342.8 kB / 468.8 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006783/0.785, allocations: 225.9 kB / 469.1 MB, free: 8.797 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.786, allocations: 0.5951 MB / 469.6 MB, free: 8.027 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009228/0.787, allocations: 332.6 kB / 470 MB, free: 7.703 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.787, allocations: 4 kB / 470 MB, free: 7.699 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002324/0.7894, allocations: 0.8518 MB / 470.8 MB, free: 6.84 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.765e-05/0.7894, allocations: 15.58 kB / 470.8 MB, free: 6.828 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/0.7895, allocations: 12 kB / 470.9 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004056/0.7899, allocations: 65.39 kB / 470.9 MB, free: 6.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002404/0.7923, allocations: 291.6 kB / 471.2 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.7945, allocations: 1.983 MB / 473.2 MB, free: 4.316 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00107/0.7956, allocations: 64.09 kB / 473.2 MB, free: 4.254 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.919e-05/0.7958, allocations: 44 kB / 473.3 MB, free: 4.211 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.0006022/0.7964, allocations: 269.2 kB / 473.6 MB, free: 3.941 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002013/0.7966, allocations: 86.98 kB / 473.6 MB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003952/0.8005, allocations: 2.22 MB / 475.9 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.574e-05/0.8006, allocations: 27.95 kB / 475.9 MB, free: 1.598 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8007, allocations: 4 kB / 475.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.8007, allocations: 0 / 475.9 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2943/1.095, allocations: 3.269 MB / 479.2 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.095, allocations: 0.6562 kB / 479.2 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001873/1.097, allocations: 191.7 kB / 479.3 MB, free: 137.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005701/1.098, allocations: 83.88 kB / 479.4 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.717e-05/1.098, allocations: 13.72 kB / 479.4 MB, free: 137.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/1.099, allocations: 1.996 MB / 481.4 MB, free: 135.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/1.099, allocations: 7.375 kB / 481.4 MB, free: 135.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003535/1.103, allocations: 1.989 MB / 483.4 MB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006109/1.104, allocations: 283.2 kB / 483.7 MB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/1.104, allocations: 11.56 kB / 483.7 MB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/1.105, allocations: 60.38 kB / 483.8 MB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/1.105, allocations: 35.5 kB / 483.8 MB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.347e-05/1.105, allocations: 21.36 kB / 483.8 MB, free: 134.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009966/1.106, allocations: 0.4938 MB / 484.3 MB, free: 133.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.106, allocations: 0 / 484.3 MB, free: 133.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004199/1.11, allocations: 1.041 MB / 485.4 MB, free: 133.8 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.007124/1.117, allocations: 1.21 MB / 486.6 MB, free: 133.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003239/1.121, allocations: 0.9319 MB / 487.5 MB, free: 133.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.687e-06/1.121, allocations: 3.719 kB / 487.5 MB, free: 133.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/1.123, allocations: 0.6501 MB / 488.2 MB, free: 133.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/1.126, allocations: 354.9 kB / 488.5 MB, free: 133 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005453/1.132, allocations: 2.741 MB / 491.3 MB, free: 131.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.133, allocations: 1.131 MB / 492.4 MB, free: 130.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/1.134, allocations: 70.55 kB / 492.5 MB, free: 130.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.362e-06/1.134, allocations: 1.344 kB / 492.5 MB, free: 130.8 MB / 410.7 MB Notification: Performance of Templates: time 0.09935/1.233, allocations: 38.56 MB / 0.5186 GB, free: 99.32 MB / 410.7 MB