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-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.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",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.06758/0.06758, allocations: 12.02 MB / 27.65 MB, free: 1.895 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.0009681/0.0009682, allocations: 100 kB / 31.37 MB, free: 4.984 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.001192/0.001192, allocations: 195.8 kB / 35.21 MB, free: 1.164 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.273/1.273, allocations: 222.9 MB / 261.8 MB, free: 7.359 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05793/0.05793, allocations: 13.69 MB / 328.5 MB, free: 492 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.02562/0.02562, allocations: 19.65 MB / 471.9 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2722, allocations: 55.4 MB / 0.515 GB, free: 19.83 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.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 propellerRev.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.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.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.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.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.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.bodyShape5.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.DroneForVR): time 0.05176/0.324, allocations: 64.58 MB / 0.578 GB, free: 4.934 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03124/0.3553, allocations: 14.22 MB / 0.5919 GB, free: 6.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01026/0.3656, allocations: 438.6 kB / 0.5924 GB, free: 6.379 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03993/0.4055, allocations: 23.98 MB / 0.6158 GB, free: 14.35 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01866/0.4242, allocations: 7.876 MB / 0.6235 GB, free: 6.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00964/0.4339, allocations: 4.755 MB / 0.6281 GB, free: 1.762 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03282/0.4667, allocations: 25.51 MB / 0.653 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03667/0.5034, allocations: 34.84 MB / 0.687 GB, free: 5.934 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01705/0.5205, allocations: 11.1 MB / 0.6979 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01902/0.5396, allocations: 14.21 MB / 0.7118 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.007468/0.5471, allocations: 3.117 MB / 0.7148 GB, free: 9.434 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01005/0.5571, allocations: 4.377 MB / 0.7191 GB, free: 5.055 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.4297/0.9868, allocations: 13.37 MB / 0.7321 GB, free: 57.88 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02475/1.012, allocations: 15.13 MB / 0.7469 GB, free: 54.61 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.04324/1.055, allocations: 49.19 MB / 0.795 GB, free: 38.97 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/1.055, allocations: 3.344 kB / 0.795 GB, free: 38.97 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.483e-06/1.055, allocations: 0 / 0.795 GB, free: 38.97 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.001281/1.056, allocations: 0 / 0.795 GB, free: 38.97 MB / 0.5452 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7735 * Number of variables: 7735 Notification: Performance of Generate backend data structure: time 0.06204/1.118, allocations: 30.77 MB / 0.825 GB, free: 18.41 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.118, allocations: 11.06 kB / 0.825 GB, free: 18.41 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01088/1.129, allocations: 4.211 MB / 0.8291 GB, free: 15.9 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03558/1.165, allocations: 7.709 MB / 0.8367 GB, free: 12.05 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0359/1.201, allocations: 22.13 MB / 0.8583 GB, free: 9.129 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001378/1.202, allocations: 1.562 MB / 0.8598 GB, free: 7.684 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00776/1.21, allocations: 2.128 MB / 0.8619 GB, free: 5.672 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1046/1.315, allocations: 54.49 MB / 0.9151 GB, free: 13.37 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001196/1.316, allocations: 240.1 kB / 0.9153 GB, free: 13.21 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00604/1.322, allocations: 0.9369 MB / 0.9162 GB, free: 12.39 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01141/1.333, allocations: 7.713 MB / 0.9238 GB, free: 4.766 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.308/1.641, allocations: 43.29 MB / 0.966 GB, free: 207.6 MB / 0.6545 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.2346/1.876, allocations: 219.5 MB / 1.18 GB, free: 37.04 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05074/1.927, allocations: 24.53 MB / 1.204 GB, free: 12.39 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2303/2.157, allocations: 15.49 MB / 1.219 GB, free: 208 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00211/2.159, allocations: 1.911 MB / 1.221 GB, free: 206.5 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05201/2.211, allocations: 18.83 MB / 1.24 GB, free: 206.3 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=751): time 1.383e-05/2.211, allocations: 0 / 1.24 GB, free: 206.3 MB / 0.6545 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.bodyShape5.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