Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001093/0.001093, allocations: 178.2 kB / 17.39 MB, free: 4.398 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 223.5 MB, free: 9.008 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007384/0.0007381, allocations: 96.91 kB / 271.9 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3189/0.3189, allocations: 43.55 MB / 363.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.0003511, allocations: 16 kB / 432.6 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.117, allocations: 58.85 MB / 491.5 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.2833/0.4003, allocations: 115.1 MB / 0.5924 GB, free: 12 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.05531/0.4557, allocations: 24 MB / 0.6158 GB, free: 10.54 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02583/0.4816, allocations: 0.5688 MB / 0.6164 GB, free: 9.973 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01924/0.5008, allocations: 6.077 MB / 0.6223 GB, free: 4.098 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0482/0.5491, allocations: 17.28 MB / 0.6392 GB, free: 2.754 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009466/0.5586, allocations: 1.899 MB / 0.641 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.3355/0.894, allocations: 57.61 MB / 0.6973 GB, free: 33.18 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03351/0.9276, allocations: 24.96 MB / 0.7217 GB, free: 30.44 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007725/0.9354, allocations: 3.626 MB / 0.7252 GB, free: 30.13 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009416/0.9448, allocations: 5.966 MB / 0.731 GB, free: 26.51 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002967/0.9478, allocations: 476 kB / 0.7315 GB, free: 26.04 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006022/0.9539, allocations: 1.714 MB / 0.7332 GB, free: 24.65 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007684/0.9616, allocations: 5.636 MB / 0.7387 GB, free: 20.53 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0119/0.9735, allocations: 5.855 MB / 0.7444 GB, free: 18.58 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02002/0.9936, allocations: 19.76 MB / 0.7637 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.533e-06/0.9936, allocations: 0 / 0.7637 GB, free: 1.461 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.9936, allocations: 0 / 0.7637 GB, free: 1.461 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0009108/0.9946, allocations: 4 kB / 0.7637 GB, free: 1.457 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4612 * Number of variables: 4612 Notification: Performance of Generate backend data structure: time 0.03361/1.028, allocations: 12.32 MB / 0.7757 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/1.028, allocations: 12.03 kB / 0.7757 GB, free: 6.137 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04015/1.068, allocations: 5.409 MB / 0.781 GB, free: 0.8828 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02117/1.09, allocations: 8.892 MB / 0.7897 GB, free: 10.76 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009282/1.091, allocations: 0.8809 MB / 0.7905 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006505/1.097, allocations: 1.521 MB / 0.792 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07106/1.168, allocations: 31.8 MB / 0.8231 GB, free: 1.246 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006012/1.169, allocations: 112.3 kB / 0.8232 GB, free: 1.188 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004394/1.173, allocations: 0.5278 MB / 0.8237 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008412/1.182, allocations: 4.351 MB / 0.828 GB, free: 13.53 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07691/1.259, allocations: 26.35 MB / 0.8537 GB, free: 11.26 MB / 0.5573 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.6524/1.911, allocations: 111.2 MB / 0.9623 GB, free: 151.8 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03402/1.945, allocations: 12.64 MB / 0.9747 GB, free: 151.1 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009457/1.955, allocations: 6.186 MB / 0.9807 GB, free: 149.1 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004113/1.959, allocations: 4.828 MB / 0.9854 GB, free: 144.9 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001039/1.959, allocations: 81.86 kB / 0.9855 GB, free: 144.9 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=435): time 7.755e-06/1.959, allocations: 0 / 0.9855 GB, free: 144.9 MB / 0.5887 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!