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 1.84/1.84, allocations: 209.3 MB / 221.9 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.229e-05/4.25e-05, allocations: 10.8 kB / 273.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08737/0.08744, allocations: 48.68 MB / 321.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.507/6.595, allocations: 2.514 GB / 2.829 GB, free: 121.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/6.595, allocations: 90.91 kB / 2.829 GB, free: 121.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.13/8.725, allocations: 487.7 MB / 3.305 GB, free: 44.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.688e-06/8.725, allocations: 0 / 3.305 GB, free: 44.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.199e-05/8.725, allocations: 20.72 kB / 3.305 GB, free: 44.98 MB / 442.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.006193/8.731, allocations: 1.656 MB / 3.307 GB, free: 44.27 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/8.731, allocations: 14.16 kB / 3.307 GB, free: 44.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/8.733, allocations: 216 kB / 3.307 GB, free: 44.23 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/8.735, allocations: 0.5918 MB / 3.307 GB, free: 43.97 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/8.735, allocations: 107.9 kB / 3.307 GB, free: 43.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/8.735, allocations: 58.72 kB / 3.307 GB, free: 43.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002637/8.738, allocations: 1.071 MB / 3.309 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/8.738, allocations: 2.719 kB / 3.309 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001227/8.738, allocations: 36.08 kB / 3.309 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.147e-05/8.738, allocations: 41.03 kB / 3.309 GB, free: 43.59 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/8.741, allocations: 0.8001 MB / 3.309 GB, free: 43.59 MB / 442.7 MB 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.006768/8.747, allocations: 5.523 MB / 3.315 GB, free: 39.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/8.749, allocations: 0.5476 MB / 3.315 GB, free: 39.65 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/8.749, allocations: 198.5 kB / 3.316 GB, free: 39.62 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1166/8.866, allocations: 53.42 MB / 3.368 GB, free: 22.18 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.05e-05/8.866, allocations: 44.14 kB / 3.368 GB, free: 22.14 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 5.003e-06/8.866, allocations: 4 kB / 3.368 GB, free: 22.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.007263/8.873, allocations: 1.984 MB / 3.37 GB, free: 21.58 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001265/8.874, allocations: 190.8 kB / 3.37 GB, free: 21.36 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008598/8.874, allocations: 0.5451 MB / 3.37 GB, free: 21.23 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.85e-05/8.875, allocations: 31.67 kB / 3.37 GB, free: 21.2 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/8.875, allocations: 446.4 kB / 3.371 GB, free: 20.91 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000138/8.875, allocations: 166.4 kB / 3.371 GB, free: 20.8 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.686e-05/8.875, allocations: 19 kB / 3.371 GB, free: 20.8 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001797/8.875, allocations: 340.6 kB / 3.371 GB, free: 20.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004687/8.876, allocations: 226.5 kB / 3.372 GB, free: 20.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006398/8.876, allocations: 0.5928 MB / 3.372 GB, free: 20 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006519/8.877, allocations: 345.8 kB / 3.372 GB, free: 19.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.363e-06/8.877, allocations: 3.062 kB / 3.372 GB, free: 19.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001793/8.879, allocations: 0.8277 MB / 3.373 GB, free: 19.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/8.879, allocations: 11.47 kB / 3.373 GB, free: 19.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.904e-05/8.879, allocations: 10.56 kB / 3.373 GB, free: 19.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003981/8.883, allocations: 279.2 kB / 3.374 GB, free: 19.89 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/8.885, allocations: 285.1 kB / 3.374 GB, free: 19.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002147/8.887, allocations: 2.024 MB / 3.376 GB, free: 18.04 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/8.888, allocations: 58.84 kB / 3.376 GB, free: 18.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.443e-05/8.888, allocations: 44.38 kB / 3.376 GB, free: 18.04 MB / 458.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],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.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.0002579/8.888, allocations: 174.6 kB / 3.376 GB, free: 17.92 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/8.888, allocations: 73.19 kB / 3.376 GB, free: 17.88 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002698/8.891, allocations: 2.002 MB / 3.378 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-05/8.891, allocations: 26.39 kB / 3.378 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-06/8.891, allocations: 3.406 kB / 3.378 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.772e-06/8.891, allocations: 3.75 kB / 3.378 GB, free: 17.62 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004296/8.896, allocations: 2.974 MB / 3.381 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-06/8.896, allocations: 0 / 3.381 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001285/8.897, allocations: 183.6 kB / 3.381 GB, free: 17.16 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002243/8.899, allocations: 292.6 kB / 3.381 GB, free: 17.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.597e-05/8.899, allocations: 17.72 kB / 3.382 GB, free: 17.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002107/8.901, allocations: 2.07 MB / 3.384 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.271e-06/8.901, allocations: 3.953 kB / 3.384 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002655/8.904, allocations: 1.934 MB / 3.385 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000561/8.905, allocations: 288.7 kB / 3.386 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/8.905, allocations: 11.7 kB / 3.386 GB, free: 14.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006869/8.906, allocations: 47.34 kB / 3.386 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.812e-05/8.906, allocations: 29.42 kB / 3.386 GB, free: 14.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.259e-05/8.906, allocations: 21.72 kB / 3.386 GB, free: 14.69 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009398/8.907, allocations: 0.5433 MB / 3.386 GB, free: 14.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.505e-06/8.907, allocations: 4 kB / 3.386 GB, free: 14.59 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004856/8.912, allocations: 1.131 MB / 3.387 GB, free: 14.44 MB / 458.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.007703/8.919, allocations: 1.554 MB / 3.389 GB, free: 14.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002253/8.922, allocations: 0.8749 MB / 3.39 GB, free: 14.08 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.623e-06/8.922, allocations: 4 kB / 3.39 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001389/8.923, allocations: 0.6089 MB / 3.39 GB, free: 14.07 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/8.925, allocations: 357.2 kB / 3.391 GB, free: 14.04 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/8.929, allocations: 1.652 MB / 3.392 GB, free: 13.57 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008719/8.93, allocations: 1.114 MB / 3.393 GB, free: 12.85 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000252/8.93, allocations: 72.59 kB / 3.394 GB, free: 12.84 MB / 458.7 MB Notification: Performance of SimCode: time 2.195e-06/8.93, allocations: 0 / 3.394 GB, free: 12.84 MB / 458.7 MB Notification: Performance of Templates: time 0.0589/8.989, allocations: 39.64 MB / 3.432 GB, free: 1.516 MB / 458.7 MB