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.06817/0.06817, allocations: 12.01 MB / 27.65 MB, free: 1.852 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.001063/0.001063, allocations: 107.3 kB / 31.36 MB, free: 4.973 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.00125/0.00125, allocations: 188.5 kB / 35.19 MB, free: 1.156 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.428/1.428, allocations: 222.9 MB / 261.7 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.06351/0.06351, allocations: 13.68 MB / 328.5 MB, free: 0.5039 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.02913/0.02913, allocations: 19.69 MB / 472.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3486, allocations: 55.39 MB / 0.5155 GB, free: 20.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.0554/0.404, allocations: 60.63 MB / 0.5747 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0403/0.4444, allocations: 16.29 MB / 0.5906 GB, free: 8.672 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02228/0.4667, allocations: 0.4946 MB / 0.591 GB, free: 8.176 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05725/0.524, allocations: 31.13 MB / 0.6214 GB, free: 8.984 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02701/0.5511, allocations: 7.839 MB / 0.6291 GB, free: 1.172 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.5642, allocations: 5.352 MB / 0.6343 GB, free: 11.84 MB / 478.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.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.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.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.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.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.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.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.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.04056/0.6048, allocations: 26.76 MB / 0.6605 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06873/0.6736, allocations: 43.9 MB / 0.7033 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02583/0.6994, allocations: 12.94 MB / 0.716 GB, free: 8.699 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3426/1.042, allocations: 16.04 MB / 0.7316 GB, free: 54.64 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01376/1.056, allocations: 4.056 MB / 0.7356 GB, free: 54.64 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01833/1.074, allocations: 5.386 MB / 0.7409 GB, free: 54.64 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02179/1.096, allocations: 14.88 MB / 0.7554 GB, free: 54.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02676/1.123, allocations: 17.23 MB / 0.7722 GB, free: 50.41 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05704/1.18, allocations: 58.74 MB / 0.8296 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.18, allocations: 0 / 0.8296 GB, free: 14.77 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.124e-06/1.18, allocations: 0 / 0.8296 GB, free: 14.77 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001888/1.182, allocations: 0 / 0.8296 GB, free: 14.77 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.09108/1.273, allocations: 34.48 MB / 0.8632 GB, free: 15.61 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/1.273, allocations: 11.97 kB / 0.8633 GB, free: 15.6 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0307/1.304, allocations: 5.939 MB / 0.8691 GB, free: 9.648 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04445/1.348, allocations: 21.2 MB / 0.8898 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001961/1.35, allocations: 1.8 MB / 0.8915 GB, free: 3.699 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01243/1.363, allocations: 2.45 MB / 0.8939 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1359/1.499, allocations: 57.13 MB / 0.9497 GB, free: 6.633 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001423/1.5, allocations: 235.7 kB / 0.9499 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007854/1.508, allocations: 1.042 MB / 0.9509 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01117/1.519, allocations: 6.492 MB / 0.9573 GB, free: 15.11 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3796/1.899, 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.2838/2.183, allocations: 225.2 MB / 1.223 GB, free: 15.65 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3426/2.525, allocations: 27.71 MB / 1.251 GB, free: 209.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02898/2.554, allocations: 16.8 MB / 1.267 GB, free: 202.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0021/2.557, allocations: 1.293 MB / 1.268 GB, free: 201.5 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06105/2.618, allocations: 20.41 MB / 1.288 GB, free: 196.6 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 2.696e-05/2.618, allocations: 0 / 1.288 GB, free: 196.6 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