Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.SphericalSpherical2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_ModelicaTest.MultiBody.Joints.SphericalSpherical2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001511/0.001511, allocations: 115.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 210.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.352/1.352, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2107/0.2107, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001761/0.001761, allocations: 75.89 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3354, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.02736/0.3628, allocations: 26.75 MB / 0.5578 GB, free: 6.906 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.01934/0.3822, allocations: 8.437 MB / 0.5661 GB, free: 14.45 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007204/0.3895, allocations: 235.2 kB / 0.5663 GB, free: 14.21 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02236/0.4119, allocations: 13.51 MB / 0.5795 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009111/0.421, allocations: 3.718 MB / 0.5831 GB, free: 12.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009787/0.4309, allocations: 5.094 MB / 0.5881 GB, free: 7.824 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01669/0.4476, allocations: 12.72 MB / 0.6005 GB, free: 11.07 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02097/0.4686, allocations: 17.94 MB / 0.618 GB, free: 8.996 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008252/0.4769, allocations: 5.241 MB / 0.6231 GB, free: 3.742 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01019/0.4871, allocations: 6.977 MB / 0.63 GB, free: 12.75 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004044/0.4912, allocations: 1.395 MB / 0.6313 GB, free: 11.35 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00647/0.4977, allocations: 2.564 MB / 0.6338 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008338/0.506, allocations: 6.587 MB / 0.6403 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01164/0.5177, allocations: 7.175 MB / 0.6473 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.02804/0.5458, allocations: 22.99 MB / 0.6697 GB, free: 3.914 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.5458, allocations: 4 kB / 0.6697 GB, free: 3.91 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.963e-06/0.5458, allocations: 0 / 0.6697 GB, free: 3.91 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.00095/0.5468, allocations: 0 / 0.6697 GB, free: 3.91 MB / 0.5138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4224 * Number of variables: 4224 Notification: Performance of Generate backend data structure: time 0.04054/0.5874, allocations: 14.4 MB / 0.6838 GB, free: 5.398 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.5874, allocations: 12.03 kB / 0.6838 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04212/0.6296, allocations: 5.344 MB / 0.689 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02158/0.6512, allocations: 8.372 MB / 0.6972 GB, free: 7.566 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009342/0.6522, allocations: 0.8383 MB / 0.698 GB, free: 6.727 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006368/0.6586, allocations: 1.464 MB / 0.6994 GB, free: 5.262 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5779/1.236, allocations: 29.31 MB / 0.7281 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004815/1.237, allocations: 111.4 kB / 0.7282 GB, free: 144.1 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001802/1.239, allocations: 0.4984 MB / 0.7287 GB, free: 143.8 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004478/1.243, allocations: 3.729 MB / 0.7323 GB, free: 142.9 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04461/1.288, allocations: 24.22 MB / 0.7559 GB, free: 130.2 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.1111/1.399, allocations: 103.9 MB / 0.8574 GB, free: 24.71 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03072/1.43, allocations: 11.94 MB / 0.869 GB, free: 12.61 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006848/1.437, allocations: 5.944 MB / 0.8748 GB, free: 6.648 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003414/1.44, allocations: 4.814 MB / 0.8795 GB, free: 1.055 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.483e-05/1.44, allocations: 73.16 kB / 0.8796 GB, free: 0.9727 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=390): time 8.085e-06/1.44, allocations: 0 / 0.8796 GB, free: 0.9727 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