Running command: "" <> buildModelFMU(ThermoPower.Test.DistributedParameterComponents.TestWaterFlow1DFEM_A,fileNamePrefix="ThermoPower_ThermoPower_Test_DistributedParameterComponents_TestWaterFlow1DFEM_A",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.763/2.763, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.318e-05/4.324e-05, allocations: 4 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4017/0.4017, allocations: 60.24 MB / 391.1 MB, free: 4.766 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.916/9.318, allocations: 2.954 GB / 3.336 GB, free: 53.38 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/9.318, allocations: 86.69 kB / 3.336 GB, free: 53.33 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.157/11.48, allocations: 381.2 MB / 3.708 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.674e-06/11.48, allocations: 0 / 3.708 GB, free: 74.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001769/11.48, allocations: 91.53 kB / 3.708 GB, free: 74.11 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: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.05239/11.53, allocations: 10.2 MB / 3.718 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/11.53, allocations: 7.625 kB / 3.718 GB, free: 69.25 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00474/11.53, allocations: 0.7668 MB / 3.719 GB, free: 68.71 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007703/11.54, allocations: 0.7934 MB / 3.72 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01595/11.56, allocations: 3.017 MB / 3.723 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006386/11.56, allocations: 398.7 kB / 3.723 GB, free: 65.63 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004082/11.56, allocations: 0.5234 MB / 3.724 GB, free: 65.11 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04668/11.61, allocations: 12.05 MB / 3.735 GB, free: 52.99 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001659/11.61, allocations: 0 / 3.735 GB, free: 52.99 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003128/11.61, allocations: 227 kB / 3.736 GB, free: 52.77 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/11.61, allocations: 210.8 kB / 3.736 GB, free: 52.56 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06718/11.68, allocations: 14.03 MB / 3.75 GB, free: 38.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.06174/11.74, allocations: 24.33 MB / 3.773 GB, free: 12.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01804/11.76, allocations: 4.604 MB / 3.778 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005913/11.76, allocations: 2.059 MB / 3.78 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6466/12.41, allocations: 63.98 MB / 3.842 GB, free: 61.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.294e-05/12.41, allocations: 63.31 kB / 3.842 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=249): time 4.999e-06/12.41, allocations: 1.984 kB / 3.842 GB, free: 61.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=249): time 0.07744/12.49, allocations: 12.76 MB / 3.855 GB, free: 60.72 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/12.49, allocations: 75.25 kB / 3.855 GB, free: 60.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006641/12.5, allocations: 3.529 MB / 3.858 GB, free: 60.34 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001593/12.5, allocations: 78.67 kB / 3.858 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002825/12.5, allocations: 3.175 MB / 3.862 GB, free: 58.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002769/12.5, allocations: 1.002 MB / 3.863 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001333/12.5, allocations: 173.1 kB / 3.863 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006591/12.51, allocations: 0.7196 MB / 3.863 GB, free: 57.56 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009959/12.52, allocations: 3.71 MB / 3.867 GB, free: 57.54 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01357/12.53, allocations: 8.711 MB / 3.876 GB, free: 50.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01344/12.54, allocations: 5.381 MB / 3.881 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002758/12.54, allocations: 49.03 kB / 3.881 GB, free: 50.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1093) (initialization): time 0.06292/12.61, allocations: 14.23 MB / 3.895 GB, free: 49.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.02979/12.64, allocations: 70.23 MB / 3.963 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007382/12.64, allocations: 182.2 kB / 3.963 GB, free: 7.922 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.087/12.72, allocations: 11.34 MB / 3.975 GB, free: 7.441 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009958/12.73, allocations: 1.714 MB / 3.976 GB, free: 7.281 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03577/12.77, allocations: 9.729 MB / 3.986 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01301/12.78, allocations: 1.319 MB / 3.987 GB, free: 5.324 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003499/12.79, allocations: 0.6371 MB / 3.988 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.524e-05/12.79, allocations: 4.781 kB / 3.988 GB, free: 4.844 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04948/12.84, allocations: 13.83 MB / 4.001 GB, free: 9.168 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001126/12.84, allocations: 180 kB / 4.001 GB, free: 8.992 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1041/12.94, allocations: 11.34 MB / 4.012 GB, free: 1.137 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01318/12.95, allocations: 1.866 MB / 4.014 GB, free: 0 / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4591/13.41, allocations: 9.736 MB / 4.024 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01219/13.43, allocations: 0.9891 MB / 4.025 GB, free: 117.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003258/13.43, allocations: 0.6391 MB / 4.025 GB, free: 117.7 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 807 * Number of states: 0 () * Number of discrete variables: 14 (hex.fluidState[12].phase,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,T_out.fluidState.phase,T_in.fluidState.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (918): * Single equations (assignments): 917 * 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 {13 163} Notification: Performance of prepare postOptimizeDAE: time 0.004689/13.43, allocations: 0.7109 MB / 4.026 GB, free: 117.6 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001336/13.43, allocations: 356.3 kB / 4.026 GB, free: 117.5 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08848/13.52, allocations: 33.1 MB / 4.059 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001108/13.52, allocations: 75.09 kB / 4.059 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/13.52, allocations: 0 / 4.059 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.924e-05/13.52, allocations: 14.48 kB / 4.059 GB, free: 117 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1069/13.63, allocations: 44.61 MB / 4.102 GB, free: 101.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.937e-05/13.63, allocations: 0 / 4.102 GB, free: 101.1 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004965/13.64, allocations: 401.5 kB / 4.103 GB, free: 101.1 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07459/13.71, allocations: 8.405 MB / 4.111 GB, free: 100.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002057/13.71, allocations: 120 kB / 4.111 GB, free: 100.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1408/13.85, allocations: 29.92 MB / 4.14 GB, free: 84.39 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/13.85, allocations: 0 / 4.14 GB, free: 84.39 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06796/13.92, allocations: 15.1 MB / 4.155 GB, free: 72.81 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0036/13.92, allocations: 0.9186 MB / 4.156 GB, free: 71.99 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001235/13.93, allocations: 81.61 kB / 4.156 GB, free: 71.92 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006573/13.93, allocations: 316 kB / 4.156 GB, free: 71.72 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001965/13.93, allocations: 245.4 kB / 4.156 GB, free: 71.58 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006129/13.94, allocations: 103.4 kB / 4.157 GB, free: 71.51 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.004713/13.94, allocations: 2.295 MB / 4.159 GB, free: 69.52 MB / 0.573 GB Notification: Performance of sort global known variables: time 9.21e-07/13.94, allocations: 4 kB / 4.159 GB, free: 69.52 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.02356/13.96, allocations: 3.388 MB / 4.162 GB, free: 66.23 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (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],hex.h[12]) * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (150): * Single equations (assignments): 135 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {13 126} Notification: Performance of Backend phase and start with SimCode phase: time 0.08576/14.05, allocations: 17.05 MB / 4.179 GB, free: 53.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.05652/14.11, allocations: 16.15 MB / 4.195 GB, free: 39.41 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.314e-05/14.11, allocations: 3.219 kB / 4.195 GB, free: 39.41 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01853/14.12, allocations: 4.516 MB / 4.199 GB, free: 35.54 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006439/14.13, allocations: 0.6651 MB / 4.2 GB, free: 35.03 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03873/14.17, allocations: 11.56 MB / 4.211 GB, free: 25.45 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00373/14.17, allocations: 2.888 MB / 4.214 GB, free: 22.54 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.02292/14.2, allocations: 5.693 MB / 4.219 GB, free: 16.91 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.419/14.62, allocations: 1.782 MB / 4.221 GB, free: 107.2 MB / 0.573 GB Notification: Performance of SimCode: time 1.924e-06/14.62, allocations: 0 / 4.221 GB, free: 107.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9174/15.53, allocations: 221.2 MB / 4.437 GB, free: 111.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002217/15.53, allocations: 205 kB / 4.437 GB, free: 111.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/26.43, allocations: 3.688 kB / 4.437 GB, free: 111.5 MB / 0.5886 GB