Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001043/0.001043, allocations: 108.7 kB / 17.75 MB, free: 5.223 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.001013/0.001013, allocations: 190.4 kB / 18.67 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009553/0.0009553, allocations: 51.91 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2029, allocations: 49.43 MB / 401.4 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.01855/0.2215, allocations: 18.92 MB / 420.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01095/0.2325, allocations: 6.195 MB / 426.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002398/0.2349, allocations: 147.6 kB / 426.7 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009736/0.2447, allocations: 6.055 MB / 432.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.2494, allocations: 2.668 MB / 435.4 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004143/0.2536, allocations: 2.413 MB / 437.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006847/0.2605, allocations: 6.545 MB / 444.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008222/0.2687, allocations: 8.108 MB / 452.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003559/0.2723, allocations: 2.859 MB / 455.3 MB, free: 2.723 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003817/0.2761, allocations: 3.544 MB / 458.9 MB, free: 15.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008879/0.277, allocations: 0.6367 MB / 459.5 MB, free: 14.53 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002697/0.2797, allocations: 1.853 MB / 461.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002552/0.2823, allocations: 3.371 MB / 464.7 MB, free: 9.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003012/0.2853, allocations: 3.784 MB / 468.5 MB, free: 5.492 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009421/0.2947, allocations: 12.02 MB / 480.5 MB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2947, allocations: 0 / 480.5 MB, free: 9.438 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.005e-06/0.2947, allocations: 0 / 480.5 MB, free: 9.438 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0001024/0.2949, allocations: 3.938 kB / 480.5 MB, free: 9.434 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: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.01419/0.3091, allocations: 8.224 MB / 488.7 MB, free: 1.125 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.3091, allocations: 8.031 kB / 488.8 MB, free: 1.117 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0076/0.3167, allocations: 2.25 MB / 491 MB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007484/0.3242, allocations: 4.141 MB / 495.1 MB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002722/0.3245, allocations: 435.2 kB / 495.6 MB, free: 10.21 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009689/0.3255, allocations: 0.5661 MB / 496.1 MB, free: 9.641 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02529/0.3508, allocations: 16.51 MB / 0.5006 GB, free: 8.234 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001488/0.3509, allocations: 59.47 kB / 0.5007 GB, free: 8.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006802/0.3516, allocations: 259.8 kB / 0.5009 GB, free: 7.922 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003894/0.3555, allocations: 2.58 MB / 0.5035 GB, free: 5.332 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02489/0.3804, allocations: 14.11 MB / 0.5172 GB, free: 7.203 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.3732/0.7536, allocations: 62.12 MB / 0.5779 GB, free: 86.21 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01954/0.7732, allocations: 7.541 MB / 0.5853 GB, free: 82.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003321/0.7765, allocations: 3.94 MB / 0.5891 GB, free: 78.78 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.018/0.7945, allocations: 16.58 MB / 0.6053 GB, free: 61.81 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.7946, allocations: 68.12 kB / 0.6054 GB, free: 61.74 MB / 462.1 MB Notification: Performance of pre-optimization done (n=265): time 4.098e-06/0.7946, allocations: 0 / 0.6054 GB, free: 61.74 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