Running command: "" <> buildModelFMU(ThermoPower.Test.WaterComponents.TestCoolingTowerStatic,fileNamePrefix="ThermoPower_ThermoPower_Test_WaterComponents_TestCoolingTowerStatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ThermoPower): time 2.682/2.682, allocations: 254.6 MB / 267.6 MB, free: 12.46 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.815e-05/3.821e-05, allocations: 8 kB / 330.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4223, allocations: 60.23 MB / 391.1 MB, free: 4.879 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.13/10.55, allocations: 3.208 GB / 3.59 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/10.55, allocations: 80.02 kB / 3.59 GB, free: 122 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.301/11.85, allocations: 215.8 MB / 3.801 GB, free: 106 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.054e-06/11.85, allocations: 3.938 kB / 3.801 GB, free: 106 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.354e-05/11.85, allocations: 21.44 kB / 3.801 GB, free: 106 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.008716/11.86, allocations: 1.613 MB / 3.802 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/11.86, allocations: 6.969 kB / 3.802 GB, free: 105.1 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006238/11.86, allocations: 152 kB / 3.802 GB, free: 105 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003491/11.86, allocations: 286.1 kB / 3.803 GB, free: 105 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002899/11.87, allocations: 0.6841 MB / 3.803 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.526e-05/11.87, allocations: 65.38 kB / 3.803 GB, free: 104.6 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/11.87, allocations: 95.62 kB / 3.803 GB, free: 104.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005399/11.87, allocations: 1.696 MB / 3.805 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.729e-05/11.87, allocations: 7.219 kB / 3.805 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001816/11.87, allocations: 39.59 kB / 3.805 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.523e-05/11.87, allocations: 25.12 kB / 3.805 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005535/11.88, allocations: 1.665 MB / 3.807 GB, free: 103.4 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.01197/11.89, allocations: 5.557 MB / 3.812 GB, free: 99.63 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006561/11.9, allocations: 2.05 MB / 3.814 GB, free: 99.01 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002612/11.9, allocations: 0.9265 MB / 3.815 GB, free: 98.67 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06745/11.97, allocations: 20.11 MB / 3.835 GB, free: 86.32 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.243e-05/11.97, allocations: 48.56 kB / 3.835 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=180): time 4.038e-06/11.97, allocations: 0 / 3.835 GB, free: 86.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180): time 0.01119/11.98, allocations: 3.054 MB / 3.838 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/11.98, allocations: 69.41 kB / 3.838 GB, free: 83.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006496/11.98, allocations: 392.8 kB / 3.838 GB, free: 83.25 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004832/11.98, allocations: 49.7 kB / 3.838 GB, free: 83.19 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/11.98, allocations: 264.1 kB / 3.839 GB, free: 82.95 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008086/11.98, allocations: 0.6129 MB / 3.839 GB, free: 82.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/11.98, allocations: 36 kB / 3.839 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001692/11.98, allocations: 397.3 kB / 3.84 GB, free: 81.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001927/11.98, allocations: 0.7159 MB / 3.84 GB, free: 81.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/11.99, allocations: 0.9056 MB / 3.841 GB, free: 80.48 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/11.99, allocations: 0.8848 MB / 3.842 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/11.99, allocations: 3.953 kB / 3.842 GB, free: 79.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008453/12, allocations: 2.648 MB / 3.845 GB, free: 77.42 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.35e-05/12, allocations: 11.95 kB / 3.845 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.825e-05/12, allocations: 4 kB / 3.845 GB, free: 77.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02122/12.02, allocations: 2.241 MB / 3.847 GB, free: 75.77 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/12.02, allocations: 162 kB / 3.847 GB, free: 75.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009955/12.03, allocations: 3.409 MB / 3.85 GB, free: 72.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/12.03, allocations: 150.3 kB / 3.85 GB, free: 72.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004814/12.03, allocations: 70.98 kB / 3.851 GB, free: 72.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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 100} Notification: Performance of prepare postOptimizeDAE: time 0.0004107/12.03, allocations: 179.2 kB / 3.851 GB, free: 72.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003339/12.03, allocations: 102.8 kB / 3.851 GB, free: 72.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02033/12.05, allocations: 9.197 MB / 3.86 GB, free: 64.07 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002299/12.05, allocations: 111.5 kB / 3.86 GB, free: 64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/12.05, allocations: 7.984 kB / 3.86 GB, free: 63.99 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.421e-05/12.05, allocations: 14.83 kB / 3.86 GB, free: 63.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02104/12.07, allocations: 10.71 MB / 3.87 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-05/12.07, allocations: 0 / 3.87 GB, free: 54.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/12.08, allocations: 122.5 kB / 3.87 GB, free: 54.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02554/12.1, allocations: 5.942 MB / 3.876 GB, free: 49.91 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006002/12.1, allocations: 55.84 kB / 3.876 GB, free: 49.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0157/12.12, allocations: 7.729 MB / 3.884 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/12.12, allocations: 0 / 3.884 GB, free: 42.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01426/12.13, allocations: 7.467 MB / 3.891 GB, free: 35.59 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001638/12.13, allocations: 0.6446 MB / 3.892 GB, free: 34.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004153/12.13, allocations: 40 kB / 3.892 GB, free: 34.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001984/12.14, allocations: 83.84 kB / 3.892 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004438/12.14, allocations: 129.8 kB / 3.892 GB, free: 34.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002117/12.14, allocations: 67.97 kB / 3.892 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006981/12.14, allocations: 401.5 kB / 3.892 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.71e-07/12.14, allocations: 3.938 kB / 3.892 GB, free: 34.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00591/12.14, allocations: 1.222 MB / 3.894 GB, free: 32.99 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (73): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * 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 147} Notification: Performance of Backend phase and start with SimCode phase: time 0.02089/12.16, allocations: 7.664 MB / 3.901 GB, free: 25.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01075/12.18, allocations: 3.188 MB / 3.904 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.694e-06/12.18, allocations: 4 kB / 3.904 GB, free: 22.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.008171/12.18, allocations: 2.574 MB / 3.907 GB, free: 19.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006173/12.19, allocations: 0.6809 MB / 3.907 GB, free: 18.85 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01348/12.2, allocations: 4.841 MB / 3.912 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001296/12.2, allocations: 1.636 MB / 3.914 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001593/12.21, allocations: 381 kB / 3.914 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001137/12.21, allocations: 0.7023 MB / 3.915 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/12.21, allocations: 0 / 3.915 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6714/12.88, allocations: 83.99 MB / 3.997 GB, free: 98.12 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002278/12.88, allocations: 179.9 kB / 3.997 GB, free: 97.9 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.903/19.78, allocations: 0 / 3.997 GB, free: 97.9 MB / 0.5261 GB