bmad-sim / bmad-ecosystem

Bmad simulation ecosystem for simulating high energy storage rings.
https://www.classe.cornell.edu/bmad/
10 stars 13 forks source link

tao feature request: more information when tao der calc fails #1072

Closed MichaelEhrlichman closed 3 weeks ago

MichaelEhrlichman commented 1 month ago

It would be helpful to know which data/variables are generating these errors:

Tao> der
[INFO] tao_dmodel_dvar_calc:
    Remaking dModel_dVar derivative matrix.
    This may take a while...

  EIG6: Eigenvalues off the unit circle!
   1.0115594527865908     
  EIG6: Eigenvalues off the unit circle!
  0.98857264122755995     
  EIG6: Eigenvalues off the unit circle!
   1.0115594527865908     
  EIG6: Eigenvalues off the unit circle!
  0.98857264122755995     
  EIG6: Eigenvalues off the unit circle!
   1.0050307552375335     
  EIG6: Eigenvalues off the unit circle!
  0.99499442657715609     
  EIG6: Eigenvalues off the unit circle!
   1.0050307552375335     
  EIG6: Eigenvalues off the unit circle!
  0.99499442657715609     
  EIG6: Eigenvalues off the unit circle!
   1.0016319175588086     
  EIG6: Eigenvalues off the unit circle!
  0.99837074125707770     
  EIG6: Eigenvalues off the unit circle!
   1.0016319175588086     
  EIG6: Eigenvalues off the unit circle!
  0.99837074125707770     
  EIG6: Eigenvalues off the unit circle!
   1.0022300469031089     
  EIG6: Eigenvalues off the unit circle!
  0.99777491514045902     
  EIG6: Eigenvalues off the unit circle!
   1.0022300469031089     
  EIG6: Eigenvalues off the unit circle!
  0.99777491514045902     
DavidSagan commented 1 month ago

@MichaelEhrlichman Provide an example and I can look at the issue.

DavidSagan commented 3 weeks ago

No response so closing issue for now.