Opened 11 years ago

Closed 8 years ago

Last modified 7 years ago

#2182 closed defect (fixed)

DASSL broken in trunk

Reported by: choeger Owned by: probably noone
Priority: high Milestone:
Component: Backend Version: trunk
Keywords: Cc:

Description

this small model won't simulate using my bootstrapped version of omc:

  model DASSLBug

    import Modelica.Electrical.Analog.Basic.{Resistor, Capacitor, Ground};
    import Modelica.Electrical.Analog.Sources.{SineVoltage};

    SineVoltage src;
    Resistor w1, w2;
    Capacitor c;
    Ground g;

  equation
    connect(src.n, w1.p);
    connect(src.n, g.p);
    connect(w1.n, c.p);
    connect(c.n, w2.p);
    connect(w2.n, src.p);

  end DASSLBug;

I am on OpenModelica 1.9.0 beta4+dev (r15940)

Change History (12)

comment:1 Changed 11 years ago by sjoelund.se

Can you give more information? The bootstrapped compiler works fine for me:

omc ++v && omc +s a.mo Modelica ModelicaServices > /dev/null && make -f DASSLBug.makefile && ./DASSLBug ; echo $?
1.9.0 beta4+dev (r15957) (Bootstrapping version; only for development)
gcc-4.4   -falign-functions -march=native -mfpmath=sse -fPIC   -I"/home/marsj/trunk/build/include/omc" -I. -L"/home/marsj/tmp"   -c -o DASSLBug.o DASSLBug.c
gcc-4.4   -falign-functions -march=native -mfpmath=sse -fPIC   -I"/home/marsj/trunk/build/include/omc" -I. -L"/home/marsj/tmp"   -c -o DASSLBug_records.o DASSLBug_records.c
g++-4.4 -I. -o DASSLBug DASSLBug.o DASSLBug_records.o -I"/home/marsj/trunk/build/include/omc" -I. -L"/home/marsj/tmp"  -L"/home/marsj/tmp"     -falign-functions -march=native -mfpmath=sse -fPIC   -L"/home/marsj/trunk/build/lib/omc" -Wl,-rpath,'/home/marsj/trunk/build/lib/omc' -lSimulationRuntimeC   -ldl -linteractive  -lexpat   -lrt -lgc -fopenmp -lsundials_kinsol -lsundials_nvecserial -llapack  -lpthread -Wl,-Bstatic -lf2c -Wl,-Bdynamic
0

comment:2 Changed 11 years ago by choeger

Sorry, forgit to attach the simulation result:

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 0.000001, method = 'dassl', fileNamePrefix = 'de.tuberlin.uebb.equivalence.examples.DASSLBug', options = '', outputFormat = 'mat', variableFilter = '.*', measureTime = false, cflags = '', simflags = ''",
    messages = "Simulation execution failed for model: de.tuberlin.uebb.equivalence.examples.DASSLBug
 DASSL--  SOME ELEMENT OF INFO VECTOR IS NOT ZERO OR ONE
stdout            | warning | The code has encountered trouble from which it cannot recover.
stdout            | warning | can't continue. time = 0.002000
stdout            | info    | model terminate | Integrator failed. | Simulation terminated at time 0.002
",
    timeFrontend = 0.608388409,
    timeBackend = 0.063540391,
    timeSimCode = 0.026430253,
    timeTemplates = 0.024220272,
    timeCompile = 1.111506565
end SimulationResult;

comment:3 Changed 11 years ago by wbraun

That model works for me also. Which OS do you use?

comment:4 Changed 11 years ago by sjoelund.se

I think this is the same error I have seen on some OSX versions. If I remember correctly, related to using 32-bit versions of omc?

comment:5 Changed 11 years ago by sjoelund.se

  • Milestone changed from 1.9.0 to 1.9.1

Postponed until 1.9.1

comment:6 Changed 10 years ago by sjoelund.se

  • Milestone changed from 1.9.1 to 1.9.2

This ticket was not closed for 1.9.1, which has now been released. It was batch modified for milestone 1.9.2 (but maybe an empty milestone was more appropriate; feel free to change it).

comment:7 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.2 to 1.9.3

Milestone changed to 1.9.3 since 1.9.2 was released.

comment:8 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.3 to 1.9.4

Moved to new milestone 1.9.4

comment:9 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.4 to 1.9.5

Milestone pushed to 1.9.5

comment:10 Changed 9 years ago by sjoelund.se

  • Milestone changed from 1.9.5 to 1.10.0

Milestone renamed

comment:11 Changed 8 years ago by casella

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

If DASSL was still broken, we'd have heard very loud complaints. I assume this issue has been solved long time ago.

comment:12 Changed 7 years ago by sjoelund.se

  • Milestone 1.10.0 deleted

Milestone deleted

Note: See TracTickets for help on using tickets.