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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.387/4.387, allocations: 404.2 MB / 411.3 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.582e-05/2.583e-05, allocations: 4 kB / 0.4945 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6481/0.6482, allocations: 92.69 MB / 0.5851 GB, free: 2.309 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.73/8.378, allocations: 2.198 GB / 2.783 GB, free: 91.9 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/8.379, allocations: 101.9 kB / 2.783 GB, free: 91.85 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 0.2601/8.639, allocations: 56.06 MB / 2.838 GB, free: 41.16 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.627e-06/8.639, allocations: 0 / 2.838 GB, free: 41.16 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001287/8.639, allocations: 31.94 kB / 2.838 GB, free: 41.13 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.004224/8.643, allocations: 1.44 MB / 2.84 GB, free: 39.62 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.593e-05/8.643, allocations: 16.02 kB / 2.84 GB, free: 39.6 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/8.649, allocations: 409.8 kB / 2.84 GB, free: 39.2 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/8.651, allocations: 0.7405 MB / 2.841 GB, free: 38.42 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.008e-05/8.651, allocations: 32.34 kB / 2.841 GB, free: 38.39 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/8.652, allocations: 75.83 kB / 2.841 GB, free: 38.31 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003905/8.655, allocations: 1.359 MB / 2.842 GB, free: 36.95 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003236/8.659, allocations: 1.108 MB / 2.843 GB, free: 35.77 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.409e-05/8.659, allocations: 7.938 kB / 2.843 GB, free: 35.76 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/8.659, allocations: 0 / 2.843 GB, free: 35.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/8.659, allocations: 61.98 kB / 2.843 GB, free: 35.7 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01106/8.67, allocations: 3.979 MB / 2.847 GB, free: 31.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002724/8.673, allocations: 0.9812 MB / 2.848 GB, free: 30.62 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/8.674, allocations: 414 kB / 2.849 GB, free: 30.21 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/8.675, allocations: 0.5502 MB / 2.849 GB, free: 29.55 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001431/8.677, allocations: 0.5598 MB / 2.85 GB, free: 28.96 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=94): time 4.909e-06/8.677, allocations: 0 / 2.85 GB, free: 28.96 MB / 0.7761 GB Notification: Performance of matching and sorting (n=95): time 0.01204/8.689, allocations: 1.758 MB / 2.851 GB, free: 27.19 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.855e-05/8.689, allocations: 218.4 kB / 2.852 GB, free: 26.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/8.691, allocations: 0.6915 MB / 2.852 GB, free: 26.23 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003014/8.691, allocations: 37.8 kB / 2.852 GB, free: 26.19 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.000529/8.691, allocations: 499.9 kB / 2.853 GB, free: 25.69 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003873/8.692, allocations: 303.4 kB / 2.853 GB, free: 25.39 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/8.692, allocations: 0 / 2.853 GB, free: 25.39 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001666/8.692, allocations: 398.7 kB / 2.853 GB, free: 24.99 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009715/8.693, allocations: 350.5 kB / 2.854 GB, free: 24.65 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/8.694, allocations: 0.5078 MB / 2.854 GB, free: 24.08 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008519/8.703, allocations: 0.8258 MB / 2.855 GB, free: 23.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/8.703, allocations: 0 / 2.855 GB, free: 23.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.01154/8.714, allocations: 1.57 MB / 2.857 GB, free: 21.68 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003208/8.715, allocations: 1.218 MB / 2.858 GB, free: 20.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/8.715, allocations: 0 / 2.858 GB, free: 20.36 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/8.716, allocations: 136.6 kB / 2.858 GB, free: 20.22 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/8.719, allocations: 219.7 kB / 2.858 GB, free: 20 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009181/8.72, allocations: 0.6421 MB / 2.859 GB, free: 19.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/8.722, allocations: 83.45 kB / 2.859 GB, free: 19.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/8.722, allocations: 43.97 kB / 2.859 GB, free: 19.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/8.722, allocations: 4 kB / 2.859 GB, free: 19.21 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009998/8.732, allocations: 1.327 MB / 2.86 GB, free: 17.88 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/8.732, allocations: 8 kB / 2.86 GB, free: 17.87 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/8.732, allocations: 8 kB / 2.86 GB, free: 17.86 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/8.734, allocations: 224 kB / 2.86 GB, free: 17.64 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.559e-05/8.734, allocations: 20 kB / 2.86 GB, free: 17.62 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/8.736, allocations: 87.25 kB / 2.86 GB, free: 17.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001569/8.736, allocations: 39.97 kB / 2.861 GB, free: 17.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.0004031/8.736, allocations: 132.7 kB / 2.861 GB, free: 17.36 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01118/8.748, allocations: 1.444 MB / 2.862 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004229/8.748, allocations: 94.86 kB / 2.862 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/8.761, allocations: 1.722 MB / 2.864 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/8.761, allocations: 12 kB / 2.864 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/8.761, allocations: 3.953 kB / 2.864 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/8.761, allocations: 3.984 kB / 2.864 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01475/8.776, allocations: 2.853 MB / 2.867 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/8.776, allocations: 0 / 2.867 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002082/8.778, allocations: 208 kB / 2.867 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001623/8.779, allocations: 208.6 kB / 2.867 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001501/8.78, allocations: 15.98 kB / 2.867 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003035/8.783, allocations: 1.756 MB / 2.869 GB, free: 8.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/8.783, allocations: 7.953 kB / 2.869 GB, free: 8.824 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/8.794, allocations: 1.818 MB / 2.871 GB, free: 6.922 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009948/8.795, allocations: 351.4 kB / 2.871 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000308/8.795, allocations: 4 kB / 2.871 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001762/8.797, allocations: 79.89 kB / 2.871 GB, free: 6.477 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002683/8.797, allocations: 68.69 kB / 2.871 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001439/8.797, allocations: 47.88 kB / 2.871 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001122/8.799, allocations: 0.546 MB / 2.872 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.42e-07/8.799, allocations: 0 / 2.872 GB, free: 5.824 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002618/8.801, allocations: 483.8 kB / 2.872 GB, free: 5.352 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.01397/8.815, allocations: 3.429 MB / 2.875 GB, free: 2.004 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004353/8.82, allocations: 1.739 MB / 2.877 GB, free: 196 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/8.82, allocations: 0 / 2.877 GB, free: 196 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.6405/9.46, allocations: 0.6104 MB / 2.878 GB, free: 262.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002645/9.463, allocations: 202.6 kB / 2.878 GB, free: 262.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00843/9.471, allocations: 1.978 MB / 2.88 GB, free: 261.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001236/9.473, allocations: 1.185 MB / 2.881 GB, free: 261.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.004556/9.477, allocations: 0.5804 MB / 2.882 GB, free: 261 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/9.479, allocations: 439.5 kB / 2.882 GB, free: 261 MB / 0.7761 GB Notification: Performance of SimCode: time 3.336e-06/9.479, allocations: 0 / 2.882 GB, free: 261 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6918/10.17, allocations: 24.28 MB / 2.906 GB, free: 260 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000304/10.17, allocations: 218.3 kB / 2.906 GB, free: 259.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.026/14.2, allocations: 4 kB / 2.906 GB, free: 259.7 MB / 0.7761 GB