Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_G") Notification: Performance of loadModel(ThermoPower): time 2.074/2.074, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.769e-05, allocations: 4 kB / 330.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.305, allocations: 60.23 MB / 391 MB, free: 4.887 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.791/7.096, allocations: 2.949 GB / 3.331 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002236/7.096, allocations: 85.05 kB / 3.331 GB, free: 154.6 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.162/8.258, allocations: 308.9 MB / 3.633 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.99e-06/8.258, allocations: 0 / 3.633 GB, free: 64.65 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.764e-05/8.258, allocations: 43.94 kB / 3.633 GB, free: 64.61 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: 496 * Number of variables: 496 Notification: Performance of Generate backend data structure: time 0.01214/8.27, allocations: 3.429 MB / 3.636 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/8.27, allocations: 12.03 kB / 3.636 GB, free: 61.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002597/8.273, allocations: 365.5 kB / 3.636 GB, free: 60.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004352/8.277, allocations: 1.35 MB / 3.638 GB, free: 59.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/8.277, allocations: 144.5 kB / 3.638 GB, free: 59.29 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005778/8.278, allocations: 196 kB / 3.638 GB, free: 59.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01149/8.289, allocations: 4.596 MB / 3.642 GB, free: 54.46 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/8.289, allocations: 3.938 kB / 3.642 GB, free: 54.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003685/8.29, allocations: 84 kB / 3.643 GB, free: 54.37 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.436e-05/8.29, allocations: 79.72 kB / 3.643 GB, free: 54.3 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01407/8.304, allocations: 5.015 MB / 3.648 GB, free: 49.28 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.01394/8.318, allocations: 9.213 MB / 3.657 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006053/8.324, allocations: 2.224 MB / 3.659 GB, free: 37.37 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001689/8.326, allocations: 0.9692 MB / 3.66 GB, free: 36.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4349/8.761, allocations: 63.97 MB / 3.722 GB, free: 82.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006119/8.767, allocations: 1.944 MB / 3.724 GB, free: 82.51 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=137): time 5.306e-06/8.767, allocations: 0 / 3.724 GB, free: 82.51 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137): time 0.02245/8.789, allocations: 5.345 MB / 3.729 GB, free: 82.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/8.789, allocations: 254.2 kB / 3.73 GB, free: 82.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/8.791, allocations: 1.209 MB / 3.731 GB, free: 81.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004333/8.792, allocations: 51.11 kB / 3.731 GB, free: 81.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006822/8.793, allocations: 1.02 MB / 3.732 GB, free: 81.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006461/8.793, allocations: 0.5014 MB / 3.732 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003066/8.793, allocations: 54.53 kB / 3.732 GB, free: 81.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000208/8.794, allocations: 468.6 kB / 3.733 GB, free: 80.87 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002873/8.797, allocations: 1.417 MB / 3.734 GB, free: 80.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/8.8, allocations: 2.713 MB / 3.737 GB, free: 79.24 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/8.804, allocations: 1.897 MB / 3.739 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-05/8.804, allocations: 10.94 kB / 3.739 GB, free: 79.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=352) (initialization): time 0.01868/8.822, allocations: 6.193 MB / 3.745 GB, free: 78.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003277/8.826, allocations: 17.1 MB / 3.761 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.639e-05/8.826, allocations: 43.31 kB / 3.761 GB, free: 61.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01412/8.84, allocations: 2.554 MB / 3.764 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/8.843, allocations: 0.6788 MB / 3.765 GB, free: 61.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0304/8.874, allocations: 13.12 MB / 3.777 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003632/8.877, allocations: 423.5 kB / 3.778 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005918/8.878, allocations: 226.9 kB / 3.778 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/8.878, allocations: 3.062 kB / 3.778 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01864/8.897, allocations: 5.995 MB / 3.784 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/8.897, allocations: 42.94 kB / 3.784 GB, free: 59.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/8.911, allocations: 2.561 MB / 3.786 GB, free: 59.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/8.915, allocations: 0.6593 MB / 3.787 GB, free: 59.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03026/8.945, allocations: 13.15 MB / 3.8 GB, free: 57.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003343/8.948, allocations: 331.1 kB / 3.8 GB, free: 57.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005092/8.949, allocations: 216.2 kB / 3.8 GB, free: 57.57 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: hex.h[6]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))) start = hex.hstart[6] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[5]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = hex.hstart[5] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[4]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = hex.hstart[4] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[3]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = hex.hstart[3] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[2]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, -10000000000.0)) max = min(10000000000.0, min(10000000000.0, 10000000000.0)) start = hex.hstart[2] unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] hex.h[1]:VARIABLE(min = max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, max(-10000000000.0, -10000000000.0)))) max = min(10000000000.0, min(10000000000.0, min(10000000000.0, min(10000000000.0, 10000000000.0)))) start = 100000.0 unit = "J/kg" nominal = 500000.0 ) "Fluid specific enthalpy" type: Real [6] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 196 * Number of states: 0 () * Number of discrete variables: 15 (hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase,$whenCondition1,MassFlowRate.a,MassFlowRate.b,MassFlowRate.last,$PRE.MassFlowRate.nextEvent,MassFlowRate.nextEvent,MassFlowRate.nextEventScaled,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (293): * Single equations (assignments): 291 * Array equations: 0 * Algorithm blocks: 1 * 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 {6 49} Notification: Performance of prepare postOptimizeDAE: time 0.001127/8.95, allocations: 444.6 kB / 3.801 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/8.951, allocations: 149.2 kB / 3.801 GB, free: 57.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0277/8.978, allocations: 15.72 MB / 3.816 GB, free: 53.38 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.248e-05/8.978, allocations: 38.59 kB / 3.816 GB, free: 53.38 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/8.978, allocations: 3.938 kB / 3.816 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-05/8.978, allocations: 11.84 kB / 3.816 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03464/9.013, allocations: 21.58 MB / 3.837 GB, free: 41.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.925e-05/9.013, allocations: 0 / 3.837 GB, free: 41.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001955/9.015, allocations: 215.2 kB / 3.838 GB, free: 41.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01444/9.03, allocations: 2.801 MB / 3.84 GB, free: 39.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004753/9.03, allocations: 55.89 kB / 3.84 GB, free: 39.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02727/9.057, allocations: 13.12 MB / 3.853 GB, free: 28.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.972e-06/9.057, allocations: 3.953 kB / 3.853 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01757/9.075, allocations: 6.661 MB / 3.86 GB, free: 23.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/9.076, allocations: 494.5 kB / 3.86 GB, free: 22.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003814/9.077, allocations: 47.69 kB / 3.86 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/9.078, allocations: 129.4 kB / 3.86 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005341/9.079, allocations: 125.1 kB / 3.861 GB, free: 22.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002294/9.079, allocations: 59.33 kB / 3.861 GB, free: 22.68 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001253/9.08, allocations: 0.8327 MB / 3.861 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.32e-07/9.08, allocations: 4 kB / 3.861 GB, free: 21.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008256/9.089, allocations: 2.051 MB / 3.863 GB, free: 19.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6]) * Number of discrete variables: 22 ($cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$whenCondition1,MassFlowRate.a,MassFlowRate.b,MassFlowRate.last,MassFlowRate.nextEvent,MassFlowRate.nextEventScaled) * Number of discrete states: 6 (MassFlowRate.nextEvent,MassFlowRate.last,MassFlowRate.nextEventScaled,MassFlowRate.b,MassFlowRate.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 8 * 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 {6 54} Notification: Performance of Backend phase and start with SimCode phase: time 0.00578/9.094, allocations: 1.379 MB / 3.865 GB, free: 19 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01413/9.109, allocations: 6.494 MB / 3.871 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.104e-06/9.109, allocations: 0 / 3.871 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.004471/9.113, allocations: 2.017 MB / 3.873 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002577/9.116, allocations: 439.7 kB / 3.873 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007647/9.123, allocations: 4.2 MB / 3.878 GB, free: 7.301 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/9.125, allocations: 1.644 MB / 3.879 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01198/9.137, allocations: 8.824 MB / 3.888 GB, free: 0.7969 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/9.138, allocations: 197.2 kB / 3.888 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of SimCode: time 1.714e-06/9.138, allocations: 3.938 kB / 3.888 GB, free: 0.6367 MB / 0.5261 GB Notification: Performance of Templates: time 0.4627/9.6, allocations: 88.72 MB / 3.975 GB, free: 97.34 MB / 0.5417 GB