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.2_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 1.733/1.733, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.678e-05/2.67e-05, allocations: 4 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2762, allocations: 44.5 MB / 303.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.03851/0.3148, allocations: 26.27 MB / 329.6 MB, free: 3.273 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02165/0.3365, allocations: 12.56 MB / 342.2 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003661/0.3369, allocations: 7.938 kB / 342.2 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007479/0.3377, allocations: 215 kB / 342.4 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006231/0.3383, allocations: 223.4 kB / 342.6 MB, free: 6.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01402/0.3524, allocations: 4.015 MB / 346.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009377/0.3533, allocations: 447.9 kB / 347 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001535/0.3535, allocations: 47.89 kB / 347.1 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007732/0.3612, allocations: 3.224 MB / 350.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003668/0.3616, allocations: 175.5 kB / 350.5 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01406/0.3757, allocations: 5.471 MB / 356 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.3776, allocations: 343.9 kB / 356.3 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3777, allocations: 79.78 kB / 356.4 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000201/0.3779, allocations: 52 kB / 356.4 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005391/0.3833, allocations: 2.413 MB / 358.8 MB, free: 5.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.768e-06/0.3834, allocations: 4 kB / 358.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3834, allocations: 0 / 358.8 MB, free: 5.977 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.935e-05/0.3834, allocations: 4 kB / 358.8 MB, free: 5.973 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.002253/0.3857, allocations: 0.8891 MB / 359.7 MB, free: 5.035 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.3858, allocations: 8.031 kB / 359.7 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001823/0.3876, allocations: 159.5 kB / 359.9 MB, free: 4.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000513/0.3881, allocations: 314.3 kB / 360.2 MB, free: 4.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.3882, allocations: 24.66 kB / 360.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.599e-05/0.3883, allocations: 31.94 kB / 360.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.3901, allocations: 0.519 MB / 360.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.3901, allocations: 4 kB / 360.8 MB, free: 3.902 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.576e-05/0.3902, allocations: 16 kB / 360.8 MB, free: 3.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/0.3902, allocations: 8 kB / 360.8 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009346/0.3912, allocations: 321.9 kB / 361.1 MB, free: 3.562 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.003996/0.3952, allocations: 2.573 MB / 363.7 MB, free: 0.7266 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008126/0.396, allocations: 264.8 kB / 364 MB, free: 472 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1047/0.5007, allocations: 31.19 MB / 395.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.557e-05/0.5008, allocations: 30.56 kB / 395.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 4.648e-06/0.5008, allocations: 0 / 395.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.004629/0.5054, allocations: 1.23 MB / 396.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.5055, allocations: 59.34 kB / 396.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003258/0.5058, allocations: 229.8 kB / 396.7 MB, free: 12.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.5058, allocations: 33.7 kB / 396.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001409/0.506, allocations: 188.1 kB / 396.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/0.5061, allocations: 110.4 kB / 397 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.728e-05/0.5062, allocations: 8 kB / 397 MB, free: 11.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5063, allocations: 334.8 kB / 397.3 MB, free: 11.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002467/0.5065, allocations: 92.84 kB / 397.4 MB, free: 11.31 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003291/0.5069, allocations: 210.9 kB / 397.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.5072, allocations: 123.9 kB / 397.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.5072, allocations: 4 kB / 397.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001062/0.5083, allocations: 418.5 kB / 398.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.5083, allocations: 7.938 kB / 398.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.5084, allocations: 4 kB / 398.2 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003578/0.5087, allocations: 62.19 kB / 398.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/0.5093, allocations: 91.83 kB / 398.3 MB, free: 10.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.5112, allocations: 2.438 MB / 400.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004/0.5116, allocations: 28.3 kB / 400.8 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.151e-05/0.5117, allocations: 16 kB / 400.8 MB, free: 7.668 MB / 346.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.0002492/0.5119, allocations: 169.7 kB / 401 MB, free: 7.492 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.575e-05/0.512, allocations: 31.62 kB / 401 MB, free: 7.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.5136, allocations: 0.8746 MB / 401.9 MB, free: 6.582 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.5136, allocations: 8 kB / 401.9 MB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.5136, allocations: 4 kB / 401.9 MB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00129/0.5149, allocations: 1.045 MB / 402.9 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00233/0.5173, allocations: 1.489 MB / 404.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.199e-06/0.5173, allocations: 0 / 404.4 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.5177, allocations: 55.97 kB / 404.5 MB, free: 3.812 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000429/0.5181, allocations: 76.64 kB / 404.6 MB, free: 3.734 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.5182, allocations: 7.984 kB / 404.6 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004138/0.5186, allocations: 0.5914 MB / 405.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.5186, allocations: 0 / 405.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001353/0.52, allocations: 0.8276 MB / 406 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.5201, allocations: 136.5 kB / 406.1 MB, free: 2.113 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.831e-05/0.5202, allocations: 7.984 kB / 406.1 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000606/0.5208, allocations: 43.94 kB / 406.2 MB, free: 2.062 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.517e-05/0.5209, allocations: 19.98 kB / 406.2 MB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.5209, allocations: 11.98 kB / 406.2 MB, free: 2.031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003257/0.5213, allocations: 235 kB / 406.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5213, allocations: 0 / 406.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002608/0.5239, allocations: 0.8121 MB / 407.3 MB, free: 0.9883 MB / 346.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.004449/0.5284, allocations: 0.9708 MB / 408.2 MB, free: 8 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00134/0.5297, allocations: 495.9 kB / 408.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5297, allocations: 0 / 408.7 MB, free: 15.51 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005128/0.5303, allocations: 244.3 kB / 408.9 MB, free: 15.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.5319, allocations: 176.5 kB / 409.1 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.5341, allocations: 1.194 MB / 410.3 MB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/0.5345, allocations: 0.8327 MB / 411.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005786/0.5351, allocations: 190.9 kB / 411.3 MB, free: 12.84 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.996e-05/0.5352, allocations: 31.44 kB / 411.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of SimCode: time 6.22e-07/0.5352, allocations: 0 / 411.4 MB, free: 12.8 MB / 362.7 MB Notification: Performance of Templates: time 0.2994/0.8346, allocations: 25.33 MB / 436.7 MB, free: 108.3 MB / 362.7 MB