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.05925/0.05925, allocations: 12.03 MB / 27.66 MB, free: 1.25 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.000969/0.0009691, allocations: 111.9 kB / 31.38 MB, free: 4.488 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.001027/0.001027, allocations: 192.1 kB / 35.21 MB, free: 0.6719 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.24/1.24, allocations: 222.9 MB / 261.8 MB, free: 10.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1741/0.1741, allocations: 13.66 MB / 328.5 MB, free: 2.637 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.2702/0.2702, allocations: 19.65 MB / 471.9 MB, free: 37.8 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07842/0.3486, allocations: 55.41 MB / 0.515 GB, free: 13.27 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 drone.propellerRev.blades.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 drone.propellerRev.blades.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 drone.propellerRev1.blades.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 drone.propellerRev1.blades.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 drone.propellerRev2.blades.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 drone.propellerRev2.blades.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 drone.propellerRev3.blades.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 drone.propellerRev3.blades.bodyShape4.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.TestSystem): time 0.04743/0.3961, allocations: 60.75 MB / 0.5743 GB, free: 13.38 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03129/0.4274, allocations: 17.46 MB / 0.5913 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01012/0.4375, allocations: 0.4946 MB / 0.5918 GB, free: 12.88 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04905/0.4866, allocations: 31.19 MB / 0.6223 GB, free: 13.6 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01788/0.5045, allocations: 8.318 MB / 0.6304 GB, free: 5.25 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2212/0.7257, allocations: 5.882 MB / 0.6361 GB, free: 9.844 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.02908/0.7548, allocations: 28.41 MB / 0.6639 GB, free: 9.828 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04168/0.7966, allocations: 47.3 MB / 0.7101 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02273/0.8193, allocations: 14.09 MB / 0.7238 GB, free: 9.695 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02358/0.8429, allocations: 16.64 MB / 0.7401 GB, free: 10.26 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.009906/0.8529, allocations: 4.887 MB / 0.7449 GB, free: 5.371 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01585/0.8687, allocations: 6.201 MB / 0.7509 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02004/0.8888, allocations: 15.95 MB / 0.7665 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03008/0.9189, allocations: 19.05 MB / 0.7851 GB, free: 13.41 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.06448/0.9835, allocations: 67.35 MB / 0.8509 GB, free: 11.06 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9835, allocations: 0 / 0.8509 GB, free: 11.06 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9835, allocations: 0 / 0.8509 GB, free: 11.06 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.001585/0.9851, allocations: 0 / 0.8509 GB, free: 11.06 MB / 0.6232 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.4783/1.463, allocations: 34.76 MB / 0.8848 GB, free: 193.8 MB / 0.6233 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/1.463, allocations: 13.45 kB / 0.8848 GB, free: 193.8 MB / 0.6233 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01135/1.475, allocations: 3.972 MB / 0.8887 GB, free: 191.1 MB / 0.6233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03684/1.512, allocations: 7.835 MB / 0.8964 GB, free: 187.2 MB / 0.6233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.039/1.551, allocations: 28.76 MB / 0.9244 GB, free: 161.4 MB / 0.6233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001048/1.552, allocations: 1.797 MB / 0.9262 GB, free: 159.7 MB / 0.6233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007804/1.56, allocations: 2.441 MB / 0.9286 GB, free: 157.3 MB / 0.6233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09754/1.657, allocations: 60.5 MB / 0.9877 GB, free: 94.88 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001092/1.658, allocations: 233.9 kB / 0.9879 GB, free: 94.65 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006266/1.665, allocations: 1.05 MB / 0.9889 GB, free: 93.68 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008099/1.673, allocations: 6.893 MB / 0.9956 GB, free: 86.81 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07971/1.752, allocations: 50.83 MB / 1.045 GB, free: 35.97 MB / 0.6233 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.4831/2.236, allocations: 246.2 MB / 1.286 GB, free: 59.02 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05736/2.293, allocations: 29.17 MB / 1.314 GB, free: 30.73 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01609/2.309, allocations: 18.07 MB / 1.332 GB, free: 12.64 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001329/2.31, allocations: 1.305 MB / 1.333 GB, free: 11.22 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05246/2.363, allocations: 21.32 MB / 1.354 GB, free: 5.828 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=892): time 1.477e-05/2.363, allocations: 0 / 1.354 GB, free: 5.828 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