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: translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") translateModel(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05808/0.05809, allocations: 12.05 MB / 28.36 MB, free: 1.758 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.001103/0.001103, allocations: 107.8 kB / 32.07 MB, free: 4.613 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.001277/0.001277, allocations: 196.5 kB / 35.91 MB, free: 0.793 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.347/1.347, allocations: 222.9 MB / 262.5 MB, free: 7.395 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05799/0.05799, allocations: 13.68 MB / 329.2 MB, free: 484 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.02717/0.02717, allocations: 19.74 MB / 473.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.3135, allocations: 55.39 MB / 0.5162 GB, free: 20.25 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.05113/0.3647, allocations: 60.65 MB / 0.5755 GB, free: 8.676 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03814/0.4028, allocations: 16.3 MB / 0.5914 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01243/0.4153, allocations: 0.4907 MB / 0.5919 GB, free: 8.086 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05135/0.4667, allocations: 31.13 MB / 0.6223 GB, free: 8.891 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0192/0.4859, allocations: 8.086 MB / 0.6302 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01065/0.4966, allocations: 5.357 MB / 0.6354 GB, free: 11.49 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03699/0.5336, allocations: 26.77 MB / 0.6615 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06338/0.597, allocations: 43.89 MB / 0.7044 GB, free: 5.312 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02151/0.6185, allocations: 12.91 MB / 0.717 GB, free: 8.375 MB / 0.5451 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3114/0.93, allocations: 16.09 MB / 0.7327 GB, free: 54.42 MB / 0.5451 GB Notification: Performance of NFPackage.collectConstants: time 0.01343/0.9434, allocations: 4.059 MB / 0.7367 GB, free: 54.42 MB / 0.5451 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01729/0.9608, allocations: 5.392 MB / 0.7419 GB, free: 54.42 MB / 0.5451 GB Notification: Performance of NFScalarize.scalarize: time 0.02215/0.9829, allocations: 15.13 MB / 0.7567 GB, free: 54.42 MB / 0.5451 GB Notification: Performance of NFVerifyModel.verify: time 0.03584/1.019, allocations: 17.23 MB / 0.7735 GB, free: 49.94 MB / 0.5451 GB Notification: Performance of NFConvertDAE.convert: time 0.05836/1.077, allocations: 58.75 MB / 0.8309 GB, free: 14.22 MB / 0.5451 GB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/1.077, allocations: 0 / 0.8309 GB, free: 14.22 MB / 0.5451 GB Notification: Performance of FrontEnd: time 1.954e-06/1.077, allocations: 0 / 0.8309 GB, free: 14.22 MB / 0.5451 GB Notification: Performance of Transformations before backend: time 0.001855/1.079, allocations: 0 / 0.8309 GB, free: 14.22 MB / 0.5451 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.08884/1.168, allocations: 34.48 MB / 0.8646 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/1.168, allocations: 15.95 kB / 0.8646 GB, free: 15.03 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02846/1.197, allocations: 5.933 MB / 0.8704 GB, free: 9.082 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0406/1.237, allocations: 21.2 MB / 0.8911 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001496/1.239, allocations: 1.798 MB / 0.8928 GB, free: 3.137 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009747/1.248, allocations: 2.451 MB / 0.8952 GB, free: 0.7734 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1209/1.369, allocations: 57.13 MB / 0.951 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001699/1.371, allocations: 235.7 kB / 0.9513 GB, free: 5.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01046/1.382, allocations: 1.052 MB / 0.9523 GB, free: 4.945 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01083/1.392, allocations: 6.491 MB / 0.9586 GB, free: 14.54 MB / 0.6701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3528/1.745, allocations: 47.36 MB / 1.005 GB, free: 218.9 MB / 0.6701 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.2663/2.012, allocations: 225.2 MB / 1.225 GB, free: 15.08 MB / 0.6701 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3409/2.353, allocations: 27.71 MB / 1.252 GB, free: 209.7 MB / 0.6701 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01981/2.372, allocations: 16.8 MB / 1.268 GB, free: 202.4 MB / 0.6701 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001574/2.374, allocations: 1.296 MB / 1.27 GB, free: 201.5 MB / 0.6701 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05578/2.43, allocations: 20.41 MB / 1.289 GB, free: 196.6 MB / 0.6701 GB Notification: Performance of pre-optimization done (n=891): time 1.953e-05/2.43, allocations: 1.312 kB / 1.289 GB, free: 196.6 MB / 0.6701 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 Error: Internal error SimCode DAEmode: The model DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine could not be translated