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: translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") translateModel(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05878/0.05878, allocations: 12.03 MB / 28.33 MB, free: 1.438 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.0009088/0.0009088, allocations: 103.8 kB / 32.05 MB, free: 4.465 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.00111/0.00111, allocations: 192.5 kB / 35.89 MB, free: 0.6406 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.302/1.302, allocations: 222.9 MB / 262.5 MB, free: 10.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.2216/0.2216, allocations: 13.66 MB / 329.2 MB, free: 2.648 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.3352/0.3352, allocations: 19.73 MB / 473.2 MB, free: 38.15 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09382/0.429, allocations: 55.41 MB / 0.5162 GB, free: 13.39 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.05146/0.4805, allocations: 60.74 MB / 0.5755 GB, free: 13.51 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.03585/0.5164, allocations: 17.46 MB / 0.5926 GB, free: 13.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01211/0.5285, allocations: 0.4907 MB / 0.593 GB, free: 12.6 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05301/0.5816, allocations: 31.19 MB / 0.6235 GB, free: 13.31 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01865/0.6002, allocations: 8.322 MB / 0.6316 GB, free: 4.957 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2562/0.8565, allocations: 5.876 MB / 0.6374 GB, free: 9.641 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03564/0.8921, allocations: 28.41 MB / 0.6651 GB, free: 9.625 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04805/0.9402, allocations: 47.29 MB / 0.7113 GB, free: 4.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02875/0.969, allocations: 14.05 MB / 0.725 GB, free: 9.281 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02413/0.9932, allocations: 16.63 MB / 0.7413 GB, free: 9.844 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.01203/1.005, allocations: 4.887 MB / 0.746 GB, free: 4.957 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01901/1.024, allocations: 6.201 MB / 0.7521 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.02235/1.047, allocations: 15.95 MB / 0.7677 GB, free: 15.12 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.03736/1.084, allocations: 18.96 MB / 0.7862 GB, free: 13.11 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.07457/1.159, allocations: 67.19 MB / 0.8518 GB, free: 10.89 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.159, allocations: 4 kB / 0.8518 GB, free: 10.89 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.503e-06/1.159, allocations: 0 / 0.8518 GB, free: 10.89 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.001854/1.161, allocations: 0 / 0.8518 GB, free: 10.89 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.5975/1.758, allocations: 35.24 MB / 0.8862 GB, free: 194.2 MB / 0.6233 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/1.758, allocations: 8.344 kB / 0.8862 GB, free: 194.2 MB / 0.6233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02822/1.786, allocations: 5.998 MB / 0.8921 GB, free: 191.1 MB / 0.6233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04377/1.83, allocations: 24.33 MB / 0.9158 GB, free: 172.8 MB / 0.6233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001338/1.832, allocations: 1.796 MB / 0.9176 GB, free: 171.1 MB / 0.6233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00955/1.841, allocations: 2.449 MB / 0.92 GB, free: 168.8 MB / 0.6233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1336/1.975, allocations: 60.57 MB / 0.9791 GB, free: 106.3 MB / 0.6233 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00196/1.977, allocations: 234.4 kB / 0.9794 GB, free: 106.1 MB / 0.6233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009407/1.986, allocations: 1.049 MB / 0.9804 GB, free: 105.1 MB / 0.6233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.009269/1.995, allocations: 6.895 MB / 0.9871 GB, free: 98.28 MB / 0.6233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08965/2.085, allocations: 50.99 MB / 1.037 GB, free: 47.32 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.6316/2.717, allocations: 247.1 MB / 1.278 GB, free: 66.77 MB / 0.6545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06561/2.782, allocations: 29.24 MB / 1.307 GB, free: 41.29 MB / 0.6545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01905/2.802, allocations: 18.15 MB / 1.324 GB, free: 23.12 MB / 0.6545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001907/2.803, allocations: 1.3 MB / 1.326 GB, free: 21.71 MB / 0.6545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06662/2.87, allocations: 21.41 MB / 1.347 GB, free: 228 kB / 0.6545 GB Notification: Performance of pre-optimization done (n=892): time 3.182e-05/2.87, allocations: 0 / 1.347 GB, free: 228 kB / 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: 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 Error: Internal error SimCode DAEmode: The model DroneLibrary.Examples.DroneWithIdealPower.TestSystem could not be translated