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.09032/0.09032, allocations: 12.02 MB / 27.25 MB, free: 2.086 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.001035/0.001034, allocations: 127 kB / 30.95 MB, free: 5.254 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.001124/0.001124, allocations: 192.4 kB / 34.76 MB, free: 1.457 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.397/1.397, allocations: 222.9 MB / 261.3 MB, free: 8.625 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05873/0.05873, allocations: 13.68 MB / 328 MB, free: 0.6719 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.02458/0.02458, allocations: 18.41 MB / 413.9 MB, free: 27.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1291, allocations: 55.41 MB / 469.3 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 1.017/1.146, allocations: 413.8 MB / 0.8624 GB, free: 0.7695 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2355/1.381, allocations: 80.58 MB / 0.9411 GB, free: 0.6211 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.6663/2.048, allocations: 1.805 MB / 0.9429 GB, free: 1.164 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05762/2.105, allocations: 30.29 MB / 0.9724 GB, free: 0.7344 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02647/2.132, allocations: 7.305 MB / 0.9796 GB, free: 232 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01687/2.149, allocations: 5.08 MB / 0.9845 GB, free: 132 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04862/2.197, allocations: 26.97 MB / 1.011 GB, free: 13.8 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1014/2.299, allocations: 46.22 MB / 1.056 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03134/2.33, allocations: 13.16 MB / 1.069 GB, free: 7.844 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0311/2.361, allocations: 17.46 MB / 1.086 GB, free: 7.934 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01462/2.376, allocations: 4.062 MB / 1.09 GB, free: 3.871 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01923/2.395, allocations: 5.399 MB / 1.095 GB, free: 14.61 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02913/2.425, allocations: 15.02 MB / 1.11 GB, free: 15.66 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.04639/2.471, allocations: 17.3 MB / 1.127 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.07643/2.547, allocations: 57.98 MB / 1.183 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.567e-06/2.547, allocations: 4 kB / 1.183 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.083e-06/2.547, allocations: 0 / 1.183 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002357/2.55, allocations: 0 / 1.183 GB, free: 5.223 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.1189/2.669, allocations: 33.74 MB / 1.216 GB, free: 3.555 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 6.223e-05/2.669, allocations: 8.031 kB / 1.216 GB, free: 3.547 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.033/2.702, allocations: 5.779 MB / 1.222 GB, free: 13.73 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5785/3.28, allocations: 20.72 MB / 1.242 GB, free: 445.4 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001961/3.282, allocations: 1.802 MB / 1.244 GB, free: 445.4 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01197/3.294, allocations: 2.445 MB / 1.246 GB, free: 445.4 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1478/3.442, allocations: 57.13 MB / 1.302 GB, free: 415.7 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001937/3.444, allocations: 227 kB / 1.302 GB, free: 415.6 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01178/3.456, allocations: 1.055 MB / 1.303 GB, free: 414.6 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01199/3.468, allocations: 6.489 MB / 1.31 GB, free: 408.2 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1043/3.572, allocations: 47.37 MB / 1.356 GB, free: 361.1 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.338/3.91, allocations: 226.2 MB / 1.577 GB, free: 132.9 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06327/3.974, allocations: 27.72 MB / 1.604 GB, free: 105.1 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02094/3.995, allocations: 16.8 MB / 1.62 GB, free: 88.27 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002297/3.997, allocations: 1.299 MB / 1.622 GB, free: 86.86 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0588/4.056, allocations: 20.41 MB / 1.642 GB, free: 66.36 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=891): time 3.415e-05/4.056, allocations: 0 / 1.642 GB, free: 66.36 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed