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.1_cpp_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 1.987/1.987, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.749e-05/3.768e-05, allocations: 3.984 kB / 273.1 MB, free: 3.66 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08952/0.08959, allocations: 48.69 MB / 321.7 MB, free: 2.879 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.374/6.463, allocations: 2.474 GB / 2.788 GB, free: 90.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002101/6.464, allocations: 80.52 kB / 2.789 GB, free: 90.42 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9404/7.404, allocations: 211.8 MB / 2.995 GB, free: 50.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.151e-06/7.404, allocations: 0 / 2.995 GB, free: 50.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.401e-05/7.404, allocations: 4 kB / 2.995 GB, free: 50.1 MB / 426.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.006865/7.411, allocations: 1.725 MB / 2.997 GB, free: 48.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/7.411, allocations: 8.031 kB / 2.997 GB, free: 48.52 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/7.413, allocations: 231.5 kB / 2.997 GB, free: 48.38 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/7.414, allocations: 279.5 kB / 2.998 GB, free: 48.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.681e-05/7.414, allocations: 25.78 kB / 2.998 GB, free: 48.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/7.414, allocations: 26.88 kB / 2.998 GB, free: 48.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/7.416, allocations: 0.8481 MB / 2.999 GB, free: 47.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/7.417, allocations: 3.938 kB / 2.999 GB, free: 47.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/7.417, allocations: 14.38 kB / 2.999 GB, free: 47.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/7.417, allocations: 11.94 kB / 2.999 GB, free: 47.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00279/7.419, allocations: 0.9589 MB / 2.999 GB, free: 46.62 MB / 426.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.003765/7.423, allocations: 2.765 MB / 3.002 GB, free: 43.74 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/7.425, allocations: 423.6 kB / 3.003 GB, free: 43.32 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/7.425, allocations: 72 kB / 3.003 GB, free: 43.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.16/8.585, allocations: 224.7 MB / 3.222 GB, free: 82.46 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001738/8.586, allocations: 0.5048 MB / 3.223 GB, free: 82.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=32): time 4.604e-06/8.586, allocations: 0 / 3.223 GB, free: 82.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=32): time 0.004049/8.59, allocations: 0.7859 MB / 3.223 GB, free: 82.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.95e-05/8.591, allocations: 369.9 kB / 3.224 GB, free: 81.83 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002002/8.591, allocations: 169.7 kB / 3.224 GB, free: 81.73 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/8.591, allocations: 33.73 kB / 3.224 GB, free: 81.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/8.591, allocations: 252.4 kB / 3.224 GB, free: 81.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/8.591, allocations: 113.9 kB / 3.224 GB, free: 81.45 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.142e-05/8.591, allocations: 11.03 kB / 3.224 GB, free: 81.45 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/8.591, allocations: 331.8 kB / 3.225 GB, free: 81.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/8.591, allocations: 69.31 kB / 3.225 GB, free: 81.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/8.592, allocations: 323.1 kB / 3.225 GB, free: 80.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002969/8.592, allocations: 127.7 kB / 3.225 GB, free: 80.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/8.592, allocations: 6.797 kB / 3.225 GB, free: 80.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00106/8.593, allocations: 421.5 kB / 3.225 GB, free: 80.77 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/8.593, allocations: 9.156 kB / 3.225 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/8.593, allocations: 8.969 kB / 3.225 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.229e-05/8.593, allocations: 20.66 kB / 3.226 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/8.594, allocations: 133.9 kB / 3.226 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.649e-05/8.594, allocations: 22.22 kB / 3.226 GB, free: 80.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004649/8.594, allocations: 48.42 kB / 3.226 GB, free: 80.76 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/8.594, allocations: 45.45 kB / 3.226 GB, free: 80.76 MB / 458.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.0001573/8.595, allocations: 145.1 kB / 3.226 GB, free: 80.66 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/8.595, allocations: 31.23 kB / 3.226 GB, free: 80.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002145/8.597, allocations: 1.753 MB / 3.228 GB, free: 80.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.482e-05/8.597, allocations: 27.2 kB / 3.228 GB, free: 80.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/8.597, allocations: 3.562 kB / 3.228 GB, free: 80.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.667e-06/8.597, allocations: 3.938 kB / 3.228 GB, free: 80.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/8.598, allocations: 0.8893 MB / 3.229 GB, free: 80.18 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.463e-06/8.598, allocations: 7.578 kB / 3.229 GB, free: 80.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/8.599, allocations: 84.12 kB / 3.229 GB, free: 80.17 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/8.599, allocations: 3.969 kB / 3.229 GB, free: 80.17 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.192e-05/8.599, allocations: 26.83 kB / 3.229 GB, free: 80.17 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.793e-06/8.599, allocations: 7.594 kB / 3.229 GB, free: 80.17 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.232e-06/8.599, allocations: 0.75 kB / 3.229 GB, free: 80.17 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/8.6, allocations: 0.814 MB / 3.229 GB, free: 79.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003311/8.6, allocations: 344 kB / 3.23 GB, free: 79.59 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/8.6, allocations: 10.5 kB / 3.23 GB, free: 79.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004952/8.601, allocations: 21.44 kB / 3.23 GB, free: 79.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.771e-05/8.601, allocations: 43.03 kB / 3.23 GB, free: 79.58 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/8.601, allocations: 21.56 kB / 3.23 GB, free: 79.58 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005888/8.602, allocations: 431.3 kB / 3.23 GB, free: 79.48 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.83e-07/8.602, allocations: 3.656 kB / 3.23 GB, free: 79.48 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005811/8.607, allocations: 1.499 MB / 3.232 GB, free: 79.45 MB / 458.7 MB 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.01124/8.619, allocations: 1.877 MB / 3.234 GB, free: 79.24 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0008277/8.62, allocations: 383.8 kB / 3.234 GB, free: 79.21 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.8e-06/8.62, allocations: 2.438 kB / 3.234 GB, free: 79.21 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/8.62, allocations: 278.6 kB / 3.234 GB, free: 79.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008936/8.621, allocations: 125.4 kB / 3.234 GB, free: 79.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.433/11.05, allocations: 0.7286 GB / 3.963 GB, free: 59.52 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006054/11.05, allocations: 0.9688 MB / 3.964 GB, free: 58.64 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000382/11.05, allocations: 70.59 kB / 3.964 GB, free: 58.58 MB / 458.7 MB Notification: Performance of SimCode: time 2.276e-06/11.05, allocations: 1.094 kB / 3.964 GB, free: 58.58 MB / 458.7 MB Notification: Performance of Templates: time 0.05914/11.11, allocations: 34.1 MB / 3.997 GB, free: 33.42 MB / 458.7 MB