Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_OnePhase_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.152/4.152, allocations: 432.7 MB / 444.9 MB, free: 15.7 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.336e-05/4.365e-05, allocations: 3.906 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2298, allocations: 98.72 MB / 0.6302 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.139/7.369, allocations: 2.216 GB / 2.846 GB, free: 96.69 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003802/7.369, allocations: 102.2 kB / 2.846 GB, free: 96.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2518/7.621, allocations: 55.96 MB / 2.901 GB, free: 48.82 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.064e-06/7.621, allocations: 0 / 2.901 GB, free: 48.82 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001121/7.621, allocations: 32 kB / 2.901 GB, free: 48.79 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.003399/7.624, allocations: 1.455 MB / 2.902 GB, free: 47.26 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/7.625, allocations: 8.031 kB / 2.902 GB, free: 47.25 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003177/7.625, allocations: 160.8 kB / 2.903 GB, free: 47.09 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004265/7.629, allocations: 421.7 kB / 2.903 GB, free: 46.67 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002231/7.631, allocations: 0.76 MB / 2.904 GB, free: 45.87 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.598e-05/7.632, allocations: 78.09 kB / 2.904 GB, free: 45.79 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/7.632, allocations: 104 kB / 2.904 GB, free: 45.69 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003601/7.635, allocations: 1.281 MB / 2.905 GB, free: 44.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/7.636, allocations: 4 kB / 2.905 GB, free: 44.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/7.636, allocations: 47.95 kB / 2.905 GB, free: 44.27 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.96e-05/7.636, allocations: 53.98 kB / 2.905 GB, free: 44.22 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/7.64, allocations: 1.475 MB / 2.907 GB, free: 42.75 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/7.651, allocations: 4.784 MB / 2.911 GB, free: 37.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/7.654, allocations: 1.04 MB / 2.912 GB, free: 36.65 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/7.655, allocations: 435.9 kB / 2.913 GB, free: 36.22 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/7.656, allocations: 0.5502 MB / 2.913 GB, free: 35.56 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001469/7.658, allocations: 0.5988 MB / 2.914 GB, free: 34.94 MB / 0.823 GB Notification: Performance of pre-optimization done (n=94): time 4.378e-06/7.658, allocations: 0 / 2.914 GB, free: 34.94 MB / 0.823 GB Notification: Performance of matching and sorting (n=95): time 0.004606/7.663, allocations: 1.474 MB / 2.915 GB, free: 33.45 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/7.663, allocations: 277.7 kB / 2.916 GB, free: 33.11 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001675/7.664, allocations: 0.8093 MB / 2.916 GB, free: 32.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002964/7.665, allocations: 45.7 kB / 2.916 GB, free: 32.25 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004792/7.665, allocations: 0.4962 MB / 2.917 GB, free: 31.74 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003668/7.666, allocations: 315.3 kB / 2.917 GB, free: 31.43 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001029/7.666, allocations: 20 kB / 2.917 GB, free: 31.41 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.908e-05/7.666, allocations: 345.9 kB / 2.918 GB, free: 31.07 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/7.667, allocations: 373.9 kB / 2.918 GB, free: 30.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/7.668, allocations: 0.5424 MB / 2.919 GB, free: 30.09 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00113/7.669, allocations: 0.5174 MB / 2.919 GB, free: 29.56 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/7.669, allocations: 3.938 kB / 2.919 GB, free: 29.55 MB / 0.823 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.003876/7.673, allocations: 1.342 MB / 2.92 GB, free: 28.19 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002898/7.674, allocations: 1.222 MB / 2.922 GB, free: 26.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/7.674, allocations: 4 kB / 2.922 GB, free: 26.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001425/7.675, allocations: 212.6 kB / 2.922 GB, free: 26.64 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002043/7.677, allocations: 223.7 kB / 2.922 GB, free: 26.43 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008127/7.678, allocations: 0.642 MB / 2.923 GB, free: 25.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/7.68, allocations: 111.5 kB / 2.923 GB, free: 25.65 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001472/7.68, allocations: 43.97 kB / 2.923 GB, free: 25.61 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/7.68, allocations: 4.938 kB / 2.923 GB, free: 25.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002595/7.682, allocations: 1.067 MB / 2.924 GB, free: 24.52 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/7.683, allocations: 8.359 kB / 2.924 GB, free: 24.51 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/7.683, allocations: 12 kB / 2.924 GB, free: 24.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001877/7.684, allocations: 223.7 kB / 2.924 GB, free: 24.28 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/7.684, allocations: 11.94 kB / 2.924 GB, free: 24.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/7.686, allocations: 107.4 kB / 2.924 GB, free: 24.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/7.686, allocations: 44.09 kB / 2.924 GB, free: 24.12 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.0003875/7.687, allocations: 178.7 kB / 2.924 GB, free: 23.94 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/7.687, allocations: 110.7 kB / 2.924 GB, free: 23.83 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004668/7.692, allocations: 1.388 MB / 2.926 GB, free: 22.43 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.62e-05/7.692, allocations: 15.95 kB / 2.926 GB, free: 22.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/7.692, allocations: 4 kB / 2.926 GB, free: 22.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-05/7.692, allocations: 7.969 kB / 2.926 GB, free: 22.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007128/7.699, allocations: 2.704 MB / 2.928 GB, free: 19.61 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.069e-05/7.699, allocations: 0 / 2.928 GB, free: 19.61 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001788/7.701, allocations: 207.9 kB / 2.929 GB, free: 19.41 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/7.702, allocations: 208.6 kB / 2.929 GB, free: 19.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/7.702, allocations: 31.94 kB / 2.929 GB, free: 19.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/7.705, allocations: 1.827 MB / 2.931 GB, free: 17.21 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/7.705, allocations: 0 / 2.931 GB, free: 17.21 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00406/7.709, allocations: 1.477 MB / 2.932 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/7.71, allocations: 363.3 kB / 2.932 GB, free: 15.28 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002659/7.71, allocations: 31.92 kB / 2.932 GB, free: 15.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/7.712, allocations: 103.8 kB / 2.933 GB, free: 15.15 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002303/7.712, allocations: 76.64 kB / 2.933 GB, free: 15.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/7.713, allocations: 43.97 kB / 2.933 GB, free: 15.03 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001298/7.714, allocations: 0.6436 MB / 2.933 GB, free: 14.39 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.423e-06/7.714, allocations: 0 / 2.933 GB, free: 14.39 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002547/7.716, allocations: 0.5388 MB / 2.934 GB, free: 13.85 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.006115/7.723, allocations: 3.086 MB / 2.937 GB, free: 10.83 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004583/7.727, allocations: 1.809 MB / 2.939 GB, free: 8.949 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/7.727, allocations: 4 kB / 2.939 GB, free: 8.945 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001742/7.729, allocations: 0.6331 MB / 2.939 GB, free: 8.301 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002098/7.731, allocations: 231.4 kB / 2.939 GB, free: 8.078 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006565/7.738, allocations: 2.072 MB / 2.942 GB, free: 5.941 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007989/7.739, allocations: 1.19 MB / 2.943 GB, free: 4.723 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003684/7.742, allocations: 0.6003 MB / 2.943 GB, free: 4.117 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/7.743, allocations: 451.3 kB / 2.944 GB, free: 3.676 MB / 0.823 GB Notification: Performance of SimCode: time 1.613e-06/7.743, allocations: 0 / 2.944 GB, free: 3.676 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6734/8.417, allocations: 26.68 MB / 2.97 GB, free: 264 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003401/8.417, allocations: 240.1 kB / 2.97 GB, free: 263.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.767/12.18, allocations: 0 / 2.97 GB, free: 263.7 MB / 0.823 GB