OpenMx Error Messages

Posted on
No user picture. userzht Joined: 02/19/2011

non-zero status code 1

Hi, all

I was going to make a multivariate ACE model. But I got this warning when fit saturated model.

In model 'Phenotypic_Cholesky' NPSOL returned a non-zero status code 1. The final iterate satisfies the optimality conditions to the accuracy requested, but the sequence of iterates has not yet converged. NPSOL was terminated because no further improvement could be made in the merit function (Mx status GREEN).

What should I do with error like this?

Thanks in advance!
Ting

Posted on
No user picture. brauer Joined: 01/28/2012
Posted on
No user picture. adstaple Joined: 01/06/2010

Error: in slot(model, name) : no slot of name ".forcesequential" for this object of class "MxModel"

I previously ran analyses in OpenMx and saved the R workspace so that I could get the information at a later date.

The Error: in slot(model, name) :
no slot of name ".forcesequential" for this object of class "MxModel"

Occurs when I call
summary(mxModelFit)

On a Mac running 10.7.3, R v. 2.14.2, OpenMx v. 1.2.3-2011

However, when I use the same call (after loading the same R workspace file) on a different Mac running 10.7.3, R v. 2.14.0, OpenMx v. 1.1.2-1818, I do not get the error.

Posted on
No user picture. dadrivr Joined: 01/19/2010

Starting values recommendations and guidelines

I'm trying to run a CFA model, and I'm receiving some status 6 (code red) errors that I suspect may be due to starting values. I have constrained variances to be positive and have moved the starting values around, but no success.

Two things: 1) do you have any recommendations on how to determine starting values for latent variances, residual variances, covariances, factor loadings, means, etc.? 2) Do you know where I could read more about guidelines for determining starting values?

Thanks!

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

BLAS/LAPACK routine 'DSYMV ' gave error code -5 from runHelper

hi all,
running a simple model f1->{a,b,c} where a & b are ordinal.

runs fine with cov data, or as a raw model, treating the ordinal variables as continuous.

But going to raw with a thresholds matrix and means, it returns the following error.

> m1 = mxRun(m1);
Running m1
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
BLAS/LAPACK routine 'DSYMV ' gave error code -5

Posted on
No user picture. MG Joined: 10/29/2010

AE error message

Hi,
I just upgraded to the newest version of OpenMx and R 2.15.0. I ran a simple univariate script and everything worked fine until the AE model. This is the error I get when I run the univAEFit:

> univAEFit <- mxRun(univAEModel, intervals=T)
Running univAE
Error: Unknown reference to 'AE.VarComp' detected in a confidence interval specification in model 'univAE' in runHelper(model, frontendStart, intervals, silent, suppressWarnings, unsafe, checkpoint, useSocket, onlyFrontend, useOptimizer).

Posted on
Picture of user. kspoon Joined: 06/17/2011

Expected covariance matrix is non-positive-definite.

I know there's another similar active thread, but I didn't want to highjack it. Most of the threads I've seen in regards to this error message have some reference to an iteration or line - mine does not. What's in the subject is the entire error.

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

Error in allvalues[[i%%length(allvalues) + 1]] : subscript out of bounds

Hi,
getting this error, which is not very informative as to its source: The problem is a mis-use of rnorm which passes in an numeric(0), i.e. empty array.

Would be nice if we could say "Error in path from "Read7N": Empty list passed in for values : values must contain at least one number)"

Error in allvalues[[i%%length(allvalues) + 1]] : subscript out of bounds

Any clues as to how it could be made more diagnostic?

FYI: This is the path model generating it


test <- mxModel("TEST", type="RAM",
manifestVars = manifests,

Posted on
Picture of user. carey Joined: 10/19/2009

Error in .Internal(as.vector(x, "symbol")) : 'x' is missing

maybe it is too late at night, but am befuddled by this error message:

> model1 <- mxModel(model1,
+ mxAlgebra(name="fvalMZ", expression = weight * (MZ@data@observed - MZ$zpreMZ) *
+ (MZ@data@observed - MZ$zpreMZ)))
Error in .Internal(as.vector(x, "symbol")) : 'x' is missing

full code attached

Posted on
No user picture. StuartJRitchie Joined: 03/20/2012

Error running joint ordinal-continuous model - 'Requested improper index (1) from (1, 1) vector'

Running a slightly modified version of the joint ordinal-continuous example from the manual on Mac OSX, on the latest version of OpenMx (single-threaded download). Getting the following error when using mxRun:

> m1 <- mxRun(TestModel)
Running SES
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
Requested improper index (1) from (1, 1) vector.

Can provide model and data on request. Any clues?

Thanks in advance.

Stuart