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.877/3.877, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.605e-05/3.643e-05, allocations: 3.938 kB / 0.4991 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6282/0.6282, allocations: 92.69 MB / 0.5897 GB, free: 14.36 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.869/7.498, allocations: 2.195 GB / 2.784 GB, free: 66.15 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004632/7.498, allocations: 105 kB / 2.785 GB, free: 66.1 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2698/7.768, allocations: 52.55 MB / 2.836 GB, free: 18.1 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.924e-06/7.768, allocations: 0 / 2.836 GB, free: 18.1 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001295/7.768, allocations: 32 kB / 2.836 GB, free: 18.07 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.004126/7.772, allocations: 1.432 MB / 2.837 GB, free: 16.56 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/7.772, allocations: 8.031 kB / 2.837 GB, free: 16.55 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004922/7.773, allocations: 168.8 kB / 2.837 GB, free: 16.38 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004486/7.777, allocations: 405.8 kB / 2.838 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/7.78, allocations: 0.7482 MB / 2.839 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-05/7.78, allocations: 78.08 kB / 2.839 GB, free: 15.11 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003173/7.78, allocations: 104 kB / 2.839 GB, free: 15 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/7.783, allocations: 1.256 MB / 2.84 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.857e-05/7.784, allocations: 3.938 kB / 2.84 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/7.784, allocations: 44 kB / 2.84 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.502e-05/7.784, allocations: 57.98 kB / 2.84 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003718/7.788, allocations: 1.46 MB / 2.842 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01042/7.798, allocations: 4.181 MB / 2.846 GB, free: 7.816 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/7.801, allocations: 1.02 MB / 2.847 GB, free: 6.777 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009861/7.802, allocations: 442.6 kB / 2.847 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009962/7.803, allocations: 0.554 MB / 2.848 GB, free: 5.676 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/7.804, allocations: 0.5793 MB / 2.848 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=94): time 4.658e-06/7.804, allocations: 0 / 2.848 GB, free: 5.074 MB / 0.7761 GB Notification: Performance of matching and sorting (n=95): time 0.004352/7.809, allocations: 1.45 MB / 2.85 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.065e-05/7.809, allocations: 218.4 kB / 2.85 GB, free: 3.348 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001513/7.81, allocations: 0.7779 MB / 2.851 GB, free: 2.566 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002822/7.811, allocations: 45.7 kB / 2.851 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/7.811, allocations: 0.4922 MB / 2.851 GB, free: 2.016 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003611/7.811, allocations: 315.4 kB / 2.851 GB, free: 1.703 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/7.812, allocations: 16 kB / 2.851 GB, free: 1.688 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/7.812, allocations: 341.9 kB / 2.852 GB, free: 1.348 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009623/7.813, allocations: 369.9 kB / 2.852 GB, free: 0.9883 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/7.814, allocations: 0.5284 MB / 2.853 GB, free: 412 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.5254/8.339, allocations: 0.5074 MB / 2.853 GB, free: 262 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/8.339, allocations: 0.5312 kB / 2.853 GB, free: 262 MB / 0.7761 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.005193/8.344, allocations: 1.337 MB / 2.854 GB, free: 261.9 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003237/8.345, allocations: 1.22 MB / 2.856 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/8.345, allocations: 3.344 kB / 2.856 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/8.346, allocations: 214 kB / 2.856 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/8.349, allocations: 219.6 kB / 2.856 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008279/8.35, allocations: 0.6421 MB / 2.857 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001737/8.351, allocations: 106.2 kB / 2.857 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/8.352, allocations: 39.69 kB / 2.857 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/8.352, allocations: 3.531 kB / 2.857 GB, free: 260.1 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002836/8.354, allocations: 1.065 MB / 2.858 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/8.355, allocations: 3.688 kB / 2.858 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/8.355, allocations: 11.44 kB / 2.858 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002011/8.357, allocations: 227 kB / 2.858 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.119e-05/8.357, allocations: 11.19 kB / 2.858 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/8.358, allocations: 106.4 kB / 2.858 GB, free: 260 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/8.358, allocations: 40.92 kB / 2.858 GB, free: 260 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.000419/8.359, allocations: 157.2 kB / 2.858 GB, free: 259.9 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/8.359, allocations: 101.7 kB / 2.858 GB, free: 259.9 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004991/8.364, allocations: 1.382 MB / 2.86 GB, free: 259.8 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/8.364, allocations: 14.16 kB / 2.86 GB, free: 259.8 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/8.364, allocations: 1.719 kB / 2.86 GB, free: 259.8 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.481e-05/8.364, allocations: 8.719 kB / 2.86 GB, free: 259.8 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007414/8.372, allocations: 2.659 MB / 2.862 GB, free: 259.3 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/8.372, allocations: 2.5 kB / 2.862 GB, free: 259.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/8.374, allocations: 201 kB / 2.863 GB, free: 259.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/8.375, allocations: 214 kB / 2.863 GB, free: 259.3 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002168/8.375, allocations: 34.22 kB / 2.863 GB, free: 259.3 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002759/8.378, allocations: 1.821 MB / 2.865 GB, free: 258.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/8.378, allocations: 7.781 kB / 2.865 GB, free: 258.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003971/8.382, allocations: 1.465 MB / 2.866 GB, free: 257.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/8.383, allocations: 359.9 kB / 2.866 GB, free: 257.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002363/8.383, allocations: 15.44 kB / 2.866 GB, free: 257.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/8.385, allocations: 103.9 kB / 2.866 GB, free: 257.5 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/8.385, allocations: 66.41 kB / 2.867 GB, free: 257.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/8.385, allocations: 42.48 kB / 2.867 GB, free: 257.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001142/8.386, allocations: 0.6176 MB / 2.867 GB, free: 257.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 4.21e-07/8.386, allocations: 0 / 2.867 GB, free: 257.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002423/8.389, allocations: 0.5286 MB / 2.868 GB, free: 257.4 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.005723/8.395, allocations: 3.093 MB / 2.871 GB, free: 255.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004089/8.399, allocations: 1.792 MB / 2.872 GB, free: 255.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/8.399, allocations: 0 / 2.872 GB, free: 255.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001631/8.4, allocations: 0.6285 MB / 2.873 GB, free: 255.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/8.402, allocations: 227.9 kB / 2.873 GB, free: 255.3 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.006045/8.408, allocations: 2.067 MB / 2.875 GB, free: 254.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007978/8.409, allocations: 1.183 MB / 2.876 GB, free: 254.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003538/8.413, allocations: 0.5936 MB / 2.877 GB, free: 254 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/8.414, allocations: 428 kB / 2.877 GB, free: 254 MB / 0.7761 GB Notification: Performance of SimCode: time 1.533e-06/8.414, allocations: 0 / 2.877 GB, free: 254 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4103/8.824, allocations: 25.85 MB / 2.903 GB, free: 252.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/8.825, allocations: 243.4 kB / 2.903 GB, free: 252.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/12.48, allocations: 0 / 2.903 GB, free: 252.1 MB / 0.7761 GB