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_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.302/2.302, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.39e-05/3.414e-05, allocations: 4 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3245, allocations: 54.86 MB / 359.8 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.118/6.442, allocations: 2.585 GB / 2.936 GB, free: 18.74 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/6.443, allocations: 79.89 kB / 2.937 GB, free: 18.7 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9302/7.373, allocations: 215.5 MB / 3.147 GB, free: 12.6 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.253e-06/7.373, allocations: 4 kB / 3.147 GB, free: 12.59 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.432e-05/7.373, allocations: 0 / 3.147 GB, free: 12.59 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.007951/7.381, allocations: 1.753 MB / 3.149 GB, free: 10.79 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/7.381, allocations: 12.03 kB / 3.149 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002372/7.383, allocations: 227.5 kB / 3.149 GB, free: 10.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004036/7.384, allocations: 274.6 kB / 3.149 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.554e-05/7.384, allocations: 29.06 kB / 3.149 GB, free: 10.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.323e-05/7.384, allocations: 35.95 kB / 3.149 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/7.387, allocations: 0.8485 MB / 3.15 GB, free: 9.297 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/7.387, allocations: 4 kB / 3.15 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/7.387, allocations: 16 kB / 3.15 GB, free: 9.277 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/7.387, allocations: 8 kB / 3.15 GB, free: 9.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003039/7.39, allocations: 0.9377 MB / 3.151 GB, free: 8.328 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.004161/7.394, allocations: 2.784 MB / 3.154 GB, free: 5.324 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/7.396, allocations: 410.1 kB / 3.154 GB, free: 4.914 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001567/7.396, allocations: 68.84 kB / 3.154 GB, free: 4.844 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242/8.639, allocations: 224.8 MB / 3.374 GB, free: 94.96 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001971/8.641, allocations: 0.4939 MB / 3.374 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=32): time 4.492e-06/8.641, allocations: 0 / 3.374 GB, free: 94.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=32): time 0.003931/8.645, allocations: 0.7837 MB / 3.375 GB, free: 94.78 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/8.645, allocations: 374.1 kB / 3.375 GB, free: 94.34 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/8.645, allocations: 165.5 kB / 3.375 GB, free: 94.25 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.154e-05/8.645, allocations: 35.55 kB / 3.375 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/8.645, allocations: 186.1 kB / 3.376 GB, free: 94.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 9.66e-05/8.645, allocations: 112.7 kB / 3.376 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.071e-05/8.645, allocations: 9.375 kB / 3.376 GB, free: 94.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.859e-05/8.645, allocations: 332.9 kB / 3.376 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/8.646, allocations: 77.78 kB / 3.376 GB, free: 93.71 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002932/8.646, allocations: 330.1 kB / 3.376 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/8.646, allocations: 123 kB / 3.377 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.594e-06/8.646, allocations: 5.656 kB / 3.377 GB, free: 93.38 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001013/8.647, allocations: 414.3 kB / 3.377 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/8.647, allocations: 11.31 kB / 3.377 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/8.647, allocations: 9.406 kB / 3.377 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.404e-05/8.647, allocations: 14.06 kB / 3.377 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/8.648, allocations: 139.1 kB / 3.377 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/8.648, allocations: 29.25 kB / 3.377 GB, free: 93.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/8.648, allocations: 56.5 kB / 3.377 GB, free: 93.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.365e-05/8.649, allocations: 40 kB / 3.377 GB, free: 93.32 MB / 0.5105 GB 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.0001488/8.649, allocations: 148.6 kB / 3.377 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.053e-05/8.649, allocations: 23.88 kB / 3.377 GB, free: 93.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/8.651, allocations: 1.751 MB / 3.379 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.499e-05/8.651, allocations: 19.44 kB / 3.379 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.624e-06/8.651, allocations: 8.688 kB / 3.379 GB, free: 92.97 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/8.651, allocations: 10.75 kB / 3.379 GB, free: 92.96 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/8.652, allocations: 0.8935 MB / 3.38 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/8.652, allocations: 3.312 kB / 3.38 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004577/8.653, allocations: 82.73 kB / 3.38 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/8.653, allocations: 6.656 kB / 3.38 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.61e-05/8.653, allocations: 20.66 kB / 3.38 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.224e-06/8.653, allocations: 9.234 kB / 3.38 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/8.653, allocations: 6.594 kB / 3.38 GB, free: 92.73 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001156/8.654, allocations: 0.8234 MB / 3.381 GB, free: 92.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/8.655, allocations: 329.3 kB / 3.381 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/8.655, allocations: 11.75 kB / 3.381 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004818/8.655, allocations: 21.78 kB / 3.381 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.237e-05/8.655, allocations: 41.75 kB / 3.381 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.529e-05/8.655, allocations: 27.73 kB / 3.381 GB, free: 92.16 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006296/8.656, allocations: 425 kB / 3.382 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.86e-07/8.656, allocations: 0 / 3.382 GB, free: 92.06 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006302/8.662, allocations: 1.516 MB / 3.383 GB, free: 92.05 MB / 0.5105 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.01192/8.674, allocations: 1.89 MB / 3.385 GB, free: 91.91 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008799/8.675, allocations: 377.9 kB / 3.386 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.428e-06/8.675, allocations: 3.906 kB / 3.386 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0004096/8.676, allocations: 271.9 kB / 3.386 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009711/8.677, allocations: 121.1 kB / 3.386 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.653/11.33, allocations: 0.7552 GB / 4.141 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/11.33, allocations: 0.9623 MB / 4.142 GB, free: 97.21 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00197/11.33, allocations: 1.077 MB / 4.143 GB, free: 97.16 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/11.33, allocations: 64.06 kB / 4.143 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of SimCode: time 2.556e-06/11.33, allocations: 0 / 4.143 GB, free: 97.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.06291/11.4, allocations: 37.84 MB / 4.18 GB, free: 94.1 MB / 0.5105 GB