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/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.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/package.mo): time 0.07848/0.07848, allocations: 12.01 MB / 27.64 MB, free: 1.879 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.0009895/0.0009896, allocations: 107.5 kB / 31.36 MB, free: 4.984 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.001127/0.001127, allocations: 192.5 kB / 35.2 MB, free: 1.164 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.429/1.429, allocations: 222.9 MB / 261.7 MB, free: 7.387 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06184/0.06184, allocations: 13.68 MB / 328.5 MB, free: 480 kB / 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.03037/0.03037, allocations: 19.68 MB / 472.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3375, allocations: 55.39 MB / 0.5155 GB, free: 20.23 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.05822/0.3957, allocations: 64.57 MB / 0.5785 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03334/0.4291, allocations: 14.22 MB / 0.5924 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01255/0.4417, allocations: 438.6 kB / 0.5928 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05569/0.4975, allocations: 23.98 MB / 0.6162 GB, free: 14.34 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02842/0.526, allocations: 7.577 MB / 0.6236 GB, free: 6.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01442/0.5404, allocations: 4.764 MB / 0.6283 GB, free: 2.035 MB / 462.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.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 propellerRev.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.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.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.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.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.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.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. Notification: Performance of NFFlatten.flatten: time 0.04322/0.5837, allocations: 25.49 MB / 0.6532 GB, free: 8.621 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04525/0.6289, allocations: 34.84 MB / 0.6872 GB, free: 6.23 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01765/0.6466, allocations: 11.14 MB / 0.6981 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01954/0.6662, allocations: 14.17 MB / 0.7119 GB, free: 12.85 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.008557/0.6748, allocations: 3.117 MB / 0.715 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01141/0.6862, allocations: 4.361 MB / 0.7192 GB, free: 5.367 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.2783/0.9645, allocations: 13.14 MB / 0.732 GB, free: 57.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03116/0.9957, allocations: 15.04 MB / 0.7467 GB, free: 54.59 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05977/1.056, allocations: 49.09 MB / 0.7947 GB, free: 38.79 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/1.056, allocations: 1.312 kB / 0.7947 GB, free: 38.79 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.853e-06/1.056, allocations: 0 / 0.7947 GB, free: 38.79 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001672/1.057, allocations: 0 / 0.7947 GB, free: 38.79 MB / 0.545 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.0829/1.14, allocations: 31.24 MB / 0.8252 GB, free: 17.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/1.14, allocations: 7.625 kB / 0.8252 GB, free: 17.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02894/1.169, allocations: 5.927 MB / 0.831 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03628/1.206, allocations: 17.98 MB / 0.8485 GB, free: 2.609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001367/1.207, allocations: 1.56 MB / 0.8501 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009211/1.216, allocations: 2.13 MB / 0.8521 GB, free: 15.16 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.123/1.339, allocations: 54.55 MB / 0.9054 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001508/1.341, allocations: 248.4 kB / 0.9057 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00833/1.349, allocations: 0.9285 MB / 0.9066 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.014/1.363, allocations: 7.718 MB / 0.9141 GB, free: 14.23 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09599/1.459, allocations: 43.43 MB / 0.9565 GB, free: 3.57 MB / 0.6544 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.5294/1.989, allocations: 220.3 MB / 1.172 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06038/2.049, allocations: 24.62 MB / 1.196 GB, free: 21.16 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01739/2.066, allocations: 15.54 MB / 1.211 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002329/2.069, allocations: 1.923 MB / 1.213 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3151/2.384, allocations: 18.9 MB / 1.231 GB, free: 213.1 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=751): time 2.286e-05/2.384, allocations: 1.312 kB / 1.231 GB, free: 213.1 MB / 0.6544 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.bodyShape5.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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed