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-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.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-master/package.mo): time 0.1267/0.1267, allocations: 12.03 MB / 27.53 MB, free: 1.312 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.001362/0.001362, allocations: 107.7 kB / 31.24 MB, free: 4.574 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.001973/0.001973, allocations: 191.6 kB / 35.07 MB, free: 0.7617 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.338/1.338, allocations: 222.9 MB / 261.6 MB, free: 20 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.09132/0.09132, allocations: 13.68 MB / 328.4 MB, free: 1.098 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.02306/0.02306, allocations: 19.62 MB / 415.8 MB, free: 25.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.1097, allocations: 55.41 MB / 471.2 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.2272/0.337, allocations: 60.72 MB / 0.5195 GB, free: 15.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02799/0.365, allocations: 17.43 MB / 0.5365 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01344/0.3785, allocations: 0.4956 MB / 0.537 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0455/0.424, allocations: 31.2 MB / 0.5674 GB, free: 116 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02191/0.446, allocations: 8.049 MB / 0.5753 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01199/0.458, allocations: 5.887 MB / 0.581 GB, free: 6.668 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03351/0.4915, allocations: 28.42 MB / 0.6088 GB, free: 13.85 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05874/0.5503, allocations: 47.41 MB / 0.6551 GB, free: 15.52 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02454/0.5749, allocations: 13.74 MB / 0.6685 GB, free: 2.359 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02305/0.598, allocations: 16.59 MB / 0.6847 GB, free: 2.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0106/0.6086, allocations: 4.883 MB / 0.6895 GB, free: 13.64 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01426/0.6229, allocations: 6.193 MB / 0.6955 GB, free: 7.453 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.4088/1.032, allocations: 15.7 MB / 0.7109 GB, free: 69.21 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.03014/1.062, allocations: 18.88 MB / 0.7293 GB, free: 65.75 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.05797/1.12, allocations: 66.64 MB / 0.7944 GB, free: 33.23 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/1.12, allocations: 0 / 0.7944 GB, free: 33.23 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.893e-06/1.12, allocations: 0 / 0.7944 GB, free: 33.23 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.001633/1.122, allocations: 0 / 0.7944 GB, free: 33.23 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: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.09288/1.215, allocations: 34.75 MB / 0.8283 GB, free: 10.07 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/1.215, allocations: 13.02 kB / 0.8283 GB, free: 10.06 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01497/1.23, allocations: 3.968 MB / 0.8322 GB, free: 7.41 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04168/1.271, allocations: 7.837 MB / 0.8398 GB, free: 1.004 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0501/1.321, allocations: 28.37 MB / 0.8675 GB, free: 5.766 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00161/1.323, allocations: 1.797 MB / 0.8693 GB, free: 4.055 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009057/1.332, allocations: 2.446 MB / 0.8717 GB, free: 1.695 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3491/1.681, allocations: 60.49 MB / 0.9308 GB, free: 159.7 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002237/1.684, allocations: 233.3 kB / 0.931 GB, free: 159.7 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01021/1.694, allocations: 1.047 MB / 0.932 GB, free: 159.7 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01266/1.707, allocations: 6.897 MB / 0.9387 GB, free: 159.7 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1062/1.813, allocations: 50.83 MB / 0.9884 GB, free: 142.5 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.5549/2.368, allocations: 247.8 MB / 1.23 GB, free: 78.51 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0682/2.436, allocations: 29.17 MB / 1.259 GB, free: 75.31 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01938/2.455, allocations: 18.07 MB / 1.276 GB, free: 66.52 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001736/2.457, allocations: 1.301 MB / 1.278 GB, free: 65.56 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06068/2.518, allocations: 21.31 MB / 1.299 GB, free: 48.75 MB / 0.592 GB Notification: Performance of pre-optimization done (n=892): time 2.355e-05/2.518, allocations: 0 / 1.299 GB, free: 48.75 MB / 0.592 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed