Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270 MB / 282.7 MB, free: 1.762 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.015e-05, allocations: 0 / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3296, allocations: 61.89 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.407, allocations: 422.7 MB / 0.8121 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.407, allocations: 92.62 kB / 0.8122 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6494/2.056, allocations: 121.7 MB / 0.931 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.307e-06/2.057, allocations: 0 / 0.931 GB, free: 144.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.49e-05/2.057, allocations: 20.33 kB / 0.931 GB, free: 144.6 MB / 0.5261 GB 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.002295/2.059, allocations: 0.975 MB / 0.932 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/2.059, allocations: 10.91 kB / 0.932 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004832/2.059, allocations: 84.67 kB / 0.9321 GB, free: 144.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/2.061, allocations: 0.5297 MB / 0.9326 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/2.061, allocations: 108.4 kB / 0.9327 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001164/2.061, allocations: 58.8 kB / 0.9327 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/2.062, allocations: 0.7962 MB / 0.9335 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.736e-05/2.062, allocations: 5.938 kB / 0.9335 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/2.062, allocations: 25.67 kB / 0.9336 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.619e-05/2.063, allocations: 40.22 kB / 0.9336 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001295/2.064, allocations: 0.6093 MB / 0.9342 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/2.069, allocations: 3.933 MB / 0.938 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009151/2.07, allocations: 384.6 kB / 0.9384 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000372/2.07, allocations: 196.1 kB / 0.9386 GB, free: 141.1 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/2.071, allocations: 0.502 MB / 0.9391 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/2.071, allocations: 34.52 kB / 0.9391 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=40): time 3.671e-06/2.071, allocations: 0 / 0.9391 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=45): time 0.00368/2.075, allocations: 1.339 MB / 0.9404 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/2.075, allocations: 136 kB / 0.9405 GB, free: 140 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008036/2.075, allocations: 0.489 MB / 0.941 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.219e-05/2.076, allocations: 36.33 kB / 0.9411 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/2.076, allocations: 386.5 kB / 0.9414 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/2.076, allocations: 166.6 kB / 0.9416 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/2.076, allocations: 15.25 kB / 0.9416 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/2.076, allocations: 341 kB / 0.9419 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/2.077, allocations: 212.8 kB / 0.9421 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005908/2.077, allocations: 0.4999 MB / 0.9426 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005963/2.078, allocations: 308.7 kB / 0.9429 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.379e-06/2.078, allocations: 0 / 0.9429 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002161/2.08, allocations: 0.8452 MB / 0.9437 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/2.08, allocations: 12.59 kB / 0.9437 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.589e-05/2.08, allocations: 10.83 kB / 0.9438 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001404/2.081, allocations: 259.5 kB / 0.944 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005512/2.082, allocations: 126 kB / 0.9441 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009964/2.083, allocations: 0.8611 MB / 0.945 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008992/2.084, allocations: 47.8 kB / 0.945 GB, free: 138.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.171e-05/2.084, allocations: 40.53 kB / 0.945 GB, free: 138.2 MB / 0.5261 GB 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.0002/2.084, allocations: 147.4 kB / 0.9452 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001501/2.084, allocations: 67.41 kB / 0.9453 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/2.086, allocations: 0.693 MB / 0.9459 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/2.086, allocations: 10.47 kB / 0.9459 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/2.086, allocations: 3.062 kB / 0.9459 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.934e-06/2.086, allocations: 3.844 kB / 0.9459 GB, free: 138 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/2.089, allocations: 1.361 MB / 0.9473 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.394e-06/2.089, allocations: 6.719 kB / 0.9473 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001382/2.09, allocations: 193.3 kB / 0.9475 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003272/2.091, allocations: 57.52 kB / 0.9475 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.654e-05/2.091, allocations: 17 kB / 0.9475 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/2.093, allocations: 2.779 MB / 0.9503 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.125e-06/2.093, allocations: 3.75 kB / 0.9503 GB, free: 135 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001946/2.095, allocations: 1.044 MB / 0.9513 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/2.095, allocations: 200.3 kB / 0.9515 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/2.096, allocations: 11.53 kB / 0.9515 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006517/2.096, allocations: 39.14 kB / 0.9515 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/2.096, allocations: 43.17 kB / 0.9516 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.244e-05/2.096, allocations: 21.75 kB / 0.9516 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006072/2.097, allocations: 385.2 kB / 0.9519 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.35e-07/2.097, allocations: 0 / 0.9519 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001196/2.098, allocations: 220.6 kB / 0.9522 GB, free: 134.4 MB / 0.5261 GB 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.0006498/2.099, allocations: 289.2 kB / 0.9524 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001411/2.1, allocations: 0.5696 MB / 0.953 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.356e-06/2.1, allocations: 0 / 0.953 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001236/2.102, allocations: 451.2 kB / 0.9534 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/2.104, allocations: 317.7 kB / 0.9537 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/2.106, allocations: 1.047 MB / 0.9547 GB, free: 133.9 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/2.107, allocations: 0.95 MB / 0.9557 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002837/2.107, allocations: 64.81 kB / 0.9557 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.724e-06/2.107, allocations: 0 / 0.9557 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.02283/2.13, allocations: 14.8 MB / 0.9702 GB, free: 132.7 MB / 0.5261 GB