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/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/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/package.mo): time 0.06315/0.06315, allocations: 12.04 MB / 27.54 MB, free: 1.387 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.0009233/0.0009233, allocations: 117.5 kB / 31.24 MB, free: 4.574 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.001047/0.001047, allocations: 192.4 kB / 35.06 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.275/1.275, allocations: 222.9 MB / 261.6 MB, free: 32 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06012/0.06012, allocations: 13.68 MB / 328.3 MB, free: 3.746 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.02605/0.02605, allocations: 19.59 MB / 415.6 MB, free: 25.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.1151, allocations: 55.42 MB / 471.1 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.2371/0.3523, allocations: 60.61 MB / 0.5192 GB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0319/0.3842, allocations: 16.29 MB / 0.5351 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01281/0.3971, allocations: 0.4943 MB / 0.5356 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04484/0.442, allocations: 31.13 MB / 0.566 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02055/0.4625, allocations: 7.832 MB / 0.5736 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01114/0.4737, allocations: 5.363 MB / 0.5789 GB, free: 7.281 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03275/0.5065, allocations: 26.76 MB / 0.605 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05743/0.5639, allocations: 44.01 MB / 0.648 GB, free: 6.578 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02055/0.5845, allocations: 12.93 MB / 0.6606 GB, free: 10.23 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02334/0.6079, allocations: 16.05 MB / 0.6763 GB, free: 11.02 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01059/0.6185, allocations: 4.055 MB / 0.6803 GB, free: 6.965 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01425/0.6328, allocations: 5.38 MB / 0.6855 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01926/0.6521, allocations: 14.88 MB / 0.7 GB, free: 2.797 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2478/0.8999, allocations: 17.22 MB / 0.7169 GB, free: 61.32 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.05212/0.952, allocations: 57.88 MB / 0.7734 GB, free: 43.73 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9521, allocations: 3.969 kB / 0.7734 GB, free: 43.73 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9521, allocations: 0 / 0.7734 GB, free: 43.73 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001615/0.9537, allocations: 0 / 0.7734 GB, free: 43.73 MB / 0.4982 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.08978/1.043, allocations: 33.74 MB / 0.8063 GB, free: 21.49 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/1.044, allocations: 9.562 kB / 0.8063 GB, free: 21.49 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02483/1.068, allocations: 5.773 MB / 0.812 GB, free: 18.59 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03533/1.104, allocations: 20.74 MB / 0.8322 GB, free: 2.895 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00114/1.105, allocations: 1.795 MB / 0.834 GB, free: 1.184 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008893/1.114, allocations: 2.444 MB / 0.8364 GB, free: 14.83 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1308/1.245, allocations: 57.12 MB / 0.8921 GB, free: 4.125 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001571/1.246, allocations: 235.1 kB / 0.8924 GB, free: 3.961 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008822/1.255, allocations: 1.047 MB / 0.8934 GB, free: 3 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01116/1.266, allocations: 6.492 MB / 0.8997 GB, free: 12.59 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3256/1.592, allocations: 47.36 MB / 0.946 GB, free: 171.8 MB / 0.5763 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.5267/2.119, allocations: 226.3 MB / 1.167 GB, free: 69.57 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06456/2.183, allocations: 27.7 MB / 1.194 GB, free: 68.5 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01747/2.201, allocations: 16.8 MB / 1.21 GB, free: 68.4 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001391/2.202, allocations: 1.297 MB / 1.212 GB, free: 67.54 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05646/2.259, allocations: 20.42 MB / 1.232 GB, free: 67.21 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=891): time 1.794e-05/2.259, allocations: 0 / 1.232 GB, free: 67.21 MB / 0.5763 GB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed