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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06244/0.06244, allocations: 12.03 MB / 27.01 MB, free: 2.344 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.0007212/0.0007214, allocations: 105.9 kB / 30.74 MB, free: 5.566 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.001535/0.001535, allocations: 180.5 kB / 34.58 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.358/1.358, allocations: 223.2 MB / 261.5 MB, free: 9.598 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05553/0.05553, allocations: 13.7 MB / 329.3 MB, free: 404 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.0244/0.0244, allocations: 17.44 MB / 415.1 MB, free: 28.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1353, allocations: 56.5 MB / 471.6 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.8846/1.02, allocations: 376.1 MB / 0.8278 GB, free: 8.035 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.193/1.213, allocations: 78.15 MB / 0.9041 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09181/1.305, allocations: 1.796 MB / 0.9058 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.058/1.363, allocations: 17.73 MB / 0.9232 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.562/1.925, allocations: 49.9 MB / 0.9719 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0252/1.95, allocations: 4.094 MB / 0.9759 GB, free: 13.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07787/2.028, allocations: 58.82 MB / 1.033 GB, free: 15.32 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08298/2.111, allocations: 49.08 MB / 1.081 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01893/2.13, allocations: 7.862 MB / 1.089 GB, free: 7.012 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02672/2.157, allocations: 12.02 MB / 1.101 GB, free: 13.92 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008701/2.166, allocations: 0.9727 MB / 1.102 GB, free: 12.95 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01236/2.178, allocations: 2.13 MB / 1.104 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02217/2.2, allocations: 11.06 MB / 1.115 GB, free: 1.898 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.01649/2.217, allocations: 5.927 MB / 1.12 GB, free: 0 / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.05852/2.275, allocations: 48.41 MB / 1.168 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.123e-06/2.275, allocations: 0 / 1.168 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.946e-06/2.275, allocations: 0 / 1.168 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.001921/2.277, allocations: 0 / 1.168 GB, free: 6.535 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.07662/2.354, allocations: 27.7 MB / 1.195 GB, free: 12.94 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.579e-05/2.354, allocations: 12.03 kB / 1.195 GB, free: 12.93 MB / 0.7482 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02006/2.374, allocations: 4.549 MB / 1.199 GB, free: 10.12 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04184/2.416, allocations: 7.826 MB / 1.207 GB, free: 2.707 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.021/3.436, allocations: 24.69 MB / 1.231 GB, free: 90.03 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00251/3.439, allocations: 1.793 MB / 1.233 GB, free: 89.98 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01496/3.454, allocations: 2.449 MB / 1.235 GB, free: 89.98 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.152/3.606, allocations: 57.05 MB / 1.291 GB, free: 83.09 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002151/3.608, allocations: 234.2 kB / 1.291 GB, free: 83.09 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0124/3.621, allocations: 1.047 MB / 1.292 GB, free: 83.09 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01131/3.632, allocations: 6.494 MB / 1.298 GB, free: 83.02 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09582/3.728, allocations: 47.21 MB / 1.344 GB, free: 60.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.6868/4.415, allocations: 225.4 MB / 1.564 GB, free: 352 MB / 0.8733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0634/4.478, allocations: 27.76 MB / 1.592 GB, free: 350.9 MB / 0.8733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02058/4.499, allocations: 16.73 MB / 1.608 GB, free: 350.8 MB / 0.8733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002022/4.501, allocations: 1.299 MB / 1.609 GB, free: 349.9 MB / 0.8733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05618/4.557, allocations: 20.42 MB / 1.629 GB, free: 349.6 MB / 0.8733 GB Notification: Performance of pre-optimization done (n=891): time 3.66e-05/4.557, allocations: 0 / 1.629 GB, free: 349.6 MB / 0.8733 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed