Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06342/0.06342, allocations: 12.02 MB / 27.52 MB, free: 1.648 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.001009/0.001009, allocations: 113.6 kB / 31.23 MB, free: 4.895 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.001215/0.001215, allocations: 200.4 kB / 35.06 MB, free: 1.082 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.301/1.301, allocations: 222.9 MB / 261.6 MB, free: 100 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05792/0.05792, allocations: 13.68 MB / 328.3 MB, free: 1.152 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.02643/0.02643, allocations: 19.6 MB / 415.6 MB, free: 25.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.127, allocations: 55.41 MB / 471 MB, free: 4.043 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.2504/0.3775, allocations: 64.54 MB / 0.523 GB, free: 15.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0277/0.4052, allocations: 14.22 MB / 0.5369 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01174/0.417, allocations: 439.3 kB / 0.5373 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03683/0.4539, allocations: 23.99 MB / 0.5608 GB, free: 4.887 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01878/0.4727, allocations: 7.578 MB / 0.5682 GB, free: 52 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01069/0.4834, allocations: 4.76 MB / 0.5728 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03259/0.5161, allocations: 25.51 MB / 0.5977 GB, free: 9.383 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05082/0.5669, allocations: 34.88 MB / 0.6318 GB, free: 7.535 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01824/0.5852, allocations: 11.11 MB / 0.6426 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02094/0.6062, allocations: 14.18 MB / 0.6565 GB, free: 15.55 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009325/0.6155, allocations: 3.117 MB / 0.6595 GB, free: 12.43 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01444/0.63, allocations: 4.359 MB / 0.6638 GB, free: 8.145 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01763/0.6477, allocations: 13.14 MB / 0.6766 GB, free: 10.98 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03095/0.6787, allocations: 15.04 MB / 0.6913 GB, free: 11.86 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.478/1.157, allocations: 48.06 MB / 0.7382 GB, free: 75.32 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/1.157, allocations: 0 / 0.7382 GB, free: 75.32 MB / 0.4983 GB Notification: Performance of FrontEnd: time 2.825e-06/1.157, allocations: 0.9062 kB / 0.7382 GB, free: 75.32 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002135/1.159, allocations: 1.109 kB / 0.7382 GB, free: 75.32 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7735 * Number of variables: 7735 Notification: Performance of Generate backend data structure: time 0.113/1.272, allocations: 30.52 MB / 0.768 GB, free: 59.84 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.272, allocations: 7.938 kB / 0.7681 GB, free: 59.84 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03256/1.305, allocations: 5.771 MB / 0.7737 GB, free: 57.12 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04111/1.346, allocations: 17.54 MB / 0.7908 GB, free: 46.75 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002021/1.348, allocations: 1.557 MB / 0.7923 GB, free: 46.14 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01325/1.361, allocations: 2.131 MB / 0.7944 GB, free: 45.49 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1267/1.488, allocations: 54.56 MB / 0.8477 GB, free: 7.992 MB / 0.5139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001759/1.49, allocations: 236.4 kB / 0.8479 GB, free: 7.84 MB / 0.5139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01153/1.501, allocations: 0.9382 MB / 0.8488 GB, free: 7.02 MB / 0.5139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01361/1.515, allocations: 7.716 MB / 0.8564 GB, free: 15.42 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1073/1.622, allocations: 43.43 MB / 0.8988 GB, free: 4.754 MB / 0.5608 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.5665/2.189, allocations: 221.1 MB / 1.115 GB, free: 29.99 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05983/2.249, allocations: 24.62 MB / 1.139 GB, free: 5.277 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.288/2.537, allocations: 15.55 MB / 1.154 GB, free: 192 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002441/2.539, allocations: 1.914 MB / 1.156 GB, free: 190.6 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05876/2.598, allocations: 18.91 MB / 1.174 GB, free: 188 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=751): time 2.192e-05/2.598, allocations: 0.8906 kB / 1.174 GB, free: 188 MB / 0.5764 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.bodyShape5.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed