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.001416/0.001416, allocations: 112.7 kB / 16.42 MB, free: 6.453 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.001302/0.001302, allocations: 185.7 kB / 17.35 MB, free: 5.734 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.512/1.512, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DeltaRobot 1.0.2/package.mo): time 0.02687/0.02687, allocations: 5.224 MB / 296.4 MB, free: 9.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.89 kB / 409.8 MB, free: 26.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1103, allocations: 50.57 MB / 460.3 MB, free: 7.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DeltaRobot.Scenarios.DeltaRobot_IdealActVel_Scenario1): time 0.04908/0.1595, allocations: 46.57 MB / 0.495 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3743/0.5338, allocations: 15.41 MB / 0.5101 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01342/0.5473, allocations: 387 kB / 0.5104 GB, free: 3.34 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03017/0.5775, allocations: 16.09 MB / 0.5261 GB, free: 1.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02383/0.6014, allocations: 8.224 MB / 0.5342 GB, free: 13.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01125/0.6127, allocations: 4.356 MB / 0.5384 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04252/0.6553, allocations: 28.62 MB / 0.5664 GB, free: 4.438 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04326/0.6986, allocations: 24.61 MB / 0.5904 GB, free: 12.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02122/0.7199, allocations: 9.711 MB / 0.5999 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02674/0.7467, allocations: 13.41 MB / 0.613 GB, free: 6.047 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01082/0.7576, allocations: 2.992 MB / 0.6159 GB, free: 3.055 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01692/0.7745, allocations: 4.932 MB / 0.6207 GB, free: 14.24 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02274/0.7973, allocations: 11.87 MB / 0.6323 GB, free: 2.406 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0357/0.8331, allocations: 13.31 MB / 0.6453 GB, free: 5.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0694/0.9025, allocations: 42.68 MB / 0.687 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.796e-06/0.9026, allocations: 0 / 0.687 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.695e-06/0.9026, allocations: 0 / 0.687 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.002001/0.9046, allocations: 0 / 0.687 GB, free: 11.09 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.6942/1.599, allocations: 28.31 MB / 0.7146 GB, free: 171.1 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 7.049e-05/1.599, allocations: 12.64 kB / 0.7147 GB, free: 171.1 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05371/1.653, allocations: 8.046 MB / 0.7225 GB, free: 170.1 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06188/1.715, allocations: 27.2 MB / 0.7491 GB, free: 156.4 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001218/1.716, allocations: 1.057 MB / 0.7501 GB, free: 156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01017/1.726, allocations: 1.521 MB / 0.7516 GB, free: 155.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1057/1.832, allocations: 45.2 MB / 0.7957 GB, free: 109.9 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001226/1.833, allocations: 182.7 kB / 0.7959 GB, free: 109.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00837/1.841, allocations: 0.642 MB / 0.7965 GB, free: 109.1 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008993/1.85, allocations: 6.077 MB / 0.8025 GB, free: 103.1 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09313/1.944, allocations: 40.31 MB / 0.8418 GB, free: 62.78 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9389/2.883, allocations: 179.5 MB / 1.017 GB, free: 94.19 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.09338/2.976, allocations: 33.45 MB / 1.05 GB, free: 83.92 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0249/3.001, allocations: 16.99 MB / 1.066 GB, free: 74.46 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1286/3.13, allocations: 75.82 MB / 1.14 GB, free: 4.055 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4597/3.589, allocations: 26.72 MB / 1.167 GB, free: 199.1 MB / 0.592 GB Notification: Performance of pre-optimization done (n=897): time 4.964e-05/3.589, allocations: 0 / 1.167 GB, free: 199.1 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