Running command: translateModel(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_D") Notification: Performance of loadModel(ThermoPower): time 2.251/2.251, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.575e-05, allocations: 4 kB / 330.8 MB, free: 13.19 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3171, allocations: 60.23 MB / 391 MB, free: 4.895 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.029/7.347, allocations: 2.946 GB / 3.328 GB, free: 81.66 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/7.347, allocations: 78.78 kB / 3.328 GB, free: 81.62 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/8.877, allocations: 308.4 MB / 3.629 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/8.877, allocations: 0 / 3.629 GB, free: 80.13 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001691/8.877, allocations: 85.75 kB / 3.629 GB, free: 80.13 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: 1341 * Number of variables: 1341 Notification: Performance of Generate backend data structure: time 0.03595/8.913, allocations: 9.936 MB / 3.639 GB, free: 78.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/8.913, allocations: 11.81 kB / 3.639 GB, free: 78.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/8.919, allocations: 0.7613 MB / 3.64 GB, free: 78.59 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01083/8.93, allocations: 2.895 MB / 3.643 GB, free: 78.15 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004716/8.931, allocations: 392.6 kB / 3.643 GB, free: 78.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0029/8.933, allocations: 0.5053 MB / 3.644 GB, free: 78.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03526/8.969, allocations: 11.79 MB / 3.655 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001645/8.969, allocations: 0 / 3.655 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002224/8.971, allocations: 212.8 kB / 3.655 GB, free: 77.83 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001712/8.971, allocations: 202 kB / 3.655 GB, free: 77.82 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05481/9.026, allocations: 13.8 MB / 3.669 GB, free: 77.8 MB / 0.5261 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.04733/9.074, allocations: 24.75 MB / 3.693 GB, free: 67.37 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01413/9.088, allocations: 4.404 MB / 3.697 GB, free: 67.32 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004173/9.092, allocations: 1.942 MB / 3.699 GB, free: 67.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1447/9.237, allocations: 64 MB / 3.762 GB, free: 25.96 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.853e-05/9.237, allocations: 66.03 kB / 3.762 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=240): time 6.275e-06/9.237, allocations: 0 / 3.762 GB, free: 25.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=240): time 0.04759/9.284, allocations: 11.42 MB / 3.773 GB, free: 20.19 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.39e-05/9.284, allocations: 77.41 kB / 3.773 GB, free: 20.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005446/9.29, allocations: 3.527 MB / 3.776 GB, free: 17 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001041/9.291, allocations: 73.7 kB / 3.777 GB, free: 16.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001937/9.293, allocations: 3.131 MB / 3.78 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001772/9.295, allocations: 0.9803 MB / 3.781 GB, free: 13.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001047/9.296, allocations: 168 kB / 3.781 GB, free: 13.11 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006477/9.297, allocations: 0.7184 MB / 3.781 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007723/9.304, allocations: 3.646 MB / 3.785 GB, free: 9.219 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01247/9.317, allocations: 8.71 MB / 3.794 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01179/9.329, allocations: 5.326 MB / 3.799 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001765/9.329, allocations: 56.89 kB / 3.799 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1097) (initialization): time 0.04035/9.369, allocations: 14.42 MB / 3.813 GB, free: 13.81 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.3407/9.71, allocations: 71.36 MB / 3.883 GB, free: 36.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009608/9.711, allocations: 179.4 kB / 3.883 GB, free: 36.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06539/9.776, allocations: 9.969 MB / 3.892 GB, free: 36.13 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006768/9.783, allocations: 1.744 MB / 3.894 GB, free: 36.13 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02297/9.806, allocations: 8.919 MB / 3.903 GB, free: 35.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009983/9.816, allocations: 1.295 MB / 3.904 GB, free: 35.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00227/9.819, allocations: 0.6387 MB / 3.905 GB, free: 35.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/9.819, allocations: 4.75 kB / 3.905 GB, free: 35.5 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03478/9.853, allocations: 13.93 MB / 3.918 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005928/9.854, allocations: 178.1 kB / 3.919 GB, free: 34.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04869/9.903, allocations: 9.969 MB / 3.928 GB, free: 34.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00666/9.909, allocations: 1.739 MB / 3.93 GB, free: 34.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0219/9.931, allocations: 8.915 MB / 3.939 GB, free: 34.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00938/9.941, allocations: 0.9623 MB / 3.94 GB, free: 33.88 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002542/9.943, allocations: 0.635 MB / 3.94 GB, free: 33.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 820 * Number of states: 0 () * Number of discrete variables: 12 (hex.fluidState[12].phase,hex.fluidState[11].phase,hex.fluidState[10].phase,hex.fluidState[9].phase,hex.fluidState[8].phase,hex.fluidState[7].phase,hex.fluidState[6].phase,hex.fluidState[5].phase,hex.fluidState[4].phase,hex.fluidState[3].phase,hex.fluidState[2].phase,hex.fluidState[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (943): * Single equations (assignments): 942 * 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 142} Notification: Performance of prepare postOptimizeDAE: time 0.003094/9.946, allocations: 0.728 MB / 3.941 GB, free: 33.49 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/9.948, allocations: 351.7 kB / 3.941 GB, free: 33.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05683/10, allocations: 31.41 MB / 3.972 GB, free: 26.09 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.411e-05/10, allocations: 66.89 kB / 3.972 GB, free: 26.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.501e-05/10, allocations: 6.875 kB / 3.972 GB, free: 26.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.269e-05/10, allocations: 14.25 kB / 3.972 GB, free: 26.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07006/10.07, allocations: 42.65 MB / 4.014 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.704e-05/10.07, allocations: 0 / 4.014 GB, free: 3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003009/10.08, allocations: 400.7 kB / 4.014 GB, free: 2.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03624/10.11, allocations: 6.957 MB / 4.021 GB, free: 14.61 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001066/10.12, allocations: 124.4 kB / 4.021 GB, free: 14.52 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3977/10.51, allocations: 28.34 MB / 4.049 GB, free: 103.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/10.51, allocations: 0.5625 kB / 4.049 GB, free: 103.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04418/10.56, allocations: 13.47 MB / 4.062 GB, free: 103 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002731/10.56, allocations: 0.8792 MB / 4.063 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001195/10.56, allocations: 86.56 kB / 4.063 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00463/10.57, allocations: 274 kB / 4.063 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00165/10.57, allocations: 232.5 kB / 4.063 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000619/10.57, allocations: 97.86 kB / 4.063 GB, free: 102.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004121/10.57, allocations: 2.291 MB / 4.066 GB, free: 102.4 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.044e-06/10.57, allocations: 0 / 4.066 GB, free: 102.4 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01876/10.59, allocations: 3.277 MB / 4.069 GB, free: 102.3 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (hex.p,hex.h[1],hex.h[2],hex.h[3],hex.h[4],hex.h[5],hex.h[6],hex.h[7],hex.h[8],hex.h[9],hex.h[10],hex.h[11],hex.h[12]) * Number of discrete variables: 24 ($cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 144 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {13 106} Notification: Performance of Backend phase and start with SimCode phase: time 0.006907/10.6, allocations: 1.314 MB / 4.07 GB, free: 102.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.03729/10.64, allocations: 15.4 MB / 4.085 GB, free: 101.7 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.121e-06/10.64, allocations: 3.781 kB / 4.085 GB, free: 101.7 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01185/10.65, allocations: 4.112 MB / 4.089 GB, free: 101.3 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003971/10.65, allocations: 0.6217 MB / 4.09 GB, free: 101.3 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01965/10.67, allocations: 9.69 MB / 4.099 GB, free: 99.85 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002978/10.67, allocations: 2.776 MB / 4.102 GB, free: 99.06 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01612/10.69, allocations: 5.796 MB / 4.108 GB, free: 99.01 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/10.69, allocations: 279.8 kB / 4.108 GB, free: 99.01 MB / 0.573 GB Notification: Performance of SimCode: time 2.537e-06/10.69, allocations: 3.938 kB / 4.108 GB, free: 99.01 MB / 0.573 GB Notification: Performance of Templates: time 0.6082/11.3, allocations: 168.8 MB / 4.273 GB, free: 97.18 MB / 0.573 GB