Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,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.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.3 MB / 224.4 MB, free: 0.5078 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.475e-05, allocations: 4 kB / 276.2 MB, free: 15.85 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3526, allocations: 48.7 MB / 324.9 MB, free: 2.891 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02455/0.3773, allocations: 13.68 MB / 338.5 MB, free: 10.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.009459/0.3868, allocations: 3.834 MB / 342.4 MB, free: 7.438 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.3881, allocations: 28.59 kB / 342.4 MB, free: 7.422 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.3895, allocations: 256 kB / 342.7 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.3927, allocations: 0.6316 MB / 343.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003252/0.3959, allocations: 0.6451 MB / 343.9 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002464/0.3984, allocations: 0.8334 MB / 344.8 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008234/0.3993, allocations: 321.8 kB / 345.1 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002061/0.4014, allocations: 0.5639 MB / 345.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.4028, allocations: 390.8 kB / 346 MB, free: 5.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.4042, allocations: 232 kB / 346.3 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002959/0.4046, allocations: 35.12 kB / 346.3 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003938/0.405, allocations: 212.3 kB / 346.5 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004719/0.4054, allocations: 78.34 kB / 346.6 MB, free: 4.824 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0017/0.4072, allocations: 0.7549 MB / 347.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4072, allocations: 0 / 347.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4072, allocations: 0 / 347.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.977e-05/0.4073, allocations: 0 / 347.3 MB, free: 4.324 MB / 282.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.003073/0.4103, allocations: 0.8585 MB / 348.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.4104, allocations: 8.156 kB / 348.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006743/0.4111, allocations: 87.75 kB / 348.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.4126, allocations: 0.5012 MB / 348.8 MB, free: 3.168 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/0.4128, allocations: 100.3 kB / 348.9 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.413, allocations: 51.83 kB / 348.9 MB, free: 3.066 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002311/0.4153, allocations: 0.8099 MB / 349.7 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.4154, allocations: 5.062 kB / 349.7 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.4156, allocations: 23.64 kB / 349.8 MB, free: 2.453 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001016/0.4157, allocations: 38.11 kB / 349.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.4178, allocations: 0.6383 MB / 350.4 MB, free: 2.125 MB / 282.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.0084/0.4262, allocations: 4.225 MB / 354.7 MB, free: 14.27 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00147/0.4278, allocations: 409.7 kB / 355.1 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006811/0.4285, allocations: 0.4984 MB / 355.6 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.4285, allocations: 46.12 kB / 355.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 2.775e-06/0.4286, allocations: 0 / 355.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.005513/0.4341, allocations: 1.499 MB / 357.1 MB, free: 12.48 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.16e-05/0.4342, allocations: 133 kB / 357.2 MB, free: 12.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009905/0.4352, allocations: 497 kB / 357.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.4354, allocations: 36.42 kB / 357.8 MB, free: 12 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003563/0.4357, allocations: 400.9 kB / 358.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002334/0.436, allocations: 167 kB / 358.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.573e-05/0.4361, allocations: 16.06 kB / 358.3 MB, free: 11.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.4362, allocations: 347 kB / 358.7 MB, free: 11.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006687/0.4369, allocations: 219.1 kB / 358.9 MB, free: 11.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009346/0.4379, allocations: 0.5394 MB / 359.4 MB, free: 10.48 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008858/0.4388, allocations: 328.1 kB / 359.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.4388, allocations: 6.375 kB / 359.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003222/0.442, allocations: 0.941 MB / 360.7 MB, free: 9.793 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.13e-05/0.4421, allocations: 12.88 kB / 360.7 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/0.4422, allocations: 14.67 kB / 360.7 MB, free: 9.785 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/0.4439, allocations: 262 kB / 361 MB, free: 9.668 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009275/0.4449, allocations: 133.4 kB / 361.1 MB, free: 9.637 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/0.4464, allocations: 0.8491 MB / 361.9 MB, free: 8.941 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.4477, allocations: 49.36 kB / 362 MB, free: 8.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.4478, allocations: 38.58 kB / 362 MB, free: 8.91 MB / 298.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.0005806/0.4484, allocations: 248.2 kB / 362.3 MB, free: 8.707 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.4486, allocations: 63.59 kB / 362.3 MB, free: 8.676 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.4508, allocations: 0.7104 MB / 363.1 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4509, allocations: 5.5 kB / 363.1 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.4509, allocations: 1.375 kB / 363.1 MB, free: 8.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.289e-05/0.4509, allocations: 3.984 kB / 363.1 MB, free: 8.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003773/0.4547, allocations: 1.394 MB / 364.5 MB, free: 6.938 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/0.4547, allocations: 4 kB / 364.5 MB, free: 6.934 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001925/0.4567, allocations: 195.7 kB / 364.6 MB, free: 6.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004231/0.4571, allocations: 52.8 kB / 364.7 MB, free: 6.688 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.949e-05/0.4573, allocations: 20.05 kB / 364.7 MB, free: 6.668 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00335/0.4606, allocations: 2.793 MB / 367.5 MB, free: 3.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/0.4607, allocations: 4.031 kB / 367.5 MB, free: 3.609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002706/0.4634, allocations: 1.062 MB / 368.6 MB, free: 2.461 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005796/0.464, allocations: 212.2 kB / 368.8 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.4642, allocations: 20.02 kB / 368.8 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007096/0.4649, allocations: 23.98 kB / 368.8 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.4651, allocations: 35.89 kB / 368.9 MB, free: 2.156 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.667e-05/0.4652, allocations: 19.98 kB / 368.9 MB, free: 2.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007916/0.466, allocations: 382.8 kB / 369.3 MB, free: 1.766 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.466, allocations: 7.938 kB / 369.3 MB, free: 1.758 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001398/0.4674, allocations: 207.9 kB / 369.5 MB, free: 1.555 MB / 298.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.0006931/0.4682, allocations: 226.7 kB / 369.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002023/0.4702, allocations: 0.6125 MB / 370.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.504e-06/0.4702, allocations: 0 / 370.3 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.4721, allocations: 454.3 kB / 370.7 MB, free: 272 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002762/0.4749, allocations: 326.1 kB / 371.1 MB, free: 15.95 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003863/0.4788, allocations: 1.678 MB / 372.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007475/0.4796, allocations: 0.9464 MB / 373.7 MB, free: 13.25 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003728/0.48, allocations: 63.42 kB / 373.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of SimCode: time 1.001e-06/0.48, allocations: 4 kB / 373.8 MB, free: 13.18 MB / 314.7 MB Notification: Performance of Templates: time 0.03998/0.52, allocations: 14.68 MB / 388.4 MB, free: 14.52 MB / 330.7 MB