Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/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-master/package.mo) Running command: translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06164/0.06164, allocations: 12.05 MB / 28.21 MB, free: 1.816 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.001017/0.001017, allocations: 103.7 kB / 31.92 MB, free: 4.691 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.001219/0.001219, allocations: 188.5 kB / 35.75 MB, free: 0.8789 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.332/1.332, allocations: 222.9 MB / 262.3 MB, free: 4 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06423/0.06423, allocations: 13.68 MB / 329 MB, free: 1.09 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.02675/0.02675, allocations: 19.59 MB / 416.4 MB, free: 25.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1305, allocations: 55.41 MB / 471.8 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.3086/0.4392, allocations: 64.55 MB / 0.5237 GB, free: 15.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03221/0.4714, allocations: 14.21 MB / 0.5376 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01702/0.4885, allocations: 445.5 kB / 0.538 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04015/0.5287, allocations: 23.98 MB / 0.5615 GB, free: 4.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02037/0.5491, allocations: 7.571 MB / 0.5689 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01212/0.5613, allocations: 4.765 MB / 0.5735 GB, free: 12.78 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03933/0.6006, allocations: 25.51 MB / 0.5984 GB, free: 9.332 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05271/0.6534, allocations: 34.87 MB / 0.6325 GB, free: 7.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02263/0.6761, allocations: 11.11 MB / 0.6433 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02239/0.6985, allocations: 14.18 MB / 0.6572 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01094/0.7095, allocations: 3.113 MB / 0.6602 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01786/0.7274, allocations: 4.365 MB / 0.6645 GB, free: 8.078 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02146/0.7489, allocations: 13.14 MB / 0.6773 GB, free: 10.91 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03166/0.7806, allocations: 15.05 MB / 0.692 GB, free: 11.79 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.6635/1.444, allocations: 48.06 MB / 0.7389 GB, free: 75.29 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/1.444, allocations: 1.156 kB / 0.7389 GB, free: 75.29 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.764e-06/1.444, allocations: 0 / 0.7389 GB, free: 75.29 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002587/1.447, allocations: 0 / 0.7389 GB, free: 75.29 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7735 * Number of variables: 7735 Notification: Performance of Generate backend data structure: time 0.1322/1.579, allocations: 30.52 MB / 0.7687 GB, free: 59.81 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.579, allocations: 7.938 kB / 0.7688 GB, free: 59.81 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03459/1.614, allocations: 5.777 MB / 0.7744 GB, free: 57.09 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04436/1.658, allocations: 17.54 MB / 0.7915 GB, free: 46.73 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001693/1.66, allocations: 1.562 MB / 0.793 GB, free: 46.12 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01639/1.676, allocations: 2.124 MB / 0.7951 GB, free: 45.48 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1529/1.829, allocations: 54.56 MB / 0.8484 GB, free: 7.93 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002224/1.831, allocations: 234.7 kB / 0.8486 GB, free: 7.777 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01552/1.847, allocations: 0.9412 MB / 0.8495 GB, free: 6.953 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01507/1.862, allocations: 7.71 MB / 0.8571 GB, free: 15.36 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1225/1.985, allocations: 43.44 MB / 0.8995 GB, free: 4.684 MB / 0.5608 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.6494/2.634, allocations: 221.1 MB / 1.115 GB, free: 29.71 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05996/2.694, allocations: 24.62 MB / 1.139 GB, free: 5.008 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.3353/3.029, allocations: 15.55 MB / 1.155 GB, free: 191.9 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002482/3.032, allocations: 1.912 MB / 1.157 GB, free: 190.5 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05936/3.091, allocations: 18.91 MB / 1.175 GB, free: 187.7 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=751): time 1.646e-05/3.091, allocations: 0 / 1.175 GB, free: 187.7 MB / 0.5764 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.bodyShape5.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed