Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.232/2.232, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.288e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.321, allocations: 54.86 MB / 359.8 MB, free: 2.656 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.921/6.242, allocations: 2.585 GB / 2.936 GB, free: 99.91 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/6.242, allocations: 77.94 kB / 2.936 GB, free: 99.83 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9379/7.18, allocations: 215.5 MB / 3.147 GB, free: 79.71 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.175e-06/7.18, allocations: 4 kB / 3.147 GB, free: 79.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.293e-05/7.18, allocations: 0 / 3.147 GB, free: 79.7 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 77 * Number of variables: 77 Notification: Performance of Generate backend data structure: time 0.007362/7.187, allocations: 1.756 MB / 3.149 GB, free: 78.06 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/7.188, allocations: 12.03 kB / 3.149 GB, free: 78.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002303/7.19, allocations: 228.4 kB / 3.149 GB, free: 77.89 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/7.19, allocations: 274 kB / 3.149 GB, free: 77.62 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.412e-05/7.19, allocations: 25.3 kB / 3.149 GB, free: 77.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/7.19, allocations: 39.89 kB / 3.149 GB, free: 77.55 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/7.193, allocations: 0.85 MB / 3.15 GB, free: 76.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.906e-05/7.193, allocations: 4 kB / 3.15 GB, free: 76.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.746e-05/7.193, allocations: 12 kB / 3.15 GB, free: 76.84 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.775e-05/7.193, allocations: 12 kB / 3.15 GB, free: 76.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/7.196, allocations: 0.94 MB / 3.151 GB, free: 76.08 MB / 490.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.003912/7.2, allocations: 2.78 MB / 3.154 GB, free: 73.41 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/7.202, allocations: 416.7 kB / 3.154 GB, free: 73.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/7.202, allocations: 64.8 kB / 3.154 GB, free: 73.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.8972/8.099, allocations: 224.8 MB / 3.374 GB, free: 5.598 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001713/8.101, allocations: 0.4936 MB / 3.374 GB, free: 5.27 MB / 490.7 MB Notification: Performance of pre-optimization done (n=32): time 4.196e-06/8.101, allocations: 1.75 kB / 3.374 GB, free: 5.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.003582/8.105, allocations: 0.7878 MB / 3.375 GB, free: 4.855 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.299e-05/8.105, allocations: 376.8 kB / 3.375 GB, free: 4.41 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001648/8.105, allocations: 167.1 kB / 3.375 GB, free: 4.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/8.105, allocations: 35.58 kB / 3.375 GB, free: 4.234 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/8.105, allocations: 257.9 kB / 3.376 GB, free: 4.023 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/8.105, allocations: 111.7 kB / 3.376 GB, free: 3.957 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/8.105, allocations: 7.75 kB / 3.376 GB, free: 3.957 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.364e-05/8.105, allocations: 328.8 kB / 3.376 GB, free: 3.641 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/8.105, allocations: 73.45 kB / 3.376 GB, free: 3.594 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/8.106, allocations: 326.8 kB / 3.377 GB, free: 3.195 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002689/8.106, allocations: 126.9 kB / 3.377 GB, free: 3.113 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/8.106, allocations: 0 / 3.377 GB, free: 3.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0009821/8.107, allocations: 423 kB / 3.377 GB, free: 2.852 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/8.107, allocations: 8 kB / 3.377 GB, free: 2.844 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/8.107, allocations: 12 kB / 3.377 GB, free: 2.832 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.971e-05/8.107, allocations: 14.73 kB / 3.377 GB, free: 2.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006025/8.108, allocations: 137.2 kB / 3.377 GB, free: 2.727 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/8.108, allocations: 19.12 kB / 3.377 GB, free: 2.715 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004627/8.108, allocations: 47.62 kB / 3.377 GB, free: 2.688 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.67e-05/8.108, allocations: 47.22 kB / 3.377 GB, free: 2.656 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,medium.phase,state_h_is.phase,state.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/8.109, allocations: 149 kB / 3.377 GB, free: 2.535 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.322e-05/8.109, allocations: 23.81 kB / 3.378 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/8.111, allocations: 1.754 MB / 3.379 GB, free: 1.555 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.908e-05/8.111, allocations: 23.22 kB / 3.379 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.991e-06/8.111, allocations: 4 kB / 3.379 GB, free: 1.539 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.072e-05/8.111, allocations: 4 kB / 3.379 GB, free: 1.535 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/8.112, allocations: 0.8954 MB / 3.38 GB, free: 1.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.83e-06/8.112, allocations: 8.828 kB / 3.38 GB, free: 0.9961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004144/8.113, allocations: 81.52 kB / 3.38 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/8.113, allocations: 8 kB / 3.38 GB, free: 0.9336 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.339e-05/8.113, allocations: 22.92 kB / 3.38 GB, free: 0.9258 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.293e-06/8.113, allocations: 7.938 kB / 3.38 GB, free: 0.918 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.653e-06/8.113, allocations: 6.375 kB / 3.38 GB, free: 0.9141 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/8.114, allocations: 0.8221 MB / 3.381 GB, free: 188 kB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/8.114, allocations: 336.1 kB / 3.381 GB, free: 15.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001262/8.115, allocations: 9.562 kB / 3.381 GB, free: 15.97 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004668/8.115, allocations: 32.78 kB / 3.381 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.367e-05/8.115, allocations: 36.36 kB / 3.381 GB, free: 15.93 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.006e-05/8.115, allocations: 33 kB / 3.381 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007159/8.116, allocations: 417 kB / 3.382 GB, free: 15.63 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.91e-07/8.116, allocations: 4 kB / 3.382 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006625/8.123, allocations: 1.522 MB / 3.383 GB, free: 14.43 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$whenCondition1,medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01228/8.135, allocations: 1.881 MB / 3.385 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000944/8.136, allocations: 378.5 kB / 3.386 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.04e-06/8.136, allocations: 0 / 3.386 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004645/8.136, allocations: 274.3 kB / 3.386 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009446/8.137, allocations: 126.3 kB / 3.386 GB, free: 12.39 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.823/10.96, allocations: 0.7554 GB / 4.141 GB, free: 89.06 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/10.96, allocations: 0.971 MB / 4.142 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/10.96, allocations: 76.55 kB / 4.142 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of SimCode: time 2.515e-06/10.96, allocations: 1.562 kB / 4.142 GB, free: 88.36 MB / 0.4948 GB Notification: Performance of Templates: time 0.05777/11.02, allocations: 34.36 MB / 4.176 GB, free: 86.79 MB / 0.4948 GB