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.001089/0.001089, allocations: 107.8 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001244/0.001244, allocations: 203.9 kB / 19.4 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.356/1.356, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2229/0.2229, allocations: 46.08 MB / 344.9 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00238/0.00238, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3511, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint): time 0.01704/0.3682, allocations: 16.8 MB / 0.5481 GB, free: 404 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01242/0.3806, allocations: 5.482 MB / 0.5534 GB, free: 11.38 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.384, allocations: 135.5 kB / 0.5536 GB, free: 11.24 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008271/0.3923, allocations: 4.645 MB / 0.5581 GB, free: 6.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006491/0.3988, allocations: 2.424 MB / 0.5605 GB, free: 4.148 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.4017, allocations: 1.303 MB / 0.5617 GB, free: 2.844 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0115/0.4133, allocations: 8.628 MB / 0.5702 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006014/0.4193, allocations: 5.527 MB / 0.5756 GB, free: 4.609 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003772/0.4231, allocations: 2.582 MB / 0.5781 GB, free: 2.02 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005397/0.4285, allocations: 3.202 MB / 0.5812 GB, free: 14.81 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001195/0.4297, allocations: 0.4922 MB / 0.5817 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00301/0.4327, allocations: 1.264 MB / 0.5829 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002734/0.4355, allocations: 2.872 MB / 0.5857 GB, free: 10.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004177/0.4397, allocations: 3.038 MB / 0.5887 GB, free: 7.117 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01044/0.4501, allocations: 9.143 MB / 0.5976 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4502, allocations: 0 / 0.5976 GB, free: 13.94 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.4502, allocations: 0 / 0.5976 GB, free: 13.94 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002407/0.4504, allocations: 0 / 0.5976 GB, free: 13.94 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.01679/0.4672, allocations: 7.172 MB / 0.6046 GB, free: 6.688 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.4673, allocations: 13.47 kB / 0.6046 GB, free: 6.676 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.4785, allocations: 1.944 MB / 0.6065 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.4901, allocations: 5.559 MB / 0.612 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002937/0.4905, allocations: 329.6 kB / 0.6123 GB, free: 14.76 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00121/0.4917, allocations: 411.6 kB / 0.6127 GB, free: 14.36 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.5133, allocations: 11.01 MB / 0.6234 GB, free: 2.777 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002724/0.5136, allocations: 55.55 kB / 0.6235 GB, free: 2.723 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/0.5147, allocations: 179.9 kB / 0.6237 GB, free: 2.547 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003123/0.5178, allocations: 1.721 MB / 0.6253 GB, free: 0.8203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02142/0.5393, allocations: 9.547 MB / 0.6347 GB, free: 7.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06241/0.6017, allocations: 45.1 MB / 0.6787 GB, free: 8.938 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02214/0.6239, allocations: 7.88 MB / 0.6864 GB, free: 1.035 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00663/0.6306, allocations: 5.38 MB / 0.6917 GB, free: 11.64 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02022/0.6508, allocations: 13.27 MB / 0.7046 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.718e-05/0.6509, allocations: 60.8 kB / 0.7047 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=283): time 5.52e-06/0.6509, allocations: 0 / 0.7047 GB, free: 14.03 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