Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 110.6 kB / 18.4 MB, free: 4.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 190.1 kB / 19.34 MB, free: 3.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.24/1.24, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 55.92 kB / 329.2 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06853/0.06973, allocations: 46.61 MB / 375.8 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.1541/0.2238, allocations: 19.74 MB / 395.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01229/0.2361, allocations: 6.281 MB / 401.8 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002354/0.2385, allocations: 151.8 kB / 402 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01013/0.2487, allocations: 6.054 MB / 408 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00563/0.2543, allocations: 2.662 MB / 410.7 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00437/0.2587, allocations: 2.404 MB / 413.1 MB, free: 6.621 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007166/0.2659, allocations: 6.668 MB / 419.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007683/0.2736, allocations: 8.149 MB / 427.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003215/0.2768, allocations: 2.906 MB / 430.8 MB, free: 8.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/0.2806, allocations: 3.614 MB / 434.4 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001035/0.2816, allocations: 0.6562 MB / 435.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003083/0.2847, allocations: 1.849 MB / 437 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002658/0.2874, allocations: 3.437 MB / 440.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003718/0.2911, allocations: 3.854 MB / 444.2 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01078/0.3019, allocations: 12.26 MB / 456.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.302, allocations: 4 kB / 456.5 MB, free: 14.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.302, allocations: 4 kB / 456.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001675/0.3021, allocations: 0 / 456.5 MB, free: 14.59 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.01476/0.3169, allocations: 8.349 MB / 464.9 MB, free: 6.164 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.317, allocations: 12.03 kB / 464.9 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007597/0.3246, allocations: 2.265 MB / 467.1 MB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006602/0.3312, allocations: 4.282 MB / 471.4 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/0.3315, allocations: 435.7 kB / 471.8 MB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009591/0.3324, allocations: 0.5933 MB / 472.4 MB, free: 14.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02759/0.36, allocations: 16.8 MB / 489.2 MB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001734/0.3602, allocations: 55.47 kB / 489.3 MB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006979/0.361, allocations: 267.8 kB / 489.6 MB, free: 12.48 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00396/0.3649, allocations: 2.643 MB / 492.2 MB, free: 9.832 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02685/0.3918, allocations: 14.4 MB / 0.4947 GB, free: 11.41 MB / 430.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.3719/0.7637, allocations: 62.99 MB / 0.5562 GB, free: 111.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02223/0.786, allocations: 7.641 MB / 0.5637 GB, free: 110.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004575/0.7906, allocations: 3.994 MB / 0.5676 GB, free: 110.8 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01938/0.81, allocations: 16.79 MB / 0.584 GB, free: 102.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.81, allocations: 65 kB / 0.5841 GB, free: 102.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 5.239e-06/0.81, allocations: 0 / 0.5841 GB, free: 102.8 MB / 478.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