Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.259/4.259, allocations: 432.7 MB / 444.9 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.907e-05/4.917e-05, allocations: 3.953 kB / 0.5338 GB, free: 12.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2419, allocations: 98.72 MB / 0.6302 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.398/7.64, allocations: 2.22 GB / 2.85 GB, free: 92.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004755/7.641, allocations: 107.4 kB / 2.85 GB, free: 92.74 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2989/7.94, allocations: 60.47 MB / 2.909 GB, free: 40.17 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.495e-06/7.94, allocations: 0 / 2.909 GB, free: 40.17 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001835/7.94, allocations: 32 kB / 2.91 GB, free: 40.14 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.006107/7.946, allocations: 1.448 MB / 2.911 GB, free: 38.61 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 6.856e-05/7.946, allocations: 8.031 kB / 2.911 GB, free: 38.61 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000927/7.947, allocations: 164.8 kB / 2.911 GB, free: 38.43 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00826/7.956, allocations: 417.7 kB / 2.911 GB, free: 38.02 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/7.96, allocations: 0.76 MB / 2.912 GB, free: 37.22 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001574/7.96, allocations: 78.09 kB / 2.912 GB, free: 37.14 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004656/7.96, allocations: 108 kB / 2.912 GB, free: 37.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006301/7.967, allocations: 1.285 MB / 2.914 GB, free: 35.67 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-05/7.967, allocations: 4 kB / 2.914 GB, free: 35.66 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003172/7.967, allocations: 44 kB / 2.914 GB, free: 35.62 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/7.967, allocations: 53.98 kB / 2.914 GB, free: 35.57 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006992/7.974, allocations: 1.475 MB / 2.915 GB, free: 34.09 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01796/7.992, allocations: 4.788 MB / 2.92 GB, free: 29.05 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004604/7.997, allocations: 1.038 MB / 2.921 GB, free: 28 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002092/7.999, allocations: 436 kB / 2.921 GB, free: 27.57 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001562/8.001, allocations: 0.5501 MB / 2.922 GB, free: 26.91 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002312/8.003, allocations: 0.5911 MB / 2.922 GB, free: 26.3 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 1.208e-05/8.003, allocations: 0 / 2.922 GB, free: 26.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.008498/8.012, allocations: 1.474 MB / 2.924 GB, free: 24.8 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/8.012, allocations: 281.7 kB / 2.924 GB, free: 24.47 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/8.014, allocations: 0.8053 MB / 2.925 GB, free: 23.66 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003758/8.014, allocations: 45.7 kB / 2.925 GB, free: 23.61 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004974/8.015, allocations: 0.4962 MB / 2.925 GB, free: 23.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004005/8.015, allocations: 315.4 kB / 2.926 GB, free: 22.79 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/8.015, allocations: 20 kB / 2.926 GB, free: 22.77 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/8.015, allocations: 341.9 kB / 2.926 GB, free: 22.43 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009738/8.016, allocations: 373.9 kB / 2.926 GB, free: 22.06 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/8.018, allocations: 0.5463 MB / 2.927 GB, free: 21.45 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/8.019, allocations: 0.5134 MB / 2.927 GB, free: 20.92 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/8.019, allocations: 4 kB / 2.927 GB, free: 20.92 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004226/8.023, allocations: 1.342 MB / 2.929 GB, free: 19.55 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003232/8.023, allocations: 1.222 MB / 2.93 GB, free: 18.22 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.293e-05/8.023, allocations: 0 / 2.93 GB, free: 18.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/8.025, allocations: 212.7 kB / 2.93 GB, free: 18.01 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/8.027, allocations: 231.6 kB / 2.93 GB, free: 17.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008139/8.028, allocations: 0.6381 MB / 2.931 GB, free: 17.12 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001869/8.03, allocations: 119.5 kB / 2.931 GB, free: 17 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001908/8.03, allocations: 43.97 kB / 2.931 GB, free: 16.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/8.03, allocations: 7.938 kB / 2.931 GB, free: 16.95 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/8.033, allocations: 1.063 MB / 2.932 GB, free: 15.87 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/8.033, allocations: 7.984 kB / 2.932 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/8.033, allocations: 8 kB / 2.932 GB, free: 15.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002009/8.035, allocations: 228 kB / 2.932 GB, free: 15.63 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.909e-05/8.035, allocations: 11.94 kB / 2.932 GB, free: 15.62 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/8.037, allocations: 111.4 kB / 2.933 GB, free: 15.51 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001872/8.037, allocations: 39.94 kB / 2.933 GB, free: 15.47 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 3 * 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 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004478/8.037, allocations: 172.7 kB / 2.933 GB, free: 15.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/8.038, allocations: 110.7 kB / 2.933 GB, free: 15.19 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004731/8.042, allocations: 1.399 MB / 2.934 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-05/8.043, allocations: 8 kB / 2.934 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/8.043, allocations: 0 / 2.934 GB, free: 13.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-05/8.043, allocations: 11.97 kB / 2.934 GB, free: 13.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/8.05, allocations: 2.7 MB / 2.937 GB, free: 10.97 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/8.05, allocations: 8.219 kB / 2.937 GB, free: 10.96 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001988/8.052, allocations: 203.7 kB / 2.937 GB, free: 10.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/8.053, allocations: 208.6 kB / 2.937 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/8.053, allocations: 27.98 kB / 2.937 GB, free: 10.53 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002913/8.056, allocations: 1.831 MB / 2.939 GB, free: 8.566 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/8.056, allocations: 4 kB / 2.939 GB, free: 8.562 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004048/8.06, allocations: 1.473 MB / 2.941 GB, free: 7.008 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/8.062, allocations: 359.4 kB / 2.941 GB, free: 6.637 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004406/8.062, allocations: 35.92 kB / 2.941 GB, free: 6.602 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002018/8.064, allocations: 103.8 kB / 2.941 GB, free: 6.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003794/8.065, allocations: 76.64 kB / 2.941 GB, free: 6.426 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/8.065, allocations: 43.97 kB / 2.941 GB, free: 6.383 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001392/8.066, allocations: 0.6475 MB / 2.942 GB, free: 5.738 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.31e-07/8.066, allocations: 0 / 2.942 GB, free: 5.738 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003018/8.069, allocations: 0.531 MB / 2.942 GB, free: 5.207 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006103/8.075, allocations: 3.092 MB / 2.945 GB, free: 2.188 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004385/8.08, allocations: 1.808 MB / 2.947 GB, free: 308 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.304e-05/8.08, allocations: 4 kB / 2.947 GB, free: 304 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.5925/8.672, allocations: 0.6284 MB / 2.948 GB, free: 265.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003125/8.676, allocations: 232 kB / 2.948 GB, free: 265.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/8.687, allocations: 2.066 MB / 2.95 GB, free: 264.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002009/8.689, allocations: 1.189 MB / 2.951 GB, free: 264.2 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.006101/8.695, allocations: 0.6039 MB / 2.952 GB, free: 264.2 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/8.697, allocations: 450 kB / 2.952 GB, free: 264.2 MB / 0.823 GB Notification: Performance of SimCode: time 1.573e-06/8.697, allocations: 0 / 2.952 GB, free: 264.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1104/8.807, allocations: 26.71 MB / 2.978 GB, free: 262.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/8.807, allocations: 252 kB / 2.978 GB, free: 262.5 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.728/12.54, allocations: 0 / 2.978 GB, free: 262.5 MB / 0.823 GB