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.0576/0.0576, allocations: 12.05 MB / 28.35 MB, free: 1.75 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.0009633/0.0009634, allocations: 115.2 kB / 32.08 MB, free: 4.598 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.001077/0.001077, allocations: 192.1 kB / 35.91 MB, free: 0.7773 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.337/1.337, allocations: 222.9 MB / 262.5 MB, free: 7.422 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05723/0.05723, allocations: 13.68 MB / 329.2 MB, free: 448 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.02819/0.02819, allocations: 19.73 MB / 473.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3536, allocations: 55.4 MB / 0.5162 GB, free: 20.22 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.05562/0.4092, allocations: 64.58 MB / 0.5793 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03273/0.442, allocations: 14.23 MB / 0.5932 GB, free: 6.703 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01243/0.4544, allocations: 438.6 kB / 0.5936 GB, free: 6.273 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03983/0.4943, allocations: 23.98 MB / 0.617 GB, free: 14.24 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02368/0.518, allocations: 7.872 MB / 0.6247 GB, free: 6.395 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01184/0.5299, allocations: 4.751 MB / 0.6294 GB, free: 1.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03772/0.5676, allocations: 25.52 MB / 0.6543 GB, free: 8.219 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0454/0.6131, allocations: 34.83 MB / 0.6883 GB, free: 5.824 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02011/0.6332, allocations: 11.1 MB / 0.6991 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02225/0.6555, allocations: 14.22 MB / 0.713 GB, free: 12.44 MB / 0.5451 GB Notification: Performance of NFPackage.collectConstants: time 0.009509/0.6651, allocations: 3.121 MB / 0.7161 GB, free: 9.316 MB / 0.5451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01281/0.6779, allocations: 4.365 MB / 0.7203 GB, free: 4.949 MB / 0.5451 GB Notification: Performance of NFScalarize.scalarize: time 0.5317/1.21, allocations: 13.37 MB / 0.7334 GB, free: 58.02 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.03363/1.243, allocations: 15.05 MB / 0.7481 GB, free: 54.75 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.05968/1.303, allocations: 49.09 MB / 0.796 GB, free: 38.9 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.303, allocations: 3.984 kB / 0.796 GB, free: 38.9 MB / 0.5452 GB Notification: Performance of FrontEnd: time 2.926e-06/1.303, allocations: 0 / 0.796 GB, free: 38.9 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.001768/1.305, allocations: 4.688 kB / 0.796 GB, free: 38.9 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.08211/1.387, allocations: 31.24 MB / 0.8265 GB, free: 17.75 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/1.387, allocations: 14.09 kB / 0.8265 GB, free: 17.75 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02849/1.416, allocations: 5.924 MB / 0.8323 GB, free: 14.68 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03584/1.451, allocations: 17.97 MB / 0.8499 GB, free: 2.258 MB / 0.5452 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/1.453, allocations: 1.566 MB / 0.8514 GB, free: 0.8086 MB / 0.5452 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01028/1.463, allocations: 2.129 MB / 0.8535 GB, free: 14.8 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1363/1.599, allocations: 54.56 MB / 0.9068 GB, free: 6.449 MB / 0.6077 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00172/1.601, allocations: 246 kB / 0.907 GB, free: 6.289 MB / 0.6077 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009402/1.61, allocations: 0.9414 MB / 0.9079 GB, free: 5.469 MB / 0.6077 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01266/1.623, allocations: 7.711 MB / 0.9155 GB, free: 13.88 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.104/1.727, allocations: 43.43 MB / 0.9579 GB, free: 3.207 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.646/2.373, allocations: 220.3 MB / 1.173 GB, free: 14.77 MB / 0.6858 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06629/2.44, allocations: 24.61 MB / 1.197 GB, free: 6.094 MB / 0.7014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02193/2.462, allocations: 15.56 MB / 1.212 GB, free: 6.516 MB / 0.717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00276/2.464, allocations: 1.911 MB / 1.214 GB, free: 4.367 MB / 0.717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3309/2.795, allocations: 18.91 MB / 1.233 GB, free: 271.8 MB / 0.717 GB Notification: Performance of pre-optimization done (n=751): time 2.336e-05/2.795, allocations: 0 / 1.233 GB, free: 271.8 MB / 0.717 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 Error: Internal error SimCode DAEmode: The model DroneLibrary.Examples.DroneWithIdealPower.DroneForVR could not be translated