Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J,tolerance=1e-07,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_J") Notification: Performance of loadModel(ThermoPower): time 2.136/2.136, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 10000 Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.741e-05, allocations: 4 kB / 330.8 MB, free: 13.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.305, allocations: 60.24 MB / 391 MB, free: 4.895 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.019/7.324, allocations: 2.945 GB / 3.326 GB, free: 83.97 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/7.324, allocations: 79.22 kB / 3.326 GB, free: 83.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.126/8.45, allocations: 289.7 MB / 3.609 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.071e-06/8.45, allocations: 0 / 3.609 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001234/8.45, allocations: 79.94 kB / 3.609 GB, free: 4.727 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1155 * Number of variables: 1155 Notification: Performance of Generate backend data structure: time 0.3268/8.777, allocations: 8.492 MB / 3.618 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/8.777, allocations: 13.19 kB / 3.618 GB, free: 61.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/8.783, allocations: 0.7065 MB / 3.618 GB, free: 61.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009397/8.792, allocations: 2.59 MB / 3.621 GB, free: 61.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003196/8.792, allocations: 333.4 kB / 3.621 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001988/8.794, allocations: 436 kB / 3.622 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0282/8.823, allocations: 10.29 MB / 3.632 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001061/8.823, allocations: 3.844 kB / 3.632 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000937/8.824, allocations: 183.2 kB / 3.632 GB, free: 61.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001455/8.824, allocations: 173.1 kB / 3.632 GB, free: 61.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04442/8.868, allocations: 11.95 MB / 3.644 GB, free: 61.11 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.03931/8.908, allocations: 21.82 MB / 3.665 GB, free: 52.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01179/8.919, allocations: 4.009 MB / 3.669 GB, free: 52.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003408/8.923, allocations: 1.768 MB / 3.671 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1425/9.065, allocations: 64 MB / 3.733 GB, free: 29.04 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/9.065, allocations: 58.28 kB / 3.733 GB, free: 29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=218): time 6.148e-06/9.065, allocations: 0 / 3.733 GB, free: 29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=218): time 0.02579/9.091, allocations: 7.35 MB / 3.74 GB, free: 27 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/9.091, allocations: 76.06 kB / 3.741 GB, free: 26.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/9.096, allocations: 3.041 MB / 3.743 GB, free: 25.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000683/9.097, allocations: 64.86 kB / 3.744 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001444/9.098, allocations: 2.687 MB / 3.746 GB, free: 23.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001259/9.099, allocations: 0.8786 MB / 3.747 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006604/9.1, allocations: 144.9 kB / 3.747 GB, free: 23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000519/9.101, allocations: 0.6619 MB / 3.748 GB, free: 22.54 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006294/9.107, allocations: 3.223 MB / 3.751 GB, free: 21.56 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008292/9.115, allocations: 7.547 MB / 3.758 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008734/9.124, allocations: 4.698 MB / 3.763 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001015/9.124, allocations: 43.06 kB / 3.763 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.02664/9.151, allocations: 11.5 MB / 3.774 GB, free: 6.012 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.3379/9.489, allocations: 60.57 MB / 3.833 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004149/9.489, allocations: 151.7 kB / 3.833 GB, free: 101.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.045/9.534, allocations: 6.844 MB / 3.84 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007312/9.541, allocations: 1.793 MB / 3.842 GB, free: 101.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01371/9.555, allocations: 5.751 MB / 3.848 GB, free: 100.8 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008361/9.564, allocations: 1.125 MB / 3.849 GB, free: 100.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001629/9.565, allocations: 0.5606 MB / 3.849 GB, free: 100.7 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/9.565, allocations: 7.375 kB / 3.849 GB, free: 100.7 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.042/9.607, allocations: 13.91 MB / 3.863 GB, free: 100.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004463/9.608, allocations: 159.3 kB / 3.863 GB, free: 100.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02958/9.637, allocations: 5.489 MB / 3.868 GB, free: 100.3 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007906/9.645, allocations: 1.851 MB / 3.87 GB, free: 100.2 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05903/9.704, allocations: 24.56 MB / 3.894 GB, free: 98.32 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007379/9.712, allocations: 0.8386 MB / 3.895 GB, free: 98.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001843/9.714, allocations: 0.5473 MB / 3.895 GB, free: 98.04 MB / 0.573 GB Warning: Assuming fixed start value for the following 12 variables: pipe1.h[11]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0))) start = pipe1.hstart[11] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[10]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[10] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[9]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[9] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[8]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[8] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[7]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[7] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[6]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[6] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[5]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[5] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[4]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[4] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[3]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[3] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[2]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = pipe1.hstart[2] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.h[1]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0))) start = pipe1.hstart[1] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [11] pipe1.p:VARIABLE(min = max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, max(611.657, 611.657)))))))))))))))))))))) max = min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0)))))))))))))))))))))) start = pipe1.pstart unit = "Pa" nominal = 1000000.0 ) "Fluid pressure" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * Number of states: 0 () * Number of discrete variables: 11 (pipe1.fluidState[11].phase,pipe1.fluidState[10].phase,pipe1.fluidState[9].phase,pipe1.fluidState[8].phase,pipe1.fluidState[7].phase,pipe1.fluidState[6].phase,pipe1.fluidState[5].phase,pipe1.fluidState[4].phase,pipe1.fluidState[3].phase,pipe1.fluidState[2].phase,pipe1.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (834): * Single equations (assignments): 833 * 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 {13 102} Notification: Performance of prepare postOptimizeDAE: time 0.002342/9.716, allocations: 0.8851 MB / 3.896 GB, free: 97.65 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008298/9.717, allocations: 307.5 kB / 3.897 GB, free: 97.49 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03394/9.751, allocations: 25.76 MB / 3.922 GB, free: 90.55 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.02e-05/9.751, allocations: 59.56 kB / 3.922 GB, free: 90.54 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.887e-06/9.751, allocations: 3.938 kB / 3.922 GB, free: 90.54 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-05/9.751, allocations: 17.84 kB / 3.922 GB, free: 90.54 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01331/9.764, allocations: 11.39 MB / 3.933 GB, free: 84.13 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.02e-05/9.764, allocations: 3.719 kB / 3.933 GB, free: 84.13 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/9.767, allocations: 313.6 kB / 3.933 GB, free: 84.08 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.04355/9.81, allocations: 7.326 MB / 3.94 GB, free: 83.34 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008892/9.811, allocations: 107.2 kB / 3.941 GB, free: 83.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01327/9.825, allocations: 5.672 MB / 3.946 GB, free: 81.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.553e-06/9.825, allocations: 0 / 3.946 GB, free: 81.29 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01951/9.844, allocations: 9.382 MB / 3.955 GB, free: 76.91 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/9.846, allocations: 0.8078 MB / 3.956 GB, free: 76.18 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006987/9.847, allocations: 75.55 kB / 3.956 GB, free: 76.11 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003014/9.85, allocations: 247.6 kB / 3.956 GB, free: 75.96 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005045/9.851, allocations: 154.7 kB / 3.956 GB, free: 75.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003759/9.851, allocations: 89.8 kB / 3.957 GB, free: 75.81 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00291/9.854, allocations: 1.982 MB / 3.958 GB, free: 74.08 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.7e-07/9.854, allocations: 0 / 3.958 GB, free: 74.08 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0152/9.869, allocations: 3.153 MB / 3.962 GB, free: 71.07 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (pipe1.p,pipe1.h[1],pipe1.h[2],pipe1.h[3],pipe1.h[4],pipe1.h[5],pipe1.h[6],pipe1.h[7],pipe1.h[8],pipe1.h[9],pipe1.h[10],pipe1.h[11]) * Number of discrete variables: 22 ($cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse31.phase,$cse31.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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 {13 124} Notification: Performance of Backend phase and start with SimCode phase: time 0.006304/9.875, allocations: 1.482 MB / 3.963 GB, free: 70.05 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03201/9.907, allocations: 14.01 MB / 3.977 GB, free: 57.77 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.245e-06/9.908, allocations: 0 / 3.977 GB, free: 57.77 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.008427/9.916, allocations: 3.221 MB / 3.98 GB, free: 54.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/9.919, allocations: 0.569 MB / 3.98 GB, free: 54.55 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/9.934, allocations: 8.585 MB / 3.989 GB, free: 47.41 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002435/9.937, allocations: 2.513 MB / 3.991 GB, free: 45.49 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02612/9.963, allocations: 17.93 MB / 4.009 GB, free: 35.42 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001549/9.964, allocations: 366.2 kB / 4.009 GB, free: 35.12 MB / 0.573 GB Notification: Performance of SimCode: time 1.8e-06/9.964, allocations: 0 / 4.009 GB, free: 35.12 MB / 0.573 GB Notification: Performance of Templates: time 0.5273/10.49, allocations: 123.3 MB / 4.13 GB, free: 94.29 MB / 0.573 GB