Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFV_B,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFV_B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.49/2.49, allocations: 254.6 MB / 267.7 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.539e-05/3.551e-05, allocations: 4 kB / 330.9 MB, free: 13.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4615/0.4616, allocations: 60.23 MB / 391.1 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.329/9.791, allocations: 2.977 GB / 3.359 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/9.791, allocations: 82.39 kB / 3.359 GB, free: 32.16 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.096/11.89, allocations: 377.9 MB / 3.728 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.374e-06/11.89, allocations: 0 / 3.728 GB, free: 67.27 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.96e-05/11.89, allocations: 31.98 kB / 3.728 GB, free: 67.23 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: 420 * Number of variables: 420 Notification: Performance of Generate backend data structure: time 0.01542/11.9, allocations: 2.621 MB / 3.731 GB, free: 64.58 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.029e-05/11.9, allocations: 16.02 kB / 3.731 GB, free: 64.56 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001257/11.9, allocations: 237.5 kB / 3.731 GB, free: 64.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004177/11.91, allocations: 477 kB / 3.731 GB, free: 63.86 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005464/11.91, allocations: 1.142 MB / 3.732 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/11.91, allocations: 115.1 kB / 3.733 GB, free: 62.56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008169/11.91, allocations: 179.8 kB / 3.733 GB, free: 62.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01709/11.93, allocations: 4.572 MB / 3.737 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.169e-05/11.93, allocations: 3.938 kB / 3.737 GB, free: 57.75 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002952/11.93, allocations: 64 kB / 3.737 GB, free: 57.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001018/11.93, allocations: 79.25 kB / 3.737 GB, free: 57.61 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01838/11.95, allocations: 4.855 MB / 3.742 GB, free: 52.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.02217/11.97, allocations: 10.36 MB / 3.752 GB, free: 41.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01333/11.99, allocations: 3.453 MB / 3.756 GB, free: 38.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002691/11.99, allocations: 0.9809 MB / 3.757 GB, free: 37.04 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6831/12.67, allocations: 79.97 MB / 3.835 GB, free: 73.09 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.697e-05/12.67, allocations: 45.59 kB / 3.835 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=158): time 4.889e-06/12.67, allocations: 3.25 kB / 3.835 GB, free: 73.05 MB / 0.5261 GB Notification: Performance of matching and sorting (n=158): time 0.02591/12.7, allocations: 5.118 MB / 3.84 GB, free: 72.97 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/12.7, allocations: 70.06 kB / 3.84 GB, free: 72.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000969/12.7, allocations: 0.498 MB / 3.84 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006665/12.7, allocations: 55.67 kB / 3.84 GB, free: 72.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003541/12.7, allocations: 0.5098 MB / 3.841 GB, free: 72.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008604/12.7, allocations: 0.5547 MB / 3.841 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003676/12.7, allocations: 27.62 kB / 3.841 GB, free: 72.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001562/12.7, allocations: 413.6 kB / 3.842 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003526/12.71, allocations: 1.432 MB / 3.843 GB, free: 71.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003831/12.71, allocations: 1.648 MB / 3.845 GB, free: 71.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/12.71, allocations: 1.514 MB / 3.846 GB, free: 71.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/12.71, allocations: 8.156 kB / 3.846 GB, free: 71.76 MB / 0.5261 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01529/12.73, allocations: 5.028 MB / 3.851 GB, free: 71.62 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003611/12.73, allocations: 1.405 MB / 3.853 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/12.73, allocations: 3.469 kB / 3.853 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01927/12.75, allocations: 4.495 MB / 3.857 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/12.75, allocations: 127.2 kB / 3.857 GB, free: 70.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/12.76, allocations: 5.53 MB / 3.862 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004141/12.77, allocations: 268.6 kB / 3.863 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007119/12.77, allocations: 182.6 kB / 3.863 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/12.77, allocations: 7.156 kB / 3.863 GB, free: 69.53 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01513/12.78, allocations: 4.901 MB / 3.868 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/12.78, allocations: 4.906 kB / 3.868 GB, free: 69.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01978/12.8, allocations: 4.525 MB / 3.872 GB, free: 69.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/12.81, allocations: 118.1 kB / 3.872 GB, free: 69.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/12.82, allocations: 5.525 MB / 3.878 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004222/12.83, allocations: 260.1 kB / 3.878 GB, free: 68.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006648/12.83, allocations: 173.8 kB / 3.878 GB, free: 68.82 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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 {10 113} Notification: Performance of prepare postOptimizeDAE: time 0.0009451/12.83, allocations: 197.7 kB / 3.878 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006303/12.83, allocations: 100.6 kB / 3.878 GB, free: 68.65 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0319/12.86, allocations: 21.45 MB / 3.899 GB, free: 64.48 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.004e-05/12.86, allocations: 51.88 kB / 3.899 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.938e-05/12.86, allocations: 3.844 kB / 3.899 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.898e-05/12.86, allocations: 10.45 kB / 3.899 GB, free: 64.47 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01265/12.87, allocations: 9.343 MB / 3.908 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.209e-05/12.87, allocations: 8.25 kB / 3.908 GB, free: 58.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00447/12.88, allocations: 374.4 kB / 3.909 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006774/12.88, allocations: 0.9719 MB / 3.91 GB, free: 58.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007097/12.89, allocations: 58.92 kB / 3.91 GB, free: 58.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01439/12.9, allocations: 5.65 MB / 3.915 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/12.9, allocations: 0 / 3.915 GB, free: 55.91 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01679/12.92, allocations: 6.154 MB / 3.921 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/12.92, allocations: 483.8 kB / 3.922 GB, free: 52.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005163/12.92, allocations: 43.12 kB / 3.922 GB, free: 52.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00341/12.92, allocations: 161.4 kB / 3.922 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007054/12.92, allocations: 125.6 kB / 3.922 GB, free: 52.89 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000266/12.92, allocations: 59.98 kB / 3.922 GB, free: 52.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0007404/12.92, allocations: 394 kB / 3.923 GB, free: 52.69 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.01e-07/12.92, allocations: 0 / 3.923 GB, free: 52.69 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009451/12.93, allocations: 1.903 MB / 3.924 GB, free: 51.51 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (hex.p,hex.htilde[1],hex.htilde[2],hex.htilde[3],hex.htilde[4],hex.htilde[5],hex.htilde[6],hex.htilde[7],hex.htilde[8],hex.htilde[9]) * Number of discrete variables: 24 ($cse1.phase,$cse1.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$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 (144): * Single equations (assignments): 131 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(10,64.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02562/12.96, allocations: 8.016 MB / 3.932 GB, free: 44.61 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01908/12.98, allocations: 5.78 MB / 3.938 GB, free: 39.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/12.98, allocations: 4.312 kB / 3.938 GB, free: 39.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00654/12.99, allocations: 2.182 MB / 3.94 GB, free: 37.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005407/12.99, allocations: 0.5243 MB / 3.941 GB, free: 37.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01728/13.01, allocations: 5.058 MB / 3.945 GB, free: 32.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/13.01, allocations: 1.573 MB / 3.947 GB, free: 31.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003018/13.01, allocations: 0.5276 MB / 3.948 GB, free: 31.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/13.01, allocations: 0.6679 MB / 3.948 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/13.01, allocations: 0 / 3.948 GB, free: 30.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8091/13.82, allocations: 129.9 MB / 4.075 GB, free: 93.74 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000248/13.82, allocations: 198.1 kB / 4.075 GB, free: 93.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.866/20.69, allocations: 7.938 kB / 4.075 GB, free: 93.51 MB / 0.5417 GB