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.06513/0.06513, allocations: 12.03 MB / 27.66 MB, free: 1.871 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.0009951/0.0009952, allocations: 100 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.001077/0.001077, allocations: 188.5 kB / 35.22 MB, free: 1.145 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.28/1.28, allocations: 222.9 MB / 261.8 MB, free: 7.445 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.08804/0.08804, allocations: 13.67 MB / 328.5 MB, free: 480 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.02575/0.02575, allocations: 19.66 MB / 471.9 MB, free: 3.199 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2786, allocations: 55.38 MB / 0.515 GB, free: 19.86 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.04878/0.3275, allocations: 60.76 MB / 0.5743 GB, free: 8.445 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03312/0.3606, allocations: 17.45 MB / 0.5913 GB, free: 7.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01196/0.3726, allocations: 0.4972 MB / 0.5918 GB, free: 6.961 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04903/0.4217, allocations: 31.19 MB / 0.6223 GB, free: 7.707 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02012/0.4418, allocations: 8.313 MB / 0.6304 GB, free: 15.42 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01031/0.4522, allocations: 5.894 MB / 0.6361 GB, free: 9.543 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03239/0.4846, allocations: 28.42 MB / 0.6639 GB, free: 13.19 MB / 0.4982 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05103/0.5356, allocations: 47.28 MB / 0.7101 GB, free: 14.29 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01979/0.5555, allocations: 13.74 MB / 0.7235 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2478/0.8033, allocations: 16.62 MB / 0.7397 GB, free: 58.66 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01337/0.8167, allocations: 4.892 MB / 0.7445 GB, free: 58.66 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01541/0.8321, allocations: 6.196 MB / 0.7506 GB, free: 58.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.02037/0.8526, allocations: 15.96 MB / 0.7661 GB, free: 57.7 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02597/0.8785, allocations: 18.87 MB / 0.7846 GB, free: 48.56 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05444/0.933, allocations: 67.51 MB / 0.8505 GB, free: 15.53 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.9331, allocations: 0 / 0.8505 GB, free: 15.53 MB / 0.5607 GB Notification: Performance of FrontEnd: time 2.144e-06/0.9331, allocations: 4 kB / 0.8505 GB, free: 15.52 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 0.001773/0.9349, allocations: 2.531 kB / 0.8505 GB, free: 15.52 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.08931/1.024, allocations: 35.51 MB / 0.8852 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.024, allocations: 8.031 kB / 0.8852 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01297/1.037, allocations: 3.972 MB / 0.8891 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04137/1.079, allocations: 7.99 MB / 0.8969 GB, free: 332 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05057/1.129, allocations: 28.86 MB / 0.925 GB, free: 4.668 MB / 0.6232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001411/1.131, allocations: 1.79 MB / 0.9268 GB, free: 2.961 MB / 0.6232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008752/1.139, allocations: 2.455 MB / 0.9292 GB, free: 0.5938 MB / 0.6232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5004/1.64, allocations: 60.49 MB / 0.9883 GB, free: 192.5 MB / 0.6545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001442/1.641, allocations: 238.6 kB / 0.9885 GB, free: 192.4 MB / 0.6545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007737/1.649, allocations: 1.049 MB / 0.9895 GB, free: 191.7 MB / 0.6545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01034/1.659, allocations: 6.889 MB / 0.9962 GB, free: 190 MB / 0.6545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08645/1.746, allocations: 50.82 MB / 1.046 GB, free: 161.8 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.5174/2.263, allocations: 246.6 MB / 1.287 GB, free: 105.8 MB / 0.6702 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06398/2.327, allocations: 29.18 MB / 1.315 GB, free: 104.6 MB / 0.6702 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0184/2.346, allocations: 18.08 MB / 1.333 GB, free: 98.2 MB / 0.6702 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/2.347, allocations: 1.296 MB / 1.334 GB, free: 97.25 MB / 0.6702 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.056/2.403, allocations: 21.32 MB / 1.355 GB, free: 87.78 MB / 0.6702 GB Notification: Performance of pre-optimization done (n=892): time 1.634e-05/2.403, allocations: 0 / 1.355 GB, free: 87.78 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