Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001114, allocations: 199.1 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 226.5 MB / 245.3 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007832/0.0007832, allocations: 89.86 kB / 297.4 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002371/0.0002371, allocations: 8 kB / 357.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2813/0.2816, allocations: 51.29 MB / 408.7 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.06522/0.3469, allocations: 77.4 MB / 486.1 MB, free: 14.05 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.04374/0.3907, allocations: 16.45 MB / 0.4908 GB, free: 13.56 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01937/0.4101, allocations: 387 kB / 0.4911 GB, free: 13.18 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01252/0.4227, allocations: 3.639 MB / 0.4947 GB, free: 9.527 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.3033/0.726, allocations: 10.55 MB / 0.505 GB, free: 4.168 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009308/0.7353, allocations: 1.082 MB / 0.506 GB, free: 4.141 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01703/0.7524, allocations: 7.875 MB / 0.5137 GB, free: 4.102 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02191/0.7744, allocations: 10.64 MB / 0.5241 GB, free: 18.76 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008396/0.7829, allocations: 2.119 MB / 0.5262 GB, free: 18.75 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009779/0.7927, allocations: 2.966 MB / 0.5291 GB, free: 18.75 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003272/0.7961, allocations: 222.1 kB / 0.5293 GB, free: 18.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007876/0.804, allocations: 1.49 MB / 0.5307 GB, free: 18.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007899/0.8119, allocations: 2.76 MB / 0.5334 GB, free: 18.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01173/0.8237, allocations: 2.997 MB / 0.5364 GB, free: 18.7 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01838/0.8421, allocations: 9.354 MB / 0.5455 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511e-05/0.8422, allocations: 0 / 0.5455 GB, free: 13.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.113e-06/0.8422, allocations: 6.516 kB / 0.5455 GB, free: 13.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0008923/0.8431, allocations: 1.781 kB / 0.5455 GB, free: 13.73 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.03188/0.875, allocations: 6.832 MB / 0.5522 GB, free: 8.871 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 9.654e-05/0.8751, allocations: 8.031 kB / 0.5522 GB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01254/0.8877, allocations: 2.299 MB / 0.5544 GB, free: 6.617 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01481/0.9026, allocations: 3.995 MB / 0.5583 GB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007498/0.9034, allocations: 427.1 kB / 0.5587 GB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004587/0.908, allocations: 0.5811 MB / 0.5593 GB, free: 3.129 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05307/0.9611, allocations: 16.5 MB / 0.5754 GB, free: 6.461 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007099/0.9619, allocations: 59.09 kB / 0.5755 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004059/0.9659, allocations: 266.9 kB / 0.5757 GB, free: 6.355 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005769/0.9717, allocations: 2.567 MB / 0.5782 GB, free: 4.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04068/1.012, allocations: 14.09 MB / 0.592 GB, free: 10.46 MB / 426.7 MB 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.1281/1.141, allocations: 62.4 MB / 0.6529 GB, free: 3.406 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/1.165, allocations: 7.619 MB / 0.6604 GB, free: 11.64 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006984/1.172, allocations: 3.928 MB / 0.6642 GB, free: 7.707 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03635/1.208, allocations: 16.58 MB / 0.6804 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.315e-05/1.208, allocations: 60.56 kB / 0.6805 GB, free: 6.617 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=265): time 8.015e-06/1.208, allocations: 2.906 kB / 0.6805 GB, free: 6.617 MB / 0.4948 GB Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -1! There are 5 unassigned equations and 4 potential states. Error: Internal error - IndexReduction.selectDummyDerivatives2new failed! Error: Internal error - IndexReduction.processComps4New failed! Error: Internal error - IndexReduction.dynamicStateSelectionWork failed!