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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT") Notification: Performance of loadModel(ModelicaTest): time 1.978/1.978, allocations: 209.3 MB / 221.5 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.414e-05/4.401e-05, allocations: 4 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1246, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.273/6.398, allocations: 2.514 GB / 2.829 GB, free: 120.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/6.398, allocations: 92.22 kB / 2.829 GB, free: 120.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.2/8.598, allocations: 487.7 MB / 3.305 GB, free: 45.28 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.216e-06/8.598, allocations: 0 / 3.305 GB, free: 45.28 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.876e-05/8.598, allocations: 19.91 kB / 3.305 GB, free: 45.28 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.006035/8.604, allocations: 1.654 MB / 3.307 GB, free: 44.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/8.604, allocations: 13.25 kB / 3.307 GB, free: 44.56 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002173/8.606, allocations: 219.9 kB / 3.307 GB, free: 44.52 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/8.608, allocations: 0.5868 MB / 3.307 GB, free: 44.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/8.608, allocations: 111.7 kB / 3.307 GB, free: 44.19 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/8.608, allocations: 60.98 kB / 3.308 GB, free: 44.19 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002368/8.611, allocations: 1.071 MB / 3.309 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.485e-05/8.611, allocations: 1.312 kB / 3.309 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/8.611, allocations: 36.47 kB / 3.309 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.201e-05/8.611, allocations: 44.47 kB / 3.309 GB, free: 43.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002111/8.613, allocations: 0.799 MB / 3.309 GB, free: 43.87 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.006717/8.62, allocations: 5.518 MB / 3.315 GB, free: 40 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001457/8.621, allocations: 0.5516 MB / 3.315 GB, free: 39.92 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003867/8.622, allocations: 198.1 kB / 3.316 GB, free: 39.9 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1214/8.743, allocations: 53.42 MB / 3.368 GB, free: 22.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.79e-05/8.743, allocations: 43.69 kB / 3.368 GB, free: 22.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.521e-06/8.743, allocations: 4 kB / 3.368 GB, free: 22.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.007378/8.751, allocations: 1.981 MB / 3.37 GB, free: 21.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/8.751, allocations: 191.1 kB / 3.37 GB, free: 21.62 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008593/8.752, allocations: 0.5424 MB / 3.37 GB, free: 21.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.262e-05/8.752, allocations: 32.83 kB / 3.37 GB, free: 21.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002811/8.752, allocations: 413.7 kB / 3.371 GB, free: 21.23 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/8.752, allocations: 164.9 kB / 3.371 GB, free: 21.13 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.67e-05/8.752, allocations: 16.41 kB / 3.371 GB, free: 21.13 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002247/8.753, allocations: 381.3 kB / 3.371 GB, free: 20.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/8.753, allocations: 221 kB / 3.372 GB, free: 20.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006567/8.754, allocations: 0.5953 MB / 3.372 GB, free: 20.33 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006468/8.754, allocations: 344.2 kB / 3.372 GB, free: 20.3 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.737e-06/8.754, allocations: 0 / 3.372 GB, free: 20.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001845/8.756, allocations: 0.867 MB / 3.373 GB, free: 20.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/8.756, allocations: 11.38 kB / 3.373 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/8.756, allocations: 11.38 kB / 3.373 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005019/8.761, allocations: 279.1 kB / 3.374 GB, free: 20.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/8.763, allocations: 288.4 kB / 3.374 GB, free: 20.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002188/8.765, allocations: 2.022 MB / 3.376 GB, free: 18.35 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/8.767, allocations: 57.09 kB / 3.376 GB, free: 18.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.984e-05/8.767, allocations: 51.42 kB / 3.376 GB, free: 18.34 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.0002603/8.767, allocations: 171.7 kB / 3.376 GB, free: 18.23 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001989/8.767, allocations: 71.62 kB / 3.376 GB, free: 18.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002763/8.77, allocations: 2.014 MB / 3.378 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.616e-05/8.77, allocations: 18.48 kB / 3.378 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.106e-06/8.77, allocations: 3.375 kB / 3.378 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/8.77, allocations: 3.562 kB / 3.378 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/8.774, allocations: 2.976 MB / 3.381 GB, free: 17.46 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/8.775, allocations: 0 / 3.381 GB, free: 17.46 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/8.776, allocations: 186.7 kB / 3.381 GB, free: 17.46 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002384/8.778, allocations: 294.5 kB / 3.382 GB, free: 17.45 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/8.778, allocations: 14.31 kB / 3.382 GB, free: 17.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/8.781, allocations: 2.06 MB / 3.384 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.522e-06/8.781, allocations: 11.59 kB / 3.384 GB, free: 15.61 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002603/8.783, allocations: 1.932 MB / 3.385 GB, free: 15.18 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005823/8.784, allocations: 288.3 kB / 3.386 GB, free: 15.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/8.784, allocations: 13.83 kB / 3.386 GB, free: 15 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007653/8.785, allocations: 42.48 kB / 3.386 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.176e-05/8.785, allocations: 31.84 kB / 3.386 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.284e-05/8.785, allocations: 20.52 kB / 3.386 GB, free: 14.99 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009435/8.786, allocations: 0.5459 MB / 3.386 GB, free: 14.89 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.45e-07/8.786, allocations: 0 / 3.386 GB, free: 14.89 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004866/8.791, allocations: 1.122 MB / 3.387 GB, free: 14.75 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.00777/8.799, allocations: 1.576 MB / 3.389 GB, free: 14.39 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00227/8.801, allocations: 0.882 MB / 3.39 GB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.133e-06/8.801, allocations: 0 / 3.39 GB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/8.802, allocations: 0.6146 MB / 3.39 GB, free: 14.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002352/8.805, allocations: 350.6 kB / 3.391 GB, free: 14.35 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/8.808, allocations: 1.61 MB / 3.392 GB, free: 13.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008649/8.809, allocations: 1.117 MB / 3.393 GB, free: 13.18 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001111/8.81, allocations: 346.4 kB / 3.394 GB, free: 13.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001828/8.81, allocations: 65.56 kB / 3.394 GB, free: 13.14 MB / 458.7 MB Notification: Performance of SimCode: time 1.697e-06/8.81, allocations: 0 / 3.394 GB, free: 13.14 MB / 458.7 MB Notification: Performance of Templates: time 0.0731/8.883, allocations: 40.9 MB / 3.434 GB, free: 15.24 MB / 474.7 MB