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.001134/0.001134, allocations: 111 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.00123/0.001231, allocations: 211.9 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.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.89 kB / 359.4 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.208, allocations: 50.53 MB / 409.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.01867/0.2267, allocations: 18.69 MB / 428.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01062/0.2373, allocations: 6.159 MB / 434.8 MB, free: 8.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001412/0.2388, allocations: 147.5 kB / 434.9 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009636/0.2484, allocations: 6.016 MB / 440.9 MB, free: 2.664 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.2531, allocations: 2.603 MB / 443.5 MB, free: 52 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004075/0.2572, allocations: 2.397 MB / 445.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006959/0.2642, allocations: 6.657 MB / 452.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007603/0.2718, allocations: 8.077 MB / 460.7 MB, free: 14.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00293/0.2747, allocations: 2.832 MB / 463.5 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00367/0.2784, allocations: 3.513 MB / 467 MB, free: 8.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008311/0.2793, allocations: 0.6367 MB / 467.6 MB, free: 7.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002669/0.2819, allocations: 1.842 MB / 469.5 MB, free: 5.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002527/0.2845, allocations: 3.324 MB / 472.8 MB, free: 2.629 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002983/0.2875, allocations: 3.734 MB / 476.5 MB, free: 14.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009929/0.2974, allocations: 11.86 MB / 488.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2974, allocations: 0 / 488.4 MB, free: 2.977 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2974, allocations: 7.938 kB / 488.4 MB, free: 2.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001122/0.2976, allocations: 0 / 488.4 MB, free: 2.969 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.01525/0.3128, allocations: 8.247 MB / 496.7 MB, free: 10.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.3129, allocations: 12.03 kB / 496.7 MB, free: 10.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007266/0.3201, allocations: 2.222 MB / 498.9 MB, free: 8.391 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006322/0.3265, allocations: 4.059 MB / 0.4912 GB, free: 4.25 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002643/0.3268, allocations: 427.2 kB / 0.4916 GB, free: 3.832 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000991/0.3278, allocations: 0.5699 MB / 0.4921 GB, free: 3.262 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/0.3536, allocations: 16.34 MB / 0.5081 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001433/0.3537, allocations: 67.38 kB / 0.5082 GB, free: 1.957 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006411/0.3544, allocations: 259.8 kB / 0.5084 GB, free: 1.703 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003717/0.3581, allocations: 2.517 MB / 0.5109 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02526/0.3834, allocations: 13.98 MB / 0.5245 GB, free: 1.18 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.3687/0.7521, allocations: 61.67 MB / 0.5847 GB, free: 78.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01988/0.772, allocations: 7.588 MB / 0.5921 GB, free: 71.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003449/0.7755, allocations: 3.928 MB / 0.596 GB, free: 67.8 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0173/0.7928, allocations: 16.66 MB / 0.6122 GB, free: 50.72 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.7928, allocations: 62.52 kB / 0.6123 GB, free: 50.66 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 4.548e-06/0.7929, allocations: 0 / 0.6123 GB, free: 50.66 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