Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.947/3.947, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.695e-05/3.701e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6376/0.6377, allocations: 92.68 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.712/7.35, allocations: 2.199 GB / 2.789 GB, free: 62.35 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005706/7.35, allocations: 109.9 kB / 2.789 GB, free: 62.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.3153/7.666, allocations: 57.02 MB / 2.844 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.324e-06/7.666, allocations: 0 / 2.844 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001798/7.666, allocations: 31.98 kB / 2.844 GB, free: 9.539 MB / 0.7761 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.005537/7.672, allocations: 1.44 MB / 2.846 GB, free: 8.023 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.778e-05/7.672, allocations: 12.02 kB / 2.846 GB, free: 8.012 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007133/7.672, allocations: 160.8 kB / 2.846 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00671/7.679, allocations: 405.8 kB / 2.846 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/7.682, allocations: 0.7483 MB / 2.847 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/7.683, allocations: 78.09 kB / 2.847 GB, free: 6.574 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00064/7.683, allocations: 108 kB / 2.847 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005345/7.689, allocations: 1.248 MB / 2.848 GB, free: 5.145 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.366e-05/7.689, allocations: 4 kB / 2.848 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002916/7.689, allocations: 47.98 kB / 2.848 GB, free: 5.094 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001376/7.689, allocations: 53.98 kB / 2.849 GB, free: 5.043 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006019/7.695, allocations: 1.464 MB / 2.85 GB, free: 3.578 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.585/8.28, allocations: 4.167 MB / 2.854 GB, free: 259.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/8.284, allocations: 1.019 MB / 2.855 GB, free: 259.4 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/8.285, allocations: 439.2 kB / 2.855 GB, free: 259.3 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/8.287, allocations: 0.5497 MB / 2.856 GB, free: 258.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/8.288, allocations: 0.5918 MB / 2.857 GB, free: 258.7 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=94): time 5.05e-06/8.288, allocations: 0 / 2.857 GB, free: 258.7 MB / 0.7761 GB Notification: Performance of matching and sorting (n=95): time 0.005027/8.293, allocations: 1.442 MB / 2.858 GB, free: 258.4 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/8.294, allocations: 221.2 kB / 2.858 GB, free: 258.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/8.295, allocations: 0.78 MB / 2.859 GB, free: 258.1 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003489/8.296, allocations: 45.3 kB / 2.859 GB, free: 258 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005616/8.296, allocations: 0.4898 MB / 2.859 GB, free: 257.8 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004858/8.297, allocations: 317.8 kB / 2.86 GB, free: 257.7 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001045/8.297, allocations: 18.09 kB / 2.86 GB, free: 257.7 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001016/8.297, allocations: 340.8 kB / 2.86 GB, free: 257.4 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001042/8.298, allocations: 369.7 kB / 2.86 GB, free: 257.4 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001217/8.299, allocations: 0.5235 MB / 2.861 GB, free: 257.2 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001294/8.301, allocations: 0.5128 MB / 2.861 GB, free: 257.1 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.775e-06/8.301, allocations: 5.062 kB / 2.861 GB, free: 257.1 MB / 0.7761 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.0044/8.305, allocations: 1.339 MB / 2.863 GB, free: 256.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002964/8.306, allocations: 1.222 MB / 2.864 GB, free: 255.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.377e-05/8.306, allocations: 6.406 kB / 2.864 GB, free: 255.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001551/8.307, allocations: 213.2 kB / 2.864 GB, free: 255.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002122/8.309, allocations: 220.7 kB / 2.864 GB, free: 255.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008385/8.31, allocations: 0.6441 MB / 2.865 GB, free: 255.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001828/8.312, allocations: 102.8 kB / 2.865 GB, free: 255.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000241/8.312, allocations: 45.05 kB / 2.865 GB, free: 255.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/8.312, allocations: 7.719 kB / 2.865 GB, free: 255.1 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002821/8.315, allocations: 1.057 MB / 2.866 GB, free: 255 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/8.315, allocations: 6.859 kB / 2.866 GB, free: 255 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/8.315, allocations: 11.67 kB / 2.866 GB, free: 255 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/8.317, allocations: 230.5 kB / 2.866 GB, free: 255 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.377e-05/8.317, allocations: 4.266 kB / 2.866 GB, free: 255 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/8.319, allocations: 105.5 kB / 2.867 GB, free: 255 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/8.319, allocations: 42.36 kB / 2.867 GB, free: 255 MB / 0.7761 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.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * 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.0004352/8.32, allocations: 163 kB / 2.867 GB, free: 254.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003787/8.32, allocations: 104.5 kB / 2.867 GB, free: 254.8 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/8.325, allocations: 1.383 MB / 2.868 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.032e-05/8.325, allocations: 15.69 kB / 2.868 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.213e-05/8.325, allocations: 0 / 2.868 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.726e-05/8.325, allocations: 3.938 kB / 2.868 GB, free: 254.7 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007219/8.332, allocations: 2.66 MB / 2.871 GB, free: 254.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/8.332, allocations: 0 / 2.871 GB, free: 254.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001809/8.334, allocations: 204.5 kB / 2.871 GB, free: 254.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/8.336, allocations: 217.3 kB / 2.871 GB, free: 254.2 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/8.336, allocations: 33.16 kB / 2.871 GB, free: 254.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/8.339, allocations: 1.824 MB / 2.873 GB, free: 253 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/8.339, allocations: 0 / 2.873 GB, free: 253 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/8.343, allocations: 1.459 MB / 2.874 GB, free: 252.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001094/8.344, allocations: 356.2 kB / 2.875 GB, free: 252.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002689/8.344, allocations: 30 kB / 2.875 GB, free: 252.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/8.346, allocations: 90.7 kB / 2.875 GB, free: 252.4 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002511/8.346, allocations: 75.91 kB / 2.875 GB, free: 252.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/8.346, allocations: 40.33 kB / 2.875 GB, free: 252.4 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001195/8.347, allocations: 0.6182 MB / 2.876 GB, free: 252.3 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.52e-07/8.347, allocations: 0 / 2.876 GB, free: 252.3 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00276/8.35, allocations: 0.5285 MB / 2.876 GB, free: 252.3 MB / 0.7761 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.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * 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.006202/8.356, allocations: 3.09 MB / 2.879 GB, free: 250.7 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004607/8.361, allocations: 1.792 MB / 2.881 GB, free: 250.3 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/8.361, allocations: 3.953 kB / 2.881 GB, free: 250.3 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001665/8.363, allocations: 0.6245 MB / 2.882 GB, free: 250.2 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002163/8.365, allocations: 230.7 kB / 2.882 GB, free: 250.2 MB / 0.7761 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006749/8.372, allocations: 2.072 MB / 2.884 GB, free: 249.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008278/8.373, allocations: 1.175 MB / 2.885 GB, free: 249 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003719/8.376, allocations: 0.5909 MB / 2.885 GB, free: 248.9 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001073/8.377, allocations: 440.5 kB / 2.886 GB, free: 248.9 MB / 0.7761 GB Notification: Performance of SimCode: time 1.563e-06/8.377, allocations: 0 / 2.886 GB, free: 248.9 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4649/8.842, allocations: 25.86 MB / 2.911 GB, free: 245.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002187/8.843, allocations: 248.7 kB / 2.911 GB, free: 245.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.763/12.61, allocations: 3.75 kB / 2.911 GB, free: 245.3 MB / 0.7761 GB