Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00195/0.00195, allocations: 191.7 kB / 16.75 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.667/1.667, allocations: 226.5 MB / 244 MB, free: 6.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008895/0.0008892, allocations: 91.69 kB / 296.1 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4938/0.4938, allocations: 44.83 MB / 392.9 MB, free: 35.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003385/0.0003385, allocations: 8 kB / 465.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5082/0.5086, allocations: 62.97 MB / 0.5165 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.1128/0.6214, allocations: 113.4 MB / 0.6273 GB, free: 7.77 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.08185/0.7034, allocations: 23.7 MB / 0.6504 GB, free: 15.98 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04359/0.747, allocations: 0.5649 MB / 0.651 GB, free: 15.41 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02888/0.776, allocations: 6.034 MB / 0.6569 GB, free: 9.352 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06432/0.8404, allocations: 17.02 MB / 0.6735 GB, free: 8.266 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01479/0.8552, allocations: 1.915 MB / 0.6754 GB, free: 6.348 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.75/1.605, allocations: 98.16 MB / 0.7712 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0473/1.653, allocations: 24.7 MB / 0.7954 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01394/1.667, allocations: 3.446 MB / 0.7987 GB, free: 1.793 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01732/1.684, allocations: 5.586 MB / 0.8042 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.004721/1.689, allocations: 442 kB / 0.8046 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008886/1.698, allocations: 1.682 MB / 0.8062 GB, free: 12.07 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.01015/1.708, allocations: 5.381 MB / 0.8115 GB, free: 8.109 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.01532/1.723, allocations: 5.541 MB / 0.8169 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.03266/1.756, allocations: 18.81 MB / 0.8353 GB, free: 5.973 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 1.3e-05/1.756, allocations: 0 / 0.8353 GB, free: 5.973 MB / 0.5574 GB Notification: Performance of FrontEnd: time 5.4e-06/1.756, allocations: 0 / 0.8353 GB, free: 5.973 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.001432/1.757, allocations: 0 / 0.8353 GB, free: 5.973 MB / 0.5574 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.05674/1.814, allocations: 11.86 MB / 0.8469 GB, free: 11.09 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 8.803e-05/1.814, allocations: 8.031 kB / 0.8469 GB, free: 11.09 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04405/1.858, allocations: 5.531 MB / 0.8523 GB, free: 5.715 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02752/1.886, allocations: 8.336 MB / 0.8604 GB, free: 15.93 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001265/1.887, allocations: 0.8475 MB / 0.8612 GB, free: 15.46 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008832/1.896, allocations: 1.487 MB / 0.8627 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09045/1.987, allocations: 30.24 MB / 0.8922 GB, free: 7.547 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008724/1.988, allocations: 112 kB / 0.8923 GB, free: 7.484 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004697/1.992, allocations: 0.5074 MB / 0.8928 GB, free: 7.352 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007341/2, allocations: 4.021 MB / 0.8967 GB, free: 4.098 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.008/3.008, allocations: 24.88 MB / 0.921 GB, free: 227.6 MB / 0.6043 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.1912/3.199, allocations: 106.7 MB / 1.025 GB, free: 141.4 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03306/3.233, allocations: 12.08 MB / 1.037 GB, free: 129.2 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008361/3.241, allocations: 5.91 MB / 1.043 GB, free: 123.3 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004248/3.245, allocations: 4.814 MB / 1.047 GB, free: 117.7 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/3.245, allocations: 73.16 kB / 1.048 GB, free: 117.6 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=390): time 1.442e-05/3.245, allocations: 4 kB / 1.048 GB, free: 117.6 MB / 0.6043 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!