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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.256/4.256, allocations: 404.1 MB / 411.3 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.224e-05, allocations: 0 / 0.4945 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6773/0.6773, allocations: 92.69 MB / 0.5851 GB, free: 2.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.162/7.84, allocations: 2.194 GB / 2.779 GB, free: 95.74 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004869/7.84, allocations: 105.3 kB / 2.779 GB, free: 95.68 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2463/8.087, allocations: 51.59 MB / 2.83 GB, free: 49.84 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.645e-06/8.087, allocations: 3.938 kB / 2.83 GB, free: 49.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000117/8.087, allocations: 32 kB / 2.83 GB, free: 49.8 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.003739/8.091, allocations: 1.429 MB / 2.831 GB, free: 48.3 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/8.091, allocations: 12.02 kB / 2.831 GB, free: 48.29 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004721/8.096, allocations: 405.8 kB / 2.832 GB, free: 47.89 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002184/8.098, allocations: 0.7521 MB / 2.832 GB, free: 47.09 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.768e-05/8.098, allocations: 36 kB / 2.832 GB, free: 47.06 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/8.098, allocations: 60 kB / 2.832 GB, free: 47 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003476/8.102, allocations: 1.359 MB / 2.834 GB, free: 45.64 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/8.104, allocations: 1.123 MB / 2.835 GB, free: 44.44 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.546e-05/8.105, allocations: 0 / 2.835 GB, free: 44.44 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/8.105, allocations: 4 kB / 2.835 GB, free: 44.43 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.96e-05/8.105, allocations: 53.98 kB / 2.835 GB, free: 44.38 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009888/8.115, allocations: 3.979 MB / 2.839 GB, free: 40.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/8.117, allocations: 0.9773 MB / 2.84 GB, free: 39.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009006/8.118, allocations: 416.3 kB / 2.84 GB, free: 38.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001087/8.119, allocations: 0.5463 MB / 2.841 GB, free: 38.23 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/8.12, allocations: 0.552 MB / 2.841 GB, free: 37.66 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=94): time 4.148e-06/8.12, allocations: 0 / 2.841 GB, free: 37.66 MB / 0.7761 GB Notification: Performance of matching and sorting (n=95): time 0.01095/8.131, allocations: 1.766 MB / 2.843 GB, free: 35.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/8.132, allocations: 226.5 kB / 2.843 GB, free: 35.61 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/8.133, allocations: 0.6916 MB / 2.844 GB, free: 34.91 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002352/8.133, allocations: 25.7 kB / 2.844 GB, free: 34.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004825/8.134, allocations: 0.4998 MB / 2.844 GB, free: 34.37 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/8.134, allocations: 303.4 kB / 2.845 GB, free: 34.07 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/8.134, allocations: 0 / 2.845 GB, free: 34.07 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001504/8.134, allocations: 390.8 kB / 2.845 GB, free: 33.68 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008919/8.135, allocations: 350.5 kB / 2.845 GB, free: 33.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009767/8.136, allocations: 0.5182 MB / 2.846 GB, free: 32.76 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00766/8.144, allocations: 0.8257 MB / 2.847 GB, free: 31.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/8.144, allocations: 0 / 2.847 GB, free: 31.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01043/8.154, allocations: 1.574 MB / 2.848 GB, free: 30.35 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002925/8.155, allocations: 1.222 MB / 2.849 GB, free: 29.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/8.155, allocations: 4 kB / 2.849 GB, free: 29.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/8.156, allocations: 120.7 kB / 2.849 GB, free: 28.9 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00219/8.158, allocations: 223.6 kB / 2.85 GB, free: 28.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00082/8.159, allocations: 0.646 MB / 2.85 GB, free: 28.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/8.161, allocations: 91.42 kB / 2.85 GB, free: 27.92 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/8.161, allocations: 43.97 kB / 2.85 GB, free: 27.88 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/8.161, allocations: 4 kB / 2.85 GB, free: 27.87 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008788/8.17, allocations: 1.315 MB / 2.852 GB, free: 26.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/8.17, allocations: 0 / 2.852 GB, free: 26.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/8.17, allocations: 8 kB / 2.852 GB, free: 26.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00204/8.172, allocations: 232 kB / 2.852 GB, free: 26.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/8.172, allocations: 11.94 kB / 2.852 GB, free: 26.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001472/8.173, allocations: 83.31 kB / 2.852 GB, free: 26.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/8.174, allocations: 51.92 kB / 2.852 GB, free: 26.18 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.00036/8.174, allocations: 124.8 kB / 2.852 GB, free: 26.05 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01001/8.184, allocations: 1.444 MB / 2.854 GB, free: 24.59 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/8.184, allocations: 94.88 kB / 2.854 GB, free: 24.5 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01125/8.195, allocations: 1.729 MB / 2.855 GB, free: 22.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/8.196, allocations: 12 kB / 2.855 GB, free: 22.73 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/8.196, allocations: 0 / 2.855 GB, free: 22.73 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/8.196, allocations: 7.938 kB / 2.855 GB, free: 22.73 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/8.209, allocations: 2.857 MB / 2.858 GB, free: 19.8 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.083e-05/8.209, allocations: 4 kB / 2.858 GB, free: 19.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/8.211, allocations: 199.7 kB / 2.858 GB, free: 19.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001566/8.212, allocations: 212.6 kB / 2.859 GB, free: 19.39 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/8.212, allocations: 19.98 kB / 2.859 GB, free: 19.37 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/8.215, allocations: 1.756 MB / 2.86 GB, free: 17.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/8.215, allocations: 3.938 kB / 2.86 GB, free: 17.5 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01025/8.226, allocations: 1.818 MB / 2.862 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009725/8.227, allocations: 351.6 kB / 2.862 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000286/8.227, allocations: 7.984 kB / 2.862 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/8.229, allocations: 79.89 kB / 2.863 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002316/8.229, allocations: 72.62 kB / 2.863 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/8.229, allocations: 35.98 kB / 2.863 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001005/8.23, allocations: 0.5538 MB / 2.863 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.61e-07/8.23, allocations: 4 kB / 2.863 GB, free: 14.49 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002429/8.232, allocations: 479.8 kB / 2.864 GB, free: 14.02 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.01301/8.245, allocations: 3.428 MB / 2.867 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004079/8.25, allocations: 1.738 MB / 2.869 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/8.25, allocations: 5.5 kB / 2.869 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001638/8.251, allocations: 0.6138 MB / 2.869 GB, free: 8.234 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/8.253, allocations: 200.1 kB / 2.869 GB, free: 8.039 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005964/8.259, allocations: 1.976 MB / 2.871 GB, free: 6 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008758/8.26, allocations: 1.181 MB / 2.873 GB, free: 4.789 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003813/8.264, allocations: 0.592 MB / 2.873 GB, free: 4.191 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/8.265, allocations: 439.3 kB / 2.874 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/8.265, allocations: 0 / 2.874 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.294/9.559, allocations: 24.27 MB / 2.897 GB, free: 260.6 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003114/9.56, allocations: 192.7 kB / 2.897 GB, free: 260.4 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.759/13.32, allocations: 0 / 2.897 GB, free: 260.4 MB / 0.7761 GB