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 4.008/4.008, allocations: 403.3 MB / 415.4 MB, free: 12.92 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 6.086e-05/6.1e-05, allocations: 4 kB / 0.4991 GB, free: 13.26 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7008/0.7009, allocations: 92.68 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.731/7.432, allocations: 2.199 GB / 2.789 GB, free: 63.85 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003426/7.432, allocations: 105.5 kB / 2.789 GB, free: 63.8 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2202/7.652, allocations: 57.01 MB / 2.844 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.663e-06/7.652, allocations: 0 / 2.844 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001077/7.653, allocations: 39.92 kB / 2.844 GB, free: 11.05 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.00339/7.656, allocations: 1.436 MB / 2.846 GB, free: 9.535 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/7.656, allocations: 8.031 kB / 2.846 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003084/7.656, allocations: 172.8 kB / 2.846 GB, free: 9.348 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004147/7.661, allocations: 401.8 kB / 2.846 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/7.663, allocations: 0.7483 MB / 2.847 GB, free: 8.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/7.663, allocations: 78.08 kB / 2.847 GB, free: 8.082 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002749/7.663, allocations: 111.9 kB / 2.847 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/7.666, allocations: 1.26 MB / 2.848 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.924e-05/7.666, allocations: 0 / 2.848 GB, free: 6.633 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001871/7.667, allocations: 47.98 kB / 2.848 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/7.667, allocations: 57.98 kB / 2.849 GB, free: 6.531 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003711/7.671, allocations: 1.483 MB / 2.85 GB, free: 5.047 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/7.681, allocations: 4.165 MB / 2.854 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5658/8.247, allocations: 1.033 MB / 2.855 GB, free: 260.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/8.248, allocations: 442.4 kB / 2.855 GB, free: 260.9 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/8.249, allocations: 0.5532 MB / 2.856 GB, free: 260.3 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/8.251, allocations: 0.5832 MB / 2.857 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=94): time 4.508e-06/8.251, allocations: 0.5 kB / 2.857 GB, free: 260.2 MB / 0.7761 GB Notification: Performance of matching and sorting (n=95): time 0.005209/8.256, allocations: 1.448 MB / 2.858 GB, free: 260 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/8.257, allocations: 226.3 kB / 2.858 GB, free: 259.7 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/8.258, allocations: 0.7774 MB / 2.859 GB, free: 259.6 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002704/8.259, allocations: 46.77 kB / 2.859 GB, free: 259.6 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/8.259, allocations: 0.4899 MB / 2.86 GB, free: 259.4 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004424/8.26, allocations: 312.5 kB / 2.86 GB, free: 259.2 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.864e-05/8.26, allocations: 24.81 kB / 2.86 GB, free: 259.2 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000102/8.26, allocations: 343.8 kB / 2.86 GB, free: 258.9 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/8.261, allocations: 366.6 kB / 2.861 GB, free: 258.9 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/8.262, allocations: 0.5296 MB / 2.861 GB, free: 258.8 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/8.263, allocations: 0.5141 MB / 2.862 GB, free: 258.6 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/8.263, allocations: 0 / 2.862 GB, free: 258.6 MB / 0.7761 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005124/8.269, allocations: 1.354 MB / 2.863 GB, free: 258.4 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003401/8.269, allocations: 1.216 MB / 2.864 GB, free: 257.2 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/8.269, allocations: 4.438 kB / 2.864 GB, free: 257.2 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001601/8.271, allocations: 211.7 kB / 2.864 GB, free: 257.2 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/8.273, allocations: 225.7 kB / 2.864 GB, free: 257.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008441/8.274, allocations: 0.6469 MB / 2.865 GB, free: 256.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001856/8.276, allocations: 109.7 kB / 2.865 GB, free: 256.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/8.276, allocations: 42.33 kB / 2.865 GB, free: 256.6 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/8.276, allocations: 3.125 kB / 2.865 GB, free: 256.6 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002799/8.279, allocations: 1.074 MB / 2.866 GB, free: 256.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/8.279, allocations: 3.844 kB / 2.866 GB, free: 256.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/8.279, allocations: 8.5 kB / 2.866 GB, free: 256.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001983/8.281, allocations: 221.7 kB / 2.867 GB, free: 256.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/8.281, allocations: 7.734 kB / 2.867 GB, free: 256.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/8.282, allocations: 101.2 kB / 2.867 GB, free: 256.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/8.283, allocations: 44.14 kB / 2.867 GB, free: 256.5 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.0003974/8.283, allocations: 163.5 kB / 2.867 GB, free: 256.4 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/8.283, allocations: 105.6 kB / 2.867 GB, free: 256.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004711/8.288, allocations: 1.378 MB / 2.868 GB, free: 256.2 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-05/8.288, allocations: 12.59 kB / 2.868 GB, free: 256.2 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/8.288, allocations: 0 / 2.868 GB, free: 256.2 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.874e-05/8.288, allocations: 11.36 kB / 2.868 GB, free: 256.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006323/8.294, allocations: 2.663 MB / 2.871 GB, free: 255.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/8.295, allocations: 3.969 kB / 2.871 GB, free: 255.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/8.296, allocations: 203.3 kB / 2.871 GB, free: 255.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/8.298, allocations: 218.2 kB / 2.871 GB, free: 255.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/8.298, allocations: 28.69 kB / 2.871 GB, free: 255.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002733/8.301, allocations: 1.822 MB / 2.873 GB, free: 254.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/8.301, allocations: 3.969 kB / 2.873 GB, free: 254.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00391/8.305, allocations: 1.463 MB / 2.875 GB, free: 254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009863/8.306, allocations: 354 kB / 2.875 GB, free: 253.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002415/8.306, allocations: 22.25 kB / 2.875 GB, free: 253.9 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/8.307, allocations: 97.55 kB / 2.875 GB, free: 253.9 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002132/8.308, allocations: 71.83 kB / 2.875 GB, free: 253.9 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/8.308, allocations: 41.97 kB / 2.875 GB, free: 253.9 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001151/8.309, allocations: 0.62 MB / 2.876 GB, free: 253.8 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.72e-07/8.309, allocations: 0 / 2.876 GB, free: 253.8 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002675/8.312, allocations: 0.5212 MB / 2.876 GB, free: 253.8 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.006094/8.318, allocations: 3.096 MB / 2.879 GB, free: 252.3 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004402/8.322, allocations: 1.811 MB / 2.881 GB, free: 251.8 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/8.322, allocations: 0 / 2.881 GB, free: 251.8 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0017/8.324, allocations: 0.6397 MB / 2.882 GB, free: 251.7 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002055/8.326, allocations: 239.7 kB / 2.882 GB, free: 251.7 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.006726/8.333, allocations: 2.07 MB / 2.884 GB, free: 251.2 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000824/8.334, allocations: 1.19 MB / 2.885 GB, free: 250.5 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003595/8.337, allocations: 0.5855 MB / 2.886 GB, free: 250.4 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/8.338, allocations: 436.1 kB / 2.886 GB, free: 250.4 MB / 0.7761 GB Notification: Performance of SimCode: time 1.082e-06/8.338, allocations: 0 / 2.886 GB, free: 250.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4281/8.767, allocations: 25.93 MB / 2.911 GB, free: 247.8 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/8.767, allocations: 256.8 kB / 2.912 GB, free: 247.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/12.28, allocations: 4 kB / 2.912 GB, free: 247.5 MB / 0.7761 GB