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.06353/0.06353, allocations: 12.04 MB / 28.34 MB, free: 1.758 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.00115/0.00115, allocations: 103.9 kB / 32.07 MB, free: 4.609 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.001792/0.001792, allocations: 192.4 kB / 35.9 MB, free: 0.7891 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.512/1.512, allocations: 222.9 MB / 262.5 MB, free: 7.418 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06341/0.06341, allocations: 13.69 MB / 329.2 MB, free: 464 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.03251/0.03251, allocations: 19.64 MB / 473.1 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4329/0.4654, allocations: 55.4 MB / 0.5161 GB, free: 20.15 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.07075/0.5362, allocations: 64.59 MB / 0.5792 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04857/0.5848, allocations: 14.21 MB / 0.5931 GB, free: 6.676 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02059/0.6055, allocations: 434.6 kB / 0.5935 GB, free: 6.25 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04803/0.6536, allocations: 23.99 MB / 0.6169 GB, free: 14.21 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02884/0.6825, allocations: 7.878 MB / 0.6246 GB, free: 6.359 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01302/0.6955, allocations: 4.75 MB / 0.6293 GB, free: 1.629 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.04732/0.7429, allocations: 25.51 MB / 0.6542 GB, free: 8.195 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05716/0.8001, allocations: 34.84 MB / 0.6882 GB, free: 5.789 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0262/0.8263, allocations: 11.1 MB / 0.699 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02513/0.8515, allocations: 14.21 MB / 0.7129 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01158/0.8631, allocations: 3.117 MB / 0.716 GB, free: 9.289 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01543/0.8786, allocations: 4.377 MB / 0.7202 GB, free: 4.91 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.4483/1.327, allocations: 13.36 MB / 0.7333 GB, free: 57.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.05251/1.38, allocations: 15.05 MB / 0.748 GB, free: 54.43 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.08281/1.462, allocations: 48.95 MB / 0.7958 GB, free: 38.92 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 8.846e-06/1.462, allocations: 0 / 0.7958 GB, free: 38.92 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.034e-06/1.462, allocations: 0 / 0.7958 GB, free: 38.92 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.002297/1.465, allocations: 3.625 kB / 0.7958 GB, free: 38.92 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.1096/1.574, allocations: 30.53 MB / 0.8256 GB, free: 18.52 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 9.117e-05/1.575, allocations: 11.44 kB / 0.8256 GB, free: 18.52 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03126/1.606, allocations: 5.778 MB / 0.8313 GB, free: 15.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04189/1.648, allocations: 17.9 MB / 0.8487 GB, free: 3.383 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001553/1.649, allocations: 1.56 MB / 0.8503 GB, free: 1.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01349/1.663, allocations: 2.126 MB / 0.8523 GB, free: 15.93 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1673/1.83, allocations: 54.56 MB / 0.9056 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002175/1.832, allocations: 240.9 kB / 0.9059 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01196/1.844, allocations: 0.9425 MB / 0.9068 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01501/1.859, allocations: 7.707 MB / 0.9143 GB, free: 15.01 MB / 0.6232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1178/1.977, allocations: 43.44 MB / 0.9567 GB, free: 4.34 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.7583/2.736, allocations: 219.9 MB / 1.171 GB, free: 47.1 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05674/2.793, allocations: 24.61 MB / 1.196 GB, free: 22.37 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0189/2.811, allocations: 15.55 MB / 1.211 GB, free: 6.801 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002272/2.814, allocations: 1.913 MB / 1.213 GB, free: 4.652 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.462/3.276, allocations: 18.9 MB / 1.231 GB, free: 212.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=751): time 2.211e-05/3.276, allocations: 1.312 kB / 1.231 GB, free: 212.8 MB / 0.6544 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed