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-master/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-master/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-master/package.mo): time 0.05791/0.05791, allocations: 12.05 MB / 28.36 MB, free: 1.742 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.000964/0.000964, allocations: 111.6 kB / 32.08 MB, free: 4.582 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.001172/0.001173, allocations: 196.3 kB / 35.92 MB, free: 0.7617 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.35/1.35, allocations: 222.9 MB / 262.5 MB, free: 7.406 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06045/0.06045, allocations: 13.68 MB / 329.2 MB, free: 456 kB / 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.02866/0.02866, allocations: 19.74 MB / 473.2 MB, free: 2.594 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3437, allocations: 55.39 MB / 0.5162 GB, free: 20.25 MB / 382.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.05652/0.4002, allocations: 65.07 MB / 0.5798 GB, free: 4.336 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04216/0.4424, allocations: 18.54 MB / 0.5979 GB, free: 1.906 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01619/0.4586, allocations: 0.5142 MB / 0.5984 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05424/0.5129, allocations: 32.14 MB / 0.6297 GB, free: 1.184 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.026/0.539, allocations: 8.849 MB / 0.6384 GB, free: 8.363 MB / 478.1 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.01311/0.5521, allocations: 6.039 MB / 0.6443 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.04272/0.5948, allocations: 29.96 MB / 0.6735 GB, free: 4.461 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07655/0.6714, allocations: 48.46 MB / 0.7209 GB, free: 4.395 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3577/1.029, allocations: 14.3 MB / 0.7348 GB, free: 48.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03195/1.061, allocations: 17.46 MB / 0.7519 GB, free: 48.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01655/1.078, allocations: 4.989 MB / 0.7567 GB, free: 48.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02243/1.1, allocations: 6.385 MB / 0.763 GB, free: 48.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02674/1.127, allocations: 16.7 MB / 0.7793 GB, free: 47.02 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03825/1.165, allocations: 19.68 MB / 0.7985 GB, free: 32.5 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.07726/1.243, allocations: 69.92 MB / 0.8668 GB, free: 8.453 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.243, allocations: 0 / 0.8668 GB, free: 8.453 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.693e-06/1.243, allocations: 0 / 0.8668 GB, free: 8.453 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 0.002171/1.245, allocations: 2.469 kB / 0.8668 GB, free: 8.453 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8755 * Number of variables: 8755 Notification: Performance of Generate backend data structure: time 0.1148/1.36, allocations: 37.42 MB / 0.9033 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.36, allocations: 8.031 kB / 0.9033 GB, free: 3.219 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03498/1.395, allocations: 7.529 MB / 0.9107 GB, free: 11.68 MB / 0.6232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05857/1.453, allocations: 25.08 MB / 0.9352 GB, free: 3.645 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001987/1.455, allocations: 1.887 MB / 0.937 GB, free: 1.863 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01092/1.466, allocations: 2.579 MB / 0.9396 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6492/2.115, allocations: 65.34 MB / 1.003 GB, free: 202.9 MB / 0.6702 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002161/2.118, allocations: 263 kB / 1.004 GB, free: 202.8 MB / 0.6702 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01089/2.129, allocations: 1.113 MB / 1.005 GB, free: 202.1 MB / 0.6702 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01283/2.141, allocations: 7.876 MB / 1.012 GB, free: 200.3 MB / 0.6702 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1118/2.253, allocations: 55.16 MB / 1.066 GB, free: 164.2 MB / 0.6702 GB 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.9347/3.188, allocations: 267.7 MB / 1.328 GB, free: 84.32 MB / 0.6704 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07362/3.262, allocations: 30.61 MB / 1.358 GB, free: 77.89 MB / 0.6704 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0214/3.283, allocations: 18.63 MB / 1.376 GB, free: 68.87 MB / 0.6704 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002094/3.285, allocations: 1.305 MB / 1.377 GB, free: 67.92 MB / 0.6704 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06228/3.348, allocations: 21.98 MB / 1.399 GB, free: 52.71 MB / 0.6704 GB Notification: Performance of pre-optimization done (n=964): time 2.591e-05/3.348, allocations: 0 / 1.399 GB, free: 52.71 MB / 0.6704 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.droneChassis1.bodyShape.body.frame_a.r_0[1] + 0.25 * drone.accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model DroneLibrary.Examples.DronePayload.DroneTest_payload could not be translated