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.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.563/2.563, allocations: 234.9 MB / 250.1 MB, free: 9.93 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.312e-05/3.305e-05, allocations: 4 kB / 308 MB, free: 15.89 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3969, allocations: 54.86 MB / 362.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02539/0.4223, allocations: 13.64 MB / 376.5 MB, free: 152 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01014/0.4325, allocations: 4.515 MB / 381 MB, free: 11.62 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.4338, allocations: 27.75 kB / 381.1 MB, free: 11.6 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00121/0.435, allocations: 262.6 kB / 381.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002939/0.438, allocations: 0.6141 MB / 381.9 MB, free: 10.73 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.4414, allocations: 0.7365 MB / 382.7 MB, free: 9.988 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002358/0.4438, allocations: 0.8286 MB / 383.5 MB, free: 9.156 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008156/0.4446, allocations: 315.6 kB / 383.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001685/0.4463, allocations: 0.4949 MB / 384.3 MB, free: 8.352 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001086/0.4475, allocations: 374.9 kB / 384.7 MB, free: 7.984 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.4487, allocations: 243.7 kB / 384.9 MB, free: 7.746 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002882/0.4491, allocations: 28 kB / 384.9 MB, free: 7.719 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00037/0.4495, allocations: 211.4 kB / 385.1 MB, free: 7.512 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003503/0.4498, allocations: 80 kB / 385.2 MB, free: 7.434 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001741/0.4516, allocations: 0.7773 MB / 386 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4516, allocations: 0 / 386 MB, free: 6.656 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.327e-06/0.4516, allocations: 4 kB / 386 MB, free: 6.652 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.431e-05/0.4517, allocations: 0 / 386 MB, free: 6.652 MB / 314.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.00262/0.4543, allocations: 0.842 MB / 386.8 MB, free: 5.762 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4544, allocations: 8.031 kB / 386.8 MB, free: 5.754 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000625/0.455, allocations: 87.06 kB / 386.9 MB, free: 5.668 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.4564, allocations: 0.5005 MB / 387.4 MB, free: 5.125 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.4566, allocations: 100.4 kB / 387.5 MB, free: 5.012 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.4567, allocations: 59.8 kB / 387.6 MB, free: 4.953 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/0.4589, allocations: 0.8153 MB / 388.4 MB, free: 4.062 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.844e-05/0.459, allocations: 7.938 kB / 388.4 MB, free: 4.055 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/0.4591, allocations: 27.98 kB / 388.4 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-05/0.4592, allocations: 36.98 kB / 388.5 MB, free: 3.988 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001906/0.4611, allocations: 0.6399 MB / 389.1 MB, free: 3.348 MB / 314.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.007729/0.4689, allocations: 4.333 MB / 393.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/0.47, allocations: 348.7 kB / 393.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003361/0.4734, allocations: 1.792 MB / 395.6 MB, free: 12.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.4735, allocations: 46.48 kB / 395.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=23): time 3.667e-06/0.4735, allocations: 0 / 395.6 MB, free: 12.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=33): time 0.004945/0.4784, allocations: 1.225 MB / 396.8 MB, free: 10.98 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.482e-05/0.4786, allocations: 132.5 kB / 397 MB, free: 10.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.4796, allocations: 0.5538 MB / 397.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.4797, allocations: 33.7 kB / 397.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004054/0.4801, allocations: 448.4 kB / 398 MB, free: 9.781 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001495/0.4803, allocations: 126.3 kB / 398.1 MB, free: 9.656 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.4804, allocations: 12 kB / 398.1 MB, free: 9.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.4805, allocations: 342.8 kB / 398.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.4811, allocations: 177.9 kB / 398.6 MB, free: 9.129 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008515/0.4819, allocations: 0.5732 MB / 399.2 MB, free: 8.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007283/0.4827, allocations: 307.7 kB / 399.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4827, allocations: 4 kB / 399.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001846/0.4846, allocations: 0.7428 MB / 400.3 MB, free: 7.305 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.597e-05/0.4846, allocations: 12.97 kB / 400.3 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.296e-05/0.4847, allocations: 12 kB / 400.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.838e-05/0.4847, allocations: 27.95 kB / 400.3 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001634/0.4864, allocations: 211.6 kB / 400.5 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-05/0.4864, allocations: 23.92 kB / 400.5 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009343/0.4874, allocations: 43.98 kB / 400.6 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.4875, allocations: 47.98 kB / 400.6 MB, free: 6.934 MB / 330.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.0005493/0.488, allocations: 253.4 kB / 400.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/0.4882, allocations: 63.25 kB / 400.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001264/0.4895, allocations: 439 kB / 401.4 MB, free: 6.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.4896, allocations: 4 kB / 401.4 MB, free: 6.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.4896, allocations: 7.953 kB / 401.4 MB, free: 6.16 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.769e-06/0.4896, allocations: 7.922 kB / 401.4 MB, free: 6.152 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.4925, allocations: 1.244 MB / 402.6 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/0.4926, allocations: 4 kB / 402.6 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000544/0.4932, allocations: 63.91 kB / 402.7 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003235/0.4935, allocations: 45.23 kB / 402.7 MB, free: 4.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.971e-05/0.4935, allocations: 15.94 kB / 402.8 MB, free: 4.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005385/0.4941, allocations: 0.5524 MB / 403.3 MB, free: 4.086 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.366e-05/0.4941, allocations: 11.89 kB / 403.3 MB, free: 4.074 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/0.4957, allocations: 0.8482 MB / 404.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/0.4962, allocations: 188.2 kB / 404.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/0.4964, allocations: 15.95 kB / 404.4 MB, free: 2.867 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/0.4971, allocations: 24.05 kB / 404.4 MB, free: 2.844 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.4972, allocations: 32.05 kB / 404.4 MB, free: 2.812 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.416e-05/0.4973, allocations: 23.98 kB / 404.5 MB, free: 2.789 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008676/0.4981, allocations: 431 kB / 404.9 MB, free: 2.371 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.4981, allocations: 4 kB / 404.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001233/0.4994, allocations: 199.9 kB / 405.1 MB, free: 2.172 MB / 330.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.0006835/0.5001, allocations: 215.5 kB / 405.3 MB, free: 1.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.5014, allocations: 462.5 kB / 405.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/0.5015, allocations: 8.062 kB / 405.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006482/0.5021, allocations: 163.7 kB / 405.9 MB, free: 1.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.5046, allocations: 272.9 kB / 406.2 MB, free: 1.086 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003628/0.5083, allocations: 1.534 MB / 407.7 MB, free: 15.47 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008189/0.5092, allocations: 0.9531 MB / 408.7 MB, free: 14.49 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.5095, allocations: 63.42 kB / 408.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of SimCode: time 2.024e-06/0.5095, allocations: 0 / 408.7 MB, free: 14.43 MB / 346.7 MB Notification: Performance of Templates: time 0.03029/0.5398, allocations: 11.86 MB / 420.6 MB, free: 2.602 MB / 346.7 MB