Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DeltaRobot_DeltaRobot.Scenarios.DeltaRobot_IdealActVel_Scenario1.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo", uses=false) Using package DeltaRobot with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo) 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(DeltaRobot.Scenarios.DeltaRobot_IdealActVel_Scenario1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Scenarios.DeltaRobot_IdealActVel_Scenario1") translateModel(DeltaRobot.Scenarios.DeltaRobot_IdealActVel_Scenario1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="DeltaRobot_DeltaRobot.Scenarios.DeltaRobot_IdealActVel_Scenario1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 118.8 kB / 16.42 MB, free: 6.496 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.00132/0.00132, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.396/1.396, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.0256/0.0256, allocations: 5.22 MB / 296.4 MB, free: 9.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 64.09 kB / 409.7 MB, free: 26.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1173, allocations: 50.57 MB / 460.3 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Scenarios.DeltaRobot_IdealActVel_Scenario1): time 0.04352/0.1609, allocations: 46.57 MB / 0.495 GB, free: 8.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3494/0.5103, allocations: 15.41 MB / 0.5101 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0135/0.5238, allocations: 385.3 kB / 0.5104 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03096/0.5548, allocations: 16.09 MB / 0.5261 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0243/0.5792, allocations: 8.221 MB / 0.5342 GB, free: 13.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01019/0.5894, allocations: 4.351 MB / 0.5384 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.05004/0.6395, allocations: 28.61 MB / 0.5664 GB, free: 4.352 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04225/0.6818, allocations: 24.62 MB / 0.5904 GB, free: 11.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02055/0.7024, allocations: 9.709 MB / 0.5999 GB, free: 2.734 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02382/0.7263, allocations: 13.41 MB / 0.613 GB, free: 5.945 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01182/0.7381, allocations: 2.992 MB / 0.6159 GB, free: 2.953 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01607/0.7542, allocations: 4.936 MB / 0.6207 GB, free: 14.14 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01854/0.7728, allocations: 11.85 MB / 0.6323 GB, free: 2.32 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03114/0.804, allocations: 13.32 MB / 0.6453 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.06217/0.8663, allocations: 42.55 MB / 0.6869 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.8663, allocations: 0 / 0.6869 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.464e-06/0.8663, allocations: 0 / 0.6869 GB, free: 11.15 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.001607/0.868, allocations: 0 / 0.6869 GB, free: 11.15 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5436 * Number of variables: 5436 Notification: Performance of Generate backend data structure: time 0.7028/1.571, allocations: 27.66 MB / 0.7139 GB, free: 170.9 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.374e-05/1.571, allocations: 9.031 kB / 0.7139 GB, free: 170.9 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05415/1.625, allocations: 7.927 MB / 0.7216 GB, free: 170 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06441/1.69, allocations: 27.08 MB / 0.7481 GB, free: 155.7 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00105/1.691, allocations: 1.058 MB / 0.7491 GB, free: 155.3 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009094/1.7, allocations: 1.517 MB / 0.7506 GB, free: 154.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1154/1.815, allocations: 45.2 MB / 0.7947 GB, free: 110.2 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001558/1.817, allocations: 186.3 kB / 0.7949 GB, free: 110 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009401/1.826, allocations: 0.6379 MB / 0.7955 GB, free: 109.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01029/1.837, allocations: 6.075 MB / 0.8015 GB, free: 103.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09517/1.932, allocations: 40.3 MB / 0.8408 GB, free: 63.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9775/2.909, allocations: 179.3 MB / 1.016 GB, free: 93.82 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1026/3.012, allocations: 33.44 MB / 1.049 GB, free: 83.63 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03989/3.052, allocations: 17 MB / 1.065 GB, free: 74.17 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1402/3.192, allocations: 75.79 MB / 1.139 GB, free: 4.18 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4539/3.646, allocations: 26.72 MB / 1.165 GB, free: 199 MB / 0.592 GB Notification: Performance of pre-optimization done (n=897): time 7.587e-05/3.646, allocations: 0 / 1.165 GB, free: 199 MB / 0.592 GB Error: Internal error Selection of DummyDerivatives failed due to negative system rank of -135! There are 143 unassigned equations and 8 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 DeltaRobot.Scenarios.DeltaRobot_IdealActVel_Scenario1 could not be translated