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.0644/0.0644, allocations: 12.02 MB / 27.25 MB, free: 2.129 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.0009921/0.0009922, allocations: 123.3 kB / 30.95 MB, free: 5.27 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.001256/0.001256, allocations: 188.1 kB / 34.75 MB, free: 1.48 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.344/1.344, allocations: 222.9 MB / 261.3 MB, free: 8.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05833/0.05833, allocations: 13.68 MB / 328 MB, free: 0.6445 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.02593/0.02593, allocations: 18.45 MB / 414.1 MB, free: 26.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1277, allocations: 55.41 MB / 469.5 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.8864/1.014, allocations: 413.8 MB / 0.8626 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6797/1.694, allocations: 84.9 MB / 0.9455 GB, free: 1.109 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1065/1.8, allocations: 1.809 MB / 0.9473 GB, free: 1.109 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05148/1.852, allocations: 30.37 MB / 0.977 GB, free: 0.6836 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02/1.872, allocations: 7.512 MB / 0.9843 GB, free: 176 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01116/1.883, allocations: 5.605 MB / 0.9898 GB, free: 76 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04108/1.924, allocations: 28.85 MB / 1.018 GB, free: 13.75 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06922/1.994, allocations: 49.78 MB / 1.067 GB, free: 9.605 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0251/2.019, allocations: 13.97 MB / 1.08 GB, free: 13.66 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02616/2.045, allocations: 18 MB / 1.098 GB, free: 13.1 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01338/2.058, allocations: 4.883 MB / 1.103 GB, free: 8.215 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0173/2.076, allocations: 6.217 MB / 1.109 GB, free: 2.133 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02165/2.097, allocations: 15.85 MB / 1.124 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03182/2.129, allocations: 18.94 MB / 1.143 GB, free: 15.42 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.06613/2.195, allocations: 66.74 MB / 1.208 GB, free: 13.52 MB / 0.8107 GB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/2.196, allocations: 4 kB / 1.208 GB, free: 13.52 MB / 0.8107 GB Notification: Performance of FrontEnd: time 1.904e-06/2.196, allocations: 0 / 1.208 GB, free: 13.52 MB / 0.8107 GB Notification: Performance of Transformations before backend: time 0.001983/2.198, allocations: 4 kB / 1.208 GB, free: 13.51 MB / 0.8107 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.4702/2.668, allocations: 34.76 MB / 1.242 GB, free: 441.1 MB / 0.8264 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/2.668, allocations: 9.406 kB / 1.242 GB, free: 441.1 MB / 0.8264 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01292/2.681, allocations: 3.976 MB / 1.246 GB, free: 439.6 MB / 0.8264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03949/2.72, allocations: 7.834 MB / 1.253 GB, free: 437.5 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04183/2.762, allocations: 28.37 MB / 1.281 GB, free: 421 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/2.763, allocations: 1.793 MB / 1.283 GB, free: 420.3 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008893/2.772, allocations: 2.446 MB / 1.285 GB, free: 419.5 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.112/2.884, allocations: 60.49 MB / 1.344 GB, free: 363.3 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001159/2.885, allocations: 234 kB / 1.344 GB, free: 363.1 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008541/2.894, allocations: 1.049 MB / 1.345 GB, free: 362.1 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008565/2.903, allocations: 6.898 MB / 1.352 GB, free: 355.2 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08302/2.986, allocations: 50.83 MB / 1.402 GB, free: 304.4 MB / 0.8264 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.2437/3.229, allocations: 247.8 MB / 1.644 GB, free: 53.55 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05719/3.287, allocations: 29.18 MB / 1.672 GB, free: 24.25 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01733/3.304, allocations: 18.06 MB / 1.69 GB, free: 6.164 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/3.306, allocations: 1.306 MB / 1.691 GB, free: 4.742 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.259/3.565, allocations: 21.32 MB / 1.712 GB, free: 405.3 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=892): time 2.561e-05/3.565, allocations: 0 / 1.712 GB, free: 405.3 MB / 0.8264 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed