Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06417/0.06417, allocations: 12.02 MB / 27.14 MB, free: 2.195 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.001143/0.001143, allocations: 118.6 kB / 30.83 MB, free: 5.336 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.001411/0.001411, allocations: 196.4 kB / 34.64 MB, free: 1.547 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.432/1.432, allocations: 222.9 MB / 261.2 MB, free: 8.633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05768/0.05768, allocations: 13.67 MB / 327.9 MB, free: 0.7148 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.02221/0.02221, allocations: 17.47 MB / 412.8 MB, free: 28.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.137, allocations: 55.42 MB / 468.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.9853/1.122, allocations: 413.8 MB / 0.8613 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.218/1.34, allocations: 80.69 MB / 0.9401 GB, free: 1.266 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.6867/2.027, allocations: 1.815 MB / 0.9418 GB, free: 1.758 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05894/2.086, allocations: 31.48 MB / 0.9726 GB, free: 0.9375 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.03021/2.116, allocations: 7.511 MB / 0.9799 GB, free: 436 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01426/2.131, allocations: 4.976 MB / 0.9848 GB, free: 328 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.0772/2.208, allocations: 40.08 MB / 1.024 GB, free: 12.16 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08045/2.288, allocations: 41.61 MB / 1.065 GB, free: 9.852 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0324/2.321, allocations: 10.67 MB / 1.075 GB, free: 0.918 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03898/2.36, allocations: 16.31 MB / 1.091 GB, free: 2.141 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01497/2.375, allocations: 2.268 MB / 1.093 GB, free: 15.87 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02195/2.397, allocations: 3.683 MB / 1.097 GB, free: 12.32 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.03188/2.429, allocations: 13.22 MB / 1.11 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.04774/2.477, allocations: 15.25 MB / 1.125 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.07911/2.556, allocations: 56.6 MB / 1.18 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.225e-06/2.556, allocations: 0 / 1.18 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.763e-06/2.556, allocations: 0 / 1.18 GB, free: 8.195 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002257/2.558, allocations: 0 / 1.18 GB, free: 8.195 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.1224/2.681, allocations: 33.74 MB / 1.213 GB, free: 6.527 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/2.681, allocations: 8.031 kB / 1.213 GB, free: 6.52 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03176/2.713, allocations: 5.776 MB / 1.218 GB, free: 0.707 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6032/3.316, allocations: 20.72 MB / 1.239 GB, free: 444.5 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002461/3.318, allocations: 1.797 MB / 1.24 GB, free: 444.5 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01888/3.337, allocations: 2.45 MB / 1.243 GB, free: 444.5 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.174/3.511, allocations: 57.12 MB / 1.299 GB, free: 417.1 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002063/3.513, allocations: 229.1 kB / 1.299 GB, free: 417.1 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01187/3.525, allocations: 1.052 MB / 1.3 GB, free: 416.4 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009708/3.535, allocations: 6.489 MB / 1.306 GB, free: 411.1 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0975/3.632, allocations: 47.37 MB / 1.352 GB, free: 363.9 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.335/3.968, allocations: 226.3 MB / 1.573 GB, free: 135.7 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06131/4.029, allocations: 27.72 MB / 1.6 GB, free: 107.8 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0214/4.05, allocations: 16.8 MB / 1.617 GB, free: 91.01 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002065/4.052, allocations: 1.296 MB / 1.618 GB, free: 89.6 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05927/4.112, allocations: 20.42 MB / 1.638 GB, free: 69.09 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=891): time 2.579e-05/4.112, allocations: 0 / 1.638 GB, free: 69.09 MB / 0.8264 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed variables: equations: droneChassis1.bodyCylinder.body.frame_a.r_0[1] = propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * accelerometer.relativeAngles.R_rel.T[2,1] [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed