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.06602/0.06602, allocations: 12.03 MB / 27.66 MB, free: 2.273 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.0009602/0.0009603, allocations: 92.91 kB / 31.37 MB, free: 5.16 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.001159/0.001159, allocations: 192.5 kB / 35.22 MB, free: 1.336 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.249/1.249, allocations: 222.9 MB / 261.8 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1549/0.1549, allocations: 13.67 MB / 328.5 MB, free: 2.898 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.2827/0.2827, allocations: 19.65 MB / 471.9 MB, free: 38.03 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07471/0.3574, allocations: 55.41 MB / 0.515 GB, free: 13.34 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 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 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 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 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 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 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 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 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. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.04857/0.406, allocations: 60.66 MB / 0.5742 GB, free: 13.53 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03041/0.4365, allocations: 16.29 MB / 0.5901 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01106/0.4476, allocations: 0.4985 MB / 0.5906 GB, free: 14.1 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04847/0.4961, allocations: 31.12 MB / 0.621 GB, free: 14.89 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01822/0.5143, allocations: 8.084 MB / 0.6289 GB, free: 6.77 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009776/0.5241, allocations: 5.361 MB / 0.6341 GB, free: 1.402 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.2449/0.769, allocations: 26.76 MB / 0.6603 GB, free: 9.676 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04402/0.8131, allocations: 43.89 MB / 0.7031 GB, free: 10.84 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01945/0.8325, allocations: 12.91 MB / 0.7157 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0218/0.8544, allocations: 16.16 MB / 0.7315 GB, free: 1.922 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.009044/0.8635, allocations: 4.059 MB / 0.7355 GB, free: 13.86 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01214/0.8756, allocations: 5.392 MB / 0.7407 GB, free: 8.617 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01695/0.8926, allocations: 15.13 MB / 0.7555 GB, free: 9.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02379/0.9164, allocations: 17.32 MB / 0.7724 GB, free: 8.379 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05716/0.9736, allocations: 59.01 MB / 0.8301 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.351e-06/0.9737, allocations: 0 / 0.8301 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9737, allocations: 0 / 0.8301 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.001421/0.9751, allocations: 0 / 0.8301 GB, free: 14.36 MB / 0.6075 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.08153/1.057, allocations: 34.74 MB / 0.864 GB, free: 11.65 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/1.057, allocations: 8.031 kB / 0.864 GB, free: 11.64 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01243/1.069, allocations: 4.552 MB / 0.8684 GB, free: 7.164 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4306/1.5, allocations: 7.867 MB / 0.8761 GB, free: 218.9 MB / 0.6389 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04905/1.549, allocations: 25.55 MB / 0.9011 GB, free: 209.5 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001128/1.55, allocations: 1.795 MB / 0.9028 GB, free: 208.7 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007466/1.558, allocations: 2.444 MB / 0.9052 GB, free: 208 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09667/1.654, allocations: 57.07 MB / 0.9609 GB, free: 158.7 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001106/1.655, allocations: 238.3 kB / 0.9612 GB, free: 158.5 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006643/1.662, allocations: 1.051 MB / 0.9622 GB, free: 157.5 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008502/1.67, allocations: 6.489 MB / 0.9685 GB, free: 151.1 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07916/1.75, allocations: 47.22 MB / 1.015 GB, free: 103.9 MB / 0.6389 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.4808/2.231, allocations: 224.8 MB / 1.234 GB, free: 75.71 MB / 0.6389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05919/2.29, allocations: 27.64 MB / 1.261 GB, free: 64.63 MB / 0.6389 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01563/2.305, allocations: 16.73 MB / 1.278 GB, free: 55.3 MB / 0.6389 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001322/2.307, allocations: 1.294 MB / 1.279 GB, free: 54.24 MB / 0.6389 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05388/2.361, allocations: 20.35 MB / 1.299 GB, free: 42.62 MB / 0.6389 GB Notification: Performance of pre-optimization done (n=891): time 1.265e-05/2.361, allocations: 0 / 1.299 GB, free: 42.62 MB / 0.6389 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