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/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.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/package.mo): time 0.06124/0.06124, allocations: 12.03 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.0009072/0.0009072, 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.001016/0.001016, allocations: 196.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.243/1.243, allocations: 222.9 MB / 261.8 MB, free: 7.355 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.0569/0.0569, allocations: 13.67 MB / 328.5 MB, free: 0.4961 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.02348/0.02348, allocations: 19.69 MB / 472.4 MB, free: 2.66 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2667, allocations: 55.39 MB / 0.5155 GB, free: 20.3 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.blades.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 propellerRev.blades.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.blades.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.blades.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.blades.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.blades.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.blades.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.blades.bodyShape4.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.Drone_IdealMachine): time 0.04733/0.3141, allocations: 60.64 MB / 0.5747 GB, free: 8.695 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0312/0.3453, allocations: 16.3 MB / 0.5906 GB, free: 8.609 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01062/0.356, allocations: 0.4946 MB / 0.5911 GB, free: 8.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04591/0.4019, allocations: 31.12 MB / 0.6215 GB, free: 8.926 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01783/0.4197, allocations: 8.084 MB / 0.6294 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009382/0.4291, allocations: 5.363 MB / 0.6346 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02959/0.4588, allocations: 26.77 MB / 0.6608 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04654/0.5053, allocations: 43.88 MB / 0.7036 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01663/0.522, allocations: 12.91 MB / 0.7162 GB, free: 8.426 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.232/0.754, allocations: 16.1 MB / 0.7319 GB, free: 54.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01078/0.7649, allocations: 4.06 MB / 0.7359 GB, free: 54.39 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01298/0.7779, allocations: 5.392 MB / 0.7412 GB, free: 54.39 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01498/0.7929, allocations: 15.12 MB / 0.7559 GB, free: 54.39 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02232/0.8152, allocations: 17.23 MB / 0.7728 GB, free: 49.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04725/0.8625, allocations: 58.75 MB / 0.8301 GB, free: 14.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.8625, allocations: 0 / 0.8301 GB, free: 14.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.894e-06/0.8625, allocations: 0 / 0.8301 GB, free: 14.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001501/0.864, allocations: 3.062 kB / 0.8301 GB, free: 14.24 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: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.07851/0.9425, allocations: 34.48 MB / 0.8638 GB, free: 15.09 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.9426, allocations: 11.31 kB / 0.8638 GB, free: 15.08 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02433/0.9669, allocations: 5.937 MB / 0.8696 GB, free: 9.129 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03795/1.005, allocations: 21.21 MB / 0.8903 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001525/1.006, allocations: 1.794 MB / 0.8921 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008877/1.015, allocations: 2.451 MB / 0.8945 GB, free: 0.8164 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1156/1.131, allocations: 57.13 MB / 0.9502 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001285/1.132, allocations: 230.5 kB / 0.9505 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006876/1.139, allocations: 1.051 MB / 0.9515 GB, free: 4.992 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009391/1.149, allocations: 6.492 MB / 0.9578 GB, free: 14.59 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2968/1.445, allocations: 47.36 MB / 1.004 GB, free: 218.9 MB / 0.67 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.2252/1.671, allocations: 225.2 MB / 1.224 GB, free: 15.12 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2761/1.947, allocations: 27.71 MB / 1.251 GB, free: 209.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01827/1.965, allocations: 16.79 MB / 1.268 GB, free: 202.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/1.967, allocations: 1.297 MB / 1.269 GB, free: 201.4 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05039/2.017, allocations: 20.41 MB / 1.289 GB, free: 196.5 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 2.144e-05/2.017, allocations: 2.656 kB / 1.289 GB, free: 196.5 MB / 0.67 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.blades.bodyShape4.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