Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) 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/DroneLibrary 1.0.0/package.mo", uses=false) Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/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) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Running command: translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.07829/0.07829, allocations: 12.04 MB / 27.66 MB, free: 1.855 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009928/0.0009928, allocations: 111.3 kB / 31.38 MB, free: 5.273 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 180.4 kB / 35.21 MB, free: 1.461 MB / 26.18 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.531/1.531, allocations: 223.3 MB / 262.2 MB, free: 0.9492 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06204/0.06204, allocations: 13.69 MB / 329.9 MB, free: 1.152 MB / 254.1 MB Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries/ (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02118/0.02118, allocations: 17.45 MB / 415.6 MB, free: 28.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1666, allocations: 56.48 MB / 472.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 1.305/1.472, allocations: 370 MB / 0.8224 GB, free: 10.52 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1933/1.666, allocations: 62.42 MB / 0.8833 GB, free: 5.523 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.099/1.765, allocations: 1.485 MB / 0.8848 GB, free: 4.035 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.06815/1.833, allocations: 16.37 MB / 0.9008 GB, free: 3.594 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.7589/2.592, allocations: 46.29 MB / 0.946 GB, free: 16.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.03104/2.623, allocations: 3.868 MB / 0.9498 GB, free: 16.59 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.09562/2.718, allocations: 57.02 MB / 1.005 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08022/2.799, allocations: 38.68 MB / 1.043 GB, free: 11.69 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02612/2.825, allocations: 7.441 MB / 1.05 GB, free: 6.785 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02686/2.852, allocations: 11.37 MB / 1.062 GB, free: 14.84 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.009255/2.861, allocations: 0.8711 MB / 1.062 GB, free: 13.96 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01788/2.879, allocations: 2.937 MB / 1.065 GB, free: 11.5 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.02344/2.903, allocations: 10.37 MB / 1.075 GB, free: 3.887 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01815/2.921, allocations: 5.143 MB / 1.08 GB, free: 2.266 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.05984/2.981, allocations: 39.06 MB / 1.119 GB, free: 0.7422 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/2.981, allocations: 4 kB / 1.119 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.745e-06/2.981, allocations: 0 / 1.119 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.002219/2.983, allocations: 0 / 1.119 GB, free: 0.7383 MB / 0.67 GB Error: Too few equations, under-determined system. The model has 7645 equation(s) and 7735 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[3,3] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2427: droneChassis1.frame_a4.R.T[3,3] = frame_a.R.T[3,3], which needs to solve for frame_a.R.T[3,3] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[3,2] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2426: droneChassis1.frame_a4.R.T[3,2] = frame_a.R.T[3,2], which needs to solve for frame_a.R.T[3,2] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[3,1] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2425: droneChassis1.frame_a4.R.T[3,1] = frame_a.R.T[3,1], which needs to solve for frame_a.R.T[3,1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[2,3] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2424: droneChassis1.frame_a4.R.T[2,3] = frame_a.R.T[2,3], which needs to solve for frame_a.R.T[2,3] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[2,2] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2423: droneChassis1.frame_a4.R.T[2,2] = frame_a.R.T[2,2], which needs to solve for frame_a.R.T[2,2] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[2,1] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2422: droneChassis1.frame_a4.R.T[2,1] = frame_a.R.T[2,1], which needs to solve for frame_a.R.T[2,1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[1,3] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2421: droneChassis1.frame_a4.R.T[1,3] = frame_a.R.T[1,3], which needs to solve for frame_a.R.T[1,3] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[1,2] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2420: droneChassis1.frame_a4.R.T[1,2] = frame_a.R.T[1,2], which needs to solve for frame_a.R.T[1,2] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.frame_a4.R.T[1,1] does not have any remaining equation to be solved in. The original equations were: Equation 2979: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.bodyCylinder.frame_a.R, droneChassis1.frame_a4.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.frame_a4.R.w[1], droneChassis1.frame_a4.R.w[2], droneChassis1.frame_a4.R.w[3] Equation 2419: droneChassis1.frame_a4.R.T[1,1] = frame_a.R.T[1,1], which needs to solve for frame_a.R.T[1,1] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.pointMass.frame_a.R.T[2,3] does not have any remaining equation to be solved in. The original equations were: Equation 3320: droneChassis1.pointMass.frame_a.f = Modelica.Mechanics.MultiBody.Frames.resolve2(droneChassis1.pointMass.frame_a.R, droneChassis1.pointMass.a_0 - DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.world.gravityAcceleration(droneChassis1.pointMass.r_0, Modelica.Mechanics.MultiBody.Types.GravityTypes.UniformGravity, {0.0, 0.0, -world.g}, world.mu)) * droneChassis1.pointMass.m, which needs to solve for droneChassis1.pointMass.frame_a.R.T[3,1], droneChassis1.pointMass.frame_a.R.T[3,2], droneChassis1.pointMass.frame_a.R.T[3,3] Equation 2984: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.pointMass.frame_a.R, droneChassis1.bodyCylinder.frame_b.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.pointMass.frame_a.R.w[1], droneChassis1.pointMass.frame_a.R.w[2], droneChassis1.pointMass.frame_a.R.w[3] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.pointMass.frame_a.R.T[2,2] does not have any remaining equation to be solved in. The original equations were: Equation 3320: droneChassis1.pointMass.frame_a.f = Modelica.Mechanics.MultiBody.Frames.resolve2(droneChassis1.pointMass.frame_a.R, droneChassis1.pointMass.a_0 - DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.world.gravityAcceleration(droneChassis1.pointMass.r_0, Modelica.Mechanics.MultiBody.Types.GravityTypes.UniformGravity, {0.0, 0.0, -world.g}, world.mu)) * droneChassis1.pointMass.m, which needs to solve for droneChassis1.pointMass.frame_a.R.T[3,1], droneChassis1.pointMass.frame_a.R.T[3,2], droneChassis1.pointMass.frame_a.R.T[3,3] Equation 2984: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.pointMass.frame_a.R, droneChassis1.bodyCylinder.frame_b.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.pointMass.frame_a.R.w[1], droneChassis1.pointMass.frame_a.R.w[2], droneChassis1.pointMass.frame_a.R.w[3] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.pointMass.frame_a.R.T[2,1] does not have any remaining equation to be solved in. The original equations were: Equation 3320: droneChassis1.pointMass.frame_a.f = Modelica.Mechanics.MultiBody.Frames.resolve2(droneChassis1.pointMass.frame_a.R, droneChassis1.pointMass.a_0 - DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.world.gravityAcceleration(droneChassis1.pointMass.r_0, Modelica.Mechanics.MultiBody.Types.GravityTypes.UniformGravity, {0.0, 0.0, -world.g}, world.mu)) * droneChassis1.pointMass.m, which needs to solve for droneChassis1.pointMass.frame_a.R.T[3,1], droneChassis1.pointMass.frame_a.R.T[3,2], droneChassis1.pointMass.frame_a.R.T[3,3] Equation 2984: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.pointMass.frame_a.R, droneChassis1.bodyCylinder.frame_b.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.pointMass.frame_a.R.w[1], droneChassis1.pointMass.frame_a.R.w[2], droneChassis1.pointMass.frame_a.R.w[3] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.pointMass.frame_a.R.T[1,3] does not have any remaining equation to be solved in. The original equations were: Equation 3320: droneChassis1.pointMass.frame_a.f = Modelica.Mechanics.MultiBody.Frames.resolve2(droneChassis1.pointMass.frame_a.R, droneChassis1.pointMass.a_0 - DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.world.gravityAcceleration(droneChassis1.pointMass.r_0, Modelica.Mechanics.MultiBody.Types.GravityTypes.UniformGravity, {0.0, 0.0, -world.g}, world.mu)) * droneChassis1.pointMass.m, which needs to solve for droneChassis1.pointMass.frame_a.R.T[3,1], droneChassis1.pointMass.frame_a.R.T[3,2], droneChassis1.pointMass.frame_a.R.T[3,3] Equation 2984: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.pointMass.frame_a.R, droneChassis1.bodyCylinder.frame_b.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.pointMass.frame_a.R.w[1], droneChassis1.pointMass.frame_a.R.w[2], droneChassis1.pointMass.frame_a.R.w[3] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.pointMass.frame_a.R.T[1,2] does not have any remaining equation to be solved in. The original equations were: Equation 3320: droneChassis1.pointMass.frame_a.f = Modelica.Mechanics.MultiBody.Frames.resolve2(droneChassis1.pointMass.frame_a.R, droneChassis1.pointMass.a_0 - DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.world.gravityAcceleration(droneChassis1.pointMass.r_0, Modelica.Mechanics.MultiBody.Types.GravityTypes.UniformGravity, {0.0, 0.0, -world.g}, world.mu)) * droneChassis1.pointMass.m, which needs to solve for droneChassis1.pointMass.frame_a.R.T[3,1], droneChassis1.pointMass.frame_a.R.T[3,2], droneChassis1.pointMass.frame_a.R.T[3,3] Equation 2984: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.pointMass.frame_a.R, droneChassis1.bodyCylinder.frame_b.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.pointMass.frame_a.R.w[1], droneChassis1.pointMass.frame_a.R.w[2], droneChassis1.pointMass.frame_a.R.w[3] [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Frames/Orientation.mo:6:3-6:71:writable] Warning: Variable droneChassis1.pointMass.frame_a.R.T[1,1] does not have any remaining equation to be solved in. The original equations were: Equation 3320: droneChassis1.pointMass.frame_a.f = Modelica.Mechanics.MultiBody.Frames.resolve2(droneChassis1.pointMass.frame_a.R, droneChassis1.pointMass.a_0 - DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.world.gravityAcceleration(droneChassis1.pointMass.r_0, Modelica.Mechanics.MultiBody.Types.GravityTypes.UniformGravity, {0.0, 0.0, -world.g}, world.mu)) * droneChassis1.pointMass.m, which needs to solve for droneChassis1.pointMass.frame_a.R.T[3,1], droneChassis1.pointMass.frame_a.R.T[3,2], droneChassis1.pointMass.frame_a.R.T[3,3] Equation 2984: Modelica.Mechanics.MultiBody.Frames.Orientation.equalityConstraint(droneChassis1.pointMass.frame_a.R, droneChassis1.bodyCylinder.frame_b.R) = {0.0, 0.0, 0.0}, which needs to solve for droneChassis1.pointMass.frame_a.R.w[1], droneChassis1.pointMass.frame_a.R.w[2], droneChassis1.pointMass.frame_a.R.w[3]