Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.frame_a.r_0.1.|bodyBox.body.frame_a.r_0.2.|bodyBox.body.frame_a.r_0.3.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|sphericalSpherical.v_CM_0.1.|sphericalSpherical.v_CM_0.2.|sphericalSpherical.v_CM_0.3.|sphericalSpherical1.v_CM_0.1.|sphericalSpherical1.v_CM_0.2.|sphericalSpherical1.v_CM_0.3.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 113.9 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 190 kB / 19.39 MB, free: 3.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2095/0.2095, allocations: 44.19 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 55.91 kB / 471.2 MB, free: 13.14 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4105, allocations: 60.83 MB / 0.5196 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.03164/0.4422, allocations: 27.23 MB / 0.5462 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01982/0.4621, allocations: 8.542 MB / 0.5545 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007398/0.4695, allocations: 235.2 kB / 0.5548 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02458/0.4941, allocations: 13.6 MB / 0.568 GB, free: 10.31 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01422/0.5085, allocations: 3.976 MB / 0.5719 GB, free: 6.316 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01219/0.5207, allocations: 5.11 MB / 0.5769 GB, free: 1.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02074/0.5415, allocations: 12.63 MB / 0.5893 GB, free: 4.535 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02233/0.5639, allocations: 18.03 MB / 0.6069 GB, free: 2.375 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01018/0.5741, allocations: 5.334 MB / 0.6121 GB, free: 13.03 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01144/0.5856, allocations: 7.079 MB / 0.619 GB, free: 5.93 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005047/0.5907, allocations: 1.418 MB / 0.6204 GB, free: 4.512 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00766/0.5983, allocations: 2.599 MB / 0.6229 GB, free: 1.91 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009956/0.6083, allocations: 6.739 MB / 0.6295 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01446/0.6228, allocations: 7.357 MB / 0.6367 GB, free: 3.762 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0357/0.6585, allocations: 23.72 MB / 0.6598 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.057e-06/0.6586, allocations: 4 kB / 0.6598 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6586, allocations: 0 / 0.6598 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.001013/0.6596, allocations: 0 / 0.6598 GB, free: 11.95 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4369 * Number of variables: 4369 Notification: Performance of Generate backend data structure: time 0.04574/0.7054, allocations: 15.1 MB / 0.6746 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.7055, allocations: 8.031 kB / 0.6746 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03965/0.7451, allocations: 5.29 MB / 0.6798 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0219/0.7671, allocations: 8.658 MB / 0.6882 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008914/0.768, allocations: 0.8503 MB / 0.689 GB, free: 13.83 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005938/0.774, allocations: 1.491 MB / 0.6905 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6404/1.414, allocations: 30.23 MB / 0.72 GB, free: 149.5 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006195/1.415, allocations: 105.8 kB / 0.7201 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003573/1.419, allocations: 0.514 MB / 0.7206 GB, free: 149.4 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006259/1.425, allocations: 4.025 MB / 0.7245 GB, free: 148.6 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05138/1.476, allocations: 24.9 MB / 0.7489 GB, free: 137.6 MB / 0.5607 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1111/1.588, allocations: 106.3 MB / 0.8526 GB, free: 31.89 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02915/1.617, allocations: 11.95 MB / 0.8643 GB, free: 19.79 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006629/1.623, allocations: 5.931 MB / 0.8701 GB, free: 13.84 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003107/1.627, allocations: 4.818 MB / 0.8748 GB, free: 8.246 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/1.627, allocations: 81.09 kB / 0.8749 GB, free: 8.156 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=390): time 6.973e-06/1.627, allocations: 0 / 0.8749 GB, free: 8.156 MB / 0.5607 GB Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -10! There are 19 unassigned equations and 9 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.SphericalSpherical2 could not be translated