Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_E,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_E",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.435/2.435, allocations: 254.6 MB / 267.7 MB, free: 12.44 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.347e-05/4.351e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5565/0.5566, allocations: 60.23 MB / 391.1 MB, free: 4.762 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.334/9.89, allocations: 2.954 GB / 3.336 GB, free: 52.32 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003607/9.891, allocations: 81.58 kB / 3.336 GB, free: 52.29 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.594/13.48, allocations: 0.6653 GB / 4.002 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.405e-06/13.48, allocations: 0 / 4.002 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0004468/13.48, allocations: 184.9 kB / 4.002 GB, free: 12.89 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2772 * Number of variables: 2772 Notification: Performance of Generate backend data structure: time 0.9496/14.43, allocations: 19.54 MB / 4.021 GB, free: 34.95 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/14.43, allocations: 10.75 kB / 4.021 GB, free: 34.95 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01001/14.44, allocations: 1.489 MB / 4.022 GB, free: 34.85 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/14.46, allocations: 1.582 MB / 4.024 GB, free: 34.38 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0313/14.49, allocations: 5.747 MB / 4.03 GB, free: 33.92 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001428/14.49, allocations: 0.7858 MB / 4.03 GB, free: 33.89 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009136/14.5, allocations: 1.034 MB / 4.031 GB, free: 33.89 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09453/14.6, allocations: 24.07 MB / 4.055 GB, free: 33.3 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000617/14.6, allocations: 0 / 4.055 GB, free: 33.3 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007204/14.61, allocations: 440.2 kB / 4.055 GB, free: 33.29 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000423/14.61, allocations: 419.6 kB / 4.056 GB, free: 33.27 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1405/14.75, allocations: 28.01 MB / 4.083 GB, free: 33.22 MB / 0.5418 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.1294/14.88, allocations: 48.89 MB / 4.131 GB, free: 27.8 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03892/14.91, allocations: 9.602 MB / 4.14 GB, free: 25.18 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01255/14.93, allocations: 4.238 MB / 4.144 GB, free: 23.47 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2149/15.14, allocations: 64.05 MB / 4.207 GB, free: 11.59 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001123/15.14, allocations: 90.5 kB / 4.207 GB, free: 11.49 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=501): time 8.486e-06/15.14, allocations: 3.938 kB / 4.207 GB, free: 11.48 MB / 0.5887 GB Notification: Performance of matching and sorting (n=501): time 0.1756/15.32, allocations: 26 MB / 4.232 GB, free: 10.77 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001158/15.32, allocations: 103.3 kB / 4.232 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02223/15.34, allocations: 6.951 MB / 4.239 GB, free: 4.547 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.003868/15.34, allocations: 115.7 kB / 4.239 GB, free: 4.43 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.5382/15.88, allocations: 6.231 MB / 4.245 GB, free: 96.2 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.005856/15.89, allocations: 2.023 MB / 4.247 GB, free: 95.18 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004849/15.89, allocations: 341.1 kB / 4.248 GB, free: 95.18 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.001908/15.9, allocations: 1.057 MB / 4.249 GB, free: 94.84 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0224/15.92, allocations: 7.536 MB / 4.256 GB, free: 94.8 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02972/15.95, allocations: 17.55 MB / 4.273 GB, free: 81.87 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0284/15.98, allocations: 10.87 MB / 4.284 GB, free: 81.75 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005431/15.98, allocations: 102.4 kB / 4.284 GB, free: 81.75 MB / 0.6043 GB Notification: Performance of matching and sorting (n=2191) (initialization): time 0.1017/16.08, allocations: 29.23 MB / 4.312 GB, free: 80.12 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.04564/16.12, allocations: 140.5 MB / 4.45 GB, free: 13.29 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001169/16.13, allocations: 353.4 kB / 4.45 GB, free: 13.29 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1717/16.3, allocations: 24.6 MB / 4.474 GB, free: 12.27 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02029/16.32, allocations: 3.351 MB / 4.477 GB, free: 11.95 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07722/16.4, allocations: 19.72 MB / 4.497 GB, free: 10.97 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02667/16.42, allocations: 2.613 MB / 4.499 GB, free: 9.773 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00614/16.43, allocations: 1.271 MB / 4.5 GB, free: 9.773 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/16.43, allocations: 6.094 kB / 4.5 GB, free: 9.773 MB / 0.6824 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09455/16.52, allocations: 28.35 MB / 4.528 GB, free: 0 / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00441/16.53, allocations: 0.5195 MB / 4.529 GB, free: 0 / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.643/17.17, allocations: 24.6 MB / 4.553 GB, free: 148.7 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01926/17.19, allocations: 3.326 MB / 4.556 GB, free: 148.7 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07847/17.27, allocations: 19.7 MB / 4.575 GB, free: 148 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02432/17.29, allocations: 1.967 MB / 4.577 GB, free: 147.9 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006573/17.3, allocations: 1.264 MB / 4.578 GB, free: 147.9 MB / 0.6824 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1613 * Number of states: 0 () * Number of discrete variables: 28 (hexB.fluidState[12].phase,hexB.fluidState[11].phase,hexB.fluidState[10].phase,hexB.fluidState[9].phase,hexB.fluidState[8].phase,hexB.fluidState[7].phase,hexB.fluidState[6].phase,hexB.fluidState[5].phase,hexB.fluidState[4].phase,hexB.fluidState[3].phase,hexB.fluidState[2].phase,hexB.fluidState[1].phase,hexA.fluidState[12].phase,hexA.fluidState[11].phase,hexA.fluidState[10].phase,hexA.fluidState[9].phase,hexA.fluidState[8].phase,hexA.fluidState[7].phase,hexA.fluidState[6].phase,hexA.fluidState[5].phase,hexA.fluidState[4].phase,hexA.fluidState[3].phase,hexA.fluidState[2].phase,hexA.fluidState[1].phase,SensT_B_out.fluidState.phase,SensT_A_out.fluidState.phase,SensT_B_in.fluidState.phase,SensT_A_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1804): * Single equations (assignments): 1803 * 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 {26 362} Notification: Performance of prepare postOptimizeDAE: time 0.0117/17.31, allocations: 1.327 MB / 4.58 GB, free: 147.6 MB / 0.6824 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005935/17.32, allocations: 0.6897 MB / 4.58 GB, free: 147.3 MB / 0.6824 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1902/17.51, allocations: 66.24 MB / 4.645 GB, free: 141.8 MB / 0.6824 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001889/17.51, allocations: 139.1 kB / 4.645 GB, free: 141.7 MB / 0.6824 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-05/17.51, allocations: 0 / 4.645 GB, free: 141.7 MB / 0.6824 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001764/17.51, allocations: 33.56 kB / 4.645 GB, free: 141.7 MB / 0.6824 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2083/17.72, allocations: 89.14 MB / 4.732 GB, free: 80.5 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-05/17.72, allocations: 0 / 4.732 GB, free: 80.5 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009655/17.73, allocations: 0.7452 MB / 4.733 GB, free: 80.03 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1287/17.85, allocations: 16.63 MB / 4.749 GB, free: 69.82 MB / 0.6824 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003034/17.86, allocations: 249.2 kB / 4.749 GB, free: 69.64 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7085/18.57, allocations: 60.68 MB / 4.809 GB, free: 144.8 MB / 0.6824 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/18.57, allocations: 3.375 kB / 4.809 GB, free: 144.8 MB / 0.6824 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1469/18.71, allocations: 30.41 MB / 4.838 GB, free: 143.5 MB / 0.6824 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007494/18.72, allocations: 1.78 MB / 4.84 GB, free: 142.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002863/18.72, allocations: 174.1 kB / 4.84 GB, free: 142.8 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01404/18.74, allocations: 0.5715 MB / 4.841 GB, free: 142.8 MB / 0.6824 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005327/18.74, allocations: 492.7 kB / 4.841 GB, free: 142.8 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002561/18.75, allocations: 201.6 kB / 4.841 GB, free: 142.8 MB / 0.6824 GB Notification: Performance of sorting global known variables: time 0.01135/18.76, allocations: 4.516 MB / 4.846 GB, free: 142.5 MB / 0.6824 GB Notification: Performance of sort global known variables: time 1.172e-06/18.76, allocations: 0.8438 kB / 4.846 GB, free: 142.5 MB / 0.6824 GB Notification: Performance of remove unused functions: time 0.04428/18.8, allocations: 6.035 MB / 4.852 GB, free: 142.2 MB / 0.6824 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 26 (hexA.p,hexA.h[1],hexA.h[2],hexA.h[3],hexA.h[4],hexA.h[5],hexA.h[6],hexA.h[7],hexA.h[8],hexA.h[9],hexA.h[10],hexA.h[11],hexA.h[12],hexB.p,hexB.h[1],hexB.h[2],hexB.h[3],hexB.h[4],hexB.h[5],hexB.h[6],hexB.h[7],hexB.h[8],hexB.h[9],hexB.h[10],hexB.h[11],hexB.h[12]) * Number of discrete variables: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.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,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse59.phase,$cse59.region,$cse60.phase,$cse60.region,$cse61.phase,$cse61.region,$cse62.phase,$cse62.region,$cse63.phase,$cse63.region,$cse64.phase,$cse64.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (297): * Single equations (assignments): 267 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 28 * 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: 0 * Non-linear torn systems: 2 {13 126,13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.1567/18.96, allocations: 32.84 MB / 4.884 GB, free: 133.4 MB / 0.6824 GB Notification: Performance of simCode: created initialization part: time 0.1121/19.07, allocations: 32.77 MB / 4.916 GB, free: 113.9 MB / 0.6824 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-05/19.07, allocations: 4 kB / 4.916 GB, free: 113.9 MB / 0.6824 GB Notification: Performance of simCode: created simulation system equations: time 0.0388/19.11, allocations: 9.147 MB / 4.925 GB, free: 106 MB / 0.6824 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01309/19.12, allocations: 1.324 MB / 4.926 GB, free: 105 MB / 0.6824 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07855/19.2, allocations: 23.35 MB / 4.949 GB, free: 84.88 MB / 0.6824 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009662/19.21, allocations: 5.07 MB / 4.954 GB, free: 81.21 MB / 0.6824 GB Notification: Performance of simCode: alias equations: time 0.04505/19.26, allocations: 10.64 MB / 4.964 GB, free: 74.79 MB / 0.6824 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008419/19.26, allocations: 3.803 MB / 4.968 GB, free: 71.27 MB / 0.6824 GB Notification: Performance of SimCode: time 2.194e-06/19.26, allocations: 0 / 4.968 GB, free: 71.27 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.829/21.09, allocations: 427.4 MB / 5.385 GB, free: 74.51 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002958/21.09, allocations: 201.8 kB / 5.385 GB, free: 74.28 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.01/44.1, allocations: 0 / 5.385 GB, free: 74.28 MB / 0.6824 GB