Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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) 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(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_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_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 114.3 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001361/0.001361, allocations: 206.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002107/0.002107, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 50.53 MB / 409.9 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.0186/0.3257, allocations: 18.69 MB / 428.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01056/0.3363, allocations: 6.151 MB / 434.8 MB, free: 8.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.3377, allocations: 147.5 kB / 434.9 MB, free: 8.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009636/0.3474, allocations: 6.028 MB / 440.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004548/0.352, allocations: 2.611 MB / 443.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.3561, allocations: 2.385 MB / 445.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006914/0.363, allocations: 6.652 MB / 452.6 MB, free: 6.785 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007813/0.3708, allocations: 8.073 MB / 460.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002924/0.3737, allocations: 2.836 MB / 463.5 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003791/0.3776, allocations: 3.517 MB / 467 MB, free: 8.246 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009414/0.3785, allocations: 0.6328 MB / 467.7 MB, free: 7.613 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002958/0.3815, allocations: 1.838 MB / 469.5 MB, free: 5.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.3842, allocations: 3.328 MB / 472.8 MB, free: 2.438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003346/0.3876, allocations: 3.726 MB / 476.5 MB, free: 14.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4015, allocations: 11.92 MB / 488.5 MB, free: 2.73 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4015, allocations: 0 / 488.5 MB, free: 2.73 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.4015, allocations: 0 / 488.5 MB, free: 2.73 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001936/0.4017, allocations: 0 / 488.5 MB, free: 2.73 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2312 * Number of variables: 2312 Notification: Performance of Generate backend data structure: time 0.01678/0.4185, allocations: 8.462 MB / 496.9 MB, free: 10.17 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4186, allocations: 8.031 kB / 496.9 MB, free: 10.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007189/0.4258, allocations: 2.262 MB / 499.2 MB, free: 7.891 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006908/0.4327, allocations: 4.08 MB / 0.4915 GB, free: 3.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002888/0.433, allocations: 431.2 kB / 0.4919 GB, free: 3.309 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001021/0.434, allocations: 0.57 MB / 0.4924 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02728/0.4613, allocations: 16.34 MB / 0.5084 GB, free: 1.5 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000169/0.4615, allocations: 59.52 kB / 0.5085 GB, free: 1.441 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000689/0.4622, allocations: 263.8 kB / 0.5087 GB, free: 1.184 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003715/0.466, allocations: 2.51 MB / 0.5112 GB, free: 14.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02693/0.4929, allocations: 13.98 MB / 0.5248 GB, free: 0.6562 MB / 446.1 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.3701/0.863, allocations: 61.79 MB / 0.5852 GB, free: 77.83 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01844/0.8815, allocations: 7.571 MB / 0.5926 GB, free: 70.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003421/0.8849, allocations: 3.938 MB / 0.5964 GB, free: 66.79 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0172/0.9021, allocations: 16.68 MB / 0.6127 GB, free: 49.78 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.62e-05/0.9022, allocations: 57.3 kB / 0.6127 GB, free: 49.71 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 4.458e-06/0.9022, allocations: 0 / 0.6127 GB, free: 49.71 MB / 462.1 MB 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! Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint could not be translated