Running command: translateModel(ThermoPower.Test.WaterComponents.TestJoin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.WaterComponents.TestJoin") Notification: Performance of loadModel(ThermoPower): time 2.211/2.211, allocations: 254.6 MB / 267.7 MB, free: 12.38 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.189e-05/4.196e-05, allocations: 4 kB / 330.8 MB, free: 13.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 60.23 MB / 391 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.789/7.226, allocations: 2.907 GB / 3.288 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/7.226, allocations: 75.95 kB / 3.288 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.11/10.34, allocations: 0.6651 GB / 3.954 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.106e-06/10.34, allocations: 0 / 3.954 GB, free: 45.56 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.548e-05/10.34, allocations: 28.58 kB / 3.954 GB, free: 45.56 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.005956/10.34, allocations: 1.445 MB / 3.955 GB, free: 44.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/10.34, allocations: 7.062 kB / 3.955 GB, free: 44.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005757/10.34, allocations: 119.8 kB / 3.955 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001506/10.34, allocations: 0.5302 MB / 3.956 GB, free: 44.69 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/10.34, allocations: 56.31 kB / 3.956 GB, free: 44.68 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001111/10.34, allocations: 62.03 kB / 3.956 GB, free: 44.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/10.35, allocations: 0.9381 MB / 3.957 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/10.35, allocations: 0 / 3.957 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.089e-05/10.35, allocations: 35.06 kB / 3.957 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/10.35, allocations: 17.69 kB / 3.957 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001722/10.35, allocations: 0.5417 MB / 3.957 GB, free: 44.35 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0044/10.35, allocations: 4.408 MB / 3.962 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/10.35, allocations: 488.8 kB / 3.962 GB, free: 40.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003622/10.36, allocations: 155.8 kB / 3.962 GB, free: 40.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06777/10.42, allocations: 31.98 MB / 3.993 GB, free: 21.31 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/10.42, allocations: 38.38 kB / 3.993 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=32): time 3.488e-06/10.42, allocations: 0 / 3.993 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=32): time 0.002088/10.43, allocations: 0.5658 MB / 3.994 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/10.43, allocations: 83.92 kB / 3.994 GB, free: 21.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/10.43, allocations: 407.1 kB / 3.994 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.536e-05/10.43, allocations: 29.64 kB / 3.994 GB, free: 20.96 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/10.43, allocations: 327.7 kB / 3.995 GB, free: 20.81 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001047/10.43, allocations: 122.2 kB / 3.995 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/10.43, allocations: 10.16 kB / 3.995 GB, free: 20.73 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.952e-05/10.43, allocations: 358.6 kB / 3.995 GB, free: 20.42 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002637/10.43, allocations: 102.8 kB / 3.995 GB, free: 20.41 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002842/10.43, allocations: 173.2 kB / 3.996 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002983/10.43, allocations: 114.6 kB / 3.996 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.396e-06/10.43, allocations: 0 / 3.996 GB, free: 20.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009172/10.43, allocations: 378.3 kB / 3.996 GB, free: 20.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000194/10.43, allocations: 0.8749 MB / 3.997 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.321e-06/10.43, allocations: 7.312 kB / 3.997 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/10.43, allocations: 3.531 kB / 3.997 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006707/10.43, allocations: 96.27 kB / 3.997 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/10.43, allocations: 7.688 kB / 3.997 GB, free: 19.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007596/10.43, allocations: 92.27 kB / 3.997 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.353e-05/10.43, allocations: 18.09 kB / 3.997 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/10.43, allocations: 3.531 kB / 3.997 GB, free: 19.31 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005414/10.43, allocations: 243 kB / 3.997 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.905e-06/10.43, allocations: 3.875 kB / 3.997 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.201e-06/10.43, allocations: 3.75 kB / 3.997 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003994/10.43, allocations: 90.11 kB / 3.997 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.664e-06/10.43, allocations: 3.594 kB / 3.997 GB, free: 19.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006239/10.43, allocations: 89.44 kB / 3.997 GB, free: 19.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-05/10.43, allocations: 14.56 kB / 3.997 GB, free: 19.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 (T6.fluidState.phase,T5.fluidState.phase,T4.fluidState.phase,T3.fluidState.phase,T2.fluidState.phase,T1.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001452/10.43, allocations: 128.9 kB / 3.998 GB, free: 19.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001533/10.43, allocations: 55.5 kB / 3.998 GB, free: 19.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/10.43, allocations: 1.521 MB / 3.999 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.803e-05/10.43, allocations: 25.58 kB / 3.999 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.349e-06/10.43, allocations: 0 / 3.999 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.878e-06/10.43, allocations: 0.75 kB / 3.999 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001491/10.44, allocations: 0.9804 MB / 4 GB, free: 18.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/10.44, allocations: 2.656 kB / 4 GB, free: 18.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005617/10.44, allocations: 75.98 kB / 4 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.043e-05/10.44, allocations: 6.297 kB / 4 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.31e-05/10.44, allocations: 14.38 kB / 4 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.234e-06/10.44, allocations: 2.312 kB / 4 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.261e-06/10.44, allocations: 2.031 kB / 4 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001311/10.44, allocations: 0.9517 MB / 4.001 GB, free: 18.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/10.44, allocations: 195.1 kB / 4.001 GB, free: 18.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/10.44, allocations: 8.938 kB / 4.001 GB, free: 18.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/10.44, allocations: 67.86 kB / 4.001 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/10.44, allocations: 34.19 kB / 4.001 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/10.44, allocations: 9.844 kB / 4.001 GB, free: 18.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001019/10.44, allocations: 316.5 kB / 4.002 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.55e-07/10.44, allocations: 0 / 4.002 GB, free: 34.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00423/10.44, allocations: 1.14 MB / 4.003 GB, free: 33.96 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007284/10.45, allocations: 1.792 MB / 4.005 GB, free: 33.57 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001331/10.45, allocations: 0.5916 MB / 4.005 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.83e-06/10.45, allocations: 0 / 4.005 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005856/10.45, allocations: 395.7 kB / 4.006 GB, free: 33.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/10.46, allocations: 310.8 kB / 4.006 GB, free: 33.52 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003259/10.46, allocations: 1.215 MB / 4.007 GB, free: 33.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006913/10.46, allocations: 1.001 MB / 4.008 GB, free: 32.47 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001209/10.46, allocations: 414 kB / 4.008 GB, free: 32.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/10.46, allocations: 44.34 kB / 4.008 GB, free: 32.43 MB / 0.5417 GB Notification: Performance of SimCode: time 1.818e-06/10.46, allocations: 0 / 4.008 GB, free: 32.43 MB / 0.5417 GB Notification: Performance of Templates: time 0.0788/10.54, allocations: 47.5 MB / 4.055 GB, free: 29.59 MB / 0.5417 GB