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 2.003/2.003, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.812e-05/2.82e-05, allocations: 0 / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3722/0.3723, allocations: 48.71 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_ph): time 0.02438/0.3967, allocations: 11.22 MB / 336.1 MB, free: 12 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.03998/0.4367, allocations: 21.08 MB / 357.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000308/0.4371, allocations: 1.25 kB / 357.2 MB, free: 12.39 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003777/0.4375, allocations: 68.64 kB / 357.2 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02577/0.4633, allocations: 5.826 MB / 363.1 MB, free: 7.395 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001293/0.4646, allocations: 283.4 kB / 363.3 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007589/0.4722, allocations: 2.928 MB / 366.3 MB, free: 6.109 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.4723, allocations: 4 kB / 366.3 MB, free: 6.105 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00075/0.4731, allocations: 251.2 kB / 366.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01784/0.4909, allocations: 5.501 MB / 372 MB, free: 364 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03951/0.5305, allocations: 9.607 MB / 381.6 MB, free: 6.738 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004725/0.5353, allocations: 0.5391 MB / 382.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.5355, allocations: 47.83 kB / 382.2 MB, free: 6.152 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002163/0.5358, allocations: 32 kB / 382.2 MB, free: 6.121 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01482/0.5506, allocations: 3.792 MB / 386 MB, free: 2.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5507, allocations: 0 / 386 MB, free: 2.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.775e-06/0.5507, allocations: 0 / 386 MB, free: 2.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.5507, allocations: 0 / 386 MB, free: 2.32 MB / 314.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.007291/0.558, allocations: 1.459 MB / 387.5 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.5581, allocations: 12.03 kB / 387.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002522/0.5606, allocations: 227.5 kB / 387.7 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.5611, allocations: 270.6 kB / 388 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.5612, allocations: 24.66 kB / 388 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.568e-05/0.5613, allocations: 39.88 kB / 388 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003641/0.5649, allocations: 0.8289 MB / 388.9 MB, free: 15.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.147e-05/0.565, allocations: 7.938 kB / 388.9 MB, free: 15.33 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.637e-05/0.5651, allocations: 12 kB / 388.9 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.5651, allocations: 8 kB / 388.9 MB, free: 15.31 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004112/0.5692, allocations: 0.9543 MB / 389.9 MB, free: 14.36 MB / 330.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005192/0.5744, allocations: 2.589 MB / 392.4 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002134/0.5766, allocations: 378.2 kB / 392.8 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.386/1.962, allocations: 226.6 MB / 0.6049 GB, free: 280 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/1.964, allocations: 476 kB / 0.6053 GB, free: 15.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=32): time 5.861e-06/1.964, allocations: 0.9844 kB / 0.6053 GB, free: 15.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.004775/1.969, allocations: 0.7795 MB / 0.6061 GB, free: 14.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002163/1.969, allocations: 371.8 kB / 0.6064 GB, free: 14.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/1.97, allocations: 163.8 kB / 0.6066 GB, free: 14.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.436e-05/1.97, allocations: 37.7 kB / 0.6066 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/1.97, allocations: 252.2 kB / 0.6069 GB, free: 14.09 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/1.97, allocations: 111.3 kB / 0.607 GB, free: 13.98 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/1.97, allocations: 15.94 kB / 0.607 GB, free: 13.97 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001591/1.97, allocations: 335.3 kB / 0.6073 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/1.971, allocations: 81.06 kB / 0.6074 GB, free: 13.55 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/1.971, allocations: 344.4 kB / 0.6077 GB, free: 13.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/1.972, allocations: 127.8 kB / 0.6078 GB, free: 12.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/1.972, allocations: 4 kB / 0.6078 GB, free: 12.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001517/1.973, allocations: 468.2 kB / 0.6083 GB, free: 12.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/1.973, allocations: 10.81 kB / 0.6083 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/1.973, allocations: 8 kB / 0.6083 GB, free: 12.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.681e-05/1.974, allocations: 16 kB / 0.6083 GB, free: 12.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008857/1.974, allocations: 143.7 kB / 0.6085 GB, free: 12.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.772e-05/1.974, allocations: 20.88 kB / 0.6085 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005449/1.975, allocations: 51.78 kB / 0.6085 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/1.975, allocations: 51.97 kB / 0.6086 GB, free: 12.21 MB / 426.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.phase,state_h_is.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.0002822/1.975, allocations: 157.6 kB / 0.6087 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/1.976, allocations: 23.8 kB / 0.6087 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004823/1.98, allocations: 2.655 MB / 0.6113 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-05/1.98, allocations: 19.97 kB / 0.6114 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.981, allocations: 4 kB / 0.6114 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/1.981, allocations: 4 kB / 0.6114 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001615/1.982, allocations: 0.9352 MB / 0.6123 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/1.982, allocations: 4 kB / 0.6123 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000656/1.983, allocations: 71.88 kB / 0.6124 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.589e-05/1.983, allocations: 7.984 kB / 0.6124 GB, free: 8.277 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/1.983, allocations: 16 kB / 0.6124 GB, free: 8.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.969e-06/1.983, allocations: 7.938 kB / 0.6124 GB, free: 8.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/1.983, allocations: 4 kB / 0.6124 GB, free: 8.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001619/1.985, allocations: 0.8321 MB / 0.6132 GB, free: 7.285 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006145/1.985, allocations: 382.7 kB / 0.6136 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000217/1.985, allocations: 12 kB / 0.6136 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/1.986, allocations: 15.98 kB / 0.6136 GB, free: 6.859 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/1.986, allocations: 43.84 kB / 0.6136 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.814e-05/1.986, allocations: 18.06 kB / 0.6137 GB, free: 6.801 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001074/1.987, allocations: 0.4961 MB / 0.6141 GB, free: 6.293 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.987, allocations: 0 / 0.6141 GB, free: 6.293 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00519/1.993, allocations: 1.413 MB / 0.6155 GB, free: 4.934 MB / 426.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 ($cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.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.01014/2.003, allocations: 1.71 MB / 0.6172 GB, free: 3.371 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001315/2.004, allocations: 410.2 kB / 0.6176 GB, free: 2.977 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/2.004, allocations: 3.938 kB / 0.6176 GB, free: 2.973 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005951/2.005, allocations: 282.2 kB / 0.6178 GB, free: 2.703 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/2.006, allocations: 127.5 kB / 0.618 GB, free: 2.574 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005538/2.012, allocations: 2.628 MB / 0.6205 GB, free: 152 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3163/2.328, allocations: 0.9993 MB / 0.6215 GB, free: 151.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004138/2.328, allocations: 58.22 kB / 0.6216 GB, free: 151.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/2.329, allocations: 1.203 kB / 0.6216 GB, free: 151.7 MB / 426.7 MB Notification: Performance of Templates: time 0.08681/2.415, allocations: 34.17 MB / 0.6549 GB, free: 132.9 MB / 426.7 MB