Opened 10 years ago

Closed 10 years ago

#2515 closed defect (invalid)

Termination of simulation

Reported by: Christian Kral <dr.christian.kral@…> Owned by: lochel
Priority: high Milestone: 1.9.1
Component: Code Generation Version: trunk
Keywords: Cc:

Description

I attached an example simulating the acceleration of a cart (mass) caused by three different forces:

  • horse
  • motor
  • inclined ramp (gravity and inclination angle alpha)

The inclined ramp force is modeled by constantforce1. After adding this model the simulation did not terminate properly.

  1. Run the attached simulation model (terminates with error code 252)
  2. Remove constantforce1 and simulate the model: it runs and terminates OK

Support is highly appreciated since the attached model is used by our students for a diploma thesis.

Please update the COMPONENT of the ticket -- I am not sure if I picked it right.

Attachments (1)

Acceleration.mo (2.8 KB) - added by Christian Kral <dr.christian.kral@…> 10 years ago.
Simulation example demonstrating runtime error

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by Christian Kral <dr.christian.kral@…>

Simulation example demonstrating runtime error

comment:1 Changed 10 years ago by Christian Kral <dr.christian.kral@…>

  • Resolution set to invalid
  • Status changed from new to closed

This ticket is invalid. The simulation example works fine. The termination of with error code 252 is due to instability of the physical system, not a compiler or runtime problem.

Note: See TracTickets for help on using tickets.