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_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 269 MB / 284.1 MB, free: 3.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4e-05, allocations: 4 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1697, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.3539/0.5237, allocations: 13.79 MB / 424.7 MB, free: 3.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.008969/0.5327, allocations: 3.84 MB / 428.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.5338, allocations: 25.75 kB / 428.6 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009804/0.5348, allocations: 256.2 kB / 428.8 MB, free: 3.547 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.5375, allocations: 0.6334 MB / 429.5 MB, free: 3.531 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.5408, allocations: 0.647 MB / 430.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.5434, allocations: 0.83 MB / 431 MB, free: 3.457 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009039/0.5443, allocations: 318.7 kB / 431.3 MB, free: 3.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002128/0.5465, allocations: 0.5812 MB / 431.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001538/0.5481, allocations: 389 kB / 432.2 MB, free: 3.332 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.5499, allocations: 235.3 kB / 432.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000342/0.5503, allocations: 31.78 kB / 432.5 MB, free: 3.32 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004516/0.5507, allocations: 214.9 kB / 432.7 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005674/0.5513, allocations: 78.84 kB / 432.8 MB, free: 3.293 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002301/0.5536, allocations: 0.7596 MB / 433.5 MB, free: 3.238 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5537, allocations: 0 / 433.5 MB, free: 3.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.226e-06/0.5537, allocations: 1.625 kB / 433.5 MB, free: 3.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.073e-05/0.5538, allocations: 0 / 433.5 MB, free: 3.238 MB / 346.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.003126/0.5569, allocations: 0.8556 MB / 434.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.557, allocations: 9.344 kB / 434.4 MB, free: 2.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007217/0.5577, allocations: 94.64 kB / 434.5 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.5591, allocations: 497.1 kB / 435 MB, free: 2.387 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001409/0.5592, allocations: 101.9 kB / 435.1 MB, free: 2.324 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.5594, allocations: 51.73 kB / 435.1 MB, free: 2.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/0.5615, allocations: 0.8134 MB / 435.9 MB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.473e-05/0.5616, allocations: 5.703 kB / 435.9 MB, free: 2.082 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/0.5617, allocations: 27.75 kB / 436 MB, free: 2.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.896e-05/0.5618, allocations: 37.56 kB / 436 MB, free: 2.074 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.5638, allocations: 0.6431 MB / 436.7 MB, free: 2.055 MB / 346.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.007901/0.5717, allocations: 4.241 MB / 440.9 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.5734, allocations: 417.7 kB / 441.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007786/0.5742, allocations: 0.4939 MB / 441.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.041e-05/0.5743, allocations: 41.95 kB / 441.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=40): time 3.005e-06/0.5743, allocations: 3.938 kB / 441.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=45): time 0.006086/0.5804, allocations: 1.526 MB / 443.4 MB, free: 13.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.5806, allocations: 134.7 kB / 443.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.5818, allocations: 0.4969 MB / 444 MB, free: 12.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.582, allocations: 36.61 kB / 444 MB, free: 12.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003992/0.5824, allocations: 387.5 kB / 444.4 MB, free: 12.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.5827, allocations: 161.4 kB / 444.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.5828, allocations: 10.34 kB / 444.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.583, allocations: 343.5 kB / 444.9 MB, free: 11.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007136/0.5837, allocations: 220.5 kB / 445.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.5847, allocations: 0.5174 MB / 445.6 MB, free: 11.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008957/0.5856, allocations: 321.3 kB / 446 MB, free: 11.19 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.5857, allocations: 3.188 kB / 446 MB, free: 11.19 MB / 362.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003268/0.589, allocations: 0.9296 MB / 446.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.269e-05/0.589, allocations: 8.531 kB / 446.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.319e-05/0.5891, allocations: 13.31 kB / 446.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.5909, allocations: 267.9 kB / 447.2 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008811/0.5918, allocations: 127.9 kB / 447.3 MB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001639/0.5934, allocations: 0.8692 MB / 448.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.5946, allocations: 49.11 kB / 448.2 MB, free: 10.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.5947, allocations: 42.67 kB / 448.3 MB, free: 10.04 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (73): * Single equations (assignments): 72 * 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.0005766/0.5953, allocations: 240.6 kB / 448.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/0.5955, allocations: 68.33 kB / 448.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/0.5979, allocations: 0.7122 MB / 449.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.598, allocations: 7.859 kB / 449.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.598, allocations: 0 / 449.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.598, allocations: 3 kB / 449.3 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004213/0.6022, allocations: 1.397 MB / 450.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/0.6023, allocations: 2.25 kB / 450.7 MB, free: 8.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002043/0.6044, allocations: 196.4 kB / 450.9 MB, free: 8.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004781/0.6049, allocations: 61.42 kB / 450.9 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001289/0.605, allocations: 15.48 kB / 450.9 MB, free: 8.672 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.6087, allocations: 2.804 MB / 453.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.6088, allocations: 2.125 kB / 453.8 MB, free: 5.859 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.6117, allocations: 1.075 MB / 454.8 MB, free: 5.094 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/0.6124, allocations: 205.7 kB / 455 MB, free: 4.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001945/0.6127, allocations: 13.58 kB / 455 MB, free: 4.898 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007845/0.6135, allocations: 37.62 kB / 455.1 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/0.6136, allocations: 41.11 kB / 455.1 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.858e-05/0.6137, allocations: 21.33 kB / 455.1 MB, free: 4.844 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008084/0.6145, allocations: 391.7 kB / 455.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6145, allocations: 0 / 455.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001294/0.6158, allocations: 209.9 kB / 455.7 MB, free: 4.582 MB / 362.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.0007243/0.6166, allocations: 228.3 kB / 456 MB, free: 4.438 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.6186, allocations: 0.6004 MB / 456.6 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.6187, allocations: 0 / 456.6 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001928/0.6206, allocations: 476.6 kB / 457 MB, free: 3.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002988/0.6236, allocations: 313.8 kB / 457.3 MB, free: 3.727 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004282/0.6279, allocations: 1.674 MB / 459 MB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007542/0.6287, allocations: 0.9454 MB / 459.9 MB, free: 1.723 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004159/0.6292, allocations: 70.33 kB / 460 MB, free: 1.703 MB / 362.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6292, allocations: 0 / 460 MB, free: 1.703 MB / 362.7 MB Notification: Performance of Templates: time 0.03488/0.6641, allocations: 14.87 MB / 474.9 MB, free: 6.223 MB / 378.7 MB