Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.834/3.834, allocations: 403.3 MB / 415.4 MB, free: 13.01 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.231e-05/4.25e-05, allocations: 3.984 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6387/0.6388, allocations: 92.67 MB / 0.5896 GB, free: 14.48 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.787/7.426, allocations: 2.195 GB / 2.784 GB, free: 67.36 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/7.427, allocations: 109 kB / 2.785 GB, free: 67.3 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2007/7.627, allocations: 52.53 MB / 2.836 GB, free: 19.33 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.364e-06/7.628, allocations: 0 / 2.836 GB, free: 19.33 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001052/7.628, allocations: 32 kB / 2.836 GB, free: 19.3 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.003316/7.631, allocations: 1.432 MB / 2.837 GB, free: 17.79 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/7.631, allocations: 8.031 kB / 2.837 GB, free: 17.79 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003206/7.631, allocations: 164.8 kB / 2.837 GB, free: 17.61 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004117/7.635, allocations: 409.8 kB / 2.838 GB, free: 17.21 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002055/7.638, allocations: 0.7443 MB / 2.839 GB, free: 16.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.515e-05/7.638, allocations: 82.09 kB / 2.839 GB, free: 16.34 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/7.638, allocations: 104 kB / 2.839 GB, free: 16.24 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002961/7.641, allocations: 1.256 MB / 2.84 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/7.641, allocations: 3.938 kB / 2.84 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001798/7.641, allocations: 51.98 kB / 2.84 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.092e-05/7.641, allocations: 53.97 kB / 2.84 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/7.645, allocations: 1.487 MB / 2.842 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009709/7.655, allocations: 4.181 MB / 2.846 GB, free: 9.02 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/7.657, allocations: 1.031 MB / 2.847 GB, free: 7.969 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001006/7.658, allocations: 442.6 kB / 2.847 GB, free: 7.535 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009932/7.659, allocations: 0.5463 MB / 2.848 GB, free: 6.879 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/7.661, allocations: 0.5847 MB / 2.848 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=94): time 3.717e-06/7.661, allocations: 0 / 2.848 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of matching and sorting (n=95): time 0.004264/7.665, allocations: 1.451 MB / 2.85 GB, free: 4.801 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.18e-05/7.665, allocations: 218.4 kB / 2.85 GB, free: 4.539 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001508/7.667, allocations: 0.7817 MB / 2.851 GB, free: 3.75 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002468/7.667, allocations: 41.7 kB / 2.851 GB, free: 3.703 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004503/7.667, allocations: 0.4961 MB / 2.851 GB, free: 3.199 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003281/7.668, allocations: 315.4 kB / 2.851 GB, free: 2.887 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.307e-05/7.668, allocations: 19.94 kB / 2.851 GB, free: 2.867 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.684e-05/7.668, allocations: 345.9 kB / 2.852 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009711/7.669, allocations: 365.9 kB / 2.852 GB, free: 2.168 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/7.67, allocations: 0.5304 MB / 2.853 GB, free: 1.582 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001093/7.671, allocations: 0.5119 MB / 2.853 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/7.671, allocations: 0 / 2.853 GB, free: 1.051 MB / 0.7761 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.5301/8.201, allocations: 1.343 MB / 2.854 GB, free: 262.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003635/8.202, allocations: 1.215 MB / 2.856 GB, free: 260.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.91e-05/8.202, allocations: 10.3 kB / 2.856 GB, free: 260.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001675/8.203, allocations: 212.2 kB / 2.856 GB, free: 260.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/8.206, allocations: 224.7 kB / 2.856 GB, free: 260.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009688/8.207, allocations: 0.6372 MB / 2.857 GB, free: 260.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001893/8.209, allocations: 102.4 kB / 2.857 GB, free: 260.3 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/8.209, allocations: 45.25 kB / 2.857 GB, free: 260.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/8.209, allocations: 3.719 kB / 2.857 GB, free: 260.3 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003563/8.213, allocations: 1.072 MB / 2.858 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/8.213, allocations: 6.359 kB / 2.858 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/8.213, allocations: 7.906 kB / 2.858 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/8.215, allocations: 224 kB / 2.858 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.416e-05/8.215, allocations: 18.53 kB / 2.858 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001644/8.217, allocations: 105.7 kB / 2.858 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001824/8.217, allocations: 41.14 kB / 2.858 GB, free: 260.2 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.0004609/8.217, allocations: 165.4 kB / 2.858 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/8.218, allocations: 101.3 kB / 2.858 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005198/8.223, allocations: 1.386 MB / 2.86 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/8.223, allocations: 11.06 kB / 2.86 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.276e-05/8.223, allocations: 4.625 kB / 2.86 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.279e-05/8.223, allocations: 8.766 kB / 2.86 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007586/8.231, allocations: 2.661 MB / 2.862 GB, free: 259.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/8.231, allocations: 1.062 kB / 2.862 GB, free: 259.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002075/8.233, allocations: 205.6 kB / 2.863 GB, free: 259.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001541/8.234, allocations: 210.4 kB / 2.863 GB, free: 259.6 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002936/8.235, allocations: 28.53 kB / 2.863 GB, free: 259.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003064/8.238, allocations: 1.828 MB / 2.865 GB, free: 258.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/8.238, allocations: 2.031 kB / 2.865 GB, free: 258.3 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003992/8.242, allocations: 1.461 MB / 2.866 GB, free: 257.9 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/8.243, allocations: 357.6 kB / 2.866 GB, free: 257.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/8.243, allocations: 24.7 kB / 2.866 GB, free: 257.7 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/8.245, allocations: 100.8 kB / 2.867 GB, free: 257.7 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/8.245, allocations: 66.94 kB / 2.867 GB, free: 257.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/8.245, allocations: 42.03 kB / 2.867 GB, free: 257.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00121/8.247, allocations: 0.616 MB / 2.867 GB, free: 257.6 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.52e-07/8.247, allocations: 0 / 2.867 GB, free: 257.6 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002718/8.249, allocations: 0.5353 MB / 2.868 GB, free: 257.6 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.006163/8.256, allocations: 3.087 MB / 2.871 GB, free: 256.1 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004561/8.26, allocations: 1.82 MB / 2.873 GB, free: 255.7 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/8.26, allocations: 2.781 kB / 2.873 GB, free: 255.7 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001794/8.262, allocations: 0.6339 MB / 2.873 GB, free: 255.6 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/8.264, allocations: 237.7 kB / 2.873 GB, free: 255.6 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.007117/8.271, allocations: 2.07 MB / 2.875 GB, free: 255.1 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00086/8.272, allocations: 1.182 MB / 2.877 GB, free: 254.4 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003773/8.276, allocations: 0.5975 MB / 2.877 GB, free: 254.3 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/8.277, allocations: 429.3 kB / 2.878 GB, free: 254.3 MB / 0.7761 GB Notification: Performance of SimCode: time 1.392e-06/8.277, allocations: 0 / 2.878 GB, free: 254.3 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3789/8.656, allocations: 25.92 MB / 2.903 GB, free: 252.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002465/8.656, allocations: 237.3 kB / 2.903 GB, free: 252.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.601/12.26, allocations: 0 / 2.903 GB, free: 252.4 MB / 0.7761 GB