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_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph") Notification: Performance of loadModel(Modelica): time 2.293/2.293, allocations: 194.9 MB / 211.2 MB, free: 8.336 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.762e-05, allocations: 7.906 kB / 258.8 MB, free: 8.688 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3075, allocations: 44.5 MB / 303.3 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph): time 0.05865/0.3662, allocations: 26.29 MB / 329.6 MB, free: 3.34 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02525/0.3915, allocations: 12.55 MB / 342.1 MB, free: 6.758 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.3921, allocations: 4 kB / 342.2 MB, free: 6.754 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.3931, allocations: 211 kB / 342.4 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009207/0.3941, allocations: 231.3 kB / 342.6 MB, free: 6.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01581/0.4099, allocations: 4.011 MB / 346.6 MB, free: 2.297 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.4111, allocations: 447.9 kB / 347 MB, free: 1.859 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001797/0.4113, allocations: 43.89 kB / 347.1 MB, free: 1.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008476/0.4198, allocations: 3.22 MB / 350.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004341/0.4203, allocations: 183.4 kB / 350.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01626/0.4366, allocations: 5.467 MB / 355.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002189/0.4389, allocations: 340 kB / 356.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002587/0.4391, allocations: 79.73 kB / 356.4 MB, free: 8.531 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002144/0.4394, allocations: 48 kB / 356.4 MB, free: 8.484 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006376/0.4458, allocations: 2.417 MB / 358.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.4458, allocations: 0 / 358.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.175e-06/0.4458, allocations: 0 / 358.8 MB, free: 6.062 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.4459, allocations: 0 / 358.8 MB, free: 6.062 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.002663/0.4485, allocations: 0.8891 MB / 359.7 MB, free: 5.125 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.4486, allocations: 12.03 kB / 359.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.4505, allocations: 159.5 kB / 359.9 MB, free: 4.957 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.4512, allocations: 318.3 kB / 360.2 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.734e-05/0.4513, allocations: 20.66 kB / 360.2 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.581e-05/0.4514, allocations: 32 kB / 360.2 MB, free: 4.551 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/0.4534, allocations: 0.5229 MB / 360.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.4535, allocations: 3.938 kB / 360.8 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.985e-05/0.4536, allocations: 12 kB / 360.8 MB, free: 3.973 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.4536, allocations: 8 kB / 360.8 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009855/0.4546, allocations: 325.9 kB / 361.1 MB, free: 3.645 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.004596/0.4592, allocations: 2.565 MB / 363.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009076/0.4601, allocations: 271.7 kB / 363.9 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1122/0.5724, allocations: 31.19 MB / 395.1 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.847e-05/0.5725, allocations: 46.5 kB / 395.2 MB, free: 13.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 2.485e-06/0.5725, allocations: 3.938 kB / 395.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.005117/0.5776, allocations: 1.223 MB / 396.4 MB, free: 12.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5777, allocations: 55.41 kB / 396.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003701/0.5781, allocations: 225.8 kB / 396.7 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/0.5782, allocations: 37.64 kB / 396.7 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.5783, allocations: 246.5 kB / 396.9 MB, free: 11.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001197/0.5785, allocations: 110.4 kB / 397 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.664e-05/0.5785, allocations: 8 kB / 397.1 MB, free: 11.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5787, allocations: 330.8 kB / 397.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.5789, allocations: 88.84 kB / 397.5 MB, free: 11.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003696/0.5793, allocations: 214.9 kB / 397.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003508/0.5797, allocations: 123.9 kB / 397.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.5797, allocations: 0 / 397.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001175/0.5809, allocations: 410.7 kB / 398.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.488e-05/0.5809, allocations: 8 kB / 398.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5809, allocations: 4 kB / 398.2 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000392/0.5813, allocations: 62.14 kB / 398.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/0.582, allocations: 95.83 kB / 398.4 MB, free: 10.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002238/0.5843, allocations: 2.426 MB / 400.8 MB, free: 7.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004756/0.5848, allocations: 28.27 kB / 400.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.5849, allocations: 20 kB / 400.8 MB, free: 7.715 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.0002959/0.5852, allocations: 161.7 kB / 401 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-05/0.5853, allocations: 31.62 kB / 401 MB, free: 7.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001664/0.587, allocations: 0.8668 MB / 401.9 MB, free: 6.645 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.047e-05/0.5871, allocations: 11.98 kB / 401.9 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.5871, allocations: 8 kB / 401.9 MB, free: 6.625 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/0.5885, allocations: 1.041 MB / 403 MB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002651/0.5912, allocations: 1.489 MB / 404.4 MB, free: 3.926 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.828e-06/0.5912, allocations: 4 kB / 404.4 MB, free: 3.922 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.5917, allocations: 55.91 kB / 404.5 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005133/0.5922, allocations: 72.7 kB / 404.6 MB, free: 3.793 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.452e-05/0.5922, allocations: 7.984 kB / 404.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005407/0.5928, allocations: 0.5914 MB / 405.2 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.5928, allocations: 0 / 405.2 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.5944, allocations: 0.8237 MB / 406 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.5946, allocations: 136.6 kB / 406.1 MB, free: 2.176 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.341e-05/0.5947, allocations: 8 kB / 406.1 MB, free: 2.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006332/0.5954, allocations: 39.86 kB / 406.2 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.5954, allocations: 23.98 kB / 406.2 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.158e-05/0.5955, allocations: 11.98 kB / 406.2 MB, free: 2.094 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003972/0.5959, allocations: 235 kB / 406.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5959, allocations: 0 / 406.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003193/0.5991, allocations: 0.8121 MB / 407.3 MB, free: 1.051 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.005364/0.6045, allocations: 0.98 MB / 408.2 MB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001613/0.6062, allocations: 487.8 kB / 408.7 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6062, allocations: 12 kB / 408.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005809/0.6068, allocations: 240.4 kB / 409 MB, free: 15.33 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/0.6086, allocations: 184.3 kB / 409.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002485/0.6111, allocations: 1.223 MB / 410.4 MB, free: 13.89 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004769/0.6116, allocations: 0.8289 MB / 411.2 MB, free: 13.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001512/0.6118, allocations: 35.44 kB / 411.2 MB, free: 13 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6118, allocations: 0 / 411.2 MB, free: 13 MB / 362.7 MB Notification: Performance of Templates: time 0.3248/0.9366, allocations: 24.08 MB / 435.3 MB, free: 106.6 MB / 362.7 MB