Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » shui
  • » Profile

Posts

Posts

Sorry, I was wrong. Plotting works still fine if the simulation terminates successfully.

I tried to simulate the the model "Electrical.Analog.ShowSaturatingInductor" with OMShell again. It terminates saying:
"Simulation terminated while the initialization. Could not find suitable initial values."
I remember this worked some time before.

It would be helpful if OMEdit would display at least the same message that you can see in OMShell.

Cheers,
Jörg

Hello OM Community,

i didnt use OM for a while but now a experience problems viewing results with OMEdit in Linux.
I am using Ubuntu Lucid and Debian Squeeze.

It works fine with the windows version.

Does anybody have an idea what may be wrong there?

Cheers

Jun-13-11 19:50:36
OMC fails upgrading due to package dependency

Hi OM Developers,

Now, there is trouble with omshell-terminal: it depends on libncurses5 (>= 5.7+20100313) but lucid has 5.7+20090803-2ubuntu3.

Do we really need that?

Cheers,
Jörg

Jun-04-11 01:14:16
OMC fails upgrading due to package dependency

That works fine, thank you!

Jörg

Jun-01-11 01:21:14
OMC fails upgrading due to package dependency

Dear OM Developers,

the most recent omc version (9165) depends on libsqlite3-0 (>=3.7.3), whilst lucid has 3.6.22-1.

Is that dependency reeeeally neccessary??

Cheers,
Jörg

Feb-13-11 14:37:52
or - what is it going to be?

Great! I'm looking forward to that.

For now, maybe we can checkout some sources from your trunk until there will be someting released?

I am interested in that topic and i'm thinking about starting to work on something similar...

Cheers, Joerg

Feb-09-11 03:11:10
or - what is it going to be?

Hi OM-Developers,

i just came across that blank page, called "RTSIM"
http://www.openmodelica.org/index.php/r … /rtsimmenu
What a promising title...

Unfortunately, even google doesnt know more about that yet.

Maybe you do? 8~)

Cheers

Jan-29-11 04:28:56
Using the annotations

Consider calling an external function like

Code:

    myextfunc(myparam) annotation(Library="mylib.a",

                          Include="#include \"mylib.h\"",
                          IncludeDirectory="modelica://MyModelicaPackage/Resources/include",
                          LibraryDirectory="modelica://MyModelicaPackage/Resources/lib");
         //"C"

It works if mylib.a and mylib.h are located in the current working directory, whilst "IncludeDirectory" and "LibraryDirectory" do not have an effect on the generated makefile.
Is the usage of this annotations not yet implemented or did i use it wrong?

Jan-26-11 01:58:38
Model fails with V 7763 wich worked with 7723 (22. Jan)

It fails with version 7748 as well.
It works with Version 7504. Version is not 7723 is not available anymore.

So, i think this is a new bug?

Cheers

Jan-26-11 01:40:59
Model fails with V 7763 wich worked with 7723 (22. Jan)

Hi,

my model which compiled fine with build 7723 fails today with 7763 with the error:

Code:

Error: Variable time not found in scope <global scope>

What got wrong there?
I can provide the model if neccessary...

Cheers,
Joerg

Jan-24-11 03:26:25
Using when equations to trigger I/O operations

Hi OM developers!

I want to use when-equations in my model to perform I/O operations at certain points of time. See the flatened model:

Code:


"function OpenRobotica.TestSuite.BlockWithWhen2OM.processReadEvent
  input Real lastWriteEvent;
  output Real nextWriteEvent;
algorithm
  nextWriteEvent := 0.1 + lastWriteEvent;
end OpenRobotica.TestSuite.BlockWithWhen2OM.processReadEvent;

function OpenRobotica.TestSuite.BlockWithWhen2OM.processWriteEvent
  input Real t(quantity = "Time", unit = "s");
  output Real nextReadEvent;
algorithm
  nextReadEvent := 0.02 + t;
end OpenRobotica.TestSuite.BlockWithWhen2OM.processWriteEvent;

class OpenRobotica.TestSuite.TestBlockWithWhen2OM
  protected discrete Real blockWithWhen2OM.nextWriteEvent(start = 0.0);
  protected discrete Real blockWithWhen2OM.nextReadEvent(start = 1e+60);
  protected Boolean blockWithWhen2OM.writeEvent(start = false);
  protected Boolean blockWithWhen2OM.readEvent(start = false);
equation
  blockWithWhen2OM.writeEvent = time > blockWithWhen2OM.nextWriteEvent;
  blockWithWhen2OM.readEvent = time > blockWithWhen2OM.nextReadEvent;
  when {edge(blockWithWhen2OM.writeEvent),initial()} then
  blockWithWhen2OM.nextReadEvent = OpenRobotica.TestSuite.BlockWithWhen2OM.processWriteEvent(time);
  end when;
  when {edge(blockWithWhen2OM.readEvent)} then
  blockWithWhen2OM.nextWriteEvent = OpenRobotica.TestSuite.BlockWithWhen2OM.processReadEvent(blockWithWhen2OM.nextWriteEvent);
  end when;
end OpenRobotica.TestSuite.TestBlockWithWhen2OM;
"
""
"Check of OpenRobotica.TestSuite.TestBlockWithWhen2OM completed successfully.


Class OpenRobotica.TestSuite.TestBlockWithWhen2OM has 4 equation(s) and 4 variable(s).
0 of these are trivial equation(s).
"
""
Failure: ...
{"",""}
"[/home/shui/unisoned/workspace/OpenRobotica_msl3.1/OpenRobotica/../OpenRobotica/TestSuite/BlockWithWhen2OM.mo:29:5-29:45:writable] Error: The language feature non-linear equations within when-equations is not supported. Suggested workaround: Perform non-linear operations outside the when-equation (this is slower, but works)
[/home/shui/unisoned/workspace/OpenRobotica_msl3.1/OpenRobotica/../OpenRobotica/TestSuite/BlockWithWhen2OM.mo:29:5-29:45:writable] Error: Internal error SimCode.createNonlinearResidualEquations failed for equation: blockWithWhen2OM.nextReadEvent := OpenRobotica.TestSuite.BlockWithWhen2OM.processWriteEvent(time) when clause no: 1
[/home/shui/unisoned/workspace/OpenRobotica_msl3.1/OpenRobotica/../OpenRobotica/TestSuite/BlockWithWhen2OM.mo:26:3-26:36:writable] Error: Internal error SimCode.createNonlinearResidualEquations failed for equation: blockWithWhen2OM.writeEvent = time > blockWithWhen2OM.nextWriteEvent
Error: Internal error createOdeSystem2 failed
Error: Internal error createOdeSystem failed
Error: Internal error createEquations failed
Error: Internal error Generation of simulation using code using templates failed
"

Should this work since nextWriteEvent / nextReadEvent are declared discrete? Anyway, i do not understand the suggested workaround.
Can somebody help please?

Probably there is an example demonstrating things like that?

Cheers

P.S.
I have a workaround when i use when equations in a algorithm section. But then, write- and readEvent are not called exactly at nextWriteEvent / nextReadEvent...

Dec-02-10 01:38:10
Cant await its being released

Perfect!
current/smile

Dec-01-10 01:15:49
Cant await its being released

Fine! That brings OMEdit to my disk!
Unforunately, it didnt start, saying:
undefined symbol: _ZN9QListData11detach_gro

Ok, I finally installed Qt4.7 from the experimental repositories and reinstalled OMEdit.
Now, it starts without problems. Running simulations works too.

Just one, for me BIG, issue: The programm window doesnt fit to small screens (1024x600). The window jumps up and down regardless where you are clicking to. Resizing the window doesnt work as well. I belive this is a Qt-Issue since digiKam shows the same behavior on my small laptop.
Maybe you can solve this shrinking the initial programm window to fit small screens?

That would be great! Thanks!

Nov-30-10 04:06:37
Cant await its being released

Ok, i want to try: Can you tell me how to install?

We need to ignore the libqt4core (>=4.7) dependencies then.

I tried to use equivs to do that. That didnt work for me.

Maybe you know how to do that?

Nov-29-10 02:30:03
Cant await its being released

I just checked out the latest windows build with the new OMEdit.
It looks great to me! I think i will love it!

Since Debian (Squeeze) is my productive system, i hope it will be available soon. Do you have an idea when?

Cheers
Joerg

Oct-18-10 17:24:27
Topic: C++ call

I was at the same point some month ago...

You will be in trouble, if your C++ function requires more C++ code or libraries which make C-mode linking impossible.

I decided to use fifos / sockets to interface my C++ stuff then.
So the simulation and the controller software (C++) are seperately build applications exchanging arrays through the socket.

Anyway, i have trouble using my old implementation with the latest version of OM (see my previous thread).

I can provide the code (as soon as it works) if you are interested...

Cheers,
Joerg

Oct-17-10 19:56:59
InterfacingOM by Fifos! Model which worked fine with an earlier OM 1.5

Hi All,

i wanted to continue to work on a "old" model which worked fine a few month ago. Now i have this problem.

/cat /tmp/omshell.log
- DAELow.lowerWhenEqn: Error in lowerWhenEqn.
when time >= myFifo.nextWriteEvent OR myFifo.interrupt ...

There are the corresponding code snippets.

Code:


  when (time >= nextWriteEvent or interrupt) then
    for i in 1:Nout loop //index auch uebergeben
      dvarout[i] = varout[i];
      numwritten[i] = fifoOutReal(fd_out, dvarout[i], i, Nout+1); //write2fifo
    end for;
    if interrupt then
      timewritten = fifoOutReal(fd_out, time, 0, Nout+1);  // send SimTime
    else
      timewritten = fifoOutReal(fd_out, nextWriteEvent, 0, Nout+1);  // send SimTime==nextWriteEvent
    end if;
    nextReadEvent = time + CompTime;
  end when;

This was an interface to a external controller application.

Any idea what may be wrong there??

That works! Thanks!

Joerg

May-14-10 02:42:04
Model which worked fine in RC1 fails in RC3

I am trying to continue working on a model which worked fine in RC1 but fails now in 1.5.0.svn.r5385-2 (RC3).

Code:


$ cat /tmp/error.log
Opening a socket on port 29500
generate_ode_system2_nonlinear_residuals failed

Here is the model...

Code:

model TestControlBrushedDC0 "Closed loop with an external controller" 

  import Modelica.Electrical.Analog;
  import Modelica.Mechanics.Rotational;
  OpenRobotica.Machines.BrushedDC dcm;
  Analog.Basic.Ground gnd;
  Analog.Sources.SignalVoltage vsource;
  Rotational.Fixed fixed;
  Rotational.Sensors.SpeedSensor speedSensor;
  OpenRobotica.Interfaces.Fifos.FifoRealArray myFifo;
                                               //(Nout=3);
equation
  //vsource.v = if time < 0.5 then 0 else 10; //Hier Controller-Modell aufrufen
  connect(myFifo.varin[1], vsource.v);
  connect(myFifo.varout[1], speedSensor.w);
  connect(gnd.p, vsource.n);
  connect(vsource.p, dcm.pin_p);
  connect(vsource.n, dcm.pin_n);
  connect(dcm.pin_n, gnd.p);
  connect(fixed.flange_b, dcm.support);
  connect(dcm.flange, speedSensor.flange_a);
initial equation
  dcm.phiMechanical = 0;
end TestControlBrushedDC0;

The problem should be somewhere inside this, i guess.

Code:

block FifoRealArray "Read and write real array to fifo" 

  function openFifoOutWrp
  input String fifoName;
  input Integer dummy;  // force execution order in equation sections
  output Integer fd;
  algorithm
    fd :=openFifoOut(fifoName);
  end openFifoOutWrp;
 
  function openFifoInWrp
  input String fifoName;
  input Integer dummy;  // force execution order in equation sections
  output Integer fd;
  algorithm
    fd :=openFifoIn(fifoName);
  end openFifoInWrp;
 
  parameter String FifoName="ModelicaFifo";
  parameter Integer Nin=1 "Number of inputs from fifo";
  parameter Integer Nout=1 "Number of outputs to fifo";
  parameter Real CompTime=1e-12 "Computation time of controller";
  parameter Boolean IsServer=true
    "Indicates if model creates the fifo and opens for writing first";
  //output Real varin[Nin]; //[Nin];
  //input Real varout[Nout];
  Modelica.Blocks.Interfaces.RealInput varout[Nout]
    "Connector of Real vector to be send to fifo";
  Modelica.Blocks.Interfaces.BooleanInput interrupt=false
    "Send to and recieve from fifo when interrupt/event becomes true";
  Modelica.Blocks.Interfaces.RealOutput varin[Nin]
    "Connector of Real vector, recieved from fifo";
protected
  discrete Real dvarout[Nout];
  discrete Real dvarin[Nin];
  discrete Real nextWriteEvent(start=0);
  discrete Real nextReadEvent(start=0);
  //discrete Integer nextReadEvent(start=0);
  discrete Integer fd_in; // File descriptor
  discrete Integer fd_out;
  discrete Integer retval;
  discrete Integer numwritten[Nout];
  discrete Integer timewritten;
equation
  when (time >= nextWriteEvent or interrupt) then
    for i in 1:Nout loop //index auch uebergeben
      dvarout[i] = varout[i];
      numwritten[i] = fifoOutReal(fd_out, dvarout[i], i, Nout+1); //write2fifo
    end for;
    if interrupt then
      timewritten = fifoOutReal(fd_out, time, 0, Nout+1);  // send SimTime
    else
      timewritten = fifoOutReal(fd_out, nextWriteEvent, 0, Nout+1);  // send SimTime==nextWriteEvent
    end if;
    nextReadEvent = time + CompTime;
  end when;
 
  when (time > nextReadEvent) then
  //when (nextReadEvent >= 1) then //!!! change() geht in OM nur mit Real
    for i in 1:Nin loop
      dvarin[i] = fifoInReal(fd_in, i, Nin+1);
      varin[i] = dvarin[i];
    end for;
    nextWriteEvent = fifoInReal(fd_in, 0, Nin+1);
  end when;
 
  when initial() then
        retval = createFifo(FifoName);
        fd_out = openFifoOutWrp(FifoName, retval);
        fd_in = openFifoInWrp(FifoName, fd_out);
  end when;
  when terminal() then
    // end of sim
  end when;
end FifoRealArray;

As i said, it worked fine in OM RC1. I have no idea how to debug this now.

Cheers,
Joerg

Hi Adrian,

1. There is no omc running
3. OMShell(-terminal) and OMNotebook are working fine.
4. SimForge is still not working, MDT doesnt work either

Joerg

Hi All!

i want to use SimForge 0.9 with OpenModelica 1.5.0.svn.r5385-2 on Debian (Squeeze).
Using libmico2.3.13

When clicking on "New Project" or "Tools -> Settings", the gui freezes and the prompt is showing this:


Code:


$ java -jar SimForge.jar
[warning] jEdit: jedit.jar not in class path!
[warning] jEdit: Assuming jEdit is installed in /home/shui/SimForge/SimForge-0.9.RC2.
[warning] jEdit: Override with jedit.home system property.
Parsing file: /home/shui/SimForge/SimForge-0.9.RC2/settings.xml.......
Parsing XML file... /home/shui/SimForge/SimForge-0.9.RC2/settings.xml
XML file parsed
Ok.
Validating file: /home/shui/SimForge/SimForge-0.9.RC2/settings.xml.......
Starting to read .../home/shui/SimForge/SimForge-0.9.RC2/settings.xml...
Validation successfull of /home/shui/SimForge/SimForge-0.9.RC2/settings.xml.
Ok.
OMCSTATUS: Will look for OMC object reference in '/tmp/openmodelica.shui.objid.omc'.
OMCSTATUS: Old OMC CORBA object reference present, assuming OMC is running.
14.05.2010 00:06:49 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 192.168.178.37; port: 53693"
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2172)
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2193)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:223)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:236)
        at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:119)
        at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:168)
        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:136)
        at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:449)
        at omc._OmcCommunicationStub.sendExpression(_OmcCommunicationStub.java:41)
        at omc.OMCProxy.init(OMCProxy.java:648)
        at omc.OMCProxy.sendExpression(OMCProxy.java:740)
        at omc.OMCProxy.getVersion(OMCProxy.java:2490)
        at GUI.common.JDialog.CreateProgramDialog.getAnnotationVersion(CreateProgramDialog.java:301)
        at GUI.common.JDialog.CreateProgramDialog.getPanelC(CreateProgramDialog.java:166)
        at GUI.common.JDialog.CreateProgramDialog.getContentPane(CreateProgramDialog.java:91)
        at GUI.common.JDialog.CreateProgramDialog.getJDialog(CreateProgramDialog.java:81)
        at GUI.common.JDialog.CreateProgramDialog.show(CreateProgramDialog.java:67)
        at GUI.common.EditorWindow2.createProject(EditorWindow2.java:1031)
        at GUI.common.abstractInternalFrame.AbstractJMenuBar$EnumJMenuItem.doAction(AbstractJMenuBar.java:94)
        at GUI.common.abstractInternalFrame.AbstractJMenuBar.actionPerformed(AbstractJMenuBar.java:720)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
        at java.awt.Component.processMouseEvent(Component.java:6108)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:5873)
        at java.awt.Container.processEvent(Container.java:2105)
        at java.awt.Component.dispatchEventImpl(Component.java:4469)
        at java.awt.Container.dispatchEventImpl(Container.java:2163)
        at java.awt.Component.dispatchEvent(Component.java:4295)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
        at java.awt.Container.dispatchEventImpl(Container.java:2149)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4295)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.net.SocketException: Network is unreachable
        at sun.nio.ch.Net.connect(Native Method)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:525)
        at java.nio.channels.SocketChannel.open(SocketChannel.java:164)
        at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:78)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:206)
        ... 44 more
OMCSTATUS: Failed sending expression, will try to start OMC.
OMCSTATUS: Using OPENMODELICAHOME environment variable to find omc-binary
OMCSTATUS: No omc binary at: [/usr/omc]
OMCSTATUS: Using omc-binary at '/usr/bin/omc'
OMCSTATUS: Removing old OMC object reference file.
OMCSTATUS: Running command /usr/bin/omc +c=omc +d=interactiveCorba
OMCSTATUS: Setting working directory to /usr
OMCSTATUS: Command run successfully.
OMCSTATUS: Waiting for OMC CORBA object reference to appear on disk.
Created server.
Dumped Corba IOR in file: /tmp/openmodelica.shui.objid.omc
Started the Corba ORB thread with id: 3036777328
OMCSTATUS: OMC object reference found.
14.05.2010 00:06:49 com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl <init>
WARNUNG: "IOP00410201: (COMM_FAILURE) Connection failure: socketType: IIOP_CLEAR_TEXT; hostname: 192.168.178.37; port: 54583"
org.omg.CORBA.COMM_FAILURE:   vmcid: SUN  minor code: 201  completed: No
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2172)
        at com.sun.corba.se.impl.logging.ORBUtilSystemException.connectFailure(ORBUtilSystemException.java:2193)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:223)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:236)
        at com.sun.corba.se.impl.transport.SocketOrChannelContactInfoImpl.createConnection(SocketOrChannelContactInfoImpl.java:119)
        at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.beginRequest(CorbaClientRequestDispatcherImpl.java:168)
        at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.request(CorbaClientDelegateImpl.java:136)
        at org.omg.CORBA.portable.ObjectImpl._request(ObjectImpl.java:449)
        at omc._OmcCommunicationStub.sendExpression(_OmcCommunicationStub.java:41)
        at omc.OMCProxy.init(OMCProxy.java:648)
        at omc.OMCProxy.sendExpression(OMCProxy.java:740)
        at omc.OMCProxy.getVersion(OMCProxy.java:2490)
        at GUI.common.JDialog.CreateProgramDialog.getAnnotationVersion(CreateProgramDialog.java:301)
        at GUI.common.JDialog.CreateProgramDialog.getPanelC(CreateProgramDialog.java:166)
        at GUI.common.JDialog.CreateProgramDialog.getContentPane(CreateProgramDialog.java:91)
        at GUI.common.JDialog.CreateProgramDialog.getJDialog(CreateProgramDialog.java:81)
        at GUI.common.JDialog.CreateProgramDialog.show(CreateProgramDialog.java:67)
        at GUI.common.EditorWindow2.createProject(EditorWindow2.java:1031)
        at GUI.common.abstractInternalFrame.AbstractJMenuBar$EnumJMenuItem.doAction(AbstractJMenuBar.java:94)
        at GUI.common.abstractInternalFrame.AbstractJMenuBar.actionPerformed(AbstractJMenuBar.java:720)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:374)
        at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:829)
        at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:873)
        at java.awt.Component.processMouseEvent(Component.java:6108)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:5873)
        at java.awt.Container.processEvent(Container.java:2105)
        at java.awt.Component.dispatchEventImpl(Component.java:4469)
        at java.awt.Container.dispatchEventImpl(Container.java:2163)
        at java.awt.Component.dispatchEvent(Component.java:4295)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4461)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4125)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4055)
        at java.awt.Container.dispatchEventImpl(Container.java:2149)
        at java.awt.Window.dispatchEventImpl(Window.java:2478)
        at java.awt.Component.dispatchEvent(Component.java:4295)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:604)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.net.SocketException: Network is unreachable
        at sun.nio.ch.Net.connect(Native Method)
        at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:525)
        at java.nio.channels.SocketChannel.open(SocketChannel.java:164)
        at com.sun.corba.se.impl.transport.DefaultSocketFactoryImpl.createSocket(DefaultSocketFactoryImpl.java:78)
        at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.<init>(SocketOrChannelConnectionImpl.java:206)
        ... 44 more
OMCSTATUS: Failed sending expression, will try to start OMC.

Any ideas?

  • Index
  • » Users
  • » shui
  • » Profile
You are here: