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.06381/0.06381, allocations: 12.02 MB / 27.14 MB, free: 2.188 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.0009933/0.0009933, allocations: 111.4 kB / 30.83 MB, free: 5.34 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.001143/0.001143, allocations: 196.3 kB / 34.64 MB, free: 1.555 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.441/1.441, allocations: 222.9 MB / 261.2 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.05993/0.05993, allocations: 13.68 MB / 327.9 MB, free: 0.6914 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.02754/0.02754, allocations: 18.45 MB / 413.9 MB, free: 27.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1539, allocations: 55.42 MB / 469.3 MB, free: 5.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 1.015/1.169, allocations: 413.8 MB / 0.8624 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.8124/1.982, allocations: 85 MB / 0.9454 GB, free: 1.121 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1278/2.11, allocations: 1.816 MB / 0.9472 GB, free: 1.121 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05819/2.168, allocations: 31.56 MB / 0.978 GB, free: 340 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02769/2.196, allocations: 7.724 MB / 0.9856 GB, free: 15.82 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01643/2.212, allocations: 5.454 MB / 0.9909 GB, free: 15.72 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.05972/2.272, allocations: 40.27 MB / 1.03 GB, free: 7.648 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08523/2.357, allocations: 43.52 MB / 1.073 GB, free: 3.043 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02582/2.383, allocations: 10.77 MB / 1.083 GB, free: 10.01 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03234/2.415, allocations: 16.43 MB / 1.099 GB, free: 11.02 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01195/2.427, allocations: 2.379 MB / 1.102 GB, free: 8.645 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0168/2.444, allocations: 3.771 MB / 1.105 GB, free: 5.004 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02359/2.468, allocations: 13.33 MB / 1.118 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03924/2.507, allocations: 16.08 MB / 1.134 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.08087/2.588, allocations: 64.95 MB / 1.197 GB, free: 7.551 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/2.588, allocations: 0 / 1.197 GB, free: 7.551 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/2.588, allocations: 0 / 1.197 GB, free: 7.551 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.00218/2.59, allocations: 0 / 1.197 GB, free: 7.551 MB / 0.795 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.1242/2.714, allocations: 34.77 MB / 1.231 GB, free: 4.855 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/2.715, allocations: 8.031 kB / 1.231 GB, free: 4.848 MB / 0.8263 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02261/2.737, allocations: 3.97 MB / 1.235 GB, free: 0.9531 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6295/3.367, allocations: 7.83 MB / 1.243 GB, free: 442.6 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06759/3.434, allocations: 28.37 MB / 1.271 GB, free: 430.2 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00231/3.437, allocations: 1.796 MB / 1.272 GB, free: 429.4 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01511/3.452, allocations: 2.446 MB / 1.275 GB, free: 428.7 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1583/3.61, allocations: 60.5 MB / 1.334 GB, free: 376.8 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002168/3.612, allocations: 222 kB / 1.334 GB, free: 376.6 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01295/3.625, allocations: 1.056 MB / 1.335 GB, free: 375.6 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01012/3.636, allocations: 6.896 MB / 1.342 GB, free: 368.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09829/3.734, allocations: 50.82 MB / 1.391 GB, free: 318 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.3402/4.074, allocations: 247.8 MB / 1.633 GB, free: 67.09 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06674/4.141, allocations: 29.17 MB / 1.662 GB, free: 37.81 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02215/4.163, allocations: 18.07 MB / 1.68 GB, free: 19.71 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/4.165, allocations: 1.309 MB / 1.681 GB, free: 18.29 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4417/4.607, allocations: 21.31 MB / 1.702 GB, free: 402.9 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=892): time 5.307e-05/4.607, allocations: 1.844 kB / 1.702 GB, free: 402.9 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed