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: translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05774/0.05774, allocations: 12.02 MB / 27.8 MB, free: 2.18 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.0009155/0.0009156, allocations: 111.4 kB / 31.49 MB, free: 5.297 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.001011/0.001011, allocations: 188.4 kB / 35.29 MB, free: 1.512 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.32/1.32, allocations: 222.9 MB / 261.8 MB, free: 8.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05506/0.05506, allocations: 13.69 MB / 328.5 MB, free: 0.6953 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.02701/0.02701, allocations: 17.46 MB / 413.4 MB, free: 28.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1293, allocations: 55.42 MB / 468.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.833/0.9624, allocations: 413.8 MB / 0.862 GB, free: 1.43 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6749/1.637, allocations: 84.99 MB / 0.945 GB, free: 1.094 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.113/1.75, allocations: 1.816 MB / 0.9468 GB, free: 1.094 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05741/1.808, allocations: 31.56 MB / 0.9776 GB, free: 280 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02745/1.836, allocations: 7.718 MB / 0.9851 GB, free: 15.77 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01471/1.85, allocations: 5.457 MB / 0.9905 GB, free: 15.67 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.05551/1.906, allocations: 40.27 MB / 1.03 GB, free: 7.645 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07689/1.983, allocations: 43.51 MB / 1.072 GB, free: 3.77 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02712/2.01, allocations: 10.77 MB / 1.083 GB, free: 10.74 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02911/2.039, allocations: 16.42 MB / 1.099 GB, free: 11.77 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.01031/2.05, allocations: 2.379 MB / 1.101 GB, free: 9.387 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/2.065, allocations: 3.775 MB / 1.105 GB, free: 5.742 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02156/2.087, allocations: 13.35 MB / 1.118 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03745/2.124, allocations: 16 MB / 1.134 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.06437/2.188, allocations: 57.7 MB / 1.19 GB, free: 15.58 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/2.188, allocations: 0 / 1.19 GB, free: 15.58 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.663e-06/2.188, allocations: 0 / 1.19 GB, free: 15.58 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.002075/2.191, allocations: 0 / 1.19 GB, free: 15.58 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.1118/2.302, allocations: 34.5 MB / 1.224 GB, free: 13.17 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/2.302, allocations: 8.031 kB / 1.224 GB, free: 13.16 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02861/2.331, allocations: 5.842 MB / 1.229 GB, free: 7.281 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4948/2.826, allocations: 23.85 MB / 1.253 GB, free: 436 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002076/2.828, allocations: 1.8 MB / 1.254 GB, free: 435.2 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01161/2.84, allocations: 2.439 MB / 1.257 GB, free: 434.5 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1449/2.985, allocations: 60.58 MB / 1.316 GB, free: 395.2 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001841/2.986, allocations: 233 kB / 1.316 GB, free: 395 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01113/2.998, allocations: 1.05 MB / 1.317 GB, free: 394.1 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01076/3.008, allocations: 6.896 MB / 1.324 GB, free: 387.2 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0945/3.103, allocations: 50.99 MB / 1.374 GB, free: 336.3 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.2966/3.4, allocations: 248.2 MB / 1.616 GB, free: 85.32 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06255/3.462, allocations: 29.25 MB / 1.645 GB, free: 55.96 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02072/3.483, allocations: 18.15 MB / 1.662 GB, free: 37.79 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001949/3.485, allocations: 1.303 MB / 1.664 GB, free: 36.37 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05827/3.543, allocations: 21.4 MB / 1.685 GB, free: 14.88 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=892): time 3.121e-05/3.543, allocations: 1.125 kB / 1.685 GB, free: 14.88 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