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.0828/0.0828, allocations: 12.04 MB / 27.31 MB, free: 1.719 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.0007517/0.0007519, allocations: 95.84 kB / 31.05 MB, free: 5.188 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.001252/0.001252, allocations: 184.4 kB / 34.9 MB, free: 1.348 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.529/1.529, allocations: 223.3 MB / 261.9 MB, free: 0.8633 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05828/0.05828, allocations: 13.7 MB / 329.6 MB, free: 1.02 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.02093/0.02093, allocations: 17.4 MB / 415.6 MB, free: 27.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1503, allocations: 56.48 MB / 472.1 MB, free: 5.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 1.284/1.435, allocations: 405 MB / 0.8565 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.8997/2.334, allocations: 80.59 MB / 0.9352 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1387/2.473, allocations: 1.8 MB / 0.937 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01249/2.486, allocations: 2.183 MB / 0.9391 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0345/2.52, allocations: 7.526 MB / 0.9465 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01809/2.538, allocations: 4.966 MB / 0.9513 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07338/2.612, allocations: 39.09 MB / 0.9895 GB, free: 12.15 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09488/2.707, allocations: 56.34 MB / 1.045 GB, free: 0.6016 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02435/2.731, allocations: 7.391 MB / 1.052 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03181/2.763, allocations: 12.18 MB / 1.064 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00987/2.773, allocations: 0.9727 MB / 1.065 GB, free: 2.188 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01867/2.792, allocations: 2.394 MB / 1.067 GB, free: 36 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.02462/2.816, allocations: 11.15 MB / 1.078 GB, free: 4.953 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.03535/2.852, allocations: 12.79 MB / 1.09 GB, free: 8.191 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.08568/2.937, allocations: 54.15 MB / 1.143 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/2.938, allocations: 0 / 1.143 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.917e-06/2.938, allocations: 0 / 1.143 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002527/2.94, allocations: 0 / 1.143 GB, free: 2.867 MB / 0.7325 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.09613/3.036, allocations: 27.19 MB / 1.17 GB, free: 7.562 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 6.938e-05/3.036, allocations: 8.031 kB / 1.17 GB, free: 7.555 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03406/3.07, allocations: 5.877 MB / 1.175 GB, free: 1.641 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05253/3.123, allocations: 20.74 MB / 1.196 GB, free: 13.77 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002594/3.126, allocations: 1.795 MB / 1.197 GB, free: 12.06 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01592/3.142, allocations: 2.445 MB / 1.2 GB, free: 9.699 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8888/4.03, allocations: 57.3 MB / 1.256 GB, free: 410.1 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003343/4.034, allocations: 228.5 kB / 1.256 GB, free: 410 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01689/4.051, allocations: 1.05 MB / 1.257 GB, free: 409.3 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01477/4.066, allocations: 6.496 MB / 1.263 GB, free: 406.8 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1298/4.195, allocations: 47.57 MB / 1.31 GB, free: 380.5 MB / 0.8108 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.3737/4.569, allocations: 225.9 MB / 1.53 GB, free: 152.1 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06573/4.635, allocations: 27.86 MB / 1.558 GB, free: 124.1 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02366/4.659, allocations: 16.83 MB / 1.574 GB, free: 107.2 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002002/4.661, allocations: 1.3 MB / 1.575 GB, free: 105.8 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05978/4.721, allocations: 20.53 MB / 1.595 GB, free: 85.21 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=891): time 2.628e-05/4.721, allocations: 0 / 1.595 GB, free: 85.21 MB / 0.8108 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed