Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.633/1.633, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.829e-05, allocations: 4 kB / 228.2 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08042/0.08047, allocations: 38.76 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.04188/0.1224, allocations: 26.11 MB / 293 MB, free: 6.293 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.2453/0.3677, allocations: 12.43 MB / 305.5 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004838/0.3683, allocations: 6.438 kB / 305.5 MB, free: 5.125 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007989/0.3691, allocations: 213.4 kB / 305.7 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000757/0.3698, allocations: 227.2 kB / 305.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01485/0.3847, allocations: 3.973 MB / 309.9 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001086/0.3858, allocations: 440.7 kB / 310.3 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001638/0.386, allocations: 39.33 kB / 310.3 MB, free: 5.02 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00858/0.3946, allocations: 3.186 MB / 313.5 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005352/0.3952, allocations: 183.1 kB / 313.7 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.41, allocations: 5.407 MB / 319.1 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002409/0.4124, allocations: 338.1 kB / 319.4 MB, free: 3.961 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002718/0.4127, allocations: 76.61 kB / 319.5 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002989/0.4131, allocations: 50.19 kB / 319.6 MB, free: 3.941 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006304/0.4194, allocations: 2.397 MB / 322 MB, free: 2.836 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.4194, allocations: 0 / 322 MB, free: 2.836 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4194, allocations: 0 / 322 MB, free: 2.836 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.4195, allocations: 0 / 322 MB, free: 2.836 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.00269/0.4222, allocations: 0.8873 MB / 322.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4222, allocations: 12.41 kB / 322.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001881/0.4241, allocations: 158.9 kB / 323 MB, free: 2.117 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005407/0.4247, allocations: 313.7 kB / 323.3 MB, free: 1.859 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/0.4247, allocations: 30.67 kB / 323.4 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.4248, allocations: 31.12 kB / 323.4 MB, free: 1.855 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.4266, allocations: 0.5154 MB / 323.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/0.4266, allocations: 4.094 kB / 323.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.676e-05/0.4267, allocations: 14.89 kB / 323.9 MB, free: 1.641 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.4267, allocations: 16.69 kB / 323.9 MB, free: 1.637 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009094/0.4276, allocations: 326.2 kB / 324.3 MB, free: 1.582 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.004157/0.4318, allocations: 2.571 MB / 326.8 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008533/0.4327, allocations: 273.6 kB / 327.1 MB, free: 15.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1253/0.558, allocations: 31.2 MB / 358.3 MB, free: 13.44 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.369e-05/0.5581, allocations: 38.5 kB / 358.3 MB, free: 13.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=27): time 2.555e-06/0.5581, allocations: 4 kB / 358.3 MB, free: 13.39 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.004998/0.5631, allocations: 1.207 MB / 359.5 MB, free: 12.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.5632, allocations: 55.41 kB / 359.6 MB, free: 12.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003623/0.5636, allocations: 233 kB / 359.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.042e-05/0.5636, allocations: 29.02 kB / 359.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.5638, allocations: 194.1 kB / 360 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.5639, allocations: 112.3 kB / 360.1 MB, free: 11.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.486e-05/0.564, allocations: 6.875 kB / 360.2 MB, free: 11.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.5641, allocations: 340.8 kB / 360.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002569/0.5644, allocations: 90.09 kB / 360.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.5648, allocations: 208.7 kB / 360.8 MB, free: 11.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003359/0.5651, allocations: 140.6 kB / 360.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5652, allocations: 0 / 360.9 MB, free: 11.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001127/0.5663, allocations: 410 kB / 361.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.5663, allocations: 9.094 kB / 361.3 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.5664, allocations: 4 kB / 361.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003945/0.5668, allocations: 60.56 kB / 361.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006936/0.5675, allocations: 90.23 kB / 361.5 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002319/0.5698, allocations: 2.437 MB / 363.9 MB, free: 8.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004682/0.5703, allocations: 27.14 kB / 363.9 MB, free: 8.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.692e-05/0.5704, allocations: 19.12 kB / 364 MB, free: 8.141 MB / 298.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): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002928/0.5707, allocations: 166.8 kB / 364.1 MB, free: 8 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.786e-05/0.5708, allocations: 27.72 kB / 364.1 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001625/0.5724, allocations: 0.878 MB / 365 MB, free: 7.395 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.426e-05/0.5725, allocations: 15.94 kB / 365 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.5725, allocations: 0 / 365 MB, free: 7.379 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001423/0.5739, allocations: 1.044 MB / 366.1 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002612/0.5766, allocations: 1.489 MB / 367.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.5766, allocations: 3 kB / 367.6 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000433/0.5771, allocations: 55.73 kB / 367.6 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004821/0.5776, allocations: 73.7 kB / 367.7 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.5776, allocations: 7.188 kB / 367.7 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005261/0.5782, allocations: 0.5907 MB / 368.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5782, allocations: 0 / 368.3 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.5798, allocations: 0.8251 MB / 369.1 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.58, allocations: 128.5 kB / 369.3 MB, free: 3.789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.291e-05/0.5801, allocations: 12 kB / 369.3 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006618/0.5808, allocations: 44.06 kB / 369.3 MB, free: 3.734 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.467e-05/0.5809, allocations: 19.91 kB / 369.3 MB, free: 3.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.268e-05/0.5809, allocations: 18.89 kB / 369.3 MB, free: 3.699 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003946/0.5813, allocations: 235.1 kB / 369.6 MB, free: 3.473 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5813, allocations: 4 kB / 369.6 MB, free: 3.469 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.003169/0.5845, allocations: 0.8004 MB / 370.4 MB, free: 2.668 MB / 298.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.h) * 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 (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005618/0.5902, allocations: 0.9734 MB / 371.4 MB, free: 1.766 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.5919, allocations: 491.6 kB / 371.8 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5919, allocations: 1 kB / 371.8 MB, free: 1.285 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000611/0.5925, allocations: 241.7 kB / 372.1 MB, free: 1.055 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.5943, allocations: 180.4 kB / 372.2 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002504/0.5968, allocations: 1.189 MB / 373.4 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005093/0.5974, allocations: 0.8289 MB / 374.3 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0007134/0.5981, allocations: 185.7 kB / 374.4 MB, free: 14.64 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5982, allocations: 35.44 kB / 374.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5983, allocations: 0 / 374.5 MB, free: 14.61 MB / 314.7 MB Notification: Performance of Templates: time 0.0721/0.6704, allocations: 25.24 MB / 399.7 MB, free: 5.41 MB / 330.7 MB