Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 1.585/1.585, allocations: 12.04 MB / 27.31 MB, free: 1.73 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.0006822/0.0006821, allocations: 95.44 kB / 31.05 MB, free: 5.188 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.0009725/0.0009728, allocations: 180.5 kB / 34.9 MB, free: 1.352 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.365/1.365, allocations: 223.2 MB / 261.9 MB, free: 9.145 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2022/0.2022, allocations: 13.69 MB / 329.6 MB, free: 15.95 MB / 270.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.01787/0.01787, allocations: 18.38 MB / 416.6 MB, free: 26.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09536/0.1132, allocations: 56.48 MB / 473.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 1.066/1.179, allocations: 405.6 MB / 0.8581 GB, free: 14.91 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6309/1.81, allocations: 84.92 MB / 0.9411 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1003/1.911, allocations: 1.803 MB / 0.9428 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01016/1.921, allocations: 2.236 MB / 0.945 GB, free: 1.098 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02833/1.949, allocations: 7.729 MB / 0.9526 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0154/1.965, allocations: 5.453 MB / 0.9579 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0766/2.041, allocations: 40.64 MB / 0.9976 GB, free: 12.14 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09858/2.14, allocations: 58.23 MB / 1.054 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02063/2.161, allocations: 7.484 MB / 1.062 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02556/2.186, allocations: 12.28 MB / 1.074 GB, free: 10.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.007613/2.194, allocations: 1.086 MB / 1.075 GB, free: 9.844 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01341/2.207, allocations: 2.489 MB / 1.077 GB, free: 7.488 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01937/2.227, allocations: 11.27 MB / 1.088 GB, free: 12.28 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.02793/2.255, allocations: 13.61 MB / 1.102 GB, free: 14.68 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.07139/2.326, allocations: 62.12 MB / 1.162 GB, free: 1.375 MB / 0.7482 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/2.326, allocations: 0 / 1.162 GB, free: 1.375 MB / 0.7482 GB Notification: Performance of FrontEnd: time 1.673e-06/2.326, allocations: 2.25 kB / 1.162 GB, free: 1.375 MB / 0.7482 GB Notification: Performance of Transformations before backend: time 0.00208/2.328, allocations: 0 / 1.162 GB, free: 1.375 MB / 0.7482 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.08147/2.41, allocations: 27.51 MB / 1.189 GB, free: 5.746 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/2.41, allocations: 12.03 kB / 1.189 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01879/2.429, allocations: 3.972 MB / 1.193 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04615/2.475, allocations: 7.952 MB / 1.201 GB, free: 9.848 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.549/3.024, allocations: 28.36 MB / 1.228 GB, free: 418.8 MB / 0.8108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002064/3.026, allocations: 1.803 MB / 1.23 GB, free: 418.8 MB / 0.8108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01242/3.038, allocations: 2.438 MB / 1.233 GB, free: 418.8 MB / 0.8108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1637/3.202, allocations: 60.67 MB / 1.292 GB, free: 390.9 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002027/3.204, allocations: 236.5 kB / 1.292 GB, free: 390.8 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01245/3.217, allocations: 1.049 MB / 1.293 GB, free: 390.1 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01181/3.228, allocations: 6.895 MB / 1.3 GB, free: 384.6 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1088/3.337, allocations: 51.05 MB / 1.35 GB, free: 333.6 MB / 0.8108 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.3106/3.648, allocations: 247.4 MB / 1.591 GB, free: 83.64 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06971/3.718, allocations: 29.35 MB / 1.62 GB, free: 54.18 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02331/3.741, allocations: 18.1 MB / 1.638 GB, free: 36.05 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002323/3.743, allocations: 1.309 MB / 1.639 GB, free: 34.63 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06281/3.806, allocations: 21.42 MB / 1.66 GB, free: 13.11 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=892): time 3.393e-05/3.806, allocations: 0 / 1.66 GB, free: 13.11 MB / 0.8108 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.propellerRev.blades.bodyShape4.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed