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_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT") Notification: Performance of loadModel(ModelicaTest): time 2.115/2.115, allocations: 209.3 MB / 224.4 MB, free: 0.5156 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.099e-05, allocations: 4 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3849, allocations: 48.7 MB / 324.9 MB, free: 2.898 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT): time 0.06152/0.4465, allocations: 32.82 MB / 357.7 MB, free: 11.84 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009256/0.4558, allocations: 3.855 MB / 361.5 MB, free: 8.777 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.457, allocations: 28.75 kB / 361.6 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001281/0.4583, allocations: 258.1 kB / 361.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002934/0.4612, allocations: 0.6294 MB / 362.4 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.4643, allocations: 0.6527 MB / 363.1 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002384/0.4667, allocations: 0.8258 MB / 363.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008607/0.4676, allocations: 321.9 kB / 364.2 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1849/0.6526, allocations: 70.44 MB / 434.7 MB, free: 1.656 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03367/0.6863, allocations: 13.21 MB / 447.9 MB, free: 4.441 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.04796/0.7343, allocations: 18.12 MB / 466 MB, free: 2.316 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003846/0.7348, allocations: 32 kB / 466 MB, free: 2.285 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003899/0.7352, allocations: 211.4 kB / 466.2 MB, free: 2.078 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.7356, allocations: 76 kB / 466.3 MB, free: 2.004 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.7372, allocations: 0.7549 MB / 467.1 MB, free: 1.25 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.7372, allocations: 0 / 467.1 MB, free: 1.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.7372, allocations: 0 / 467.1 MB, free: 1.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.559e-05/0.7373, allocations: 0 / 467.1 MB, free: 1.25 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.002877/0.7402, allocations: 0.8653 MB / 467.9 MB, free: 340 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.7402, allocations: 8.031 kB / 467.9 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005993/0.7408, allocations: 87.14 kB / 468 MB, free: 244 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.7423, allocations: 0.4965 MB / 468.5 MB, free: 15.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/0.7425, allocations: 100.4 kB / 468.6 MB, free: 15.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.7427, allocations: 48 kB / 468.7 MB, free: 15.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002086/0.7448, allocations: 0.8182 MB / 469.5 MB, free: 14.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.7449, allocations: 8 kB / 469.5 MB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.745, allocations: 23.98 kB / 469.5 MB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.84e-05/0.7451, allocations: 40.92 kB / 469.6 MB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.747, allocations: 0.6361 MB / 470.2 MB, free: 13.94 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.008144/0.7552, allocations: 4.213 MB / 474.4 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.7568, allocations: 412 kB / 474.8 MB, free: 9.031 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007762/0.7576, allocations: 0.5067 MB / 475.3 MB, free: 8.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.7577, allocations: 38.89 kB / 475.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 3.666e-06/0.7577, allocations: 0 / 475.4 MB, free: 8.367 MB / 410.7 MB Notification: Performance of matching and sorting (n=45): time 0.005734/0.7635, allocations: 1.502 MB / 476.9 MB, free: 6.809 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.669e-05/0.7636, allocations: 136.5 kB / 477 MB, free: 6.645 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.7647, allocations: 0.4903 MB / 477.5 MB, free: 6.148 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.7649, allocations: 29.7 kB / 477.5 MB, free: 6.113 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.7653, allocations: 401.9 kB / 477.9 MB, free: 5.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002974/0.7656, allocations: 165.7 kB / 478.1 MB, free: 5.551 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-05/0.7656, allocations: 12 kB / 478.1 MB, free: 5.539 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.7658, allocations: 346.8 kB / 478.4 MB, free: 5.191 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007234/0.7666, allocations: 221.9 kB / 478.6 MB, free: 4.973 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.7676, allocations: 0.5332 MB / 479.2 MB, free: 4.293 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/0.7687, allocations: 320.6 kB / 479.5 MB, free: 3.977 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/0.7687, allocations: 4 kB / 479.5 MB, free: 3.973 MB / 410.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003485/0.7722, allocations: 0.9491 MB / 480.4 MB, free: 3.016 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.029e-05/0.7723, allocations: 11.94 kB / 480.4 MB, free: 3.004 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.7723, allocations: 12 kB / 480.5 MB, free: 2.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001923/0.7743, allocations: 262 kB / 480.7 MB, free: 2.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009551/0.7753, allocations: 131.8 kB / 480.8 MB, free: 2.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/0.7769, allocations: 0.8566 MB / 481.7 MB, free: 1.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/0.778, allocations: 51.95 kB / 481.7 MB, free: 1.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001263/0.7782, allocations: 35.98 kB / 481.8 MB, free: 1.637 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.0005596/0.7787, allocations: 245.5 kB / 482 MB, free: 1.387 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002012/0.779, allocations: 63.25 kB / 482.1 MB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002275/0.7812, allocations: 0.7077 MB / 482.8 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.7813, allocations: 4 kB / 482.8 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.7813, allocations: 3.938 kB / 482.8 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/0.7814, allocations: 3.984 kB / 482.8 MB, free: 0.5898 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2658/1.047, allocations: 1.392 MB / 484.2 MB, free: 142.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/1.047, allocations: 1.844 kB / 484.2 MB, free: 142.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001904/1.049, allocations: 191.5 kB / 484.4 MB, free: 142.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004119/1.05, allocations: 60.72 kB / 484.4 MB, free: 142.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.317e-05/1.05, allocations: 16.52 kB / 484.5 MB, free: 142.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002646/1.052, allocations: 2.797 MB / 487.3 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.052, allocations: 10.11 kB / 487.3 MB, free: 139.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/1.055, allocations: 1.061 MB / 488.3 MB, free: 138.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/1.055, allocations: 205 kB / 488.5 MB, free: 138.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/1.055, allocations: 13.91 kB / 488.5 MB, free: 138.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000697/1.056, allocations: 32.94 kB / 488.6 MB, free: 138.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.056, allocations: 34.97 kB / 488.6 MB, free: 138.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.362e-05/1.056, allocations: 20.75 kB / 488.6 MB, free: 138.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007315/1.057, allocations: 380.5 kB / 489 MB, free: 138.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.057, allocations: 0 / 489 MB, free: 138.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00125/1.058, allocations: 206.7 kB / 489.2 MB, free: 138.5 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.0006537/1.059, allocations: 235.3 kB / 489.4 MB, free: 138.4 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001927/1.061, allocations: 0.6028 MB / 490 MB, free: 138.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.173e-06/1.061, allocations: 2.906 kB / 490 MB, free: 138.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001816/1.063, allocations: 467.2 kB / 490.5 MB, free: 137.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002571/1.066, allocations: 305.8 kB / 490.8 MB, free: 137.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/1.069, allocations: 1.686 MB / 492.5 MB, free: 137 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/1.07, allocations: 0.9469 MB / 493.4 MB, free: 136.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/1.07, allocations: 61.95 kB / 493.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.042e-06/1.07, allocations: 0 / 493.5 MB, free: 136.3 MB / 410.7 MB Notification: Performance of Templates: time 0.03286/1.103, allocations: 14.68 MB / 0.4963 GB, free: 130.5 MB / 410.7 MB