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.001555/0.001555, allocations: 115.2 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 202.7 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.562/1.562, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2308/0.2308, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002594/0.002594, allocations: 75.86 kB / 482 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.488, allocations: 62.43 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical2): time 0.04747/0.5355, allocations: 26.76 MB / 0.5578 GB, free: 6.863 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04735/0.5829, allocations: 8.437 MB / 0.566 GB, free: 14.41 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009507/0.5925, allocations: 231.3 kB / 0.5663 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.08954/0.6821, allocations: 13.52 MB / 0.5795 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0339/0.7161, allocations: 3.831 MB / 0.5832 GB, free: 12.77 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.04197/0.7581, allocations: 5.09 MB / 0.5882 GB, free: 7.672 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.03221/0.7903, allocations: 12.73 MB / 0.6006 GB, free: 10.91 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0379/0.8283, allocations: 17.95 MB / 0.6181 GB, free: 8.84 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01328/0.8416, allocations: 5.241 MB / 0.6233 GB, free: 3.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02366/0.8653, allocations: 6.981 MB / 0.6301 GB, free: 12.59 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006133/0.8715, allocations: 1.395 MB / 0.6314 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.8863, allocations: 2.568 MB / 0.6339 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01748/0.9038, allocations: 6.579 MB / 0.6404 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0258/0.9297, allocations: 7.167 MB / 0.6474 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.05228/0.982, allocations: 23.08 MB / 0.6699 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.338e-06/0.9821, allocations: 0 / 0.6699 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.484e-06/0.9821, allocations: 0 / 0.6699 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0008927/0.983, allocations: 0 / 0.6699 GB, free: 3.664 MB / 0.5137 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.09703/1.08, allocations: 14.76 MB / 0.6843 GB, free: 4.773 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.816e-05/1.08, allocations: 8.031 kB / 0.6843 GB, free: 4.766 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08391/1.164, allocations: 5.419 MB / 0.6896 GB, free: 15.33 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03599/1.2, allocations: 8.403 MB / 0.6978 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001376/1.202, allocations: 0.8344 MB / 0.6986 GB, free: 6.016 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008865/1.21, allocations: 1.471 MB / 0.7001 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.066/2.276, allocations: 29.3 MB / 0.7287 GB, free: 143.7 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009866/2.277, allocations: 107.1 kB / 0.7288 GB, free: 143.6 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004682/2.282, allocations: 0.503 MB / 0.7293 GB, free: 143.3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008352/2.29, allocations: 3.737 MB / 0.7329 GB, free: 142.3 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07503/2.366, allocations: 24.22 MB / 0.7566 GB, free: 129.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.1763/2.542, allocations: 104.1 MB / 0.8582 GB, free: 23.91 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06515/2.607, allocations: 11.94 MB / 0.8699 GB, free: 11.81 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01248/2.62, allocations: 5.948 MB / 0.8757 GB, free: 5.844 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006329/2.626, allocations: 4.809 MB / 0.8804 GB, free: 264 kB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001116/2.626, allocations: 85.08 kB / 0.8805 GB, free: 168 kB / 0.5607 GB Notification: Performance of pre-optimization done (n=390): time 1.277e-05/2.626, allocations: 0 / 0.8805 GB, free: 168 kB / 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