Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_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.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.072/2.072, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.302e-05, allocations: 4 kB / 276.2 MB, free: 15.18 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4183/0.4184, allocations: 48.69 MB / 324.9 MB, free: 3.371 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.05741/0.4759, allocations: 32.82 MB / 357.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009046/0.485, allocations: 3.859 MB / 361.6 MB, free: 8.996 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.4863, allocations: 28.06 kB / 361.6 MB, free: 8.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.4874, allocations: 254.6 kB / 361.8 MB, free: 8.75 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.4903, allocations: 0.6366 MB / 362.5 MB, free: 8.152 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.4933, allocations: 0.6579 MB / 363.1 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002174/0.4955, allocations: 0.8247 MB / 364 MB, free: 7.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006937/0.4962, allocations: 319.2 kB / 364.3 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1809/0.6771, allocations: 70.45 MB / 434.7 MB, free: 1.551 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03349/0.7107, allocations: 13.2 MB / 447.9 MB, free: 4.336 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04684/0.7576, allocations: 18.12 MB / 466 MB, free: 2.211 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003672/0.758, allocations: 32 kB / 466.1 MB, free: 2.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003966/0.7584, allocations: 203.4 kB / 466.3 MB, free: 1.98 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.7588, allocations: 80 kB / 466.4 MB, free: 1.902 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.7603, allocations: 0.756 MB / 467.1 MB, free: 1.145 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7604, allocations: 0 / 467.1 MB, free: 1.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.871e-06/0.7604, allocations: 0 / 467.1 MB, free: 1.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.602e-05/0.7604, allocations: 3.938 kB / 467.1 MB, free: 1.141 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003059/0.7635, allocations: 0.8537 MB / 468 MB, free: 240 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.811e-05/0.7636, allocations: 12.03 kB / 468 MB, free: 228 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005099/0.7641, allocations: 87.14 kB / 468.1 MB, free: 140 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001218/0.7653, allocations: 0.5004 MB / 468.6 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.7655, allocations: 96.41 kB / 468.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.7656, allocations: 51.98 kB / 468.7 MB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/0.7677, allocations: 0.8026 MB / 469.5 MB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/0.7677, allocations: 4 kB / 469.5 MB, free: 14.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/0.7679, allocations: 27.98 kB / 469.5 MB, free: 14.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.622e-05/0.768, allocations: 48.84 kB / 469.6 MB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001837/0.7698, allocations: 0.6361 MB / 470.2 MB, free: 13.84 MB / 410.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.007598/0.7774, allocations: 4.217 MB / 474.4 MB, free: 9.34 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/0.7789, allocations: 404 kB / 474.8 MB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007197/0.7796, allocations: 0.4989 MB / 475.3 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/0.7797, allocations: 38.89 kB / 475.4 MB, free: 8.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 5.43e-06/0.7797, allocations: 7.984 kB / 475.4 MB, free: 8.273 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.005479/0.7852, allocations: 1.498 MB / 476.9 MB, free: 6.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.7853, allocations: 136.5 kB / 477 MB, free: 6.555 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.7865, allocations: 498 kB / 477.5 MB, free: 6.062 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.7867, allocations: 37.7 kB / 477.5 MB, free: 6.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.7871, allocations: 363.4 kB / 477.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.7874, allocations: 169.6 kB / 478.1 MB, free: 5.488 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.8e-05/0.7875, allocations: 12 kB / 478.1 MB, free: 5.477 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002306/0.7877, allocations: 374.8 kB / 478.4 MB, free: 5.102 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007111/0.7884, allocations: 225.9 kB / 478.7 MB, free: 4.879 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001014/0.7895, allocations: 0.5332 MB / 479.2 MB, free: 4.199 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008907/0.7904, allocations: 324.6 kB / 479.5 MB, free: 3.879 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.7904, allocations: 4 kB / 479.5 MB, free: 3.875 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003339/0.7938, allocations: 0.98 MB / 480.5 MB, free: 2.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.848e-05/0.7938, allocations: 19.52 kB / 480.5 MB, free: 2.871 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.7939, allocations: 12 kB / 480.5 MB, free: 2.859 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.7956, allocations: 250 kB / 480.8 MB, free: 2.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009099/0.7966, allocations: 139.8 kB / 480.9 MB, free: 2.477 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001533/0.7981, allocations: 0.8566 MB / 481.8 MB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009675/0.7991, allocations: 47.95 kB / 481.8 MB, free: 1.547 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/0.7993, allocations: 39.98 kB / 481.8 MB, free: 1.508 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.000552/0.7998, allocations: 245.5 kB / 482.1 MB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.8, allocations: 67.25 kB / 482.2 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002241/0.8023, allocations: 0.7039 MB / 482.9 MB, free: 484 kB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.775e-05/0.8024, allocations: 4 kB / 482.9 MB, free: 480 kB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.8024, allocations: 3.938 kB / 482.9 MB, free: 476 kB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.8024, allocations: 3.984 kB / 482.9 MB, free: 472 kB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2741/1.076, allocations: 1.391 MB / 484.3 MB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.077, allocations: 6.344 kB / 484.3 MB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001953/1.079, allocations: 194.7 kB / 484.5 MB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004084/1.079, allocations: 57.8 kB / 484.5 MB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.105e-05/1.079, allocations: 11.73 kB / 484.5 MB, free: 142.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00276/1.082, allocations: 2.797 MB / 487.3 MB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.082, allocations: 2.312 kB / 487.3 MB, free: 139.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002534/1.084, allocations: 1.071 MB / 488.4 MB, free: 139.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004576/1.085, allocations: 205.4 kB / 488.6 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001651/1.085, allocations: 13.16 kB / 488.6 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/1.086, allocations: 25.28 kB / 488.6 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/1.086, allocations: 41.61 kB / 488.7 MB, free: 138.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.462e-05/1.086, allocations: 26.48 kB / 488.7 MB, free: 138.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007736/1.087, allocations: 378.7 kB / 489.1 MB, free: 138.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.087, allocations: 1.312 kB / 489.1 MB, free: 138.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001202/1.088, allocations: 206.1 kB / 489.3 MB, free: 138.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000708/1.089, allocations: 227.2 kB / 489.5 MB, free: 138.6 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001983/1.091, allocations: 0.6031 MB / 490.1 MB, free: 138.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.091, allocations: 3.234 kB / 490.1 MB, free: 138.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001901/1.093, allocations: 479.5 kB / 490.6 MB, free: 138.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/1.095, allocations: 299.8 kB / 490.9 MB, free: 138.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003336/1.099, allocations: 1.633 MB / 492.5 MB, free: 137.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/1.099, allocations: 0.9503 MB / 493.4 MB, free: 136.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001414/1.101, allocations: 220.4 kB / 493.7 MB, free: 136.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002802/1.101, allocations: 57.09 kB / 493.7 MB, free: 136.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.243e-06/1.101, allocations: 0 / 493.7 MB, free: 136.5 MB / 410.7 MB Notification: Performance of Templates: time 0.03947/1.141, allocations: 12.93 MB / 0.4948 GB, free: 131.5 MB / 410.7 MB