Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|p_start|T_start|h_start|X_start.1.|volume.ports.1..m_flow|volume.ports.1..p|volume.ports.1..h_outflow|volume.ports.2..m_flow|volume.ports.2..p|volume.ports.2..h_outflow|volume.ports_H_flow.1.|volume.ports_H_flow.2.|volume.ports_E_flow.1.|volume.ports_E_flow.2.|volume.ports_penetration.1.|volume.ports_penetration.2.|volume.portsData_diameter.1.|volume.portsData_diameter.2.|volume.portsData_height.1.|volume.portsData_height.2.|volume.portsData_zeta_in.1.|volume.portsData_zeta_in.2.|volume.portsData_zeta_out.1.|volume.portsData_zeta_out.2.|fixedMassFlowRate.ports.1..m_flow|fixedMassFlowRate.ports.1..p|fixedMassFlowRate.ports.1..h_outflow|shortPipe.port_b.m_flow|shortPipe.port_b.p|shortPipe.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 1.931/1.931, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.163e-05/3.161e-05, allocations: 4 kB / 276.2 MB, free: 15.84 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.36, allocations: 48.69 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02549/0.3856, allocations: 13.64 MB / 338.5 MB, free: 10.05 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01098/0.3966, allocations: 4.498 MB / 343 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001444/0.3981, allocations: 28.34 kB / 343 MB, free: 6.965 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.3997, allocations: 256.4 kB / 343.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003453/0.4032, allocations: 0.6202 MB / 343.9 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.4071, allocations: 0.7419 MB / 344.6 MB, free: 5.832 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002544/0.4097, allocations: 0.8195 MB / 345.5 MB, free: 5.246 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008515/0.4106, allocations: 320.2 kB / 345.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001771/0.4124, allocations: 0.5003 MB / 346.3 MB, free: 4.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.4136, allocations: 365.3 kB / 346.6 MB, free: 4.574 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.4149, allocations: 246.5 kB / 346.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002827/0.4153, allocations: 30.62 kB / 346.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003833/0.4157, allocations: 210.1 kB / 347.1 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.4161, allocations: 79 kB / 347.2 MB, free: 4.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.4179, allocations: 0.7762 MB / 348 MB, free: 3.871 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.418, allocations: 3.938 kB / 348 MB, free: 3.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.418, allocations: 0 / 348 MB, free: 3.867 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.095e-05/0.4181, allocations: 0 / 348 MB, free: 3.867 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002727/0.4208, allocations: 0.8424 MB / 348.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/0.4209, allocations: 10.16 kB / 348.8 MB, free: 3.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006703/0.4216, allocations: 87.02 kB / 348.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.4231, allocations: 0.5023 MB / 349.4 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001668/0.4233, allocations: 101.5 kB / 349.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.4235, allocations: 51.64 kB / 349.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002256/0.4258, allocations: 0.8168 MB / 350.4 MB, free: 2.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.454e-05/0.4258, allocations: 9.188 kB / 350.4 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001509/0.426, allocations: 29.48 kB / 350.4 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.4261, allocations: 36.48 kB / 350.4 MB, free: 1.98 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001991/0.4281, allocations: 0.6412 MB / 351.1 MB, free: 1.656 MB / 282.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.008253/0.4364, allocations: 4.34 MB / 355.4 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.4375, allocations: 344.6 kB / 355.8 MB, free: 13.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003505/0.4411, allocations: 1.802 MB / 357.6 MB, free: 11.62 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.648e-05/0.4412, allocations: 40.3 kB / 357.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.336e-06/0.4412, allocations: 1.438 kB / 357.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.00535/0.4466, allocations: 1.228 MB / 358.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.813e-05/0.4467, allocations: 132 kB / 359 MB, free: 10.64 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.4479, allocations: 0.5518 MB / 359.5 MB, free: 10.31 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.448, allocations: 31.98 kB / 359.5 MB, free: 10.28 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004532/0.4485, allocations: 450 kB / 360 MB, free: 9.867 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.4487, allocations: 123.5 kB / 360.1 MB, free: 9.762 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.011e-05/0.4487, allocations: 15.09 kB / 360.1 MB, free: 9.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.4489, allocations: 347 kB / 360.5 MB, free: 9.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005215/0.4495, allocations: 178.9 kB / 360.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009235/0.4504, allocations: 0.5752 MB / 361.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007808/0.4512, allocations: 291.3 kB / 361.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.167e-05/0.4512, allocations: 4.688 kB / 361.5 MB, free: 8.527 MB / 298.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002072/0.4533, allocations: 0.7501 MB / 362.2 MB, free: 8.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.4534, allocations: 11.62 kB / 362.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.4534, allocations: 12.41 kB / 362.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.377e-05/0.4535, allocations: 20.81 kB / 362.3 MB, free: 8.133 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001682/0.4552, allocations: 213.3 kB / 362.5 MB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.254e-05/0.4553, allocations: 30.14 kB / 362.5 MB, free: 8.066 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/0.4564, allocations: 45.3 kB / 362.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.4565, allocations: 47.27 kB / 362.6 MB, free: 8.035 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005814/0.4571, allocations: 256.8 kB / 362.9 MB, free: 7.828 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.4573, allocations: 67.91 kB / 362.9 MB, free: 7.793 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001267/0.4586, allocations: 441.4 kB / 363.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/0.4586, allocations: 3.25 kB / 363.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/0.4587, allocations: 1.031 kB / 363.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4587, allocations: 3.984 kB / 363.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.4617, allocations: 1.242 MB / 364.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.4618, allocations: 3.438 kB / 364.6 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005754/0.4624, allocations: 69.5 kB / 364.7 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003364/0.4628, allocations: 52.12 kB / 364.7 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.053e-05/0.4628, allocations: 14.12 kB / 364.7 MB, free: 6.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006141/0.4634, allocations: 0.5601 MB / 365.3 MB, free: 5.859 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/0.4635, allocations: 8.156 kB / 365.3 MB, free: 5.852 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001789/0.4653, allocations: 0.8403 MB / 366.2 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005489/0.4659, allocations: 184.2 kB / 366.3 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/0.4661, allocations: 19.98 kB / 366.4 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006878/0.4668, allocations: 16 kB / 366.4 MB, free: 4.637 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.246e-05/0.4669, allocations: 43.91 kB / 366.4 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.344e-05/0.467, allocations: 16 kB / 366.4 MB, free: 4.578 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009231/0.4679, allocations: 431 kB / 366.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4679, allocations: 0 / 366.9 MB, free: 4.16 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001479/0.4694, allocations: 195.9 kB / 367 MB, free: 3.969 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007343/0.4702, allocations: 224.8 kB / 367.3 MB, free: 3.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001394/0.4716, allocations: 464.9 kB / 367.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.4716, allocations: 0 / 367.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006441/0.4723, allocations: 170.2 kB / 367.9 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002548/0.4748, allocations: 282.2 kB / 368.2 MB, free: 2.863 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.4784, allocations: 1.557 MB / 369.7 MB, free: 1.23 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.4792, allocations: 0.9453 MB / 370.7 MB, free: 264 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003175/0.4796, allocations: 67.42 kB / 370.7 MB, free: 196 kB / 298.7 MB Notification: Performance of SimCode: time 1.042e-06/0.4796, allocations: 0 / 370.7 MB, free: 196 kB / 298.7 MB Notification: Performance of Templates: time 0.03058/0.5102, allocations: 11.85 MB / 382.6 MB, free: 4.367 MB / 314.7 MB