Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_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.WaterIF97_ph") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.925e-05/2.941e-05, allocations: 0 / 255.4 MB, free: 2.723 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07762/0.07767, allocations: 44.51 MB / 299.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.145/6.223, allocations: 2.576 GB / 2.869 GB, free: 94.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/6.223, allocations: 85.44 kB / 2.869 GB, free: 94.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.948/8.171, allocations: 429.6 MB / 3.288 GB, free: 33.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.271e-06/8.172, allocations: 0 / 3.288 GB, free: 33.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.525e-05/8.172, allocations: 9.688 kB / 3.288 GB, free: 33.75 MB / 410.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.00398/8.176, allocations: 1.248 MB / 3.29 GB, free: 33.27 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/8.176, allocations: 10.38 kB / 3.29 GB, free: 33.27 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001707/8.177, allocations: 160.8 kB / 3.29 GB, free: 33.25 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004902/8.178, allocations: 313.2 kB / 3.29 GB, free: 33.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/8.178, allocations: 28.62 kB / 3.29 GB, free: 33.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.383e-05/8.178, allocations: 32.34 kB / 3.29 GB, free: 33.05 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/8.18, allocations: 0.5408 MB / 3.291 GB, free: 32.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/8.18, allocations: 5.594 kB / 3.291 GB, free: 32.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.749e-05/8.18, allocations: 14.67 kB / 3.291 GB, free: 32.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/8.18, allocations: 8.344 kB / 3.291 GB, free: 32.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/8.181, allocations: 471.6 kB / 3.291 GB, free: 32.93 MB / 410.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.003123/8.184, allocations: 2.617 MB / 3.294 GB, free: 31.01 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/8.186, allocations: 416.5 kB / 3.294 GB, free: 30.99 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002814/8.186, allocations: 131.9 kB / 3.294 GB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008202/8.187, allocations: 0.5662 MB / 3.295 GB, free: 30.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/8.187, allocations: 36.48 kB / 3.295 GB, free: 30.46 MB / 410.7 MB Notification: Performance of pre-optimization done (n=30): time 3.284e-06/8.187, allocations: 3 kB / 3.295 GB, free: 30.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.004515/8.192, allocations: 1.245 MB / 3.296 GB, free: 30.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.681e-05/8.192, allocations: 54.44 kB / 3.296 GB, free: 30.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002727/8.192, allocations: 222.9 kB / 3.296 GB, free: 29.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.526e-05/8.192, allocations: 28.95 kB / 3.296 GB, free: 29.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/8.192, allocations: 192.2 kB / 3.296 GB, free: 29.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.073e-05/8.192, allocations: 111.9 kB / 3.297 GB, free: 29.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/8.192, allocations: 10.25 kB / 3.297 GB, free: 29.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.45e-05/8.192, allocations: 343.3 kB / 3.297 GB, free: 29.44 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/8.193, allocations: 104.3 kB / 3.297 GB, free: 29.44 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/8.193, allocations: 193.9 kB / 3.297 GB, free: 29.33 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/8.193, allocations: 136.6 kB / 3.297 GB, free: 29.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.554e-06/8.193, allocations: 0 / 3.297 GB, free: 29.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001019/8.194, allocations: 418.7 kB / 3.298 GB, free: 29.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/8.194, allocations: 9.188 kB / 3.298 GB, free: 29.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.171e-06/8.194, allocations: 3.875 kB / 3.298 GB, free: 29.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004276/8.195, allocations: 81.27 kB / 3.298 GB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/8.195, allocations: 92.11 kB / 3.298 GB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/8.197, allocations: 2.38 MB / 3.3 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005525/8.197, allocations: 51.69 kB / 3.3 GB, free: 26.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.944e-05/8.197, allocations: 28.42 kB / 3.3 GB, free: 26.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001306/8.197, allocations: 129.2 kB / 3.3 GB, free: 26.84 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.923e-05/8.198, allocations: 27.38 kB / 3.3 GB, free: 26.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001777/8.199, allocations: 1.335 MB / 3.302 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/8.199, allocations: 24.33 kB / 3.302 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.515e-06/8.199, allocations: 0 / 3.302 GB, free: 26.64 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00144/8.201, allocations: 1.422 MB / 3.303 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/8.204, allocations: 2.1 MB / 3.305 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/8.204, allocations: 0 / 3.305 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/8.204, allocations: 110 kB / 3.305 GB, free: 25.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004491/8.205, allocations: 67.73 kB / 3.305 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/8.205, allocations: 7.719 kB / 3.305 GB, free: 25.68 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00035/8.205, allocations: 0.5989 MB / 3.306 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.661e-06/8.205, allocations: 0 / 3.306 GB, free: 25.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001632/8.207, allocations: 1.169 MB / 3.307 GB, free: 24.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/8.207, allocations: 164.1 kB / 3.307 GB, free: 24.82 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.901e-05/8.207, allocations: 9.531 kB / 3.307 GB, free: 24.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004942/8.208, allocations: 44.95 kB / 3.307 GB, free: 24.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/8.208, allocations: 35.69 kB / 3.307 GB, free: 24.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/8.208, allocations: 16.95 kB / 3.307 GB, free: 24.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002975/8.208, allocations: 230.7 kB / 3.308 GB, free: 24.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.962e-06/8.208, allocations: 3.656 kB / 3.308 GB, free: 24.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003663/8.212, allocations: 0.8909 MB / 3.308 GB, free: 24.61 MB / 410.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: 11 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.006533/8.218, allocations: 1.337 MB / 3.31 GB, free: 24.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/8.22, allocations: 0.5737 MB / 3.31 GB, free: 24.27 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.2e-06/8.22, allocations: 0 / 3.31 GB, free: 24.27 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005955/8.22, allocations: 374.4 kB / 3.311 GB, free: 24.27 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00125/8.221, allocations: 192.6 kB / 3.311 GB, free: 24.26 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/8.223, allocations: 0.9488 MB / 3.312 GB, free: 24.04 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/8.224, allocations: 0.8845 MB / 3.313 GB, free: 23.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005191/8.224, allocations: 150.7 kB / 3.313 GB, free: 23.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/8.224, allocations: 37.16 kB / 3.313 GB, free: 23.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.762e-06/8.224, allocations: 0 / 3.313 GB, free: 23.32 MB / 410.7 MB Notification: Performance of Templates: time 0.05587/8.28, allocations: 32.29 MB / 3.344 GB, free: 22.35 MB / 410.7 MB