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.06883/0.06883, allocations: 12.03 MB / 27.67 MB, free: 1.879 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.001258/0.001258, allocations: 96.05 kB / 31.37 MB, free: 4.996 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.001572/0.001572, allocations: 196 kB / 35.2 MB, free: 1.18 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.491/1.491, allocations: 222.9 MB / 261.8 MB, free: 7.449 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1386/0.1386, allocations: 13.69 MB / 328.5 MB, free: 0.4961 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.03801/0.03801, allocations: 20.02 MB / 472.3 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.4188, allocations: 55.4 MB / 0.5153 GB, free: 20.08 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.06824/0.487, allocations: 60.73 MB / 0.5746 GB, free: 8.492 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.04509/0.5322, allocations: 17.45 MB / 0.5917 GB, free: 7.336 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0205/0.5527, allocations: 0.5011 MB / 0.5922 GB, free: 6.836 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05974/0.6125, allocations: 31.19 MB / 0.6226 GB, free: 7.586 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03084/0.6435, allocations: 8.036 MB / 0.6305 GB, free: 15.57 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01336/0.6569, allocations: 5.895 MB / 0.6362 GB, free: 9.699 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev1.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev2.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter drone.propellerRev3.blades.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.0441/0.701, allocations: 28.42 MB / 0.664 GB, free: 13.36 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07478/0.7758, allocations: 47.27 MB / 0.7101 GB, free: 14.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02652/0.8024, allocations: 13.76 MB / 0.7236 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3723/1.175, allocations: 16.57 MB / 0.7398 GB, free: 58.9 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.02094/1.196, allocations: 4.884 MB / 0.7445 GB, free: 58.9 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0211/1.217, allocations: 6.197 MB / 0.7506 GB, free: 58.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02797/1.245, allocations: 15.71 MB / 0.7659 GB, free: 58.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.04442/1.289, allocations: 18.88 MB / 0.7843 GB, free: 48.73 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.08089/1.37, allocations: 67.5 MB / 0.8503 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.37, allocations: 6.531 kB / 0.8503 GB, free: 15.83 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.633e-06/1.37, allocations: 4 kB / 0.8503 GB, free: 15.82 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.002297/1.373, allocations: 0 / 0.8503 GB, free: 15.82 MB / 0.5607 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.1308/1.503, allocations: 35.49 MB / 0.8849 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.504, allocations: 10.69 kB / 0.885 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01794/1.521, allocations: 3.974 MB / 0.8888 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0479/1.569, allocations: 7.99 MB / 0.8966 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06666/1.636, allocations: 28.85 MB / 0.9248 GB, free: 5.004 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002805/1.639, allocations: 1.8 MB / 0.9266 GB, free: 3.289 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01441/1.653, allocations: 2.456 MB / 0.929 GB, free: 0.9219 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7878/2.441, allocations: 60.49 MB / 0.988 GB, free: 192.6 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00334/2.445, allocations: 236.4 kB / 0.9883 GB, free: 192.5 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01497/2.46, allocations: 1.053 MB / 0.9893 GB, free: 191.8 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01475/2.474, allocations: 6.896 MB / 0.996 GB, free: 190.1 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.126/2.6, allocations: 50.82 MB / 1.046 GB, free: 162 MB / 0.6545 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.7461/3.347, allocations: 246.6 MB / 1.286 GB, free: 105.8 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06937/3.416, allocations: 29.17 MB / 1.315 GB, free: 104.7 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02089/3.437, allocations: 18.07 MB / 1.333 GB, free: 98.27 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00168/3.439, allocations: 1.301 MB / 1.334 GB, free: 97.32 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06169/3.5, allocations: 21.32 MB / 1.355 GB, free: 87.86 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=892): time 3.509e-05/3.501, allocations: 0 / 1.355 GB, free: 87.86 MB / 0.6702 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed