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.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 2.001/2.001, allocations: 194.9 MB / 211.2 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.159e-05/3.164e-05, allocations: 7.906 kB / 258.8 MB, free: 8.68 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3221, allocations: 44.49 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04493/0.3671, allocations: 26.29 MB / 329.6 MB, free: 3.367 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02477/0.3919, allocations: 12.55 MB / 342.1 MB, free: 6.789 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.3925, allocations: 7.938 kB / 342.1 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.3935, allocations: 219 kB / 342.4 MB, free: 6.566 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.3946, allocations: 227.3 kB / 342.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01687/0.4115, allocations: 4.015 MB / 346.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001299/0.4128, allocations: 483.9 kB / 347.1 MB, free: 1.844 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.4131, allocations: 47.89 kB / 347.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008743/0.4218, allocations: 3.204 MB / 350.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005133/0.4224, allocations: 171.5 kB / 350.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009573/0.432, allocations: 3.402 MB / 353.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001448/0.4335, allocations: 220 kB / 354.1 MB, free: 10.8 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.4337, allocations: 75.8 kB / 354.2 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.434, allocations: 48 kB / 354.2 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004188/0.4382, allocations: 1.649 MB / 355.9 MB, free: 9.027 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.4382, allocations: 8 kB / 355.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.4383, allocations: 0 / 355.9 MB, free: 9.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.81e-05/0.4383, allocations: 0 / 355.9 MB, free: 9.02 MB / 298.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.002172/0.4405, allocations: 0.7213 MB / 356.6 MB, free: 8.25 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.4405, allocations: 8.031 kB / 356.6 MB, free: 8.242 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.4417, allocations: 79.58 kB / 356.7 MB, free: 8.164 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006657/0.4424, allocations: 302.4 kB / 357 MB, free: 7.828 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.499e-05/0.4425, allocations: 24.66 kB / 357 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.186e-05/0.4426, allocations: 35.94 kB / 357 MB, free: 7.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001315/0.4439, allocations: 438.2 kB / 357.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.444, allocations: 0 / 357.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/0.4441, allocations: 15.94 kB / 357.5 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.4441, allocations: 8 kB / 357.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.4452, allocations: 321.8 kB / 357.8 MB, free: 6.949 MB / 298.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.004721/0.4499, allocations: 2.622 MB / 360.4 MB, free: 4.082 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008917/0.4508, allocations: 254.5 kB / 360.7 MB, free: 3.824 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05788/0.5088, allocations: 15.58 MB / 376.3 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.631e-05/0.5089, allocations: 38.56 kB / 376.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 2.344e-06/0.5089, allocations: 0 / 376.3 MB, free: 2.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=30): time 0.006672/0.5156, allocations: 1.301 MB / 377.6 MB, free: 1.016 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.5157, allocations: 59.34 kB / 377.7 MB, free: 0.9453 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003917/0.5161, allocations: 241.7 kB / 377.9 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.5161, allocations: 33.7 kB / 377.9 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.5163, allocations: 250.4 kB / 378.2 MB, free: 428 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.5164, allocations: 114.4 kB / 378.3 MB, free: 312 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.708e-05/0.5165, allocations: 4 kB / 378.3 MB, free: 308 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.5167, allocations: 330.8 kB / 378.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.5169, allocations: 96.84 kB / 378.7 MB, free: 15.88 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004045/0.5174, allocations: 214.9 kB / 378.9 MB, free: 15.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003796/0.5178, allocations: 143.9 kB / 379 MB, free: 15.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/0.5178, allocations: 4 kB / 379.1 MB, free: 15.47 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001193/0.519, allocations: 423 kB / 379.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.519, allocations: 4 kB / 379.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.519, allocations: 4 kB / 379.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005533/0.5246, allocations: 265.4 kB / 379.7 MB, free: 14.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.5253, allocations: 79.84 kB / 379.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.5274, allocations: 1.88 MB / 381.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000477/0.5279, allocations: 27.84 kB / 381.7 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.184e-05/0.528, allocations: 31.97 kB / 381.7 MB, free: 12.59 MB / 330.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.0002939/0.5283, allocations: 161.8 kB / 381.9 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.5284, allocations: 27.72 kB / 381.9 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.5303, allocations: 0.9551 MB / 382.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.922e-05/0.5304, allocations: 7.984 kB / 382.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5304, allocations: 0 / 382.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/0.532, allocations: 1.107 MB / 384 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.5351, allocations: 1.588 MB / 385.6 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/0.5352, allocations: 4 kB / 385.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003981/0.5356, allocations: 51.91 kB / 385.6 MB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002853/0.5385, allocations: 291.9 kB / 385.9 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.012e-05/0.5386, allocations: 7.953 kB / 385.9 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008066/0.5394, allocations: 0.6655 MB / 386.6 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-06/0.5394, allocations: 4.031 kB / 386.6 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.5413, allocations: 0.9525 MB / 387.6 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002059/0.5416, allocations: 128.6 kB / 387.7 MB, free: 6.402 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.521e-05/0.5417, allocations: 11.98 kB / 387.7 MB, free: 6.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.5421, allocations: 19.84 kB / 387.7 MB, free: 6.371 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.315e-05/0.5421, allocations: 19.97 kB / 387.7 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.5422, allocations: 20 kB / 387.8 MB, free: 6.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000396/0.5426, allocations: 239 kB / 388 MB, free: 6.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5426, allocations: 3.938 kB / 388 MB, free: 6.094 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001917/0.5445, allocations: 499.8 kB / 388.5 MB, free: 5.605 MB / 330.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.002761/0.5473, allocations: 0.5106 MB / 389 MB, free: 5.086 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.5488, allocations: 0.5239 MB / 389.5 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.5488, allocations: 4 kB / 389.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.5495, allocations: 284.4 kB / 389.8 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.5514, allocations: 200.8 kB / 390 MB, free: 4.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.5541, allocations: 1.236 MB / 391.2 MB, free: 2.805 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.5547, allocations: 0.8361 MB / 392.1 MB, free: 1.945 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001618/0.5549, allocations: 39.38 kB / 392.1 MB, free: 1.906 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5549, allocations: 4 kB / 392.1 MB, free: 1.902 MB / 330.7 MB Notification: Performance of Templates: time 0.03809/0.593, allocations: 16.46 MB / 408.6 MB, free: 1.422 MB / 346.7 MB