Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerPacking,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerPacking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.474/2.474, allocations: 254.6 MB / 267.7 MB, free: 12.45 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.551e-05/3.559e-05, allocations: 4 kB / 330.9 MB, free: 13.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4199, allocations: 60.23 MB / 391.1 MB, free: 4.863 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.794/10.21, allocations: 3.208 GB / 3.59 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/10.21, allocations: 80.14 kB / 3.59 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.183/11.4, allocations: 218.2 MB / 3.803 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.254e-06/11.4, allocations: 3.656 kB / 3.803 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.151e-05/11.4, allocations: 25.81 kB / 3.803 GB, free: 105.6 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: 243 * Number of variables: 243 Notification: Performance of Generate backend data structure: time 0.01076/11.41, allocations: 1.753 MB / 3.805 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/11.41, allocations: 11.41 kB / 3.805 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006722/11.41, allocations: 151.9 kB / 3.805 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003568/11.41, allocations: 286.8 kB / 3.805 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00461/11.42, allocations: 0.8284 MB / 3.806 GB, free: 104.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/11.42, allocations: 83.22 kB / 3.806 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006054/11.42, allocations: 126.7 kB / 3.806 GB, free: 104.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005595/11.42, allocations: 1.803 MB / 3.808 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.768e-05/11.42, allocations: 0 / 3.808 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/11.42, allocations: 35.44 kB / 3.808 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.353e-05/11.42, allocations: 30.06 kB / 3.808 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006319/11.43, allocations: 1.818 MB / 3.81 GB, free: 102.9 MB / 0.5261 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.0139/11.44, allocations: 4.619 MB / 3.814 GB, free: 100.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008717/11.45, allocations: 2.409 MB / 3.817 GB, free: 99.64 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002943/11.46, allocations: 1.066 MB / 3.818 GB, free: 99.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06738/11.52, allocations: 20.11 MB / 3.837 GB, free: 85.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.454e-05/11.52, allocations: 52.56 kB / 3.837 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=207): time 4.97e-06/11.52, allocations: 0 / 3.837 GB, free: 85.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=207): time 0.01389/11.54, allocations: 3.264 MB / 3.84 GB, free: 82.93 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/11.54, allocations: 77.34 kB / 3.841 GB, free: 82.84 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006513/11.54, allocations: 341.5 kB / 3.841 GB, free: 82.53 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0007454/11.54, allocations: 65.7 kB / 3.841 GB, free: 82.46 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/11.54, allocations: 209.8 kB / 3.841 GB, free: 82.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001249/11.54, allocations: 0.7311 MB / 3.842 GB, free: 81.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002232/11.54, allocations: 40 kB / 3.842 GB, free: 81.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002304/11.54, allocations: 420.2 kB / 3.842 GB, free: 81.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002663/11.54, allocations: 0.899 MB / 3.843 GB, free: 80.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003116/11.55, allocations: 1.037 MB / 3.844 GB, free: 79.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003267/11.55, allocations: 1.073 MB / 3.845 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.205e-05/11.55, allocations: 0 / 3.845 GB, free: 78.54 MB / 0.5261 GB Notification: Performance of matching and sorting (n=236) (initialization): time 0.009866/11.56, allocations: 3.161 MB / 3.848 GB, free: 75.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/11.56, allocations: 8 kB / 3.848 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/11.56, allocations: 3.891 kB / 3.848 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02391/11.58, allocations: 2.658 MB / 3.851 GB, free: 73.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002411/11.59, allocations: 244.9 kB / 3.851 GB, free: 73.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/11.6, allocations: 3.963 MB / 3.855 GB, free: 70.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/11.6, allocations: 157.6 kB / 3.855 GB, free: 70.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002834/11.6, allocations: 71.45 kB / 3.855 GB, free: 69.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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 {36 117} Notification: Performance of prepare postOptimizeDAE: time 0.0004877/11.6, allocations: 184.9 kB / 3.855 GB, free: 69.76 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/11.6, allocations: 106.8 kB / 3.856 GB, free: 69.66 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02137/11.62, allocations: 9.097 MB / 3.864 GB, free: 61.73 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002111/11.62, allocations: 116.7 kB / 3.865 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.12e-05/11.62, allocations: 4 kB / 3.865 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-05/11.62, allocations: 15 kB / 3.865 GB, free: 61.66 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03195/11.66, allocations: 10.9 MB / 3.875 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.725e-05/11.66, allocations: 0 / 3.875 GB, free: 52.24 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008927/11.67, allocations: 0.525 MB / 3.876 GB, free: 51.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01528/11.68, allocations: 2.553 MB / 3.878 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/11.68, allocations: 79.34 kB / 3.878 GB, free: 49.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02836/11.71, allocations: 19.58 MB / 3.897 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/11.71, allocations: 0 / 3.897 GB, free: 29.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03728/11.75, allocations: 9.865 MB / 3.907 GB, free: 19.32 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002884/11.75, allocations: 0.6953 MB / 3.908 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009966/11.75, allocations: 63.98 kB / 3.908 GB, free: 18.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004055/11.76, allocations: 87.84 kB / 3.908 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001342/11.76, allocations: 177.9 kB / 3.908 GB, free: 18.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000892/11.76, allocations: 79.97 kB / 3.908 GB, free: 18.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001046/11.76, allocations: 365.5 kB / 3.908 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.183e-06/11.76, allocations: 0 / 3.908 GB, free: 17.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009711/11.77, allocations: 1.292 MB / 3.91 GB, free: 16.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 27 (coolingTower.M[1],coolingTower.M[2],coolingTower.M[3],coolingTower.M[4],coolingTower.M[5],coolingTower.M[6],coolingTower.M[7],coolingTower.M[8],coolingTower.M[9],coolingTower.hltilde[1],coolingTower.hltilde[2],coolingTower.hltilde[3],coolingTower.hltilde[4],coolingTower.hltilde[5],coolingTower.hltilde[6],coolingTower.hltilde[7],coolingTower.hltilde[8],coolingTower.hltilde[9],coolingTower.Tp[1],coolingTower.Tp[2],coolingTower.Tp[3],coolingTower.Tp[4],coolingTower.Tp[5],coolingTower.Tp[6],coolingTower.Tp[7],coolingTower.Tp[8],coolingTower.Tp[9]) * Number of discrete variables: 37 ($cse8.region3boundary,$cse10.phase,$cse10.region,$cse14.region3boundary,$cse16.region3boundary,$cse18.phase,$cse18.region,$cse22.region3boundary,$cse24.region3boundary,$cse26.phase,$cse26.region,$cse30.region3boundary,$cse32.region3boundary,$cse34.phase,$cse34.region,$cse38.region3boundary,$cse40.region3boundary,$cse42.phase,$cse42.region,$cse46.region3boundary,$cse48.region3boundary,$cse50.phase,$cse50.region,$cse54.region3boundary,$cse56.region3boundary,$cse58.phase,$cse58.region,$cse62.region3boundary,$cse64.region3boundary,$cse66.phase,$cse66.region,$cse70.region3boundary,$cse72.region3boundary,$cse74.phase,$cse74.region,$cse77.region3boundary,$cse79.region3boundary) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (210): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 39 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(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: 9 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.04377/11.81, allocations: 10.12 MB / 3.92 GB, free: 6.379 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01803/11.83, allocations: 3.67 MB / 3.923 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/11.83, allocations: 4 kB / 3.923 GB, free: 2.676 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.4185/12.25, allocations: 3.54 MB / 3.927 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007124/12.26, allocations: 0.7327 MB / 3.927 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02056/12.28, allocations: 7.081 MB / 3.934 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/12.28, allocations: 1.684 MB / 3.936 GB, free: 103 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002633/12.28, allocations: 414.9 kB / 3.936 GB, free: 103 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/12.28, allocations: 0.7878 MB / 3.937 GB, free: 103 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/12.28, allocations: 0 / 3.937 GB, free: 103 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2386/12.52, allocations: 90.57 MB / 4.026 GB, free: 90.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001672/12.52, allocations: 188.5 kB / 4.026 GB, free: 90.58 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/19.81, allocations: 0 / 4.026 GB, free: 90.58 MB / 0.5261 GB