Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestFlow1Dfem2ph,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestFlow1Dfem2ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.295/2.295, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.473e-05/3.477e-05, allocations: 4 kB / 330.9 MB, free: 13.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3982, allocations: 60.23 MB / 391.1 MB, free: 4.773 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.831/9.23, allocations: 2.97 GB / 3.352 GB, free: 55.79 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/9.23, allocations: 79.64 kB / 3.352 GB, free: 55.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.408/11.64, allocations: 361.2 MB / 3.705 GB, free: 68.03 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.265e-06/11.64, allocations: 0 / 3.705 GB, free: 68.03 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001824/11.64, allocations: 108.2 kB / 3.705 GB, free: 68.03 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: 1653 * Number of variables: 1653 Notification: Performance of Generate backend data structure: time 0.1085/11.75, allocations: 15.48 MB / 3.72 GB, free: 65.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/11.75, allocations: 15.75 kB / 3.72 GB, free: 65.57 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008967/11.76, allocations: 1.014 MB / 3.721 GB, free: 65.5 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01323/11.77, allocations: 1.039 MB / 3.722 GB, free: 65.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09105/11.86, allocations: 11 MB / 3.733 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.007162/11.87, allocations: 2.174 MB / 3.735 GB, free: 58.84 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01021/11.88, allocations: 0.646 MB / 3.736 GB, free: 58.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09189/11.97, allocations: 24.25 MB / 3.76 GB, free: 41.12 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003425/11.97, allocations: 30 kB / 3.76 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009995/11.98, allocations: 280 kB / 3.76 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002096/11.98, allocations: 168 kB / 3.76 GB, free: 40.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1404/12.12, allocations: 28.99 MB / 3.788 GB, free: 11.75 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.6092/12.73, allocations: 118.9 MB / 3.904 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07442/12.8, allocations: 15.82 MB / 3.92 GB, free: 4.664 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03337/12.84, allocations: 10.98 MB / 3.931 GB, free: 108 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2868/13.12, allocations: 75.69 MB / 4.005 GB, free: 2.746 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000181/13.12, allocations: 90.25 kB / 4.005 GB, free: 2.664 MB / 0.573 GB Notification: Performance of pre-optimization done (n=530): time 8.145e-06/13.12, allocations: 0 / 4.005 GB, free: 2.664 MB / 0.573 GB Notification: Performance of matching and sorting (n=530): time 1.122/14.25, allocations: 92.47 MB / 4.095 GB, free: 127.1 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/14.25, allocations: 134.4 kB / 4.095 GB, free: 127 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009021/14.26, allocations: 3.804 MB / 4.099 GB, free: 126.6 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.008146/14.26, allocations: 122 kB / 4.099 GB, free: 126.5 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.003882/14.27, allocations: 3.295 MB / 4.102 GB, free: 124.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.009619/14.28, allocations: 2.095 MB / 4.104 GB, free: 123.6 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007896/14.29, allocations: 224.7 kB / 4.104 GB, free: 123.6 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.001226/14.29, allocations: 0.847 MB / 4.105 GB, free: 123.3 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03825/14.33, allocations: 12.64 MB / 4.118 GB, free: 118.6 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04254/14.37, allocations: 18.17 MB / 4.135 GB, free: 102 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03493/14.4, allocations: 11.34 MB / 4.146 GB, free: 92.4 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002426/14.4, allocations: 52 kB / 4.146 GB, free: 92.35 MB / 0.573 GB Notification: Performance of matching and sorting (n=1447) (initialization): time 0.3324/14.74, allocations: 52.78 MB / 4.198 GB, free: 49.22 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.4306/15.17, allocations: 75.72 MB / 4.272 GB, free: 51.84 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007317/15.17, allocations: 191.1 kB / 4.272 GB, free: 51.84 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1968/15.36, allocations: 45.3 MB / 4.316 GB, free: 50.36 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.297/15.66, allocations: 40.99 MB / 4.356 GB, free: 48.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1024/15.76, allocations: 25.51 MB / 4.381 GB, free: 38.21 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06705/15.83, allocations: 6.874 MB / 4.388 GB, free: 33.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007891/15.84, allocations: 0.9732 MB / 4.389 GB, free: 33.09 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/15.84, allocations: 6.188 kB / 4.389 GB, free: 33.08 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.7435/16.58, allocations: 52.23 MB / 4.44 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009168/16.58, allocations: 190.9 kB / 4.44 GB, free: 102.6 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2067/16.79, allocations: 45.3 MB / 4.484 GB, free: 100.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2962/17.09, allocations: 40.97 MB / 4.524 GB, free: 93.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1044/17.19, allocations: 25.52 MB / 4.549 GB, free: 79.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06702/17.26, allocations: 6.531 MB / 4.556 GB, free: 74.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008332/17.27, allocations: 0.966 MB / 4.557 GB, free: 73.72 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 870 * Number of states: 0 () * Number of discrete variables: 13 (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,hex.dew.phase,hex.bubble.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1242 * 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 {12 193} Notification: Performance of prepare postOptimizeDAE: time 0.01483/17.28, allocations: 0.8666 MB / 4.557 GB, free: 73.04 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008144/17.29, allocations: 470.1 kB / 4.558 GB, free: 72.57 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.21/18.5, allocations: 113.5 MB / 4.669 GB, free: 99.04 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000199/18.5, allocations: 98.2 kB / 4.669 GB, free: 99.04 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001152/18.5, allocations: 19.62 kB / 4.669 GB, free: 99.04 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001939/18.5, allocations: 26.62 kB / 4.669 GB, free: 99.04 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.288/19.79, allocations: 166.5 MB / 4.831 GB, free: 96.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-05/19.79, allocations: 2.875 kB / 4.831 GB, free: 96.15 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.3621/20.15, allocations: 50.58 MB / 4.881 GB, free: 96.13 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1973/20.35, allocations: 33.41 MB / 4.913 GB, free: 93.98 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007796/20.36, allocations: 0.7478 MB / 4.914 GB, free: 93.98 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.827/22.18, allocations: 151 MB / 5.062 GB, free: 99.49 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/22.18, allocations: 6.578 kB / 5.062 GB, free: 99.49 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.7293/22.91, allocations: 101.5 MB / 5.161 GB, free: 86.48 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01486/22.93, allocations: 2.974 MB / 5.164 GB, free: 84.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008198/22.93, allocations: 370.7 kB / 5.164 GB, free: 83.93 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.06661/23, allocations: 6.111 MB / 5.17 GB, free: 79.52 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.01071/23.01, allocations: 0.8747 MB / 5.171 GB, free: 79.26 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.007166/23.02, allocations: 0.5225 MB / 5.171 GB, free: 79.03 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.005516/23.02, allocations: 2.49 MB / 5.174 GB, free: 76.84 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.21e-07/23.02, allocations: 2.062 kB / 5.174 GB, free: 76.84 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.04905/23.07, allocations: 5.886 MB / 5.18 GB, free: 71.06 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 23 (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],MetalWall.T[1],MetalWall.T[2],MetalWall.T[3],MetalWall.T[4],MetalWall.T[5],MetalWall.T[6],MetalWall.T[7],MetalWall.T[8],MetalWall.T[9],MetalWall.T[10],MetalWall.T[11]) * Number of discrete variables: 26 ($cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.region3boundary,$cse29.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (475): * Single equations (assignments): 459 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 15 * 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: 1 {(12,68.8%) 80} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 1.272/24.35, allocations: 101.3 MB / 5.278 GB, free: 85.5 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 1.765/26.11, allocations: 175.4 MB / 5.45 GB, free: 12.48 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/26.11, allocations: 0 / 5.45 GB, free: 12.48 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 1.333/27.44, allocations: 72.48 MB / 5.521 GB, free: 94.17 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01485/27.46, allocations: 0.7706 MB / 5.521 GB, free: 94.12 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1375/27.6, allocations: 23.84 MB / 5.545 GB, free: 91.36 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008527/27.6, allocations: 3.293 MB / 5.548 GB, free: 90.52 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0695/27.67, allocations: 10.54 MB / 5.558 GB, free: 89.58 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01654/27.69, allocations: 2.425 MB / 5.56 GB, free: 89.58 MB / 0.573 GB Notification: Performance of SimCode: time 2.074e-06/27.69, allocations: 0 / 5.56 GB, free: 89.58 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.072/29.76, allocations: 0.4973 GB / 6.058 GB, free: 41.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/29.76, allocations: 201 kB / 6.058 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.17/48.93, allocations: 3.938 kB / 6.058 GB, free: 41.46 MB / 0.6042 GB