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-master/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-master/package.mo) Running command: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06477/0.06477, allocations: 12.03 MB / 27.53 MB, free: 1.367 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.0009046/0.0009045, allocations: 105.6 kB / 31.24 MB, free: 4.586 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.001073/0.001073, allocations: 196.4 kB / 35.07 MB, free: 0.7656 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.251/1.251, allocations: 222.9 MB / 261.6 MB, free: 52 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05742/0.05742, allocations: 13.68 MB / 328.4 MB, free: 3.719 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.03027/0.03027, allocations: 19.62 MB / 415.8 MB, free: 24.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09105/0.1213, allocations: 55.41 MB / 471.2 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.2446/0.3659, allocations: 64.56 MB / 0.5232 GB, free: 13.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02957/0.3955, allocations: 14.2 MB / 0.5371 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01268/0.4083, allocations: 436.7 kB / 0.5375 GB, free: 13.11 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03916/0.4475, allocations: 23.99 MB / 0.5609 GB, free: 3.879 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01937/0.4669, allocations: 7.579 MB / 0.5683 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01082/0.4778, allocations: 4.77 MB / 0.573 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03089/0.5087, allocations: 25.5 MB / 0.5979 GB, free: 9.281 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04555/0.5542, allocations: 34.89 MB / 0.632 GB, free: 7.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01825/0.5725, allocations: 11.11 MB / 0.6428 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01931/0.5919, allocations: 14.18 MB / 0.6567 GB, free: 15.44 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.009685/0.6016, allocations: 3.117 MB / 0.6597 GB, free: 12.32 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01268/0.6143, allocations: 4.356 MB / 0.6639 GB, free: 8.039 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01579/0.6301, allocations: 13.14 MB / 0.6768 GB, free: 10.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02276/0.6529, allocations: 15.14 MB / 0.6916 GB, free: 11.76 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.3593/1.012, allocations: 48.3 MB / 0.7387 GB, free: 74.65 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.012, allocations: 0 / 0.7387 GB, free: 74.65 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.523e-06/1.012, allocations: 1.344 kB / 0.7387 GB, free: 74.65 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001266/1.014, allocations: 0 / 0.7387 GB, free: 74.65 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.06727/1.081, allocations: 30.77 MB / 0.7688 GB, free: 59.06 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/1.081, allocations: 11.36 kB / 0.7688 GB, free: 59.06 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01009/1.091, allocations: 4.211 MB / 0.7729 GB, free: 56.81 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03332/1.124, allocations: 7.699 MB / 0.7804 GB, free: 52.97 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02798/1.152, allocations: 21.76 MB / 0.8017 GB, free: 40.47 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001008/1.153, allocations: 1.562 MB / 0.8032 GB, free: 39.64 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005635/1.159, allocations: 2.124 MB / 0.8053 GB, free: 37.63 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08234/1.241, allocations: 54.49 MB / 0.8585 GB, free: 13.36 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008239/1.242, allocations: 238.2 kB / 0.8587 GB, free: 13.2 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004725/1.247, allocations: 0.9348 MB / 0.8596 GB, free: 12.38 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0112/1.258, allocations: 7.72 MB / 0.8672 GB, free: 4.777 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08276/1.341, allocations: 43.29 MB / 0.9094 GB, free: 10.22 MB / 0.5764 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.4197/1.761, allocations: 220.8 MB / 1.125 GB, free: 18.87 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2402/2.001, allocations: 24.52 MB / 1.149 GB, free: 184.6 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01561/2.016, allocations: 15.49 MB / 1.164 GB, free: 181.1 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001829/2.018, allocations: 1.92 MB / 1.166 GB, free: 179.6 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04595/2.064, allocations: 18.83 MB / 1.184 GB, free: 175.4 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=751): time 1.045e-05/2.064, allocations: 2.656 kB / 1.184 GB, free: 175.4 MB / 0.5764 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.bodyShape5.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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed