Running command: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT,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_pT") Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.051e-05/3.052e-05, allocations: 4 kB / 276.2 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3518, allocations: 48.7 MB / 324.9 MB, free: 2.469 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.WaterIF97_pT): time 0.0206/0.3724, allocations: 11.24 MB / 336.1 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.04132/0.4138, allocations: 21.07 MB / 357.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.4142, allocations: 1.469 kB / 357.2 MB, free: 12.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003972/0.4146, allocations: 77.5 kB / 357.2 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0262/0.4408, allocations: 5.825 MB / 363.1 MB, free: 7.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.4421, allocations: 279.4 kB / 363.3 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.007844/0.45, allocations: 2.939 MB / 366.3 MB, free: 5.984 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.31e-05/0.4501, allocations: 4 kB / 366.3 MB, free: 5.98 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006881/0.4508, allocations: 239.2 kB / 366.5 MB, free: 5.746 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01416/0.465, allocations: 5.494 MB / 372 MB, free: 256 kB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03177/0.4968, allocations: 10.32 MB / 382.3 MB, free: 5.918 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004422/0.5013, allocations: 0.5859 MB / 382.9 MB, free: 5.328 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.5015, allocations: 47.83 kB / 383 MB, free: 5.281 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.5017, allocations: 36 kB / 383 MB, free: 5.246 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01308/0.5148, allocations: 4.065 MB / 387.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5149, allocations: 0 / 387.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.5149, allocations: 0 / 387.1 MB, free: 1.176 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.592e-05/0.5149, allocations: 0 / 387.1 MB, free: 1.176 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.006082/0.521, allocations: 1.509 MB / 388.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5211, allocations: 12.03 kB / 388.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.5233, allocations: 183.5 kB / 388.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.5239, allocations: 266.6 kB / 389 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.034e-05/0.5239, allocations: 24.66 kB / 389 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.827e-05/0.524, allocations: 43.94 kB / 389.1 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003246/0.5273, allocations: 0.7447 MB / 389.8 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.738e-05/0.5274, allocations: 7.938 kB / 389.8 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.888e-05/0.5274, allocations: 16 kB / 389.9 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.5275, allocations: 8 kB / 389.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003487/0.531, allocations: 0.8098 MB / 390.7 MB, free: 13.42 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.005723/0.5367, allocations: 2.73 MB / 393.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.5387, allocations: 342.2 kB / 393.7 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.071/1.61, allocations: 142 MB / 0.5232 GB, free: 89.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001701/1.612, allocations: 445.9 kB / 0.5236 GB, free: 89.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 4.869e-06/1.612, allocations: 0 / 0.5236 GB, free: 89.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=32): time 0.005464/1.617, allocations: 1.122 MB / 0.5247 GB, free: 88.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/1.617, allocations: 367.8 kB / 0.5251 GB, free: 87.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001862/1.618, allocations: 171.4 kB / 0.5252 GB, free: 87.58 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.779e-05/1.618, allocations: 33.7 kB / 0.5252 GB, free: 87.54 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/1.618, allocations: 259.2 kB / 0.5255 GB, free: 87.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/1.618, allocations: 116.1 kB / 0.5256 GB, free: 87.18 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.926e-05/1.618, allocations: 12 kB / 0.5256 GB, free: 87.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.969e-05/1.618, allocations: 326.8 kB / 0.5259 GB, free: 86.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002396/1.618, allocations: 77.06 kB / 0.526 GB, free: 86.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/1.619, allocations: 344.9 kB / 0.5263 GB, free: 86.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/1.619, allocations: 130.8 kB / 0.5265 GB, free: 86.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/1.619, allocations: 0 / 0.5265 GB, free: 86.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.00115/1.62, allocations: 470 kB / 0.5269 GB, free: 85.71 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/1.62, allocations: 8 kB / 0.5269 GB, free: 85.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/1.62, allocations: 8 kB / 0.5269 GB, free: 85.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/1.62, allocations: 16.52 kB / 0.5269 GB, free: 85.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/1.623, allocations: 211.6 kB / 0.5271 GB, free: 85.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005277/1.624, allocations: 1.18 MB / 0.5283 GB, free: 84.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/1.624, allocations: 27.84 kB / 0.5283 GB, free: 84.22 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.401e-05/1.624, allocations: 47.72 kB / 0.5284 GB, free: 84.18 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,state.phase,state_h_is.phase,medium.phase,state5.phase,state4.phase,state3.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002343/1.624, allocations: 161.7 kB / 0.5285 GB, free: 84.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.07e-05/1.625, allocations: 31.8 kB / 0.5285 GB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003876/1.628, allocations: 2.88 MB / 0.5314 GB, free: 81.08 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.36e-05/1.629, allocations: 20.34 kB / 0.5314 GB, free: 81.06 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.629, allocations: 8 kB / 0.5314 GB, free: 81.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.629, allocations: 4 kB / 0.5314 GB, free: 81.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001217/1.63, allocations: 0.967 MB / 0.5323 GB, free: 80.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.63, allocations: 4 kB / 0.5323 GB, free: 80.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/1.631, allocations: 100.3 kB / 0.5324 GB, free: 79.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003198/1.631, allocations: 166.7 kB / 0.5326 GB, free: 79.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.616e-05/1.631, allocations: 15.95 kB / 0.5326 GB, free: 79.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000391/1.632, allocations: 0.6429 MB / 0.5332 GB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.632, allocations: 4 kB / 0.5332 GB, free: 79.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/1.633, allocations: 1.107 MB / 0.5343 GB, free: 77.85 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/1.634, allocations: 346.9 kB / 0.5347 GB, free: 77.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/1.634, allocations: 15.95 kB / 0.5347 GB, free: 77.47 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006101/1.634, allocations: 23.89 kB / 0.5347 GB, free: 77.45 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/1.634, allocations: 31.97 kB / 0.5347 GB, free: 77.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.089e-05/1.635, allocations: 17.94 kB / 0.5347 GB, free: 77.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007121/1.635, allocations: 470.9 kB / 0.5352 GB, free: 76.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.635, allocations: 1.688 kB / 0.5352 GB, free: 76.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004799/1.64, allocations: 1.507 MB / 0.5367 GB, free: 75.59 MB / 410.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: 11 ($cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009978/1.65, allocations: 1.859 MB / 0.5385 GB, free: 73.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00225/1.652, allocations: 0.5235 MB / 0.539 GB, free: 73.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.652, allocations: 0.75 kB / 0.539 GB, free: 73.42 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006215/1.653, allocations: 357.6 kB / 0.5393 GB, free: 73.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/1.654, allocations: 127.2 kB / 0.5394 GB, free: 72.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/1.659, allocations: 2.622 MB / 0.542 GB, free: 70.51 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/1.659, allocations: 1.002 MB / 0.543 GB, free: 69.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000281/1.66, allocations: 59.41 kB / 0.543 GB, free: 69.42 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/1.66, allocations: 0 / 0.543 GB, free: 69.42 MB / 410.7 MB Notification: Performance of Templates: time 0.07683/1.736, allocations: 39 MB / 0.5811 GB, free: 30.37 MB / 410.7 MB