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.05916/0.05916, allocations: 12.03 MB / 27.91 MB, free: 2.141 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.0009666/0.0009666, allocations: 109.7 kB / 31.61 MB, free: 5.238 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.001147/0.001147, allocations: 176.4 kB / 35.42 MB, free: 1.449 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.375/1.375, allocations: 222.9 MB / 262 MB, free: 8.641 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.08158/0.08158, allocations: 13.68 MB / 328.7 MB, free: 0.6406 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.02361/0.02361, allocations: 18.42 MB / 414.6 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1241, allocations: 55.41 MB / 470 MB, free: 5.477 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.8563/0.9804, allocations: 413.8 MB / 0.8631 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6347/1.615, allocations: 84.91 MB / 0.946 GB, free: 1.113 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.103/1.718, allocations: 1.81 MB / 0.9478 GB, free: 1.113 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05154/1.77, allocations: 30.38 MB / 0.9775 GB, free: 0.6797 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02326/1.793, allocations: 7.504 MB / 0.9848 GB, free: 176 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01354/1.807, allocations: 5.609 MB / 0.9903 GB, free: 72 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.04683/1.854, allocations: 29.04 MB / 1.019 GB, free: 14.41 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07681/1.93, allocations: 49.79 MB / 1.067 GB, free: 9.809 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02629/1.957, allocations: 13.96 MB / 1.081 GB, free: 13.87 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02818/1.985, allocations: 18 MB / 1.098 GB, free: 13.31 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.0127/1.998, allocations: 4.883 MB / 1.103 GB, free: 8.426 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02143/2.019, allocations: 6.224 MB / 1.109 GB, free: 2.336 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02382/2.043, allocations: 15.85 MB / 1.125 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03607/2.079, allocations: 18.85 MB / 1.143 GB, free: 15.73 MB / 0.7482 GB Notification: Performance of NFConvertDAE.convert: time 0.05962/2.139, allocations: 58.02 MB / 1.2 GB, free: 6.531 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 1.002e-05/2.139, allocations: 0 / 1.2 GB, free: 6.531 MB / 0.795 GB Notification: Performance of FrontEnd: time 5.12e-06/2.139, allocations: 4 kB / 1.2 GB, free: 6.527 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.002038/2.141, allocations: 0 / 1.2 GB, free: 6.527 MB / 0.795 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.1057/2.247, allocations: 34.49 MB / 1.234 GB, free: 4.105 MB / 0.8263 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/2.247, allocations: 11.03 kB / 1.234 GB, free: 4.098 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8898/3.137, allocations: 5.838 MB / 1.239 GB, free: 135.1 MB / 0.8264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05326/3.19, allocations: 23.85 MB / 1.263 GB, free: 133.1 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001883/3.192, allocations: 1.798 MB / 1.264 GB, free: 133.1 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01141/3.203, allocations: 2.445 MB / 1.267 GB, free: 133.1 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1291/3.332, allocations: 60.58 MB / 1.326 GB, free: 113.5 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001676/3.334, allocations: 232.8 kB / 1.326 GB, free: 113.5 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008615/3.343, allocations: 1.05 MB / 1.327 GB, free: 112.8 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01023/3.353, allocations: 6.888 MB / 1.334 GB, free: 110 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09289/3.446, allocations: 50.99 MB / 1.384 GB, free: 60.48 MB / 0.8264 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.8656/4.312, allocations: 248.2 MB / 1.626 GB, free: 138.9 MB / 0.967 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06991/4.382, allocations: 29.26 MB / 1.655 GB, free: 137.8 MB / 0.967 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02086/4.402, allocations: 18.14 MB / 1.672 GB, free: 137.7 MB / 0.967 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001991/4.404, allocations: 1.305 MB / 1.674 GB, free: 136.9 MB / 0.967 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0599/4.464, allocations: 21.4 MB / 1.695 GB, free: 136.5 MB / 0.967 GB Notification: Performance of pre-optimization done (n=892): time 2.097e-05/4.464, allocations: 1.75 kB / 1.695 GB, free: 136.5 MB / 0.967 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed