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 0.06177/0.06177, allocations: 12.03 MB / 26.98 MB, free: 1.906 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.0008296/0.0008295, allocations: 99.88 kB / 30.71 MB, free: 5.371 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.001058/0.001058, allocations: 181.1 kB / 34.55 MB, free: 1.551 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.411/1.411, allocations: 223.2 MB / 261.4 MB, free: 9.164 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05706/0.05706, allocations: 13.69 MB / 329.1 MB, free: 40 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.01962/0.01962, allocations: 17.45 MB / 414.9 MB, free: 28.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1245, allocations: 56.48 MB / 471.4 MB, free: 5.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.9583/1.083, allocations: 355.5 MB / 0.8075 GB, free: 12.95 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1836/1.266, allocations: 86.32 MB / 0.8918 GB, free: 6.008 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08538/1.352, allocations: 1.792 MB / 0.8936 GB, free: 4.211 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.06826/1.42, allocations: 18.24 MB / 0.9114 GB, free: 1.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.7171/2.137, allocations: 49.11 MB / 0.9594 GB, free: 16.16 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.03141/2.169, allocations: 4.163 MB / 0.9634 GB, free: 16.11 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06711/2.236, allocations: 36.4 MB / 0.999 GB, free: 15.11 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08184/2.318, allocations: 49.94 MB / 1.048 GB, free: 3.004 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01529/2.333, allocations: 6.347 MB / 1.054 GB, free: 15.14 MB / 0.6388 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01831/2.351, allocations: 8.08 MB / 1.062 GB, free: 9.789 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.00908/2.361, allocations: 1.082 MB / 1.063 GB, free: 8.707 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01361/2.374, allocations: 2.19 MB / 1.065 GB, free: 6.773 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.02152/2.396, allocations: 10.36 MB / 1.075 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.01606/2.412, allocations: 6.424 MB / 1.081 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.07281/2.485, allocations: 56.08 MB / 1.136 GB, free: 14.11 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/2.485, allocations: 0 / 1.136 GB, free: 14.11 MB / 0.7013 GB Notification: Performance of FrontEnd: time 3.737e-06/2.485, allocations: 0 / 1.136 GB, free: 14.11 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 0.002555/2.487, allocations: 0 / 1.136 GB, free: 14.11 MB / 0.7013 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.1/2.587, allocations: 28.6 MB / 1.164 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/2.588, allocations: 11.97 kB / 1.164 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0213/2.609, allocations: 3.97 MB / 1.168 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05037/2.659, allocations: 9.353 MB / 1.177 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.061/2.72, allocations: 25.37 MB / 1.202 GB, free: 11.34 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001909/2.722, allocations: 1.796 MB / 1.204 GB, free: 10.32 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01495/2.737, allocations: 2.448 MB / 1.206 GB, free: 8.688 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7271/3.464, allocations: 61.35 MB / 1.266 GB, free: 330 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002743/3.467, allocations: 235.6 kB / 1.266 GB, free: 329.9 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01636/3.484, allocations: 1.049 MB / 1.267 GB, free: 329.9 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01297/3.497, allocations: 6.899 MB / 1.274 GB, free: 328 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1191/3.616, allocations: 51.89 MB / 1.325 GB, free: 288.9 MB / 0.7483 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.3709/3.987, allocations: 248.4 MB / 1.567 GB, free: 38.73 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06787/4.055, allocations: 29.93 MB / 1.596 GB, free: 8.688 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002131/4.057, allocations: 1.307 MB / 1.598 GB, free: 7.266 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4538/4.511, allocations: 22.01 MB / 1.619 GB, free: 310.4 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=892): time 4.789e-05/4.511, allocations: 3.5 kB / 1.619 GB, free: 310.4 MB / 0.7483 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed