Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.721/1.721, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.176e-05, allocations: 6.188 kB / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08129/0.08136, allocations: 38.77 MB / 266.9 MB, free: 1.129 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04286/0.1243, allocations: 26.1 MB / 293 MB, free: 6.953 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2503/0.3747, allocations: 12.43 MB / 305.4 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005273/0.3752, allocations: 3.594 kB / 305.4 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008346/0.3761, allocations: 219.5 kB / 305.7 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008274/0.3769, allocations: 224.8 kB / 305.9 MB, free: 4.496 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01594/0.3929, allocations: 3.976 MB / 309.9 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3943, allocations: 463.5 kB / 310.3 MB, free: 4.398 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.3945, allocations: 45.66 kB / 310.3 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009103/0.4036, allocations: 3.164 MB / 313.5 MB, free: 4.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005368/0.4042, allocations: 176 kB / 313.7 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009961/0.4142, allocations: 3.348 MB / 317 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.4159, allocations: 215.9 kB / 317.2 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002512/0.4161, allocations: 75.47 kB / 317.3 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.4165, allocations: 51.09 kB / 317.4 MB, free: 3.906 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00422/0.4207, allocations: 1.635 MB / 319 MB, free: 3.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.4208, allocations: 0 / 319 MB, free: 3.121 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.966e-06/0.4208, allocations: 4 kB / 319 MB, free: 3.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.4208, allocations: 0.6562 kB / 319 MB, free: 3.117 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002168/0.423, allocations: 0.7094 MB / 319.7 MB, free: 2.566 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.423, allocations: 8.406 kB / 319.7 MB, free: 2.566 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.4241, allocations: 84.58 kB / 319.8 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005309/0.4247, allocations: 298.3 kB / 320.1 MB, free: 2.285 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.4247, allocations: 29.8 kB / 320.1 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.822e-05/0.4248, allocations: 32.69 kB / 320.2 MB, free: 2.281 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001128/0.4259, allocations: 438.3 kB / 320.6 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.77e-05/0.426, allocations: 6.375 kB / 320.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.4261, allocations: 19.02 kB / 320.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.4261, allocations: 8.531 kB / 320.6 MB, free: 2.066 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/0.4271, allocations: 312 kB / 320.9 MB, free: 2.012 MB / 250.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.003868/0.431, allocations: 2.63 MB / 323.6 MB, free: 15.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008175/0.4318, allocations: 249.7 kB / 323.8 MB, free: 15.65 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05689/0.4888, allocations: 15.5 MB / 339.3 MB, free: 0.9102 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.272e-05/0.4889, allocations: 42.95 kB / 339.3 MB, free: 0.8633 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.405e-06/0.4889, allocations: 4 kB / 339.3 MB, free: 0.8594 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.006948/0.4958, allocations: 1.305 MB / 340.6 MB, free: 15.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/0.4959, allocations: 62.02 kB / 340.7 MB, free: 15.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004123/0.4964, allocations: 240.6 kB / 340.9 MB, free: 15.48 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.4964, allocations: 29.02 kB / 341 MB, free: 15.45 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.4966, allocations: 252.3 kB / 341.2 MB, free: 15.22 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.4968, allocations: 112.1 kB / 341.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-05/0.4968, allocations: 6.875 kB / 341.3 MB, free: 15.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.497, allocations: 329.4 kB / 341.7 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.4973, allocations: 93.53 kB / 341.7 MB, free: 14.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.4977, allocations: 226.2 kB / 342 MB, free: 14.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003661/0.498, allocations: 132.8 kB / 342.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.4981, allocations: 4 kB / 342.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001232/0.4993, allocations: 425.1 kB / 342.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4994, allocations: 4 kB / 342.5 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.4994, allocations: 4 kB / 342.5 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005527/0.5049, allocations: 265.4 kB / 342.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006335/0.5056, allocations: 80.91 kB / 342.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.5079, allocations: 1.886 MB / 344.8 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005143/0.5085, allocations: 25.92 kB / 344.8 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.199e-05/0.5086, allocations: 22.14 kB / 344.8 MB, free: 11.87 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003076/0.5089, allocations: 163.2 kB / 345 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.509, allocations: 35.56 kB / 345 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001785/0.5108, allocations: 0.9521 MB / 345.9 MB, free: 11.08 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.5109, allocations: 11.3 kB / 346 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5109, allocations: 0 / 346 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001603/0.5125, allocations: 1.112 MB / 347.1 MB, free: 10.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.5155, allocations: 1.586 MB / 348.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.5156, allocations: 0 / 348.7 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.516, allocations: 53.86 kB / 348.7 MB, free: 8.977 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002976/0.519, allocations: 295.5 kB / 349 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.57e-05/0.5191, allocations: 6.75 kB / 349 MB, free: 8.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/0.5199, allocations: 0.6669 MB / 349.7 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.52, allocations: 0 / 349.7 MB, free: 8.102 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.5219, allocations: 0.9523 MB / 350.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002493/0.5222, allocations: 138.1 kB / 350.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.5223, allocations: 11.67 kB / 350.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004098/0.5227, allocations: 16.25 kB / 350.8 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.391e-05/0.5228, allocations: 17.22 kB / 350.8 MB, free: 7.285 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.5229, allocations: 10.25 kB / 350.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004304/0.5233, allocations: 242.5 kB / 351 MB, free: 7.094 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.172e-06/0.5233, allocations: 0 / 351 MB, free: 7.094 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002135/0.5255, allocations: 0.4896 MB / 351.5 MB, free: 6.625 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.003391/0.5289, allocations: 0.5223 MB / 352.1 MB, free: 6.141 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.5304, allocations: 0.5161 MB / 352.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.5305, allocations: 1 kB / 352.6 MB, free: 5.754 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007535/0.5312, allocations: 307.2 kB / 352.9 MB, free: 5.582 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.5332, allocations: 174.3 kB / 353 MB, free: 5.438 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002757/0.536, allocations: 1.242 MB / 354.3 MB, free: 4.32 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005809/0.5366, allocations: 0.8286 MB / 355.1 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.5369, allocations: 35.44 kB / 355.1 MB, free: 3.434 MB / 282.7 MB Notification: Performance of SimCode: time 3.316e-06/0.5369, allocations: 0 / 355.1 MB, free: 3.434 MB / 282.7 MB Notification: Performance of Templates: time 0.04027/0.5772, allocations: 16.4 MB / 371.5 MB, free: 3.148 MB / 298.7 MB