Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine.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.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",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.06638/0.06638, allocations: 12.02 MB / 27.66 MB, free: 1.254 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.0009224/0.0009226, allocations: 107.9 kB / 31.37 MB, free: 4.492 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.001033/0.001033, allocations: 188.2 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.254/1.254, allocations: 222.9 MB / 261.8 MB, free: 10.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1499/0.1499, allocations: 13.65 MB / 328.5 MB, free: 2.625 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.2896/0.2896, allocations: 19.63 MB / 471.9 MB, free: 37.82 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07338/0.363, allocations: 55.42 MB / 0.515 GB, free: 13.31 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.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 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 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 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 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 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 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 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.Drone_IdealMachine): time 0.04779/0.4108, allocations: 60.67 MB / 0.5742 GB, free: 13.49 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03006/0.4409, allocations: 16.28 MB / 0.5901 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009949/0.4509, allocations: 0.4946 MB / 0.5906 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04875/0.4997, allocations: 31.12 MB / 0.621 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01795/0.5177, allocations: 8.088 MB / 0.6289 GB, free: 6.758 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01002/0.5277, allocations: 5.365 MB / 0.6341 GB, free: 1.387 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.2624/0.7901, allocations: 26.75 MB / 0.6603 GB, free: 9.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04944/0.8396, allocations: 43.89 MB / 0.7031 GB, free: 10.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02128/0.8609, allocations: 12.92 MB / 0.7157 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02355/0.8845, allocations: 16.15 MB / 0.7315 GB, free: 1.953 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.01014/0.8947, allocations: 4.059 MB / 0.7355 GB, free: 13.89 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01368/0.9084, allocations: 5.391 MB / 0.7407 GB, free: 8.648 MB / 0.5138 GB Notification: Performance of NFScalarize.scalarize: time 0.01941/0.9278, allocations: 15.12 MB / 0.7555 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.02767/0.9556, allocations: 17.32 MB / 0.7724 GB, free: 8.395 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05754/1.013, allocations: 58.85 MB / 0.8299 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/1.013, allocations: 4 kB / 0.8299 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/1.013, allocations: 0 / 0.8299 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.001419/1.015, allocations: 0 / 0.8299 GB, free: 14.7 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7999 * Number of variables: 7999 Notification: Performance of Generate backend data structure: time 0.08101/1.096, allocations: 34 MB / 0.8631 GB, free: 12.77 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/1.096, allocations: 8.031 kB / 0.8631 GB, free: 12.76 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01256/1.108, allocations: 4.554 MB / 0.8676 GB, free: 8.281 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03792/1.146, allocations: 7.711 MB / 0.8751 GB, free: 0.5312 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4916/1.638, allocations: 25.45 MB / 0.8999 GB, free: 125 MB / 0.6389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001351/1.639, allocations: 1.799 MB / 0.9017 GB, free: 125 MB / 0.6389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007301/1.646, allocations: 2.441 MB / 0.9041 GB, free: 125 MB / 0.6389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09503/1.742, allocations: 57.07 MB / 0.9598 GB, free: 97.19 MB / 0.6389 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00115/1.743, allocations: 229.1 kB / 0.96 GB, free: 97.03 MB / 0.6389 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005935/1.749, allocations: 1.051 MB / 0.9611 GB, free: 96.07 MB / 0.6389 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007713/1.756, allocations: 6.493 MB / 0.9674 GB, free: 89.66 MB / 0.6389 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07557/1.832, allocations: 47.22 MB / 1.014 GB, free: 43.09 MB / 0.6389 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.4939/2.326, allocations: 224.4 MB / 1.233 GB, free: 183.5 MB / 0.7327 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05983/2.386, allocations: 27.65 MB / 1.26 GB, free: 177.5 MB / 0.7327 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01765/2.404, allocations: 16.73 MB / 1.276 GB, free: 168.7 MB / 0.7327 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00168/2.405, allocations: 1.298 MB / 1.277 GB, free: 167.6 MB / 0.7327 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05452/2.46, allocations: 20.35 MB / 1.297 GB, free: 157.1 MB / 0.7327 GB Notification: Performance of pre-optimization done (n=891): time 2.246e-05/2.46, allocations: 0 / 1.297 GB, free: 157.1 MB / 0.7327 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.blades.bodyShape4.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