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_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(Modelica): time 1.683/1.683, allocations: 171.2 MB / 185.7 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.141e-05/3.133e-05, allocations: 6.188 kB / 228.2 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1007, allocations: 38.78 MB / 266.9 MB, free: 480 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT): time 0.04868/0.1495, allocations: 26.1 MB / 293 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2394/0.3889, allocations: 12.44 MB / 305.5 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000472/0.3894, allocations: 4.969 kB / 305.5 MB, free: 5.141 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008104/0.3903, allocations: 209.8 kB / 305.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007545/0.391, allocations: 228.8 kB / 305.9 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.4058, allocations: 3.966 MB / 309.9 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.407, allocations: 465.7 kB / 310.3 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.4072, allocations: 43.5 kB / 310.4 MB, free: 5.039 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008142/0.4153, allocations: 3.164 MB / 313.5 MB, free: 5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004186/0.4158, allocations: 171.1 kB / 313.7 MB, free: 5 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00919/0.425, allocations: 3.354 MB / 317.1 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.4265, allocations: 216.3 kB / 317.3 MB, free: 4.453 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.4268, allocations: 77.02 kB / 317.3 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003026/0.4271, allocations: 50.31 kB / 317.4 MB, free: 4.434 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003955/0.431, allocations: 1.636 MB / 319 MB, free: 3.648 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4311, allocations: 0 / 319 MB, free: 3.648 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.857e-06/0.4311, allocations: 3.984 kB / 319 MB, free: 3.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4311, allocations: 0 / 319 MB, free: 3.645 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.001871/0.433, allocations: 0.7142 MB / 319.7 MB, free: 3.09 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4331, allocations: 7.219 kB / 319.8 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001028/0.4341, allocations: 85.41 kB / 319.8 MB, free: 3.055 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.4346, allocations: 299.2 kB / 320.1 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.128e-05/0.4347, allocations: 24.91 kB / 320.2 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.4348, allocations: 28.06 kB / 320.2 MB, free: 2.809 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.4358, allocations: 438.9 kB / 320.6 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.417e-05/0.4358, allocations: 3.984 kB / 320.6 MB, free: 2.598 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-05/0.4359, allocations: 22.64 kB / 320.6 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/0.4359, allocations: 8.125 kB / 320.6 MB, free: 2.594 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008743/0.4368, allocations: 313.7 kB / 320.9 MB, free: 2.539 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.003342/0.4402, allocations: 2.626 MB / 323.6 MB, free: 240 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/0.441, allocations: 251.4 kB / 323.8 MB, free: 180 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05394/0.4949, allocations: 15.51 MB / 339.3 MB, free: 1.168 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.495, allocations: 31.66 kB / 339.4 MB, free: 1.129 MB / 266.7 MB Notification: Performance of pre-optimization done (n=25): time 2.675e-06/0.495, allocations: 4 kB / 339.4 MB, free: 1.125 MB / 266.7 MB Notification: Performance of matching and sorting (n=30): time 0.007103/0.5021, allocations: 1.316 MB / 340.7 MB, free: 8 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.493e-05/0.5023, allocations: 51.41 kB / 340.7 MB, free: 15.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/0.5029, allocations: 245.4 kB / 341 MB, free: 15.74 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.434e-05/0.503, allocations: 32.7 kB / 341 MB, free: 15.7 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002367/0.5032, allocations: 196 kB / 341.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.5034, allocations: 106.2 kB / 341.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.5035, allocations: 8.875 kB / 341.3 MB, free: 15.45 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002244/0.5037, allocations: 343.2 kB / 341.6 MB, free: 15.12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.5042, allocations: 97.64 kB / 341.7 MB, free: 15.05 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.5049, allocations: 225.1 kB / 342 MB, free: 14.83 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.5055, allocations: 127.6 kB / 342.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.5055, allocations: 0 / 342.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001922/0.5075, allocations: 441.2 kB / 342.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.5075, allocations: 4 kB / 342.5 MB, free: 14.46 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/0.5076, allocations: 4 kB / 342.5 MB, free: 14.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006997/0.5146, allocations: 266.1 kB / 342.8 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006106/0.5152, allocations: 84.52 kB / 342.9 MB, free: 14.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002094/0.5173, allocations: 1.882 MB / 344.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000453/0.5178, allocations: 26.67 kB / 344.8 MB, free: 12.19 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.5179, allocations: 23.2 kB / 344.8 MB, free: 12.17 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.0002689/0.5182, allocations: 167 kB / 345 MB, free: 12.03 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.184e-05/0.5183, allocations: 31.62 kB / 345 MB, free: 12 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.5199, allocations: 0.9448 MB / 345.9 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.193e-05/0.52, allocations: 7.984 kB / 345.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.52, allocations: 5.062 kB / 345.9 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/0.5223, allocations: 1.115 MB / 347.1 MB, free: 10.46 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/0.5266, allocations: 1.587 MB / 348.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/0.5266, allocations: 0 / 348.6 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006612/0.5273, allocations: 53.88 kB / 348.7 MB, free: 9.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00493/0.5322, allocations: 291.1 kB / 349 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.555e-05/0.5323, allocations: 7.172 kB / 349 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001178/0.5335, allocations: 0.6683 MB / 349.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5336, allocations: 4.094 kB / 349.7 MB, free: 8.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.5364, allocations: 0.9591 MB / 350.6 MB, free: 7.762 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002779/0.5367, allocations: 135.5 kB / 350.7 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/0.5369, allocations: 10.19 kB / 350.8 MB, free: 7.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006377/0.5376, allocations: 19.36 kB / 350.8 MB, free: 7.598 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.5376, allocations: 15.17 kB / 350.8 MB, free: 7.586 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.95e-05/0.5377, allocations: 13.17 kB / 350.8 MB, free: 7.574 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003861/0.5381, allocations: 235.4 kB / 351 MB, free: 7.395 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5381, allocations: 0 / 351 MB, free: 7.395 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002021/0.5401, allocations: 0.4888 MB / 351.5 MB, free: 6.926 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.002777/0.5429, allocations: 0.5217 MB / 352 MB, free: 6.445 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00135/0.5443, allocations: 0.5154 MB / 352.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.5443, allocations: 0 / 352.6 MB, free: 6.062 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006613/0.545, allocations: 293.8 kB / 352.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00179/0.5468, allocations: 188.9 kB / 353 MB, free: 5.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002409/0.5492, allocations: 1.214 MB / 354.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.5498, allocations: 0.8286 MB / 355.1 MB, free: 3.684 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005522/0.5503, allocations: 106 kB / 355.2 MB, free: 3.582 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.5505, allocations: 39.42 kB / 355.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of SimCode: time 1.092e-06/0.5505, allocations: 4 kB / 355.2 MB, free: 3.539 MB / 282.7 MB Notification: Performance of Templates: time 0.05063/0.6011, allocations: 17.42 MB / 372.6 MB, free: 2.164 MB / 298.7 MB