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.06617/0.06617, allocations: 12.04 MB / 27.97 MB, free: 1.512 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.0007264/0.0007264, allocations: 107.9 kB / 31.71 MB, free: 4.805 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.0008521/0.0008521, allocations: 176.5 kB / 35.56 MB, free: 0.9688 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.42/1.42, allocations: 223.2 MB / 262.5 MB, free: 9.645 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06011/0.06011, allocations: 13.69 MB / 330.3 MB, free: 332 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.01681/0.01681, allocations: 17.38 MB / 416.2 MB, free: 27.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1377, allocations: 56.49 MB / 472.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 1.008/1.146, allocations: 405 MB / 0.8572 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.7408/1.887, allocations: 80.59 MB / 0.9359 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1082/1.995, allocations: 1.802 MB / 0.9376 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01047/2.005, allocations: 2.187 MB / 0.9398 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.02771/2.033, allocations: 7.522 MB / 0.9471 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0145/2.048, allocations: 4.956 MB / 0.952 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05688/2.105, allocations: 39.1 MB / 0.9901 GB, free: 12.14 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08374/2.188, allocations: 56.34 MB / 1.045 GB, free: 0.582 MB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02209/2.211, allocations: 7.387 MB / 1.052 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02332/2.234, allocations: 12.18 MB / 1.064 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006672/2.241, allocations: 0.9688 MB / 1.065 GB, free: 2.172 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/2.253, allocations: 2.395 MB / 1.068 GB, free: 76 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.01992/2.273, allocations: 11.15 MB / 1.078 GB, free: 4.992 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02963/2.302, allocations: 12.79 MB / 1.091 GB, free: 8.23 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.05427/2.357, allocations: 48.17 MB / 1.138 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/2.357, allocations: 0 / 1.138 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.604e-06/2.357, allocations: 2.625 kB / 1.138 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001963/2.359, allocations: 0 / 1.138 GB, free: 8.863 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.07408/2.433, allocations: 27.19 MB / 1.165 GB, free: 13.55 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/2.433, allocations: 8.031 kB / 1.165 GB, free: 13.55 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02717/2.46, allocations: 5.882 MB / 1.17 GB, free: 7.629 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04227/2.502, allocations: 20.73 MB / 1.191 GB, free: 3.758 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001691/2.504, allocations: 1.794 MB / 1.192 GB, free: 2.047 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009368/2.514, allocations: 2.442 MB / 1.195 GB, free: 15.69 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6557/3.169, allocations: 57.31 MB / 1.251 GB, free: 411.7 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003587/3.173, allocations: 229.3 kB / 1.251 GB, free: 411.6 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01215/3.185, allocations: 1.049 MB / 1.252 GB, free: 410.9 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01239/3.198, allocations: 6.496 MB / 1.258 GB, free: 409.1 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1097/3.307, allocations: 47.57 MB / 1.305 GB, free: 384.4 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.2818/3.589, allocations: 225.9 MB / 1.525 GB, free: 158 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06225/3.651, allocations: 27.87 MB / 1.552 GB, free: 129.9 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01893/3.67, allocations: 16.83 MB / 1.569 GB, free: 113.1 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001627/3.672, allocations: 1.302 MB / 1.57 GB, free: 111.7 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05664/3.729, allocations: 20.52 MB / 1.59 GB, free: 91.06 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=891): time 2.491e-05/3.729, allocations: 4 kB / 1.59 GB, free: 91.06 MB / 0.8108 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.blades.bodyShape4.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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed