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.06598/0.06598, allocations: 12.03 MB / 27.66 MB, free: 1.867 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.00095/0.0009501, allocations: 103.9 kB / 31.38 MB, free: 4.965 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.001078/0.001079, allocations: 194 kB / 35.21 MB, free: 1.148 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.284/1.284, allocations: 222.9 MB / 261.8 MB, free: 7.352 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05772/0.05772, allocations: 13.67 MB / 328.5 MB, free: 488 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.02593/0.02593, allocations: 19.66 MB / 471.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.2855, allocations: 55.4 MB / 0.515 GB, free: 19.85 MB / 382.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 propellerRev.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={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 propellerRev.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={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 propellerRev3.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={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 propellerRev3.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={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 propellerRev1.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={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 propellerRev1.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={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 propellerRev2.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={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 propellerRev2.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.05315/0.3387, allocations: 64.59 MB / 0.5781 GB, free: 4.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.02969/0.3684, allocations: 14.21 MB / 0.5919 GB, free: 6.793 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01068/0.3791, allocations: 441.3 kB / 0.5924 GB, free: 6.363 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03858/0.4177, allocations: 23.98 MB / 0.6158 GB, free: 14.33 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0182/0.436, allocations: 7.87 MB / 0.6235 GB, free: 6.484 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009387/0.4454, allocations: 4.757 MB / 0.6281 GB, free: 1.746 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.03051/0.4759, allocations: 25.51 MB / 0.653 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0411/0.517, allocations: 34.84 MB / 0.687 GB, free: 5.922 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01561/0.5327, allocations: 11.1 MB / 0.6979 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01812/0.5508, allocations: 14.21 MB / 0.7118 GB, free: 12.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.007223/0.5581, allocations: 3.117 MB / 0.7148 GB, free: 9.422 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009809/0.5679, allocations: 4.373 MB / 0.7191 GB, free: 5.047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.4071/0.975, allocations: 13.37 MB / 0.7321 GB, free: 57.94 MB / 0.5452 GB Notification: Performance of NFVerifyModel.verify: time 0.02409/0.9991, allocations: 15.13 MB / 0.7469 GB, free: 54.66 MB / 0.5452 GB Notification: Performance of NFConvertDAE.convert: time 0.04559/1.045, allocations: 49.35 MB / 0.7951 GB, free: 38.61 MB / 0.5452 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/1.045, allocations: 0 / 0.7951 GB, free: 38.61 MB / 0.5452 GB Notification: Performance of FrontEnd: time 1.392e-06/1.045, allocations: 0 / 0.7951 GB, free: 38.61 MB / 0.5452 GB Notification: Performance of Transformations before backend: time 0.001274/1.046, allocations: 0 / 0.7951 GB, free: 38.61 MB / 0.5452 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.0643/1.11, allocations: 31.49 MB / 0.8259 GB, free: 17.3 MB / 0.5452 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/1.11, allocations: 14.34 kB / 0.8259 GB, free: 17.3 MB / 0.5452 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01067/1.121, allocations: 4.21 MB / 0.83 GB, free: 14.79 MB / 0.5452 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03836/1.159, allocations: 7.857 MB / 0.8377 GB, free: 10.81 MB / 0.5452 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03781/1.197, allocations: 22.22 MB / 0.8594 GB, free: 7.727 MB / 0.5608 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001152/1.198, allocations: 1.558 MB / 0.8609 GB, free: 6.285 MB / 0.5608 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006825/1.205, allocations: 2.128 MB / 0.863 GB, free: 4.273 MB / 0.5608 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1006/1.306, allocations: 54.5 MB / 0.9162 GB, free: 11.96 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008432/1.307, allocations: 236.3 kB / 0.9164 GB, free: 11.8 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003794/1.311, allocations: 0.9427 MB / 0.9173 GB, free: 10.98 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01135/1.322, allocations: 7.71 MB / 0.9248 GB, free: 3.359 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2901/1.612, allocations: 43.3 MB / 0.9671 GB, free: 209.5 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.235/1.847, allocations: 219.9 MB / 1.182 GB, free: 35.34 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05412/1.901, allocations: 24.54 MB / 1.206 GB, free: 10.68 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2274/2.129, allocations: 15.48 MB / 1.221 GB, free: 208.4 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002151/2.131, allocations: 1.913 MB / 1.223 GB, free: 206.9 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05493/2.186, allocations: 18.83 MB / 1.241 GB, free: 206.7 MB / 0.6545 GB Notification: Performance of pre-optimization done (n=751): time 1.737e-05/2.186, allocations: 0 / 1.241 GB, free: 206.7 MB / 0.6545 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed