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.06207/0.06207, allocations: 12.03 MB / 27.91 MB, free: 2.156 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.001055/0.001055, allocations: 121 kB / 31.61 MB, free: 5.242 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.001138/0.001138, allocations: 192 kB / 35.42 MB, free: 1.453 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.358/1.358, allocations: 222.9 MB / 262 MB, free: 8.621 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05751/0.05752, allocations: 13.67 MB / 328.7 MB, free: 0.6758 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.0242/0.0242, allocations: 18.41 MB / 414.6 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1245, allocations: 55.42 MB / 470 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.8608/0.9853, allocations: 413.8 MB / 0.863 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1789/1.164, allocations: 80.6 MB / 0.9418 GB, free: 0.6562 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.5261/1.69, allocations: 1.803 MB / 0.9435 GB, free: 1.223 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05291/1.743, allocations: 30.3 MB / 0.9731 GB, free: 0.8047 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02178/1.765, allocations: 7.303 MB / 0.9802 GB, free: 304 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01159/1.777, allocations: 5.082 MB / 0.9852 GB, free: 200 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.03987/1.817, allocations: 26.96 MB / 1.012 GB, free: 13.89 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07172/1.889, allocations: 46.23 MB / 1.057 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02438/1.913, allocations: 13.16 MB / 1.07 GB, free: 7.766 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02633/1.939, allocations: 17.46 MB / 1.087 GB, free: 7.855 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01177/1.951, allocations: 4.055 MB / 1.091 GB, free: 3.801 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01622/1.967, allocations: 5.405 MB / 1.096 GB, free: 14.53 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02549/1.993, allocations: 15.02 MB / 1.11 GB, free: 15.58 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03324/2.026, allocations: 17.31 MB / 1.127 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.05576/2.082, allocations: 49.98 MB / 1.176 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/2.082, allocations: 2.625 kB / 1.176 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.014e-06/2.082, allocations: 0 / 1.176 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001867/2.084, allocations: 0 / 1.176 GB, free: 13.13 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.09295/2.177, allocations: 33.73 MB / 1.209 GB, free: 11.47 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/2.177, allocations: 8.031 kB / 1.209 GB, free: 11.46 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0271/2.204, allocations: 5.777 MB / 1.215 GB, free: 5.648 MB / 0.8107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0383/2.242, allocations: 20.73 MB / 1.235 GB, free: 1.781 MB / 0.8263 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00168/2.244, allocations: 1.795 MB / 1.237 GB, free: 72 kB / 0.8263 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.42/2.664, allocations: 2.445 MB / 1.239 GB, free: 448.9 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1426/2.807, allocations: 57.13 MB / 1.295 GB, free: 422.4 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001611/2.809, allocations: 233.2 kB / 1.295 GB, free: 422.3 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009891/2.818, allocations: 1.046 MB / 1.296 GB, free: 421.6 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01038/2.829, allocations: 6.49 MB / 1.303 GB, free: 417.4 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09085/2.92, allocations: 47.37 MB / 1.349 GB, free: 370.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.2604/3.18, allocations: 226.3 MB / 1.57 GB, free: 142 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06134/3.242, allocations: 27.71 MB / 1.597 GB, free: 114.2 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.018/3.26, allocations: 16.8 MB / 1.613 GB, free: 97.36 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001558/3.261, allocations: 1.294 MB / 1.614 GB, free: 95.95 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05495/3.316, allocations: 20.43 MB / 1.634 GB, free: 75.44 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=891): time 1.948e-05/3.316, allocations: 0 / 1.634 GB, free: 75.44 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: 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/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