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-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.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-master/package.mo): time 0.06155/0.06155, allocations: 12.05 MB / 28.3 MB, free: 1.383 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.001008/0.001007, allocations: 96.06 kB / 32.01 MB, free: 4.441 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.001272/0.001272, allocations: 184.5 kB / 35.84 MB, free: 0.6289 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.369/1.369, allocations: 222.9 MB / 262.4 MB, free: 10.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1857/0.1857, allocations: 13.65 MB / 329.1 MB, free: 2.738 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.03095/0.03095, allocations: 19.36 MB / 416.9 MB, free: 5.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4602, allocations: 55.39 MB / 472.3 MB, free: 53.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.04136/0.5016, allocations: 60.63 MB / 0.5205 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02865/0.5303, allocations: 16.3 MB / 0.5364 GB, free: 96 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0122/0.5426, allocations: 0.4936 MB / 0.5369 GB, free: 0 / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05424/0.5969, allocations: 31.12 MB / 0.5672 GB, free: 11.34 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02088/0.6178, allocations: 7.833 MB / 0.5749 GB, free: 3.527 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01268/0.6305, allocations: 5.361 MB / 0.5801 GB, free: 14.19 MB / 430.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 propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.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 propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.03888/0.6694, allocations: 26.75 MB / 0.6063 GB, free: 3.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3334/1.003, allocations: 43.9 MB / 0.6491 GB, free: 26.39 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02703/1.03, allocations: 12.94 MB / 0.6618 GB, free: 26.09 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02988/1.06, allocations: 16.03 MB / 0.6774 GB, free: 24.86 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.02052/1.08, allocations: 4.061 MB / 0.6814 GB, free: 24.86 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02481/1.105, allocations: 5.388 MB / 0.6866 GB, free: 24.86 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02889/1.134, allocations: 14.87 MB / 0.7012 GB, free: 22.5 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.04111/1.175, allocations: 17.23 MB / 0.718 GB, free: 10.17 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.07394/1.249, allocations: 58.58 MB / 0.7752 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.249, allocations: 0 / 0.7752 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of FrontEnd: time 1.803e-06/1.249, allocations: 0 / 0.7752 GB, free: 8.734 MB / 0.5138 GB Notification: Performance of Transformations before backend: time 0.002076/1.252, allocations: 2.469 kB / 0.7752 GB, free: 8.734 MB / 0.5138 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.1038/1.355, allocations: 33.73 MB / 0.8082 GB, free: 7.199 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/1.355, allocations: 8.031 kB / 0.8082 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02796/1.383, allocations: 5.781 MB / 0.8138 GB, free: 1.383 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04953/1.433, allocations: 21.14 MB / 0.8344 GB, free: 13.21 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001965/1.435, allocations: 1.786 MB / 0.8362 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01151/1.447, allocations: 2.45 MB / 0.8386 GB, free: 9.145 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5768/2.023, allocations: 57.12 MB / 0.8944 GB, free: 161.7 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001538/2.025, allocations: 232 kB / 0.8946 GB, free: 161.6 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007796/2.033, allocations: 1.051 MB / 0.8956 GB, free: 160.9 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01175/2.045, allocations: 6.486 MB / 0.9019 GB, free: 159.5 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09189/2.136, allocations: 47.37 MB / 0.9482 GB, free: 126.6 MB / 0.5764 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.5809/2.717, allocations: 224.9 MB / 1.168 GB, free: 67.03 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06638/2.784, allocations: 27.69 MB / 1.195 GB, free: 58.9 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02066/2.805, allocations: 16.8 MB / 1.211 GB, free: 51.1 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0019/2.806, allocations: 1.297 MB / 1.213 GB, free: 50.15 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05543/2.862, allocations: 20.41 MB / 1.232 GB, free: 43.12 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=891): time 1.911e-05/2.862, allocations: 0 / 1.232 GB, free: 43.12 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.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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed