OpenMx Error Messages

Posted on
Picture of user. tbates Joined: 07/31/2009

Error in mxVersion() : subscript out of bounds (using R 2.12.0 and OpenMx 1.0.2)

Hi There,
Student had problem running a script today having updated to R version 2.12.0 (2010-10-15) in order to run OpenMx 1.0.2

Model (previously running fine) came back with error:
CP_fit1 = mxRun(CP_Model1)
Running fullCommon
Error in mxVersion() : subscript out of bounds

trying mxVersion itself, I now get
mxVersion()
Error in mxVersion() : subscript out of bounds

After quitting R, and restarting... error persists

Posted on
Picture of user. wuhao_osu Joined: 09/07/2010

Treatment of code 6

Hello,

I got several code 6 when running simulations. Some of those cases have a near singular estimated hessian, though the calculated hessian is fine. Is this the source of non-convergence? Would it work to re- run the data with the parameter estimates as initial values? Is it possible to have the optimizer use the calculated hessian all the time?

Thanks

- Hao

Posted on
Picture of user. tbates Joined: 07/31/2009

code blue and what to do about it

Question from a user: What is code blue, what should one do, and where is it documented?

In model 'common_path_constraint_ACE' NPSOL returned a non-zero status code 4. The major iteration limit was reached (Mx status BLUE).

Posted on
Picture of user. wuhao_osu Joined: 09/07/2010

output$status

Hi,

As I am doing simulations, I can see many warning messages from NPSOL. It seems that @output$status is the place to look for those different convergence types. I can see (from a successful run) that "status" has three empty slots. May I know what the "status" will be for an unsuccessful/non-conventional convergence? Is there any reference or documentation on this topic? Thanks.

- Hao

Posted on
No user picture. cvanhulle Joined: 05/07/2010

could not find functions?

I'm trying to use a couple of nifty functions that I cribbed from a script from the Twin Workshop. When I try to use
formatOutputMatrices or tableFitStatistics I get an error message saying R "could not find function".

Suggestions?

Thanks,
Carol

Posted on
No user picture. pgseye Joined: 10/13/2009

Objective function returned an infinite value

Hi again,

I'm trying to run an ordinal model with age and sex as covariates. The ACE model seems to run Ok, but then I receive the following error with an AE model:

> univAEOrdFit <- mxRun(univAEOrdModel, intervals=T)
Running univAEOrd
Error: The job for model 'univAEOrd' exited abnormally with the error message: Objective function returned an infinite value.
In addition: Warning message:
In runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
Not calculating confidence intervals because of error status.

Posted on
Picture of user. Ryne Joined: 07/31/2009

Infinite Error Message

The attached code generates the following error message:


> first <- mxRun(model)
Running Alg

Posted on
No user picture. pgseye Joined: 10/13/2009

Unknown reference error

Hi All,

This is related to an earlier post where I've tried adding covariates to a saturated model:

http://openmx.psyc.virginia.edu/thread/651

I've followed Mike Neale's advice and set up a definition variables matrix (pre-multiplied by beta) instead of coding it effectively longhand. I'm having a problem though. The model runs ok in the first instance, but when I try to place some constraints, it returns an error message that I don't know how to resolve (see Model 1 below and the output that follows).

Posted on
Picture of user. wuhao_osu Joined: 09/07/2010

R forced closed during run

I would like to report an instance when R was forced closed without an error message.

I was running an ACE model with the components A C and E being matrices. When specifying the DZ twin covariance I used 0.5*A+C instead of 0.5%x%A+C, which caused the crash. Replacing the * by %x% fixed the problem.