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_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.286/2.286, allocations: 270 MB / 283.6 MB, free: 3.043 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.773e-05/4.787e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.893/7.005, allocations: 2.757 GB / 3.158 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/7.006, allocations: 79.05 kB / 3.158 GB, free: 175.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.007/8.013, allocations: 217.7 MB / 3.37 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.101e-06/8.013, allocations: 0 / 3.37 GB, free: 100.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.451e-05/8.013, allocations: 3.25 kB / 3.37 GB, free: 100.5 MB / 0.5261 GB 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.007/8.02, allocations: 1.752 MB / 3.372 GB, free: 99.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/8.02, allocations: 9.25 kB / 3.372 GB, free: 99.58 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/8.022, allocations: 224.5 kB / 3.372 GB, free: 99.57 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003511/8.023, allocations: 286.6 kB / 3.373 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/8.023, allocations: 26.72 kB / 3.373 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.601e-05/8.023, allocations: 27.03 kB / 3.373 GB, free: 99.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003109/8.026, allocations: 0.8501 MB / 3.374 GB, free: 99.23 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/8.026, allocations: 0 / 3.374 GB, free: 99.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/8.026, allocations: 16.12 kB / 3.374 GB, free: 99.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/8.026, allocations: 7.531 kB / 3.374 GB, free: 99.23 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002956/8.029, allocations: 0.9517 MB / 3.374 GB, free: 99.23 MB / 0.5261 GB 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.004171/8.033, allocations: 2.775 MB / 3.377 GB, free: 97.36 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/8.035, allocations: 420 kB / 3.378 GB, free: 97.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/8.035, allocations: 68.56 kB / 3.378 GB, free: 97.33 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013/9.048, allocations: 224.8 MB / 3.597 GB, free: 85.34 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00168/9.049, allocations: 0.5026 MB / 3.598 GB, free: 85.19 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 4.196e-06/9.049, allocations: 1.312 kB / 3.598 GB, free: 85.19 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.003498/9.053, allocations: 0.7777 MB / 3.598 GB, free: 85.15 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.467e-05/9.053, allocations: 374.6 kB / 3.599 GB, free: 84.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/9.053, allocations: 174 kB / 3.599 GB, free: 84.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/9.053, allocations: 31.92 kB / 3.599 GB, free: 84.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/9.053, allocations: 182.8 kB / 3.599 GB, free: 84.46 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/9.054, allocations: 115.3 kB / 3.599 GB, free: 84.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.434e-05/9.054, allocations: 12.16 kB / 3.599 GB, free: 84.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.624e-05/9.054, allocations: 337.5 kB / 3.6 GB, free: 84.09 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001774/9.054, allocations: 70.11 kB / 3.6 GB, free: 84.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002802/9.054, allocations: 329.7 kB / 3.6 GB, free: 83.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002766/9.054, allocations: 122 kB / 3.6 GB, free: 83.74 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.2e-06/9.054, allocations: 6.719 kB / 3.6 GB, free: 83.74 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001008/9.055, allocations: 417.6 kB / 3.601 GB, free: 83.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/9.055, allocations: 12.44 kB / 3.601 GB, free: 83.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/9.056, allocations: 7.562 kB / 3.601 GB, free: 83.69 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/9.056, allocations: 15.41 kB / 3.601 GB, free: 83.69 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/9.056, allocations: 140.6 kB / 3.601 GB, free: 83.69 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/9.056, allocations: 14.69 kB / 3.601 GB, free: 83.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005251/9.057, allocations: 51.36 kB / 3.601 GB, free: 83.68 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.728e-05/9.057, allocations: 41.09 kB / 3.601 GB, free: 83.68 MB / 0.5417 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.0001628/9.057, allocations: 148.3 kB / 3.601 GB, free: 83.56 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.532e-05/9.057, allocations: 29.69 kB / 3.601 GB, free: 83.55 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/9.059, allocations: 1.755 MB / 3.603 GB, free: 83.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.473e-05/9.059, allocations: 20.84 kB / 3.603 GB, free: 83.29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/9.059, allocations: 10.09 kB / 3.603 GB, free: 83.29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.613e-06/9.059, allocations: 3.812 kB / 3.603 GB, free: 83.29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/9.061, allocations: 0.8967 MB / 3.604 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.838e-06/9.061, allocations: 7.562 kB / 3.604 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/9.061, allocations: 82.17 kB / 3.604 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/9.061, allocations: 3.438 kB / 3.604 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.306e-05/9.061, allocations: 21.81 kB / 3.604 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.691e-06/9.061, allocations: 5.75 kB / 3.604 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.744e-06/9.061, allocations: 5.562 kB / 3.604 GB, free: 83.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/9.062, allocations: 0.8219 MB / 3.605 GB, free: 82.59 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000332/9.063, allocations: 332.8 kB / 3.605 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/9.063, allocations: 6.625 kB / 3.605 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004998/9.063, allocations: 30.62 kB / 3.605 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.652e-05/9.063, allocations: 37.03 kB / 3.605 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/9.063, allocations: 28.05 kB / 3.605 GB, free: 82.41 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000611/9.064, allocations: 422.8 kB / 3.605 GB, free: 82.3 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.12e-07/9.064, allocations: 0 / 3.605 GB, free: 82.3 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005902/9.07, allocations: 1.52 MB / 3.607 GB, free: 82.21 MB / 0.5417 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.01145/9.082, allocations: 1.89 MB / 3.609 GB, free: 81.88 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008212/9.082, allocations: 374.3 kB / 3.609 GB, free: 81.87 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.385e-06/9.082, allocations: 2.344 kB / 3.609 GB, free: 81.87 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003673/9.083, allocations: 275.9 kB / 3.609 GB, free: 81.87 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008769/9.084, allocations: 122.6 kB / 3.609 GB, free: 81.86 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 2.823/11.91, allocations: 0.7562 GB / 4.366 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/11.91, allocations: 0.9709 MB / 4.367 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002038/11.91, allocations: 1.071 MB / 4.368 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000192/11.91, allocations: 65.62 kB / 4.368 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of SimCode: time 2.168e-06/11.91, allocations: 0 / 4.368 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of Templates: time 0.06606/11.98, allocations: 37.9 MB / 4.405 GB, free: 104.9 MB / 0.5417 GB