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.06704/0.06704, allocations: 12.03 MB / 26.98 MB, free: 1.914 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.0008775/0.0008771, allocations: 96.61 kB / 30.71 MB, free: 5.383 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.001121/0.001121, allocations: 179 kB / 34.55 MB, free: 1.555 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.283/1.283, allocations: 223.2 MB / 261.4 MB, free: 1.062 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05786/0.05786, allocations: 13.69 MB / 329.1 MB, free: 3.84 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.01908/0.01908, allocations: 17.46 MB / 414.9 MB, free: 27.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.1177, allocations: 56.48 MB / 471.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.7846/0.9023, allocations: 354.9 MB / 0.807 GB, free: 13.01 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1833/1.086, allocations: 81.99 MB / 0.887 GB, free: 11.3 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1045/1.19, allocations: 1.792 MB / 0.8888 GB, free: 9.508 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.07777/1.268, allocations: 18.23 MB / 0.9066 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.7162/1.984, allocations: 49.1 MB / 0.9545 GB, free: 16.25 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.028/2.012, allocations: 4.154 MB / 0.9586 GB, free: 16.21 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06817/2.08, allocations: 36 MB / 0.9938 GB, free: 15.21 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08479/2.165, allocations: 48.74 MB / 1.041 GB, free: 7.465 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0191/2.184, allocations: 6.254 MB / 1.047 GB, free: 4.109 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0176/2.202, allocations: 7.976 MB / 1.055 GB, free: 14.77 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.007675/2.21, allocations: 0.9727 MB / 1.056 GB, free: 13.8 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01296/2.223, allocations: 2.097 MB / 1.058 GB, free: 11.96 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.0185/2.241, allocations: 10.25 MB / 1.068 GB, free: 4.613 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01365/2.255, allocations: 5.786 MB / 1.074 GB, free: 2.863 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.05288/2.308, allocations: 48.36 MB / 1.121 GB, free: 9.477 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/2.308, allocations: 0 / 1.121 GB, free: 9.477 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.716e-06/2.308, allocations: 0 / 1.121 GB, free: 9.477 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.001745/2.31, allocations: 0.7656 kB / 1.121 GB, free: 9.477 MB / 0.6857 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.08498/2.395, allocations: 28.39 MB / 1.149 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/2.395, allocations: 8.031 kB / 1.149 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02124/2.416, allocations: 4.552 MB / 1.153 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05126/2.467, allocations: 9.064 MB / 1.162 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05661/2.524, allocations: 22.08 MB / 1.184 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002483/2.527, allocations: 1.794 MB / 1.185 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01518/2.542, allocations: 2.444 MB / 1.188 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7211/3.263, allocations: 57.82 MB / 1.244 GB, free: 336.8 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002961/3.266, allocations: 234.3 kB / 1.245 GB, free: 336.7 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01503/3.281, allocations: 1.053 MB / 1.246 GB, free: 336.7 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01493/3.296, allocations: 6.491 MB / 1.252 GB, free: 336.6 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1161/3.412, allocations: 48.18 MB / 1.299 GB, free: 317 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.3437/3.756, allocations: 226.4 MB / 1.52 GB, free: 93.14 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06652/3.822, allocations: 28.34 MB / 1.548 GB, free: 64.66 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002117/3.825, allocations: 1.296 MB / 1.549 GB, free: 63.25 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06094/3.886, allocations: 20.97 MB / 1.569 GB, free: 42.19 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=891): time 2.084e-05/3.886, allocations: 4 kB / 1.569 GB, free: 42.18 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: 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed