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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.477/2.477, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.805e-05/2.796e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1452, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.3419/0.4872, allocations: 13.76 MB / 424.7 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009688/0.4969, allocations: 4.496 MB / 429.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.4982, allocations: 26.06 kB / 429.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.4994, allocations: 257 kB / 429.5 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003181/0.5026, allocations: 0.6124 MB / 430.1 MB, free: 3.414 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003706/0.5064, allocations: 0.7405 MB / 430.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.509, allocations: 0.8254 MB / 431.6 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009219/0.51, allocations: 324.5 kB / 432 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001832/0.5118, allocations: 0.5106 MB / 432.5 MB, free: 3.25 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.513, allocations: 367.7 kB / 432.8 MB, free: 3.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001358/0.5144, allocations: 241.5 kB / 433.1 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002229/0.5147, allocations: 31.62 kB / 433.1 MB, free: 3.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003495/0.515, allocations: 211.8 kB / 433.3 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004099/0.5155, allocations: 83.72 kB / 433.4 MB, free: 3.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.5173, allocations: 0.7817 MB / 434.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.5173, allocations: 0 / 434.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.5173, allocations: 0 / 434.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.126e-05/0.5174, allocations: 0 / 434.2 MB, free: 3.109 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002519/0.5199, allocations: 0.8423 MB / 435 MB, free: 2.555 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.52, allocations: 10.08 kB / 435 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006862/0.5207, allocations: 89.72 kB / 435.1 MB, free: 2.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.522, allocations: 0.4926 MB / 435.6 MB, free: 2.254 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.5222, allocations: 99.56 kB / 435.7 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5223, allocations: 56.06 kB / 435.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/0.5244, allocations: 0.8258 MB / 436.6 MB, free: 1.941 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.5245, allocations: 10.69 kB / 436.6 MB, free: 1.934 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.5247, allocations: 26.72 kB / 436.6 MB, free: 1.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001029/0.5248, allocations: 39.36 kB / 436.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001884/0.5267, allocations: 0.6379 MB / 437.3 MB, free: 1.801 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.007634/0.5344, allocations: 4.355 MB / 441.6 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.5355, allocations: 347.5 kB / 442 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00319/0.5387, allocations: 1.726 MB / 443.7 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.726e-05/0.5388, allocations: 37.59 kB / 443.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 3.076e-06/0.5388, allocations: 0 / 443.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.00632/0.5451, allocations: 1.397 MB / 445.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.247e-05/0.5452, allocations: 136.6 kB / 445.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001204/0.5465, allocations: 0.559 MB / 445.8 MB, free: 11.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001339/0.5466, allocations: 37.02 kB / 445.9 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000385/0.547, allocations: 426.8 kB / 446.3 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.5472, allocations: 132.6 kB / 446.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.5473, allocations: 14.94 kB / 446.4 MB, free: 10.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.5474, allocations: 341.6 kB / 446.8 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005487/0.548, allocations: 184.1 kB / 446.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008504/0.5489, allocations: 0.553 MB / 447.5 MB, free: 9.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007655/0.5497, allocations: 298.7 kB / 447.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.5497, allocations: 3.812 kB / 447.8 MB, free: 9.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002342/0.552, allocations: 0.794 MB / 448.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.54e-05/0.5521, allocations: 10.31 kB / 448.6 MB, free: 9.352 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.506e-05/0.5521, allocations: 20.41 kB / 448.6 MB, free: 9.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006354/0.5528, allocations: 105.2 kB / 448.7 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/0.5541, allocations: 177 kB / 448.9 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009044/0.555, allocations: 0.6718 MB / 449.6 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.5561, allocations: 41.94 kB / 449.6 MB, free: 8.699 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.5562, allocations: 40.45 kB / 449.6 MB, free: 8.695 MB / 362.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: 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 (87): * Single equations (assignments): 86 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006026/0.5568, allocations: 248.6 kB / 449.9 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.557, allocations: 69.41 kB / 450 MB, free: 8.473 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001451/0.5585, allocations: 0.5074 MB / 450.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.5585, allocations: 8.016 kB / 450.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.5586, allocations: 0 / 450.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.5586, allocations: 3.281 kB / 450.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003141/0.5617, allocations: 1.218 MB / 451.7 MB, free: 7.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/0.5618, allocations: 7.125 kB / 451.7 MB, free: 7.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.5624, allocations: 73.94 kB / 451.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002658/0.5627, allocations: 40.86 kB / 451.8 MB, free: 7.457 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.5627, allocations: 12 kB / 451.8 MB, free: 7.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004811/0.5632, allocations: 0.5681 MB / 452.4 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.5632, allocations: 4.203 kB / 452.4 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.5651, allocations: 0.8523 MB / 453.2 MB, free: 6.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005467/0.5657, allocations: 202.7 kB / 453.4 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00019/0.5659, allocations: 14.92 kB / 453.5 MB, free: 6.074 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.5666, allocations: 29.11 kB / 453.5 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.981e-05/0.5667, allocations: 35.27 kB / 453.5 MB, free: 6.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.5668, allocations: 22.89 kB / 453.5 MB, free: 6.043 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009133/0.5677, allocations: 446.8 kB / 454 MB, free: 5.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5677, allocations: 0 / 454 MB, free: 5.785 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001366/0.5691, allocations: 204.7 kB / 454.2 MB, free: 5.754 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (36): * Single equations (assignments): 35 * 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.0006953/0.5698, allocations: 238.2 kB / 454.4 MB, free: 5.602 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.5715, allocations: 0.489 MB / 454.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.5715, allocations: 1.406 kB / 454.9 MB, free: 5.379 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005727/0.5721, allocations: 186.5 kB / 455.1 MB, free: 5.297 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.5749, allocations: 311.7 kB / 455.4 MB, free: 5.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003397/0.5783, allocations: 1.545 MB / 456.9 MB, free: 4.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007231/0.5791, allocations: 0.9541 MB / 457.9 MB, free: 3.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003199/0.5795, allocations: 61.86 kB / 458 MB, free: 3.184 MB / 362.7 MB Notification: Performance of SimCode: time 1.693e-06/0.5795, allocations: 0 / 458 MB, free: 3.184 MB / 362.7 MB Notification: Performance of Templates: time 0.0319/0.6114, allocations: 13.59 MB / 471.5 MB, free: 9.656 MB / 378.7 MB