Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.07314/0.07314, allocations: 12.04 MB / 27.65 MB, free: 1.859 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.0008045/0.0008047, allocations: 107.6 kB / 31.38 MB, free: 5.273 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.001432/0.001432, allocations: 184 kB / 35.21 MB, free: 1.457 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.556/1.556, allocations: 223.2 MB / 262.2 MB, free: 0.9805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05834/0.05834, allocations: 13.7 MB / 329.9 MB, free: 1.129 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.02234/0.02234, allocations: 17.45 MB / 415.6 MB, free: 28.1 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1853, allocations: 56.49 MB / 472.1 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 1.413/1.598, allocations: 376.6 MB / 0.8288 GB, free: 7.984 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2627/1.861, allocations: 82.49 MB / 0.9094 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1312/1.992, allocations: 1.8 MB / 0.9111 GB, free: 9.395 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.07279/2.065, allocations: 17.73 MB / 0.9285 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.8659/2.931, allocations: 49.92 MB / 0.9772 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.03326/2.964, allocations: 4.104 MB / 0.9812 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.1028/3.067, allocations: 60.05 MB / 1.04 GB, free: 10.54 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1243/3.191, allocations: 50.28 MB / 1.089 GB, free: 6.301 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02827/3.22, allocations: 7.967 MB / 1.097 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03033/3.25, allocations: 12.12 MB / 1.109 GB, free: 7.27 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.01022/3.26, allocations: 1.082 MB / 1.11 GB, free: 6.188 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01911/3.28, allocations: 2.223 MB / 1.112 GB, free: 4.188 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.03032/3.31, allocations: 11.19 MB / 1.123 GB, free: 11.04 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.02257/3.333, allocations: 6.393 MB / 1.129 GB, free: 8.336 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.08927/3.422, allocations: 55.83 MB / 1.183 GB, free: 8.938 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.366e-05/3.422, allocations: 3.938 kB / 1.184 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of FrontEnd: time 8.136e-06/3.422, allocations: 0 / 1.184 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002959/3.425, allocations: 0.875 kB / 1.184 GB, free: 8.934 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: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.8203/4.245, allocations: 27.62 MB / 1.21 GB, free: 355.9 MB / 0.7483 GB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/4.245, allocations: 13.2 kB / 1.21 GB, free: 355.9 MB / 0.7483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03358/4.279, allocations: 5.946 MB / 1.216 GB, free: 354.6 MB / 0.7483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06315/4.342, allocations: 23.51 MB / 1.239 GB, free: 351.6 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003048/4.345, allocations: 1.796 MB / 1.241 GB, free: 351.6 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01667/4.362, allocations: 2.444 MB / 1.243 GB, free: 351.5 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1767/4.539, allocations: 60.57 MB / 1.303 GB, free: 302.1 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0023/4.541, allocations: 233.9 kB / 1.303 GB, free: 301.9 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01566/4.557, allocations: 1.051 MB / 1.304 GB, free: 300.9 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01132/4.568, allocations: 6.895 MB / 1.311 GB, free: 294.1 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1317/4.7, allocations: 50.98 MB / 1.36 GB, free: 243.2 MB / 0.7483 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.8811/5.581, allocations: 247.8 MB / 1.602 GB, free: 266.9 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07751/5.659, allocations: 29.36 MB / 1.631 GB, free: 265.8 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02938/5.688, allocations: 18.15 MB / 1.649 GB, free: 265.7 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00246/5.691, allocations: 1.306 MB / 1.65 GB, free: 264.8 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06614/5.757, allocations: 21.48 MB / 1.671 GB, free: 264.5 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=892): time 3.939e-05/5.757, allocations: 4.109 kB / 1.671 GB, free: 264.5 MB / 0.7483 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed