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.001302/0.001302, allocations: 108.9 kB / 18.45 MB, free: 4.637 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.001194/0.001194, allocations: 187.1 kB / 19.39 MB, free: 3.707 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.362/1.362, allocations: 222.9 MB / 243.1 MB, free: 15.07 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.2144/0.2144, allocations: 44.2 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.91 kB / 471.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3837, allocations: 60.82 MB / 0.5196 GB, free: 3.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.03381/0.4176, allocations: 27.24 MB / 0.5462 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02704/0.4447, allocations: 8.532 MB / 0.5545 GB, free: 8.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01065/0.4554, allocations: 235.2 kB / 0.5548 GB, free: 7.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02916/0.4846, allocations: 13.61 MB / 0.568 GB, free: 10.24 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01442/0.4991, allocations: 3.976 MB / 0.5719 GB, free: 6.246 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01253/0.5117, allocations: 5.098 MB / 0.5769 GB, free: 1.137 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.02052/0.5322, allocations: 12.64 MB / 0.5892 GB, free: 4.469 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03016/0.5624, allocations: 18.03 MB / 0.6069 GB, free: 2.309 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01131/0.5738, allocations: 5.338 MB / 0.6121 GB, free: 12.96 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0118/0.5856, allocations: 7.075 MB / 0.619 GB, free: 5.863 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.005567/0.5912, allocations: 1.418 MB / 0.6204 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008529/0.5998, allocations: 2.603 MB / 0.6229 GB, free: 1.84 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01162/0.6114, allocations: 6.739 MB / 0.6295 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01732/0.6288, allocations: 7.357 MB / 0.6367 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03687/0.6657, allocations: 23.71 MB / 0.6598 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/0.6658, allocations: 4 kB / 0.6598 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6658, allocations: 0 / 0.6598 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.00102/0.6668, allocations: 0 / 0.6598 GB, free: 11.89 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.04755/0.7144, allocations: 15.11 MB / 0.6746 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.7145, allocations: 8.031 kB / 0.6746 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04288/0.7573, allocations: 5.286 MB / 0.6798 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02475/0.7821, allocations: 8.672 MB / 0.6882 GB, free: 14.6 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009226/0.7831, allocations: 0.8503 MB / 0.6891 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007003/0.7901, allocations: 1.483 MB / 0.6905 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6505/1.441, allocations: 30.22 MB / 0.72 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006433/1.441, allocations: 112 kB / 0.7201 GB, free: 149.3 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003447/1.445, allocations: 0.5139 MB / 0.7206 GB, free: 149.2 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006462/1.451, allocations: 4.026 MB / 0.7246 GB, free: 148.4 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05403/1.505, allocations: 24.9 MB / 0.7489 GB, free: 137.5 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.1195/1.625, allocations: 106.3 MB / 0.8526 GB, free: 31.83 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03311/1.658, allocations: 11.94 MB / 0.8643 GB, free: 19.74 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006183/1.664, allocations: 5.939 MB / 0.8701 GB, free: 13.78 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003122/1.667, allocations: 4.814 MB / 0.8748 GB, free: 8.188 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/1.667, allocations: 87.5 kB / 0.8749 GB, free: 8.094 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=390): time 7.163e-06/1.667, allocations: 0 / 0.8749 GB, free: 8.094 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