I remember I encountered this film while searching for something else on this site 2-3 years ago, and then proceeded to watch the first quarter or so of it on YouTube, but I don't remember the name of it.
At the beginning of the film, the protagonist, a high-school age Japanese girl, is on a bus with her classmates when there's a shot of something rushing toward the bus with the sound of wind. Suddenly, everyone on the bus except for the girl is killed rather gorily, seemingly by the wind slicing them in half. I think maybe the girl was saved by having gone down to the floor to grab a notebook? I remember her walking down the road in bloodstained white clothing, in shock, past dismembered bodies.
Then, she's at school and everyone seems fine (I don't remember how exactly the transition happened). She tries to explain what had just happened to her to her friends (three Japanese girls), but they assume it must have been a nightmare, right up until one of the teachers goes crazy and starts shooting the students, with the protagonist (and some of her friends?) escaping by running off campus. Either before or after the attack, the protagonist is terrified by the sound of the wind again.
Again, I don't remember what transition happened, but then she and her friends are in a set of woods by some water, and they're doing something with with a mattress (which they think might have been left by a homeless person?) and/or pillows, which I think has them either pillow-fighting, or tossing the bedding into the water. I don't remember exactly what happened there, but I remember they were talking about sex, with at least one of the girls proudly declaring all of the things she'd done (I think she was a stereotypical "rebel" girl, might have been taller than the others).
After that, I think I stopped watching it, but wound up looking up the film online, and learning that
The girl is actually a simulation on a computer in the far future, controlled by a sadistic middle-aged man, who might have been associated with her when they were in the same age, who gets his jollies from killing the simulated girls over and over, I think with the eventual goal of having sex with them. I don't remember what the page stated the resolution of the film to be, but I think she managed some degree of victory over her captor.