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.06364/0.06364, allocations: 12.02 MB / 27.66 MB, free: 1.875 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.0009329/0.000933, allocations: 105.2 kB / 31.36 MB, free: 4.988 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.001019/0.001019, allocations: 192.4 kB / 35.19 MB, free: 1.172 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.259/1.259, allocations: 222.9 MB / 261.8 MB, free: 7.336 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05638/0.05638, allocations: 13.66 MB / 328.5 MB, free: 492 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.02388/0.02388, allocations: 19.67 MB / 472.4 MB, free: 2.617 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2649, allocations: 55.39 MB / 0.5155 GB, free: 20.21 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 propellerRev.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 propellerRev.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 propellerRev3.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 propellerRev3.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 propellerRev1.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 propellerRev1.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 propellerRev2.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 propellerRev2.bodyShape5.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.DroneForVR): time 0.04974/0.3147, allocations: 64.58 MB / 0.5785 GB, free: 4.828 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02687/0.3416, allocations: 14.22 MB / 0.5924 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00892/0.3505, allocations: 438.6 kB / 0.5928 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03522/0.3858, allocations: 23.98 MB / 0.6162 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01652/0.4023, allocations: 7.883 MB / 0.6239 GB, free: 6.379 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008364/0.4107, allocations: 4.754 MB / 0.6286 GB, free: 1.641 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.02802/0.4387, allocations: 25.51 MB / 0.6535 GB, free: 8.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03469/0.4734, allocations: 34.83 MB / 0.6875 GB, free: 5.816 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01448/0.4879, allocations: 11.1 MB / 0.6984 GB, free: 10.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0173/0.5053, allocations: 14.21 MB / 0.7122 GB, free: 12.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00593/0.5112, allocations: 3.117 MB / 0.7153 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008356/0.5196, allocations: 4.373 MB / 0.7196 GB, free: 4.941 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.4006/0.9202, allocations: 13.37 MB / 0.7326 GB, free: 57.81 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02332/0.9436, allocations: 15.05 MB / 0.7473 GB, free: 54.54 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.04861/0.9922, allocations: 49.1 MB / 0.7953 GB, free: 38.7 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.9923, allocations: 0 / 0.7953 GB, free: 38.7 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9923, allocations: 0 / 0.7953 GB, free: 38.7 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.001421/0.9937, allocations: 4.531 kB / 0.7953 GB, free: 38.7 MB / 0.5452 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.0674/1.061, allocations: 31.25 MB / 0.8258 GB, free: 17.54 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/1.061, allocations: 7.438 kB / 0.8258 GB, free: 17.54 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02469/1.086, allocations: 5.928 MB / 0.8316 GB, free: 14.47 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03077/1.117, allocations: 17.97 MB / 0.8491 GB, free: 2.211 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001129/1.118, allocations: 1.566 MB / 0.8507 GB, free: 0.7617 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007973/1.126, allocations: 2.122 MB / 0.8527 GB, free: 14.76 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1112/1.237, allocations: 54.56 MB / 0.906 GB, free: 6.41 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001342/1.238, allocations: 246.4 kB / 0.9062 GB, free: 6.25 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009324/1.248, allocations: 0.932 MB / 0.9072 GB, free: 5.434 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01186/1.26, allocations: 7.708 MB / 0.9147 GB, free: 13.84 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08433/1.344, allocations: 43.44 MB / 0.9571 GB, free: 3.172 MB / 0.6545 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.4401/1.784, allocations: 220.3 MB / 1.172 GB, free: 45.59 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05066/1.835, allocations: 24.61 MB / 1.196 GB, free: 20.87 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01392/1.849, allocations: 15.56 MB / 1.211 GB, free: 5.293 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001699/1.85, allocations: 1.917 MB / 1.213 GB, free: 3.141 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2608/2.111, allocations: 18.9 MB / 1.232 GB, free: 212.3 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=751): time 1.591e-05/2.111, allocations: 0 / 1.232 GB, free: 212.3 MB / 0.6545 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