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 1.937/1.937, allocations: 195 MB / 203.2 MB, free: 6.762 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.425e-05/2.44e-05, allocations: 3.734 kB / 249.6 MB, free: 5.543 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07665/0.0767, allocations: 44.5 MB / 294.1 MB, free: 11.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.008/6.084, allocations: 2.575 GB / 2.862 GB, free: 32.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/6.085, allocations: 87.94 kB / 2.863 GB, free: 32.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.891/7.976, allocations: 425.9 MB / 3.278 GB, free: 32.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.513e-06/7.976, allocations: 0 / 3.278 GB, free: 32.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.624e-05/7.976, allocations: 9.219 kB / 3.278 GB, free: 32.7 MB / 394.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.00426/7.98, allocations: 1.21 MB / 3.28 GB, free: 31.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/7.98, allocations: 11.72 kB / 3.28 GB, free: 31.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0017/7.982, allocations: 153.2 kB / 3.28 GB, free: 31.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005413/7.983, allocations: 320.3 kB / 3.28 GB, free: 31.6 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/7.983, allocations: 11.34 kB / 3.28 GB, free: 31.6 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.04e-05/7.983, allocations: 17.77 kB / 3.28 GB, free: 31.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005611/7.983, allocations: 248 kB / 3.28 GB, free: 31.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006497/7.984, allocations: 360.7 kB / 3.281 GB, free: 31.31 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/7.984, allocations: 0 / 3.281 GB, free: 31.31 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.136e-05/7.984, allocations: 2.969 kB / 3.281 GB, free: 31.31 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.161e-05/7.984, allocations: 15.34 kB / 3.281 GB, free: 31.3 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or 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.07082/8.055, allocations: 33.19 MB / 3.313 GB, free: 7.188 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003802/8.055, allocations: 196.2 kB / 3.313 GB, free: 6.996 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001741/8.056, allocations: 96.45 kB / 3.313 GB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07234/8.128, allocations: 30.87 MB / 3.344 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/8.128, allocations: 42.56 kB / 3.344 GB, free: 6.691 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 4.316e-06/8.128, allocations: 0 / 3.344 GB, free: 6.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=29): time 0.00373/8.132, allocations: 0.9074 MB / 3.344 GB, free: 5.727 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/8.132, allocations: 55.41 kB / 3.344 GB, free: 5.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/8.132, allocations: 199.9 kB / 3.345 GB, free: 5.461 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.414e-05/8.132, allocations: 29.7 kB / 3.345 GB, free: 5.426 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001936/8.133, allocations: 262.5 kB / 3.345 GB, free: 5.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001163/8.133, allocations: 98.5 kB / 3.345 GB, free: 5.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.891e-05/8.133, allocations: 0 / 3.345 GB, free: 5.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001821/8.133, allocations: 334.8 kB / 3.345 GB, free: 4.734 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002076/8.133, allocations: 76.88 kB / 3.345 GB, free: 4.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003207/8.134, allocations: 202 kB / 3.346 GB, free: 4.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004975/8.134, allocations: 128.1 kB / 3.346 GB, free: 4.285 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/8.134, allocations: 7.938 kB / 3.346 GB, free: 4.277 MB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001166/8.135, allocations: 362.8 kB / 3.346 GB, free: 3.91 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/8.135, allocations: 4 kB / 3.346 GB, free: 3.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/8.135, allocations: 4.5 kB / 3.346 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003089/8.136, allocations: 61.69 kB / 3.346 GB, free: 3.836 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/8.136, allocations: 83.91 kB / 3.346 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002387/8.139, allocations: 2.383 MB / 3.349 GB, free: 1.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004224/8.139, allocations: 24.14 kB / 3.349 GB, free: 1.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/8.139, allocations: 16 kB / 3.349 GB, free: 1.168 MB / 426.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.0001838/8.139, allocations: 124.6 kB / 3.349 GB, free: 1.039 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/8.139, allocations: 27.7 kB / 3.349 GB, free: 1.012 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/8.141, allocations: 0.7571 MB / 3.35 GB, free: 252 kB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/8.141, allocations: 7.984 kB / 3.35 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.845e-06/8.141, allocations: 0 / 3.35 GB, free: 244 kB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2453/8.386, allocations: 0.9709 MB / 3.35 GB, free: 70.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002259/8.388, allocations: 1.316 MB / 3.352 GB, free: 70.25 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.871e-06/8.388, allocations: 0.875 kB / 3.352 GB, free: 70.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003032/8.389, allocations: 53.67 kB / 3.352 GB, free: 70.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003154/8.389, allocations: 64.78 kB / 3.352 GB, free: 70.24 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/8.389, allocations: 3.828 kB / 3.352 GB, free: 70.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000439/8.39, allocations: 0.6214 MB / 3.352 GB, free: 69.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.564e-06/8.39, allocations: 0.9375 kB / 3.352 GB, free: 69.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001349/8.391, allocations: 0.8165 MB / 3.353 GB, free: 69.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001634/8.391, allocations: 108.7 kB / 3.353 GB, free: 69.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.91e-05/8.391, allocations: 5.656 kB / 3.353 GB, free: 69.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/8.392, allocations: 35.19 kB / 3.353 GB, free: 69.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.348e-05/8.392, allocations: 23.05 kB / 3.353 GB, free: 69.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.396e-05/8.392, allocations: 14.38 kB / 3.353 GB, free: 69.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001923/8.392, allocations: 158.1 kB / 3.354 GB, free: 69.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.96e-07/8.392, allocations: 0 / 3.354 GB, free: 69.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003963/8.396, allocations: 0.8617 MB / 3.354 GB, free: 69.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007178/8.403, allocations: 1.417 MB / 3.356 GB, free: 69.24 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/8.405, allocations: 458.9 kB / 3.356 GB, free: 69.14 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.587e-06/8.405, allocations: 0 / 3.356 GB, free: 69.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000499/8.405, allocations: 236 kB / 3.356 GB, free: 69.14 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/8.406, allocations: 134.4 kB / 3.357 GB, free: 69.13 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/8.408, allocations: 0.7222 MB / 3.357 GB, free: 68.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/8.408, allocations: 0.817 MB / 3.358 GB, free: 68.24 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/8.408, allocations: 36.14 kB / 3.358 GB, free: 68.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/8.408, allocations: 0 / 3.358 GB, free: 68.23 MB / 426.7 MB Notification: Performance of Templates: time 0.04204/8.45, allocations: 25.95 MB / 3.384 GB, free: 66.98 MB / 426.7 MB