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.001166/0.001166, allocations: 113.9 kB / 17.09 MB, free: 5.953 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.001305/0.001305, allocations: 198.8 kB / 18.03 MB, free: 5.035 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.543/1.543, allocations: 205.1 MB / 223.9 MB, free: 12.22 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.2098/0.2098, allocations: 43.53 MB / 314.8 MB, free: 452 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.001621/0.001621, allocations: 69.47 kB / 442.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1203, allocations: 57.8 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.03045/0.1508, allocations: 29.12 MB / 0.517 GB, free: 14.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0208/0.1716, allocations: 8.85 MB / 0.5257 GB, free: 5.625 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006702/0.1784, allocations: 243.2 kB / 0.5259 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2734/0.4518, allocations: 13.66 MB / 0.5392 GB, free: 3.836 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.4646, allocations: 4.252 MB / 0.5434 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0109/0.4756, allocations: 5.101 MB / 0.5484 GB, free: 3.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.02381/0.4994, allocations: 12.64 MB / 0.5607 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02589/0.5254, allocations: 18.26 MB / 0.5786 GB, free: 7.094 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01094/0.5364, allocations: 5.528 MB / 0.584 GB, free: 1.859 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01188/0.5483, allocations: 7.463 MB / 0.5912 GB, free: 10.83 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00473/0.553, allocations: 1.488 MB / 0.5927 GB, free: 9.344 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007772/0.5608, allocations: 2.649 MB / 0.5953 GB, free: 6.754 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0103/0.5712, allocations: 7.04 MB / 0.6022 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01423/0.5855, allocations: 7.714 MB / 0.6097 GB, free: 8.004 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03135/0.6168, allocations: 24.96 MB / 0.6341 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6169, allocations: 0 / 0.6341 GB, free: 15.46 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6169, allocations: 0 / 0.6341 GB, free: 15.46 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.0007552/0.6176, allocations: 0 / 0.6341 GB, free: 15.46 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.04118/0.6588, allocations: 15.72 MB / 0.6494 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 7.598e-05/0.6589, allocations: 15.89 kB / 0.6494 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04296/0.7019, allocations: 5.388 MB / 0.6547 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02166/0.7236, allocations: 9.055 MB / 0.6635 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008662/0.7245, allocations: 0.8824 MB / 0.6644 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006274/0.7308, allocations: 1.522 MB / 0.6659 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1112/0.842, allocations: 31.78 MB / 0.6969 GB, free: 14.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008821/0.8429, allocations: 115.2 kB / 0.697 GB, free: 13.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005287/0.8483, allocations: 0.5267 MB / 0.6975 GB, free: 13.47 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007176/0.8555, allocations: 4.358 MB / 0.7018 GB, free: 9.125 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05802/0.9135, allocations: 26.38 MB / 0.7276 GB, free: 14.73 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.5797/1.493, allocations: 110.8 MB / 0.8357 GB, free: 116 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03284/1.526, allocations: 12.53 MB / 0.848 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007377/1.534, allocations: 6.205 MB / 0.854 GB, free: 108.2 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003295/1.537, allocations: 4.824 MB / 0.8587 GB, free: 103.6 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.624e-05/1.537, allocations: 87.73 kB / 0.8588 GB, free: 103.5 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=435): time 6.802e-06/1.537, allocations: 0 / 0.8588 GB, free: 103.5 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