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-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.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-master/package.mo): time 0.06816/0.06816, allocations: 12.06 MB / 28.36 MB, free: 1.711 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.001142/0.001142, allocations: 114.9 kB / 32.08 MB, free: 4.559 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.001453/0.001453, allocations: 188.1 kB / 35.92 MB, free: 0.7383 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.4/1.4, allocations: 222.9 MB / 262.5 MB, free: 10.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2275/0.2275, allocations: 13.66 MB / 329.2 MB, free: 2.668 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.3631/0.3631, allocations: 19.73 MB / 473.2 MB, free: 38.09 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09556/0.4586, allocations: 55.4 MB / 0.5162 GB, free: 13.3 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.0515/0.5102, allocations: 60.75 MB / 0.5755 GB, free: 13.42 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03461/0.5448, allocations: 17.46 MB / 0.5926 GB, free: 13.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0134/0.5583, allocations: 0.4907 MB / 0.5931 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0513/0.6096, allocations: 31.2 MB / 0.6235 GB, free: 13.27 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02077/0.6304, allocations: 8.318 MB / 0.6317 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2515/0.882, allocations: 5.876 MB / 0.6374 GB, free: 9.527 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03252/0.9145, allocations: 28.41 MB / 0.6651 GB, free: 9.512 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04648/0.961, allocations: 47.29 MB / 0.7113 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02396/0.985, allocations: 14.05 MB / 0.725 GB, free: 9.234 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02297/1.008, allocations: 16.63 MB / 0.7413 GB, free: 9.805 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01221/1.02, allocations: 4.887 MB / 0.7461 GB, free: 4.918 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01542/1.036, allocations: 6.207 MB / 0.7521 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02211/1.058, allocations: 15.95 MB / 0.7677 GB, free: 15.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03371/1.092, allocations: 18.95 MB / 0.7862 GB, free: 13.07 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.06971/1.161, allocations: 67.19 MB / 0.8518 GB, free: 10.84 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/1.161, allocations: 0 / 0.8518 GB, free: 10.84 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.704e-06/1.161, allocations: 0 / 0.8518 GB, free: 10.84 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.001461/1.163, allocations: 0 / 0.8518 GB, free: 10.84 MB / 0.6232 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.5421/1.705, allocations: 35.24 MB / 0.8862 GB, free: 194.1 MB / 0.6233 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.705, allocations: 10.94 kB / 0.8863 GB, free: 194.1 MB / 0.6233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02442/1.73, allocations: 6.005 MB / 0.8921 GB, free: 191 MB / 0.6233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03309/1.763, allocations: 24.32 MB / 0.9159 GB, free: 172.9 MB / 0.6233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008736/1.764, allocations: 1.798 MB / 0.9176 GB, free: 171.1 MB / 0.6233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007666/1.771, allocations: 2.45 MB / 0.92 GB, free: 168.8 MB / 0.6233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1003/1.872, allocations: 60.56 MB / 0.9792 GB, free: 106.4 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009929/1.873, allocations: 236.1 kB / 0.9794 GB, free: 106.1 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007736/1.88, allocations: 1.053 MB / 0.9804 GB, free: 105.2 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008519/1.889, allocations: 6.897 MB / 0.9871 GB, free: 98.3 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07899/1.968, allocations: 50.99 MB / 1.037 GB, free: 47.34 MB / 0.6233 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.5782/2.546, allocations: 247 MB / 1.278 GB, free: 66.81 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06039/2.607, allocations: 29.26 MB / 1.307 GB, free: 41.34 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01946/2.626, allocations: 18.14 MB / 1.324 GB, free: 23.17 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/2.628, allocations: 1.307 MB / 1.326 GB, free: 21.75 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05655/2.684, allocations: 21.4 MB / 1.347 GB, free: 284 kB / 0.6545 GB Notification: Performance of pre-optimization done (n=892): time 2.307e-05/2.684, allocations: 4 kB / 1.347 GB, free: 280 kB / 0.6545 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed Error: Internal error SimCode DAEmode: The model DroneLibrary.Examples.DroneWithIdealPower.TestSystem could not be translated