Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.07514/0.07514, allocations: 12.02 MB / 27.66 MB, free: 1.848 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.001295/0.001295, allocations: 100 kB / 31.37 MB, free: 4.977 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.001491/0.001491, allocations: 192.5 kB / 35.2 MB, free: 1.156 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.542/1.542, allocations: 222.9 MB / 261.8 MB, free: 7.426 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06547/0.06547, allocations: 13.68 MB / 328.5 MB, free: 0.4961 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.03406/0.03406, allocations: 20.12 MB / 472.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3831, allocations: 55.38 MB / 0.5154 GB, free: 20.12 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.06741/0.4506, allocations: 60.65 MB / 0.5747 GB, free: 8.562 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04828/0.4989, allocations: 16.28 MB / 0.5906 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01603/0.515, allocations: 0.4946 MB / 0.591 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.06133/0.5764, allocations: 31.13 MB / 0.6214 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02623/0.6027, allocations: 7.834 MB / 0.6291 GB, free: 1.113 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01447/0.6172, allocations: 5.359 MB / 0.6343 GB, free: 11.77 MB / 478.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 propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.04488/0.6621, allocations: 26.76 MB / 0.6605 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.079/0.7411, allocations: 43.89 MB / 0.7033 GB, free: 5.629 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02919/0.7704, allocations: 12.95 MB / 0.716 GB, free: 8.652 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3321/1.103, allocations: 16.04 MB / 0.7316 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01464/1.117, allocations: 4.056 MB / 0.7356 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01596/1.133, allocations: 5.383 MB / 0.7408 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02028/1.154, allocations: 14.88 MB / 0.7554 GB, free: 54.48 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03844/1.192, allocations: 17.31 MB / 0.7723 GB, free: 50.15 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06538/1.257, allocations: 59 MB / 0.8299 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/1.258, allocations: 3.938 kB / 0.8299 GB, free: 14.34 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.014e-06/1.258, allocations: 0 / 0.8299 GB, free: 14.34 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001982/1.26, allocations: 6.562 kB / 0.8299 GB, free: 14.33 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.1061/1.366, allocations: 34.72 MB / 0.8638 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/1.366, allocations: 11.78 kB / 0.8638 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01854/1.384, allocations: 4.55 MB / 0.8683 GB, free: 10.47 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04803/1.432, allocations: 7.872 MB / 0.876 GB, free: 2.629 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05114/1.483, allocations: 25.54 MB / 0.9009 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001925/1.485, allocations: 1.8 MB / 0.9027 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01491/1.5, allocations: 2.454 MB / 0.9051 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1595/1.66, allocations: 57.06 MB / 0.9608 GB, free: 11.53 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001534/1.661, allocations: 237.3 kB / 0.961 GB, free: 11.37 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01013/1.672, allocations: 1.047 MB / 0.962 GB, free: 10.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01245/1.684, allocations: 6.487 MB / 0.9684 GB, free: 3.988 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4118/2.096, allocations: 47.22 MB / 1.014 GB, free: 218.3 MB / 0.67 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.2828/2.379, allocations: 224.8 MB / 1.234 GB, free: 5.113 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3575/2.736, allocations: 27.63 MB / 1.261 GB, free: 208.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02011/2.756, allocations: 16.73 MB / 1.277 GB, free: 200.5 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001874/2.758, allocations: 1.29 MB / 1.279 GB, free: 199.6 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06077/2.819, allocations: 20.34 MB / 1.298 GB, free: 194.7 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 3.017e-05/2.819, allocations: 0 / 1.298 GB, free: 194.7 MB / 0.67 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: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * 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