There is a simulation of power example for linear regression in Simulating Data with SAS (p. 211-215). It is based on a similar simulation in Greene, W. H. (2000) Econometric Analysis, 4th ed, Chap 15, p. 617)
In general, the way to conduct a power simulation is
1. Figure out how to simulate data from the model
2. Figure out how to use PROC MIXED to run the test that you are studying (=the test that you are investigating with the power analysis)
3. To make sure you've done everything right, generate 1000 (or more) samples from the null distribution of the test. You should find that the empirical power is 1 - P(Type 2 error) = proportion of times that test rejected null hypothesis (when it shouldn't have). This should happen 5% of the time if you run the test at alpha=0.05 signif level.
4. Now that the program is working, generate data that has the assumed effect. Compute the power to detect the effect.