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.0586/0.0586, allocations: 12.05 MB / 28.36 MB, free: 1.738 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.001027/0.001027, allocations: 111.6 kB / 32.08 MB, free: 4.586 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.00112/0.00112, allocations: 192.3 kB / 35.92 MB, free: 0.7656 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.337/1.337, allocations: 222.9 MB / 262.5 MB, free: 7.438 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06586/0.06586, allocations: 13.69 MB / 329.2 MB, free: 464 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.02802/0.02802, allocations: 19.64 MB / 473.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2818/0.3099, allocations: 55.39 MB / 0.5161 GB, free: 20.22 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.05169/0.3616, allocations: 60.66 MB / 0.5754 GB, free: 8.656 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03508/0.3967, allocations: 16.3 MB / 0.5913 GB, free: 8.602 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01258/0.4093, allocations: 0.4946 MB / 0.5918 GB, free: 8.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.05026/0.4596, allocations: 31.12 MB / 0.6222 GB, free: 8.922 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02004/0.4797, allocations: 8.088 MB / 0.6301 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01067/0.4904, allocations: 5.354 MB / 0.6353 GB, free: 11.52 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.03282/0.5232, allocations: 26.77 MB / 0.6614 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0563/0.5796, allocations: 43.9 MB / 0.7043 GB, free: 5.344 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01969/0.5993, allocations: 12.9 MB / 0.7169 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.2651/0.8644, allocations: 16.09 MB / 0.7326 GB, free: 54.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01244/0.8769, allocations: 4.06 MB / 0.7366 GB, free: 54.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01494/0.8918, allocations: 5.389 MB / 0.7419 GB, free: 54.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.01974/0.9116, allocations: 15.12 MB / 0.7566 GB, free: 54.38 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.02676/0.9384, allocations: 17.23 MB / 0.7734 GB, free: 50.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.05205/0.9905, allocations: 58.59 MB / 0.8307 GB, free: 14.7 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.9905, allocations: 2.562 kB / 0.8307 GB, free: 14.7 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.834e-06/0.9905, allocations: 0 / 0.8307 GB, free: 14.7 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.001763/0.9923, allocations: 0 / 0.8307 GB, free: 14.7 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.09695/1.089, allocations: 33.75 MB / 0.8636 GB, free: 304 kB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.089, allocations: 8.031 kB / 0.8636 GB, free: 296 kB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02975/1.119, allocations: 5.783 MB / 0.8693 GB, free: 10.48 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04546/1.165, allocations: 21.13 MB / 0.8899 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001756/1.166, allocations: 1.789 MB / 0.8917 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01015/1.177, allocations: 2.444 MB / 0.894 GB, free: 2.242 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1346/1.311, allocations: 57.13 MB / 0.9498 GB, free: 7.535 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001758/1.313, allocations: 229.9 kB / 0.9501 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009331/1.322, allocations: 1.048 MB / 0.9511 GB, free: 6.418 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.012/1.334, allocations: 6.497 MB / 0.9574 GB, free: 8 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3445/1.679, allocations: 47.36 MB / 1.004 GB, free: 219.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.2721/1.951, allocations: 224.8 MB / 1.223 GB, free: 17.01 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3287/2.28, allocations: 27.71 MB / 1.25 GB, free: 210 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02007/2.3, allocations: 16.79 MB / 1.267 GB, free: 203.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001657/2.302, allocations: 1.296 MB / 1.268 GB, free: 202.2 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05665/2.358, allocations: 20.42 MB / 1.288 GB, free: 197.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=891): time 1.358e-05/2.358, allocations: 0 / 1.288 GB, free: 197.3 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 Error: Internal error SimCode DAEmode: The model DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine could not be translated