Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_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_3.2.3_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002736/0.002736, allocations: 175.6 kB / 17.39 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.516/2.516, allocations: 205.4 MB / 223.5 MB, free: 9 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 90.59 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005354/0.0005364, allocations: 8 kB / 328.2 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5066/0.5071, allocations: 47.57 MB / 375.8 MB, free: 45.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.08657/0.5938, allocations: 78.11 MB / 453.9 MB, free: 2.402 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.07249/0.6664, allocations: 16.53 MB / 470.4 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03226/0.6988, allocations: 390.9 kB / 470.8 MB, free: 1.438 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02078/0.7196, allocations: 3.643 MB / 474.4 MB, free: 13.78 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05236/0.7721, allocations: 10.63 MB / 485 MB, free: 3.113 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01089/0.783, allocations: 1.088 MB / 486.1 MB, free: 2.023 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.02008/0.8032, allocations: 7.849 MB / 494 MB, free: 10.16 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5686/1.372, allocations: 10.7 MB / 0.4928 GB, free: 8.973 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01182/1.384, allocations: 2.155 MB / 0.4949 GB, free: 8.973 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01245/1.396, allocations: 3.047 MB / 0.4979 GB, free: 8.973 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004214/1.401, allocations: 231.3 kB / 0.4981 GB, free: 8.973 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01031/1.411, allocations: 1.512 MB / 0.4996 GB, free: 8.973 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01188/1.423, allocations: 2.816 MB / 0.5024 GB, free: 8.973 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0176/1.441, allocations: 3.059 MB / 0.5054 GB, free: 8.941 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.03216/1.473, allocations: 9.546 MB / 0.5147 GB, free: 8.379 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.322e-05/1.473, allocations: 2.406 kB / 0.5147 GB, free: 8.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.346e-06/1.473, allocations: 0 / 0.5147 GB, free: 8.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.001223/1.474, allocations: 0 / 0.5147 GB, free: 8.379 MB / 378.7 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.03751/1.512, allocations: 6.811 MB / 0.5213 GB, free: 4.961 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.815e-05/1.512, allocations: 6.469 kB / 0.5213 GB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/1.525, allocations: 2.318 MB / 0.5236 GB, free: 3.848 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01548/1.54, allocations: 4.191 MB / 0.5277 GB, free: 2.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009405/1.541, allocations: 436.6 kB / 0.5281 GB, free: 2.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005303/1.547, allocations: 0.577 MB / 0.5287 GB, free: 2.418 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06252/1.609, allocations: 16.81 MB / 0.5451 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009087/1.61, allocations: 59.75 kB / 0.5451 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004861/1.615, allocations: 262.4 kB / 0.5454 GB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006658/1.622, allocations: 2.64 MB / 0.548 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04784/1.67, allocations: 14.38 MB / 0.562 GB, free: 1.109 MB / 394.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.1532/1.823, allocations: 63.29 MB / 0.6238 GB, free: 13.23 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02662/1.85, allocations: 7.725 MB / 0.6314 GB, free: 6.965 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008029/1.858, allocations: 3.984 MB / 0.6353 GB, free: 3.312 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03764/1.895, allocations: 16.77 MB / 0.6516 GB, free: 2.105 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.228e-05/1.896, allocations: 56.56 kB / 0.6517 GB, free: 2.043 MB / 474.7 MB Notification: Performance of pre-optimization done (n=274): time 1.157e-05/1.896, allocations: 0 / 0.6517 GB, free: 2.043 MB / 474.7 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!