Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1D2phChen,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1D2phChen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.303/2.303, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.329e-05/5.334e-05, allocations: 7.984 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4058, allocations: 60.23 MB / 391.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.526/9.932, allocations: 3.027 GB / 3.409 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/9.932, allocations: 83.73 kB / 3.409 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.729/11.66, allocations: 329.5 MB / 3.731 GB, free: 43.28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.104e-06/11.66, allocations: 0 / 3.731 GB, free: 43.28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001066/11.66, allocations: 43.94 kB / 3.731 GB, free: 43.24 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: 455 * Number of variables: 455 Notification: Performance of Generate backend data structure: time 0.04816/11.71, allocations: 6.674 MB / 3.737 GB, free: 36.67 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/11.71, allocations: 8.031 kB / 3.737 GB, free: 36.66 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003395/11.71, allocations: 293 kB / 3.737 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0222/11.74, allocations: 2.219 MB / 3.74 GB, free: 34.35 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01663/11.75, allocations: 3.047 MB / 3.743 GB, free: 31.82 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004237/11.76, allocations: 0.8696 MB / 3.743 GB, free: 31.02 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003568/11.76, allocations: 192.4 kB / 3.744 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03653/11.8, allocations: 9.339 MB / 3.753 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.768e-05/11.8, allocations: 1.875 kB / 3.753 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003187/11.8, allocations: 82.05 kB / 3.753 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.942e-05/11.8, allocations: 44 kB / 3.753 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05472/11.86, allocations: 15.82 MB / 3.768 GB, free: 10.52 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.5272/12.38, allocations: 47.55 MB / 3.815 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04248/12.42, allocations: 7.925 MB / 3.822 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01416/12.44, allocations: 5.312 MB / 3.828 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4137/12.85, allocations: 120.1 MB / 3.945 GB, free: 13.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.094e-05/12.85, allocations: 59.8 kB / 3.945 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=225): time 5.25e-06/12.85, allocations: 0.6562 kB / 3.945 GB, free: 13.1 MB / 0.5573 GB Notification: Performance of matching and sorting (n=226): time 0.09917/12.95, allocations: 21.77 MB / 3.966 GB, free: 1.773 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.348e-05/12.95, allocations: 103.1 kB / 3.966 GB, free: 1.656 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/12.95, allocations: 0.5693 MB / 3.967 GB, free: 1.141 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002858/12.96, allocations: 69.7 kB / 3.967 GB, free: 1.066 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005705/12.96, allocations: 0.5543 MB / 3.967 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.003854/12.96, allocations: 0.7878 MB / 3.968 GB, free: 12 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002944/12.96, allocations: 49.98 kB / 3.968 GB, free: 0 / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0004992/12.96, allocations: 445.5 kB / 3.969 GB, free: 15.59 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01675/12.98, allocations: 5.385 MB / 3.974 GB, free: 10.75 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01765/13, allocations: 5.831 MB / 3.98 GB, free: 5.316 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01452/13.01, allocations: 4.392 MB / 3.984 GB, free: 1.574 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.865e-05/13.01, allocations: 4 kB / 3.984 GB, free: 1.57 MB / 0.573 GB Notification: Performance of matching and sorting (n=288) (initialization): time 0.4848/13.5, allocations: 17.52 MB / 4.001 GB, free: 124.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009382/13.5, allocations: 4.106 MB / 4.005 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/13.5, allocations: 11.12 kB / 4.005 GB, free: 120 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4158/13.92, allocations: 65.78 MB / 4.069 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/13.92, allocations: 223.5 kB / 4.07 GB, free: 118.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06239/13.98, allocations: 17.57 MB / 4.087 GB, free: 116.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0225/14, allocations: 2.157 MB / 4.089 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003433/14.01, allocations: 358.2 kB / 4.089 GB, free: 116.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/14.01, allocations: 4.062 kB / 4.089 GB, free: 116.3 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05764/14.06, allocations: 16.43 MB / 4.105 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/14.06, allocations: 15.95 kB / 4.105 GB, free: 105.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4141/14.48, allocations: 65.59 MB / 4.169 GB, free: 56.78 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001821/14.48, allocations: 243.9 kB / 4.17 GB, free: 56.6 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.464/14.94, allocations: 17.29 MB / 4.186 GB, free: 121.5 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02353/14.97, allocations: 2.167 MB / 4.189 GB, free: 121.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003479/14.97, allocations: 351.2 kB / 4.189 GB, free: 121.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 10 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 97 * 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 {9 181} Notification: Performance of prepare postOptimizeDAE: time 0.003763/14.97, allocations: 230.3 kB / 4.189 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001914/14.98, allocations: 132.8 kB / 4.189 GB, free: 121.4 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05773/15.03, allocations: 27.03 MB / 4.216 GB, free: 120.9 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.05361/15.09, allocations: 25.29 MB / 4.24 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.001e-05/15.09, allocations: 11.03 kB / 4.24 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.65e-05/15.09, allocations: 14.53 kB / 4.24 GB, free: 113.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09214/15.18, allocations: 46.44 MB / 4.286 GB, free: 88.09 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/15.18, allocations: 0 / 4.286 GB, free: 88.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02542/15.21, allocations: 2.749 MB / 4.288 GB, free: 88.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008868/15.21, allocations: 1.373 MB / 4.29 GB, free: 87.72 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003281/15.22, allocations: 239.2 kB / 4.29 GB, free: 87.69 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02955/15.25, allocations: 26.51 MB / 4.316 GB, free: 64.01 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/15.25, allocations: 3.656 kB / 4.316 GB, free: 64.01 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05783/15.31, allocations: 17.67 MB / 4.333 GB, free: 56.36 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006931/15.31, allocations: 1.527 MB / 4.335 GB, free: 55.73 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003339/15.32, allocations: 55.88 kB / 4.335 GB, free: 55.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02162/15.34, allocations: 2.125 MB / 4.337 GB, free: 55.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003334/15.34, allocations: 379.3 kB / 4.337 GB, free: 55.63 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003204/15.34, allocations: 233.6 kB / 4.337 GB, free: 55.62 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008738/15.34, allocations: 449 kB / 4.338 GB, free: 55.42 MB / 0.573 GB Notification: Performance of sort global known variables: time 5.11e-07/15.34, allocations: 5.594 kB / 4.338 GB, free: 55.42 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02181/15.37, allocations: 3.032 MB / 4.341 GB, free: 55.27 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],Tube.T[1],Tube.T[2],Tube.T[3],Tube.T[4],Tube.T[5],Tube.T[6],Tube.T[7],Tube.T[8]) * Number of discrete variables: 22 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 17 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 17 {(8,67.2%) 14,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.07261/15.44, allocations: 19.76 MB / 4.36 GB, free: 38.47 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.06799/15.51, allocations: 19.89 MB / 4.379 GB, free: 21.07 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/15.51, allocations: 4 kB / 4.379 GB, free: 21.06 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.4206/15.93, allocations: 9.067 MB / 4.388 GB, free: 117.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007041/15.94, allocations: 0.5014 MB / 4.389 GB, free: 117.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03829/15.97, allocations: 9.63 MB / 4.398 GB, free: 116.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/15.98, allocations: 1.679 MB / 4.4 GB, free: 116 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01311/15.99, allocations: 2.664 MB / 4.402 GB, free: 116 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009369/16, allocations: 1.087 MB / 4.403 GB, free: 116 MB / 0.573 GB Notification: Performance of SimCode: time 1.874e-06/16, allocations: 2.953 kB / 4.403 GB, free: 116 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9889/16.99, allocations: 300.7 MB / 4.697 GB, free: 94.11 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/16.99, allocations: 204.2 kB / 4.697 GB, free: 93.88 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/30.71, allocations: 0 / 4.697 GB, free: 93.88 MB / 0.573 GB