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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",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.06653/0.06653, 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.0007449/0.0007449, allocations: 99.44 kB / 30.73 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.001141/0.001141, 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.422/1.422, allocations: 223.2 MB / 261.5 MB, free: 9.133 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.08497/0.08497, allocations: 13.7 MB / 329.3 MB, free: 20 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.02114/0.02114, allocations: 17.45 MB / 415.1 MB, free: 28.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1214, allocations: 56.47 MB / 471.5 MB, free: 5.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.8658/0.9872, allocations: 376.7 MB / 0.8283 GB, free: 7.879 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1954/1.183, allocations: 82.48 MB / 0.9089 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.09751/1.28, allocations: 1.804 MB / 0.9106 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.05556/1.336, allocations: 17.73 MB / 0.9279 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.572/1.908, allocations: 49.92 MB / 0.9767 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.02284/1.931, allocations: 4.109 MB / 0.9807 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.07444/2.005, allocations: 60.05 MB / 1.039 GB, free: 10.26 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08069/2.086, allocations: 50.27 MB / 1.088 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02063/2.107, allocations: 7.969 MB / 1.096 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0246/2.131, allocations: 12.12 MB / 1.108 GB, free: 6.934 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.007577/2.139, allocations: 1.084 MB / 1.109 GB, free: 5.852 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01254/2.151, allocations: 2.222 MB / 1.111 GB, free: 3.852 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.02217/2.174, allocations: 11.19 MB / 1.122 GB, free: 10.7 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 0.01577/2.189, allocations: 6.425 MB / 1.128 GB, free: 7.98 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.06722/2.257, allocations: 56.11 MB / 1.183 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/2.257, allocations: 0 / 1.183 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.415e-06/2.257, allocations: 0 / 1.183 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.002205/2.259, allocations: 7.938 kB / 1.183 GB, free: 8.332 MB / 0.7325 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.5934/2.852, allocations: 27.82 MB / 1.21 GB, free: 355.9 MB / 0.7483 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/2.853, allocations: 9.969 kB / 1.21 GB, free: 355.9 MB / 0.7483 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02189/2.874, allocations: 3.973 MB / 1.214 GB, free: 355.6 MB / 0.7483 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0451/2.92, allocations: 7.956 MB / 1.222 GB, free: 354 MB / 0.7483 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05525/2.975, allocations: 28.02 MB / 1.249 GB, free: 348.2 MB / 0.7483 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001633/2.977, allocations: 1.791 MB / 1.251 GB, free: 347.5 MB / 0.7483 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01199/2.989, allocations: 2.45 MB / 1.254 GB, free: 346.7 MB / 0.7483 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1503/3.139, allocations: 60.48 MB / 1.313 GB, free: 291.3 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002361/3.141, allocations: 223 kB / 1.313 GB, free: 291 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01345/3.155, allocations: 1.055 MB / 1.314 GB, free: 290.1 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01012/3.165, allocations: 6.898 MB / 1.321 GB, free: 283.2 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.11/3.275, allocations: 50.82 MB / 1.37 GB, free: 232.5 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.644/3.919, allocations: 247.3 MB / 1.612 GB, free: 270 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06377/3.983, allocations: 29.29 MB / 1.64 GB, free: 268.9 MB / 0.7483 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02035/4.003, allocations: 18.08 MB / 1.658 GB, free: 268.8 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001585/4.005, allocations: 1.298 MB / 1.659 GB, free: 268 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05622/4.061, allocations: 21.4 MB / 1.68 GB, free: 267.6 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=892): time 2.053e-05/4.061, allocations: 0 / 1.68 GB, free: 267.6 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: 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed