Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.h|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph") Notification: Performance of loadModel(ModelicaTest): time 2.093/2.093, allocations: 209.2 MB / 224.4 MB, free: 0.8555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.803e-05/3.809e-05, allocations: 4 kB / 276.2 MB, free: 15.9 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3765, allocations: 48.7 MB / 324.9 MB, free: 2.902 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_ph): time 0.05546/0.432, allocations: 31.76 MB / 356.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03167/0.4638, allocations: 16.08 MB / 372.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.4651, allocations: 31.75 kB / 372.7 MB, free: 15.66 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.4666, allocations: 354.2 kB / 373.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01563/0.4823, allocations: 3.525 MB / 376.6 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007757/0.4901, allocations: 1.842 MB / 378.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002679/0.4928, allocations: 0.9545 MB / 379.4 MB, free: 8.973 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008141/0.4936, allocations: 323.4 kB / 379.7 MB, free: 8.656 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01608/0.5097, allocations: 6.128 MB / 385.8 MB, free: 2.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02164/0.5314, allocations: 8.64 MB / 394.5 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02018/0.5517, allocations: 6.591 MB / 401.1 MB, free: 3.277 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003039/0.5548, allocations: 412 kB / 401.5 MB, free: 2.875 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005857/0.5554, allocations: 223.4 kB / 401.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.5558, allocations: 92 kB / 401.8 MB, free: 2.566 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009097/0.5649, allocations: 3.219 MB / 405 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.565, allocations: 0 / 405 MB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.565, allocations: 0 / 405 MB, free: 15.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.565, allocations: 0 / 405 MB, free: 15.34 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.0057/0.5707, allocations: 1.458 MB / 406.4 MB, free: 13.84 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/0.5708, allocations: 16.02 kB / 406.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.5742, allocations: 298.7 kB / 406.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.5758, allocations: 0.5434 MB / 407.3 MB, free: 12.94 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001883/0.576, allocations: 116.7 kB / 407.4 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/0.5762, allocations: 59.98 kB / 407.5 MB, free: 12.76 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004373/0.5806, allocations: 1.22 MB / 408.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/0.5807, allocations: 4 kB / 408.7 MB, free: 11.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/0.5808, allocations: 28 kB / 408.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/0.5809, allocations: 45.23 kB / 408.8 MB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004688/0.5856, allocations: 1.055 MB / 409.8 MB, free: 10.3 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.01063/0.5963, allocations: 5.615 MB / 415.4 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004027/0.6004, allocations: 0.8009 MB / 416.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06679/0.6672, allocations: 18.96 MB / 435.2 MB, free: 14.24 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.117e-05/0.6674, allocations: 39.28 kB / 435.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of pre-optimization done (n=45): time 4.558e-06/0.6674, allocations: 0 / 435.2 MB, free: 14.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=49): time 0.01577/0.6832, allocations: 2.351 MB / 437.6 MB, free: 11.78 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.6833, allocations: 166.6 kB / 437.7 MB, free: 11.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.6848, allocations: 0.5304 MB / 438.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001451/0.6849, allocations: 37.7 kB / 438.3 MB, free: 11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005295/0.6855, allocations: 437.5 kB / 438.7 MB, free: 10.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.6858, allocations: 173.6 kB / 438.9 MB, free: 10.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.294e-05/0.6859, allocations: 16 kB / 438.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002132/0.6862, allocations: 342.8 kB / 439.3 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001609/0.6878, allocations: 293.8 kB / 439.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002083/0.6899, allocations: 0.6389 MB / 440.2 MB, free: 8.949 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001927/0.6919, allocations: 388.5 kB / 440.6 MB, free: 8.574 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.6919, allocations: 4 kB / 440.6 MB, free: 8.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00458/0.6965, allocations: 0.9609 MB / 441.5 MB, free: 7.598 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.33e-05/0.6966, allocations: 12 kB / 441.5 MB, free: 7.586 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.764e-05/0.6966, allocations: 15.98 kB / 441.6 MB, free: 7.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005044/0.6971, allocations: 73.53 kB / 441.6 MB, free: 7.496 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/0.7007, allocations: 319.5 kB / 441.9 MB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002987/0.7037, allocations: 1.984 MB / 443.9 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/0.7056, allocations: 87.97 kB / 444 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.7058, allocations: 40 kB / 444.1 MB, free: 4.918 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 10 (volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008024/0.7066, allocations: 269.5 kB / 444.3 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002968/0.7069, allocations: 71.11 kB / 444.4 MB, free: 4.574 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007588/0.7145, allocations: 2.602 MB / 447 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.946e-05/0.7146, allocations: 35.94 kB / 447 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7146, allocations: 0 / 447 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.759e-05/0.7147, allocations: 3.984 kB / 447 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01046/0.7251, allocations: 3.785 MB / 450.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.7252, allocations: 0 / 450.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003024/0.7282, allocations: 239.7 kB / 451 MB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00073/0.729, allocations: 92.62 kB / 451.1 MB, free: 13.73 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.7291, allocations: 12 kB / 451.1 MB, free: 13.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002785/0.7319, allocations: 2.007 MB / 453.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.762e-06/0.732, allocations: 4.031 kB / 453.2 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005918/0.7379, allocations: 2.379 MB / 455.5 MB, free: 9.141 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007967/0.7388, allocations: 322.9 kB / 455.9 MB, free: 8.805 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.739, allocations: 20.02 kB / 455.9 MB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.7401, allocations: 55.95 kB / 455.9 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/0.7403, allocations: 48.48 kB / 456 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/0.7404, allocations: 19.98 kB / 456 MB, free: 8.664 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001245/0.7416, allocations: 0.5459 MB / 456.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.7417, allocations: 0 / 456.5 MB, free: 8.117 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004274/0.7459, allocations: 1.035 MB / 457.6 MB, free: 7.082 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 21 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,volume.heatTransfer.states[1].phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.007183/0.7532, allocations: 1.227 MB / 458.8 MB, free: 5.852 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00419/0.7574, allocations: 1.097 MB / 459.9 MB, free: 4.762 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.7575, allocations: 4 kB / 459.9 MB, free: 4.758 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002869/0.7603, allocations: 0.805 MB / 460.7 MB, free: 3.953 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003422/0.7638, allocations: 356 kB / 461.1 MB, free: 3.609 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006719/0.7706, allocations: 3.066 MB / 464.1 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001084/0.7717, allocations: 1.185 MB / 465.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003861/0.7721, allocations: 71.42 kB / 465.4 MB, free: 15.22 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7721, allocations: 0 / 465.4 MB, free: 15.22 MB / 410.7 MB Notification: Performance of Templates: time 0.3519/1.124, allocations: 40.07 MB / 0.4936 GB, free: 123.4 MB / 410.7 MB