Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 2.007/2.007, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.314e-05/3.309e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3474, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT): time 0.07288/0.4203, allocations: 31.76 MB / 356.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03795/0.4583, allocations: 16.07 MB / 372.7 MB, free: 15.68 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001672/0.4601, allocations: 35.75 kB / 372.7 MB, free: 15.64 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002475/0.4626, allocations: 350.2 kB / 373.1 MB, free: 15.3 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01736/0.4801, allocations: 3.517 MB / 376.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007936/0.488, allocations: 1.85 MB / 378.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002729/0.4908, allocations: 0.9818 MB / 379.4 MB, free: 8.93 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000788/0.4916, allocations: 311.5 kB / 379.7 MB, free: 8.621 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01576/0.5074, allocations: 6.109 MB / 385.8 MB, free: 2.508 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02241/0.5299, allocations: 8.617 MB / 394.4 MB, free: 9.887 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02543/0.5554, allocations: 6.454 MB / 400.9 MB, free: 3.426 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00358/0.559, allocations: 404 kB / 401.3 MB, free: 3.031 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006401/0.5597, allocations: 219.3 kB / 401.5 MB, free: 2.816 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005366/0.5602, allocations: 92 kB / 401.6 MB, free: 2.727 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01124/0.5715, allocations: 3.133 MB / 404.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.5715, allocations: 0 / 404.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.447e-06/0.5716, allocations: 0 / 404.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.5716, allocations: 4 kB / 404.7 MB, free: 15.59 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.006654/0.5783, allocations: 1.38 MB / 406.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/0.5783, allocations: 8.031 kB / 406.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/0.5814, allocations: 210.8 kB / 406.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.5832, allocations: 0.5317 MB / 406.9 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.5834, allocations: 104.7 kB / 407 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002181/0.5837, allocations: 59.98 kB / 407 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004058/0.5877, allocations: 1.068 MB / 408.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.188e-05/0.5878, allocations: 3.938 kB / 408.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.588, allocations: 39.98 kB / 408.1 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001266/0.5882, allocations: 36.98 kB / 408.2 MB, free: 11.94 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003806/0.592, allocations: 0.8193 MB / 409 MB, free: 11.12 MB / 346.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.01209/0.6041, allocations: 5.542 MB / 414.5 MB, free: 5.215 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002566/0.6067, allocations: 0.5233 MB / 415.1 MB, free: 4.664 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1867/0.7935, allocations: 53.92 MB / 469 MB, free: 8.273 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/0.7936, allocations: 42.56 kB / 469 MB, free: 8.223 MB / 410.7 MB Notification: Performance of pre-optimization done (n=39): time 3.376e-06/0.7936, allocations: 4 kB / 469 MB, free: 8.219 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.009858/0.8035, allocations: 2.103 MB / 471.1 MB, free: 6.051 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.8036, allocations: 191.9 kB / 471.3 MB, free: 5.82 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.8047, allocations: 0.5461 MB / 471.9 MB, free: 5.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.8049, allocations: 29.7 kB / 471.9 MB, free: 5.234 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004082/0.8053, allocations: 445.4 kB / 472.3 MB, free: 4.797 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/0.8055, allocations: 173.7 kB / 472.5 MB, free: 4.625 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.713e-05/0.8056, allocations: 16 kB / 472.5 MB, free: 4.609 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.8058, allocations: 338.8 kB / 472.8 MB, free: 4.27 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.8065, allocations: 233.9 kB / 473.1 MB, free: 4.039 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009996/0.8075, allocations: 0.605 MB / 473.7 MB, free: 3.246 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009099/0.8084, allocations: 343.6 kB / 474 MB, free: 2.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.8085, allocations: 4 kB / 474 MB, free: 2.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002429/0.8109, allocations: 0.8693 MB / 474.9 MB, free: 2.027 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.811, allocations: 16.17 kB / 474.9 MB, free: 2.012 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.811, allocations: 16 kB / 474.9 MB, free: 1.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005469/0.8165, allocations: 276.5 kB / 475.2 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002443/0.819, allocations: 283.6 kB / 475.5 MB, free: 1.445 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2666/1.086, allocations: 2.031 MB / 477.5 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/1.087, allocations: 59.08 kB / 477.5 MB, free: 136.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001679/1.088, allocations: 44.8 kB / 477.6 MB, free: 136.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],volume.medium.phase,shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008049/1.088, allocations: 271.6 kB / 477.9 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003591/1.089, allocations: 71.67 kB / 477.9 MB, free: 136.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/1.094, allocations: 2.019 MB / 479.9 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.015e-05/1.094, allocations: 22.27 kB / 480 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.094, allocations: 4.062 kB / 480 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/1.094, allocations: 6.453 kB / 480 MB, free: 135.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007838/1.102, allocations: 2.978 MB / 483 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-05/1.102, allocations: 1.375 kB / 483 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002528/1.105, allocations: 184.5 kB / 483.1 MB, free: 134.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004114/1.109, allocations: 301.2 kB / 483.4 MB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/1.109, allocations: 14.25 kB / 483.4 MB, free: 134.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002644/1.112, allocations: 2.095 MB / 485.5 MB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.18e-06/1.112, allocations: 2.188 kB / 485.5 MB, free: 132.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004712/1.117, allocations: 1.948 MB / 487.5 MB, free: 131.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009095/1.118, allocations: 283.5 kB / 487.8 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/1.118, allocations: 12.23 kB / 487.8 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001265/1.119, allocations: 32.56 kB / 487.8 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/1.119, allocations: 32.88 kB / 487.8 MB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/1.119, allocations: 18.66 kB / 487.9 MB, free: 131 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001616/1.121, allocations: 0.5545 MB / 488.4 MB, free: 130.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.121, allocations: 1.188 kB / 488.4 MB, free: 130.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005951/1.127, allocations: 1.035 MB / 489.4 MB, free: 130.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009232/1.136, allocations: 1.198 MB / 490.6 MB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004262/1.141, allocations: 0.899 MB / 491.5 MB, free: 130.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/1.141, allocations: 8.016 kB / 491.6 MB, free: 130.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002784/1.143, allocations: 0.6177 MB / 492.2 MB, free: 130 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004207/1.148, allocations: 360.1 kB / 492.5 MB, free: 130 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00531/1.153, allocations: 2.607 MB / 495.1 MB, free: 128.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009045/1.154, allocations: 1.115 MB / 496.2 MB, free: 127.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/1.154, allocations: 68.86 kB / 496.3 MB, free: 127.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/1.154, allocations: 0 / 496.3 MB, free: 127.8 MB / 410.7 MB Notification: Performance of Templates: time 0.08491/1.239, allocations: 37.78 MB / 0.5216 GB, free: 94.8 MB / 410.7 MB