Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload.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.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") translateModel(DroneLibrary.Examples.DronePayload.DroneTest_payload,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DronePayload.DroneTest_payload") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06013/0.06013, allocations: 12.05 MB / 28.36 MB, free: 1.75 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.0009172/0.0009172, allocations: 103.8 kB / 32.07 MB, free: 4.605 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.001134/0.001134, allocations: 184.5 kB / 35.91 MB, free: 0.7852 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.356/1.356, allocations: 222.9 MB / 262.5 MB, free: 7.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05724/0.05724, allocations: 13.68 MB / 329.2 MB, free: 484 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.328e-05/2.329e-05, allocations: 2.281 kB / 453.5 MB, free: 6.184 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Interfaces/PartialOneFrame_b.mo:7:3-7:49:writable] Warning: An inner declaration for outer component world could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Interfaces/PartialOneFrame_b.mo:7:3-7:49:writable] Notification: The diagnostics message for the missing inner is: No "world" component is defined. A default world component with the default gravity field will be used (g=9.81 in negative y-axis). If this is not desired, drag Modelica.Mechanics.MultiBody.World into the top level of your model. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DronePayload.DroneTest_payload): time 0.4711/0.4711, allocations: 84.96 MB / 0.5258 GB, free: 4.684 MB / 382.3 MB Notification: Performance of NFInst.instExpressions: time 0.03518/0.5063, allocations: 18.52 MB / 0.5439 GB, free: 1.566 MB / 382.3 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01583/0.5222, allocations: 0.5188 MB / 0.5444 GB, free: 1.469 MB / 382.3 MB Notification: Performance of NFTyping.typeComponents: time 0.05048/0.5727, allocations: 32.3 MB / 0.5759 GB, free: 15.27 MB / 414.3 MB Notification: Performance of NFTyping.typeBindings: time 0.02617/0.5989, allocations: 8.865 MB / 0.5846 GB, free: 7.434 MB / 414.3 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. Notification: Performance of NFTyping.typeClassSections: time 0.01591/0.6148, allocations: 6.052 MB / 0.5905 GB, free: 1.695 MB / 414.3 MB Notification: Performance of NFFlatten.flatten: time 0.05353/0.6684, allocations: 33.57 MB / 0.6233 GB, free: 2.387 MB / 446.3 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04538/0.7138, allocations: 32.97 MB / 0.6555 GB, free: 1.641 MB / 478.3 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02175/0.7356, allocations: 11.56 MB / 0.6668 GB, free: 6.695 MB / 494.3 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01887/0.7545, allocations: 12.24 MB / 0.6787 GB, free: 11.19 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 0.008316/0.7628, allocations: 3 MB / 0.6816 GB, free: 8.188 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0128/0.7757, allocations: 4.094 MB / 0.6856 GB, free: 4.168 MB / 0.4983 GB Notification: Performance of combineBinaries: time 0.2746/1.05, allocations: 27.3 MB / 0.7123 GB, free: 56.17 MB / 0.5139 GB Notification: Performance of replaceArrayConstructors: time 0.01842/1.069, allocations: 16.16 MB / 0.7281 GB, free: 52.4 MB / 0.5139 GB Notification: Performance of NFVerifyModel.verify: time 0.01395/1.083, allocations: 2.599 MB / 0.7306 GB, free: 52.4 MB / 0.5139 GB Notification: Performance of FrontEnd: time 0.00443/1.087, allocations: 437.8 kB / 0.731 GB, free: 52.4 MB / 0.5139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8755 (3624) * Number of variables: 8659 (2603) Notification: Performance of Bindings: time 0.1197/1.207, allocations: 101.2 MB / 0.8298 GB, free: 1.602 MB / 0.5139 GB Notification: Performance of FunctionAlias: time 0.01494/1.222, allocations: 6.258 MB / 0.8359 GB, free: 15.11 MB / 0.5295 GB Notification: Performance of Early Inline: time 2.555/3.777, allocations: 0.9484 GB / 1.784 GB, free: 7.738 MB / 0.717 GB Notification: Performance of simplify1: time 0.1895/3.966, allocations: 79.32 MB / 1.862 GB, free: 0.5898 MB / 0.717 GB Notification: Performance of Alias: time 0.9573/4.923, allocations: 382.2 MB / 2.235 GB, free: 17.02 MB / 0.7795 GB Notification: Performance of simplify2: time 0.6431/5.567, allocations: 79.47 MB / 2.313 GB, free: 77.88 MB / 0.7795 GB Notification: Performance of Detect States: time 0.3254/5.892, allocations: 176.4 MB / 2.485 GB, free: 54.57 MB / 0.7795 GB Notification: Performance of Events: time 1.528/7.42, allocations: 0.5796 GB / 3.065 GB, free: 88 MB / 0.7952 GB Notification: Performance of Partitioning: time 0.05732/7.478, allocations: 35.59 MB / 3.099 GB, free: 70.79 MB / 0.7952 GB Error: Internal error NBSlice.resolveDependency failed because subscripts, dimensions and dependencies were not of equal length. variable subscripts(2): {1:3, 1:3} variable dimensions(2): {3, 3} equation dimensions(0): {} variable dependencies(2): {false, true} Error: Internal error NBSlice.resolveDependency failed for: drone.propellerRev2.rotor3_1.revolute.frame_a.R.T. Error: Internal error NBAdjacency.Matrix.upgradeRow failed for: [RECD] (12) drone.propellerRev2.rotor3_1.revolute.frame_b.R = Modelica.Mechanics.MultiBody.Frames.Orientation(drone.propellerRev2.rotor3_1.revolute.R_rel.T * drone.propellerRev2.rotor3_1.revolute.frame_a.R.T, Modelica.Mechanics.MultiBody.Frames.resolve2(drone.propellerRev2.rotor3_1.revolute.R_rel, drone.propellerRev2.rotor3_1.revolute.frame_a.R.w) + drone.propellerRev2.rotor3_1.revolute.R_rel.w) ($RES_SIM_213)