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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 223.8 MB, free: 1.379 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.747e-05, allocations: 0 / 276.2 MB, free: 15.33 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 48.7 MB / 324.9 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.02307/0.1299, allocations: 13.64 MB / 338.5 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.3014/0.4313, allocations: 4.498 MB / 343 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.4325, allocations: 24.78 kB / 343 MB, free: 4.234 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.4336, allocations: 258 kB / 343.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002921/0.4366, allocations: 0.6227 MB / 343.9 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003746/0.4403, allocations: 0.7365 MB / 344.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002618/0.443, allocations: 0.8249 MB / 345.5 MB, free: 4.184 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.4441, allocations: 320 kB / 345.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001998/0.4461, allocations: 0.503 MB / 346.3 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.4477, allocations: 365 kB / 346.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001866/0.4496, allocations: 241.9 kB / 346.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004258/0.45, allocations: 32.12 kB / 346.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004095/0.4505, allocations: 203.8 kB / 347.1 MB, free: 4.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005011/0.451, allocations: 85.47 kB / 347.2 MB, free: 4.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002177/0.4532, allocations: 0.7766 MB / 348 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.4532, allocations: 0 / 348 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4532, allocations: 0 / 348 MB, free: 4.098 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.905e-05/0.4533, allocations: 0.875 kB / 348 MB, free: 4.098 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.002856/0.4562, allocations: 0.8395 MB / 348.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/0.4562, allocations: 9.266 kB / 348.8 MB, free: 3.551 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007815/0.457, allocations: 90.64 kB / 348.9 MB, free: 3.512 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.4586, allocations: 0.4901 MB / 349.4 MB, free: 3.27 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.4588, allocations: 108.3 kB / 349.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.459, allocations: 56.19 kB / 349.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.4614, allocations: 0.8204 MB / 350.4 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.4615, allocations: 6.406 kB / 350.4 MB, free: 2.961 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.4617, allocations: 29.62 kB / 350.4 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/0.4618, allocations: 40.78 kB / 350.5 MB, free: 2.953 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002243/0.4641, allocations: 0.6366 MB / 351.1 MB, free: 2.941 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.008045/0.4722, allocations: 4.34 MB / 355.4 MB, free: 15.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.4732, allocations: 337.4 kB / 355.8 MB, free: 15.88 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003679/0.4769, allocations: 1.803 MB / 357.6 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.666e-05/0.477, allocations: 47.09 kB / 357.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of pre-optimization done (n=23): time 3.447e-06/0.4771, allocations: 0 / 357.6 MB, free: 14.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.005016/0.4821, allocations: 1.227 MB / 358.8 MB, free: 13.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.489e-05/0.4822, allocations: 135.3 kB / 359 MB, free: 13.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001172/0.4834, allocations: 0.5475 MB / 359.5 MB, free: 13.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001347/0.4836, allocations: 37.58 kB / 359.6 MB, free: 13.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004363/0.484, allocations: 416.9 kB / 360 MB, free: 13.08 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.4842, allocations: 118.7 kB / 360.1 MB, free: 13 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.054e-05/0.4842, allocations: 15.47 kB / 360.1 MB, free: 12.98 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.4845, allocations: 382.1 kB / 360.5 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.485, allocations: 175.3 kB / 360.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008459/0.4858, allocations: 0.576 MB / 361.2 MB, free: 11.97 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.4866, allocations: 293.7 kB / 361.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.4866, allocations: 4.5 kB / 361.5 MB, free: 11.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002266/0.4889, allocations: 0.7784 MB / 362.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.909e-05/0.489, allocations: 11.34 kB / 362.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.79e-05/0.489, allocations: 13.69 kB / 362.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.613e-05/0.4891, allocations: 21.06 kB / 362.3 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/0.4907, allocations: 216.9 kB / 362.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.892e-05/0.4908, allocations: 23.09 kB / 362.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.4919, allocations: 54.58 kB / 362.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.4921, allocations: 47.59 kB / 362.7 MB, free: 11.43 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.0006329/0.4927, allocations: 255.1 kB / 362.9 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002239/0.493, allocations: 72.2 kB / 363 MB, free: 11.18 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001278/0.4942, allocations: 441.6 kB / 363.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.4943, allocations: 4.125 kB / 363.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.4943, allocations: 0 / 363.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.186e-05/0.4943, allocations: 3.984 kB / 363.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/0.4975, allocations: 1.248 MB / 364.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/0.4976, allocations: 7.562 kB / 364.7 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005576/0.4981, allocations: 73.92 kB / 364.8 MB, free: 9.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003105/0.4984, allocations: 38.61 kB / 364.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.084e-05/0.4985, allocations: 11.31 kB / 364.8 MB, free: 9.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005693/0.4991, allocations: 0.5602 MB / 365.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4991, allocations: 3.125 kB / 365.4 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.501, allocations: 0.8505 MB / 366.2 MB, free: 8.562 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005751/0.5016, allocations: 190.8 kB / 366.4 MB, free: 8.387 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001744/0.5018, allocations: 13.86 kB / 366.4 MB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/0.5025, allocations: 26.09 kB / 366.4 MB, free: 8.367 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.989e-05/0.5026, allocations: 37 kB / 366.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/0.5027, allocations: 14.84 kB / 366.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0009587/0.5036, allocations: 432.2 kB / 366.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5036, allocations: 0 / 366.9 MB, free: 8.09 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001445/0.5051, allocations: 193 kB / 367.1 MB, free: 8.062 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.0007119/0.5058, allocations: 226.6 kB / 367.3 MB, free: 7.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001456/0.5073, allocations: 461.9 kB / 367.8 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/0.5074, allocations: 1.469 kB / 367.8 MB, free: 7.715 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007273/0.5081, allocations: 173 kB / 367.9 MB, free: 7.637 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002731/0.5108, allocations: 275.3 kB / 368.2 MB, free: 7.504 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003786/0.5147, allocations: 1.509 MB / 369.7 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007847/0.5155, allocations: 0.9467 MB / 370.7 MB, free: 5.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.001391/0.5169, allocations: 213.3 kB / 370.9 MB, free: 5.484 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002145/0.5172, allocations: 56.05 kB / 370.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of SimCode: time 1.543e-06/0.5172, allocations: 0 / 370.9 MB, free: 5.473 MB / 298.7 MB Notification: Performance of Templates: time 0.03429/0.5515, allocations: 10.49 MB / 381.4 MB, free: 14.28 MB / 314.7 MB