Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001526/0.001526, allocations: 114.3 kB / 18.45 MB, free: 4.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001933/0.001933, allocations: 210.8 kB / 19.4 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2438/0.2438, allocations: 46.11 MB / 344.9 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 71.89 kB / 482 MB, free: 4.102 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.379, allocations: 62.45 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01749/0.3965, allocations: 16.81 MB / 0.5481 GB, free: 412 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01371/0.4102, allocations: 5.48 MB / 0.5534 GB, free: 11.41 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004587/0.4149, allocations: 131.6 kB / 0.5536 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008728/0.4237, allocations: 4.642 MB / 0.5581 GB, free: 6.625 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007466/0.4312, allocations: 2.501 MB / 0.5605 GB, free: 4.117 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.4345, allocations: 1.31 MB / 0.5618 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01284/0.4474, allocations: 8.625 MB / 0.5702 GB, free: 10.16 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008552/0.456, allocations: 5.534 MB / 0.5756 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005343/0.4613, allocations: 2.575 MB / 0.5782 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005755/0.4671, allocations: 3.205 MB / 0.5813 GB, free: 14.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001999/0.4691, allocations: 0.4922 MB / 0.5818 GB, free: 14.27 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003663/0.4728, allocations: 1.264 MB / 0.583 GB, free: 13.01 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003973/0.4768, allocations: 2.868 MB / 0.5858 GB, free: 10.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005839/0.4827, allocations: 3.038 MB / 0.5888 GB, free: 7.078 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01231/0.495, allocations: 9.143 MB / 0.5977 GB, free: 13.9 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.495, allocations: 4 kB / 0.5977 GB, free: 13.9 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4951, allocations: 0 / 0.5977 GB, free: 13.9 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003788/0.4954, allocations: 0 / 0.5977 GB, free: 13.9 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02355/0.519, allocations: 7.18 MB / 0.6047 GB, free: 6.637 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.5191, allocations: 9.469 kB / 0.6047 GB, free: 6.629 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01365/0.5327, allocations: 1.948 MB / 0.6066 GB, free: 4.672 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01502/0.5478, allocations: 5.555 MB / 0.612 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000366/0.5482, allocations: 325.7 kB / 0.6124 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.5496, allocations: 415.6 kB / 0.6128 GB, free: 14.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02447/0.5741, allocations: 11 MB / 0.6235 GB, free: 2.742 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003096/0.5745, allocations: 55.55 kB / 0.6236 GB, free: 2.688 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001324/0.5758, allocations: 179.9 kB / 0.6237 GB, free: 2.512 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00346/0.5793, allocations: 1.729 MB / 0.6254 GB, free: 0.7773 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02215/0.6014, allocations: 9.54 MB / 0.6347 GB, free: 7.215 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06913/0.6706, allocations: 45.1 MB / 0.6788 GB, free: 8.898 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02327/0.6939, allocations: 7.89 MB / 0.6865 GB, free: 0.9922 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00695/0.7009, allocations: 5.376 MB / 0.6917 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02517/0.7261, allocations: 13.27 MB / 0.7047 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.217e-05/0.7263, allocations: 64.8 kB / 0.7048 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 7.745e-06/0.7263, allocations: 0 / 0.7048 GB, free: 13.98 MB / 0.5606 GB Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -2! There are 2 unassigned equations and 0 potential states. Error: Internal error - IndexReduction.selectDummyDerivatives2new failed! Error: Internal error - IndexReduction.processComps4New failed! Error: Internal error - IndexReduction.dynamicStateSelectionWork failed! Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint could not be translated