Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestJoin,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestJoin",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.416/2.416, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.04e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.43, allocations: 60.23 MB / 391.1 MB, free: 4.777 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.04/9.471, allocations: 2.907 GB / 3.288 GB, free: 99.56 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/9.471, allocations: 79.08 kB / 3.289 GB, free: 99.52 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.448/12.92, allocations: 0.6651 GB / 3.954 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.134e-06/12.92, allocations: 0 / 3.954 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.239e-05/12.92, allocations: 25.77 kB / 3.954 GB, free: 34.1 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.007007/12.93, allocations: 1.44 MB / 3.955 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/12.93, allocations: 13.12 kB / 3.955 GB, free: 33.12 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002232/12.93, allocations: 107.1 kB / 3.955 GB, free: 33.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004996/12.93, allocations: 120.1 kB / 3.955 GB, free: 32.96 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/12.93, allocations: 0.5313 MB / 3.956 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.342e-05/12.93, allocations: 50.83 kB / 3.956 GB, free: 32.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/12.93, allocations: 61.34 kB / 3.956 GB, free: 32.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00218/12.93, allocations: 0.9323 MB / 3.957 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/12.93, allocations: 6.406 kB / 3.957 GB, free: 31.78 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/12.93, allocations: 28.09 kB / 3.957 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.181e-05/12.93, allocations: 17.16 kB / 3.957 GB, free: 31.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001768/12.93, allocations: 0.5443 MB / 3.957 GB, free: 31.52 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005453/12.94, allocations: 4.405 MB / 3.962 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/12.94, allocations: 487.1 kB / 3.962 GB, free: 27 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003933/12.94, allocations: 155.4 kB / 3.962 GB, free: 26.92 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1005/13.04, allocations: 31.98 MB / 3.994 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.151e-05/13.04, allocations: 34.56 kB / 3.994 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=32): time 4.849e-06/13.04, allocations: 3.891 kB / 3.994 GB, free: 11.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=32): time 0.002404/13.04, allocations: 0.5698 MB / 3.994 GB, free: 11 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.509e-05/13.04, allocations: 85.05 kB / 3.994 GB, free: 10.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007189/13.04, allocations: 404.8 kB / 3.995 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/13.04, allocations: 33.7 kB / 3.995 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/13.05, allocations: 331.8 kB / 3.995 GB, free: 10.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001554/13.05, allocations: 121.9 kB / 3.995 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.059e-05/13.05, allocations: 4 kB / 3.995 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001753/13.05, allocations: 370.7 kB / 3.995 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/13.05, allocations: 100.7 kB / 3.996 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/13.05, allocations: 177.5 kB / 3.996 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/13.05, allocations: 110.2 kB / 3.996 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/13.05, allocations: 0 / 3.996 GB, free: 9.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001143/13.05, allocations: 368.8 kB / 3.996 GB, free: 8.863 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003973/13.05, allocations: 0.8829 MB / 3.997 GB, free: 7.914 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/13.05, allocations: 4 kB / 3.997 GB, free: 7.91 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.863e-05/13.05, allocations: 4 kB / 3.997 GB, free: 7.906 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009754/13.05, allocations: 95.88 kB / 3.997 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.028e-05/13.05, allocations: 7.984 kB / 3.997 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/13.05, allocations: 87.47 kB / 3.997 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.641e-05/13.05, allocations: 16 kB / 3.997 GB, free: 7.703 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/13.05, allocations: 4 kB / 3.997 GB, free: 7.699 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007388/13.05, allocations: 243.7 kB / 3.997 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/13.05, allocations: 0 / 3.997 GB, free: 7.461 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/13.05, allocations: 4 kB / 3.997 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/13.05, allocations: 95.88 kB / 3.998 GB, free: 7.363 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.492e-05/13.05, allocations: 11.89 kB / 3.998 GB, free: 7.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007688/13.05, allocations: 87.73 kB / 3.998 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/13.05, allocations: 16 kB / 3.998 GB, free: 7.25 MB / 0.5417 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.0002016/13.05, allocations: 126.4 kB / 3.998 GB, free: 7.125 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/13.05, allocations: 55.34 kB / 3.998 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00277/13.06, allocations: 1.527 MB / 3.999 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-05/13.06, allocations: 23.95 kB / 3.999 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/13.06, allocations: 0 / 3.999 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/13.06, allocations: 0 / 3.999 GB, free: 5.512 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/13.06, allocations: 0.9754 MB / 4 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/13.06, allocations: 3.953 kB / 4 GB, free: 4.492 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007318/13.06, allocations: 71.89 kB / 4 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.209e-05/13.06, allocations: 4 kB / 4 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.748e-05/13.06, allocations: 15.98 kB / 4 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/13.06, allocations: 0 / 4 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/13.06, allocations: 0 / 4 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/13.06, allocations: 0.951 MB / 4.001 GB, free: 3.422 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003926/13.06, allocations: 203.7 kB / 4.002 GB, free: 3.203 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/13.06, allocations: 7.938 kB / 4.002 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008283/13.06, allocations: 63.84 kB / 4.002 GB, free: 3.133 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/13.06, allocations: 31.95 kB / 4.002 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.243e-05/13.06, allocations: 12 kB / 4.002 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005667/13.06, allocations: 321.6 kB / 4.002 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.31e-07/13.06, allocations: 3.938 kB / 4.002 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005681/13.07, allocations: 1.138 MB / 4.003 GB, free: 1.637 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.4545/13.52, allocations: 3.25 MB / 4.006 GB, free: 65.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001593/13.52, allocations: 0.596 MB / 4.007 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/13.52, allocations: 0 / 4.007 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006601/13.53, allocations: 400.1 kB / 4.007 GB, free: 65.08 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/13.53, allocations: 306.8 kB / 4.008 GB, free: 65.07 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007894/13.54, allocations: 1.61 MB / 4.009 GB, free: 64.74 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/13.54, allocations: 0.9982 MB / 4.01 GB, free: 64.04 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00141/13.54, allocations: 417 kB / 4.01 GB, free: 64.02 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/13.54, allocations: 301.6 kB / 4.011 GB, free: 64.02 MB / 0.5417 GB Notification: Performance of SimCode: time 2.195e-06/13.54, allocations: 0 / 4.011 GB, free: 64.02 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1326/13.67, allocations: 58.05 MB / 4.067 GB, free: 62.43 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002247/13.67, allocations: 146.5 kB / 4.068 GB, free: 62.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.333/19.01, allocations: 0 / 4.068 GB, free: 62.2 MB / 0.5417 GB