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.0672/0.0672, allocations: 12.03 MB / 27.01 MB, free: 2.348 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.0008259/0.0008261, allocations: 101.9 kB / 30.74 MB, free: 5.559 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.001917/0.001918, allocations: 184.5 kB / 34.57 MB, free: 1.738 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.57/1.57, allocations: 223.3 MB / 261.5 MB, free: 9.613 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05686/0.05686, allocations: 13.7 MB / 329.3 MB, free: 420 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.02097/0.02097, allocations: 17.45 MB / 415 MB, free: 28.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1641, allocations: 56.49 MB / 471.5 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 1.121/1.285, allocations: 376.1 MB / 0.8277 GB, free: 8.152 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2332/1.518, allocations: 78.15 MB / 0.904 GB, free: 40 kB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1076/1.626, allocations: 1.804 MB / 0.9058 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.06145/1.688, allocations: 17.72 MB / 0.9231 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.6704/2.358, allocations: 49.9 MB / 0.9718 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02755/2.386, allocations: 4.097 MB / 0.9758 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.08629/2.472, allocations: 58.8 MB / 1.033 GB, free: 15.64 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08889/2.561, allocations: 49.08 MB / 1.081 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02856/2.589, allocations: 7.872 MB / 1.089 GB, free: 7.328 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02645/2.616, allocations: 12.02 MB / 1.101 GB, free: 14.29 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.009526/2.626, allocations: 0.9744 MB / 1.102 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01419/2.64, allocations: 2.126 MB / 1.104 GB, free: 11.42 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02377/2.664, allocations: 11.07 MB / 1.114 GB, free: 2.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02071/2.684, allocations: 5.843 MB / 1.12 GB, free: 0 / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.06469/2.749, allocations: 48.17 MB / 1.167 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/2.749, allocations: 4.766 kB / 1.167 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.196e-06/2.749, allocations: 0 / 1.167 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.002892/2.752, allocations: 0 / 1.167 GB, free: 6.73 MB / 0.7169 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.0984/2.851, allocations: 27.49 MB / 1.194 GB, free: 13.3 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/2.851, allocations: 12.03 kB / 1.194 GB, free: 13.29 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03254/2.883, allocations: 5.88 MB / 1.2 GB, free: 7.578 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.66/3.543, allocations: 20.39 MB / 1.22 GB, free: 361.4 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003571/3.547, allocations: 1.792 MB / 1.221 GB, free: 361.3 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01802/3.565, allocations: 2.443 MB / 1.224 GB, free: 361.3 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1927/3.758, allocations: 57.11 MB / 1.28 GB, free: 336.7 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003418/3.761, allocations: 227.7 kB / 1.28 GB, free: 336.5 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01728/3.778, allocations: 1.05 MB / 1.281 GB, free: 335.5 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01073/3.789, allocations: 6.492 MB / 1.287 GB, free: 329.1 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1073/3.896, allocations: 47.35 MB / 1.333 GB, free: 281.8 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.3411/4.238, allocations: 225.8 MB / 1.554 GB, free: 53.74 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06485/4.303, allocations: 27.83 MB / 1.581 GB, free: 25.77 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02143/4.324, allocations: 16.8 MB / 1.597 GB, free: 8.949 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002085/4.326, allocations: 1.304 MB / 1.599 GB, free: 7.531 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4311/4.757, allocations: 20.49 MB / 1.619 GB, free: 327.4 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=891): time 4.328e-05/4.757, allocations: 0 / 1.619 GB, free: 327.4 MB / 0.7483 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed