Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 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 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 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_3.2.3_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_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.001022/0.001022, allocations: 116.6 kB / 17.09 MB, free: 5.988 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.000983/0.000983, allocations: 198.9 kB / 18.02 MB, free: 5.066 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.1 MB / 223.9 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2076/0.2076, allocations: 43.51 MB / 314.8 MB, free: 464 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001365/0.001365, allocations: 73.41 kB / 442.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1174, allocations: 57.79 MB / 0.4886 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.02956/0.147, allocations: 29.12 MB / 0.517 GB, free: 14.51 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02083/0.1679, allocations: 8.858 MB / 0.5257 GB, free: 5.629 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007575/0.1755, allocations: 239.3 kB / 0.5259 GB, free: 5.395 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.3028/0.4784, allocations: 13.65 MB / 0.5392 GB, free: 3.816 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01188/0.4903, allocations: 4.131 MB / 0.5433 GB, free: 3.578 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01048/0.5008, allocations: 5.1 MB / 0.5482 GB, free: 3.457 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02062/0.5215, allocations: 12.64 MB / 0.5606 GB, free: 2.859 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02321/0.5447, allocations: 18.26 MB / 0.5784 GB, free: 7.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01114/0.5559, allocations: 5.525 MB / 0.5838 GB, free: 2.027 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01196/0.5679, allocations: 7.467 MB / 0.5911 GB, free: 11 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004708/0.5726, allocations: 1.488 MB / 0.5926 GB, free: 9.512 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007292/0.5799, allocations: 2.649 MB / 0.5952 GB, free: 6.918 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.009894/0.5899, allocations: 7.035 MB / 0.602 GB, free: 15.9 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01617/0.6061, allocations: 7.718 MB / 0.6096 GB, free: 8.168 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02892/0.635, allocations: 24.88 MB / 0.6339 GB, free: 15.72 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.635, allocations: 4 kB / 0.6339 GB, free: 15.71 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.635, allocations: 0 / 0.6339 GB, free: 15.71 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0008957/0.6359, allocations: 0 / 0.6339 GB, free: 15.71 MB / 494.1 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.0468/0.6828, allocations: 15.34 MB / 0.6488 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.6828, allocations: 11.89 kB / 0.6489 GB, free: 496 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04081/0.7237, allocations: 5.311 MB / 0.654 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0247/0.7484, allocations: 9.02 MB / 0.6628 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009406/0.7493, allocations: 0.8878 MB / 0.6637 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005669/0.755, allocations: 1.517 MB / 0.6652 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07046/0.8255, allocations: 31.78 MB / 0.6962 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006208/0.8262, allocations: 119 kB / 0.6963 GB, free: 14.66 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003804/0.83, allocations: 0.535 MB / 0.6969 GB, free: 14.21 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006232/0.8363, allocations: 4.353 MB / 0.7011 GB, free: 9.871 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05693/0.8932, allocations: 26.38 MB / 0.7269 GB, free: 15.48 MB / 0.5762 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.6237/1.517, allocations: 110.5 MB / 0.8348 GB, free: 116.5 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03154/1.549, allocations: 12.52 MB / 0.8471 GB, free: 112.3 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007722/1.556, allocations: 6.205 MB / 0.8531 GB, free: 109 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003586/1.56, allocations: 4.829 MB / 0.8578 GB, free: 104.4 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.581e-05/1.56, allocations: 83.98 kB / 0.8579 GB, free: 104.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=435): time 1.306e-05/1.56, allocations: 0 / 0.8579 GB, free: 104.3 MB / 0.5919 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