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.06549/0.06549, allocations: 12.03 MB / 27.65 MB, free: 1.91 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.0009404/0.0009405, allocations: 105.3 kB / 31.36 MB, free: 5.012 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.001042/0.001042, allocations: 188.5 kB / 35.2 MB, free: 1.188 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.247/1.247, allocations: 222.9 MB / 261.8 MB, free: 7.348 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05685/0.05685, allocations: 13.66 MB / 328.5 MB, free: 496 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.02491/0.02491, allocations: 19.74 MB / 472 MB, free: 3.082 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2605, allocations: 55.39 MB / 0.5151 GB, free: 19.91 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.04856/0.3091, allocations: 60.66 MB / 0.5743 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03147/0.3406, allocations: 16.29 MB / 0.5902 GB, free: 8.617 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01114/0.3518, allocations: 0.4907 MB / 0.5907 GB, free: 8.125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0478/0.3996, allocations: 31.12 MB / 0.6211 GB, free: 8.938 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01793/0.4176, allocations: 8.086 MB / 0.629 GB, free: 0.875 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009659/0.4273, allocations: 5.368 MB / 0.6342 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03016/0.4574, allocations: 26.78 MB / 0.6604 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04857/0.506, allocations: 43.88 MB / 0.7032 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01676/0.5228, allocations: 12.91 MB / 0.7158 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.231/0.7539, allocations: 16.09 MB / 0.7315 GB, free: 54.4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01029/0.7642, allocations: 4.061 MB / 0.7355 GB, free: 54.4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/0.7767, allocations: 5.389 MB / 0.7408 GB, free: 54.4 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01445/0.7912, allocations: 15.13 MB / 0.7555 GB, free: 54.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02115/0.8123, allocations: 17.32 MB / 0.7724 GB, free: 49.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.04339/0.8558, allocations: 59 MB / 0.8301 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.8558, allocations: 0 / 0.8301 GB, free: 14.07 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8558, allocations: 0 / 0.8301 GB, free: 14.07 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001306/0.8571, allocations: 0 / 0.8301 GB, free: 14.07 MB / 0.545 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.07467/0.9318, allocations: 34.74 MB / 0.864 GB, free: 14.45 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.9319, allocations: 12.03 kB / 0.864 GB, free: 14.43 MB / 0.5763 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01264/0.9445, allocations: 4.544 MB / 0.8684 GB, free: 9.961 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03858/0.9831, allocations: 7.876 MB / 0.8761 GB, free: 2.117 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04014/1.023, allocations: 25.55 MB / 0.9011 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001168/1.024, allocations: 1.795 MB / 0.9028 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007531/1.032, allocations: 2.455 MB / 0.9052 GB, free: 5.691 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.104/1.136, allocations: 57.06 MB / 0.9609 GB, free: 11.01 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001034/1.137, allocations: 238.5 kB / 0.9612 GB, free: 10.85 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0093/1.146, allocations: 1.052 MB / 0.9622 GB, free: 9.883 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01003/1.156, allocations: 6.489 MB / 0.9685 GB, free: 3.461 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2866/1.443, allocations: 47.23 MB / 1.015 GB, free: 218.3 MB / 0.67 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.2173/1.66, allocations: 224.8 MB / 1.234 GB, free: 4.629 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2612/1.922, allocations: 27.63 MB / 1.261 GB, free: 207.7 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01608/1.938, allocations: 16.73 MB / 1.278 GB, free: 199.9 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001301/1.939, allocations: 1.292 MB / 1.279 GB, free: 199 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05208/1.991, allocations: 20.34 MB / 1.299 GB, free: 194.1 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 1.258e-05/1.991, allocations: 2.688 kB / 1.299 GB, free: 194.1 MB / 0.67 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