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.05714/0.05714, allocations: 12.02 MB / 27.79 MB, free: 2.188 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.0008367/0.0008367, allocations: 111.4 kB / 31.49 MB, free: 5.301 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.001019/0.001019, allocations: 199.8 kB / 35.3 MB, free: 1.512 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.266/1.266, allocations: 222.9 MB / 261.8 MB, free: 9.598 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1696/0.1696, allocations: 13.67 MB / 328.5 MB, free: 3.238 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.02543/0.02543, allocations: 17.46 MB / 413.4 MB, free: 8.184 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1335, allocations: 55.39 MB / 468.8 MB, free: 0.707 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 1.39/1.524, allocations: 413.7 MB / 0.8619 GB, free: 492 kB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.2115/1.735, allocations: 80.92 MB / 0.9409 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1154/1.851, allocations: 1.813 MB / 0.9427 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.05179/1.903, allocations: 31.49 MB / 0.9734 GB, free: 3.301 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02641/1.929, allocations: 7.516 MB / 0.9808 GB, free: 12.77 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01514/1.944, allocations: 4.973 MB / 0.9856 GB, free: 8.105 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.04807/1.992, allocations: 39 MB / 1.024 GB, free: 2.77 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06137/2.054, allocations: 41.61 MB / 1.064 GB, free: 9.852 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02313/2.077, allocations: 10.67 MB / 1.075 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02812/2.105, allocations: 16.31 MB / 1.091 GB, free: 15.99 MB / 0.7482 GB Notification: Performance of NFPackage.collectConstants: time 0.01266/2.118, allocations: 2.266 MB / 1.093 GB, free: 13.73 MB / 0.7482 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/2.133, allocations: 3.684 MB / 1.097 GB, free: 10.12 MB / 0.7482 GB Notification: Performance of NFScalarize.scalarize: time 0.02144/2.155, allocations: 13.23 MB / 1.109 GB, free: 12.92 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.03146/2.186, allocations: 15.25 MB / 1.124 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 1.004/3.19, allocations: 49.65 MB / 1.173 GB, free: 88.07 MB / 0.7795 GB Notification: Performance of FrontEnd - DAE generated: time 9.358e-06/3.191, allocations: 1.344 kB / 1.173 GB, free: 88.07 MB / 0.7795 GB Notification: Performance of FrontEnd: time 2.525e-06/3.191, allocations: 0 / 1.173 GB, free: 88.07 MB / 0.7795 GB Notification: Performance of Transformations before backend: time 0.002144/3.193, allocations: 0 / 1.173 GB, free: 88.07 MB / 0.7795 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.1303/3.323, allocations: 33.73 MB / 1.206 GB, free: 76.05 MB / 0.7795 GB Notification: Performance of prepare preOptimizeDAE: time 4.771e-05/3.323, allocations: 12.3 kB / 1.206 GB, free: 76.04 MB / 0.7795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03705/3.36, allocations: 5.774 MB / 1.211 GB, free: 73.34 MB / 0.7795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05474/3.415, allocations: 20.74 MB / 1.232 GB, free: 67.89 MB / 0.7795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002116/3.417, allocations: 1.794 MB / 1.233 GB, free: 67.83 MB / 0.7795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01993/3.437, allocations: 2.442 MB / 1.236 GB, free: 67.78 MB / 0.7795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1633/3.6, allocations: 57.13 MB / 1.292 GB, free: 32.09 MB / 0.7795 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00196/3.602, allocations: 232.7 kB / 1.292 GB, free: 31.93 MB / 0.7795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01576/3.618, allocations: 1.047 MB / 1.293 GB, free: 30.97 MB / 0.7795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00957/3.628, allocations: 6.492 MB / 1.299 GB, free: 24.57 MB / 0.7795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1063/3.734, allocations: 47.37 MB / 1.345 GB, free: 9.852 MB / 0.8108 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.6092/4.343, allocations: 226.3 MB / 1.566 GB, free: 355.4 MB / 0.9045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06211/4.406, allocations: 27.71 MB / 1.593 GB, free: 354.2 MB / 0.9045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0202/4.426, allocations: 16.8 MB / 1.61 GB, free: 350.4 MB / 0.9045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002003/4.428, allocations: 1.288 MB / 1.611 GB, free: 349.5 MB / 0.9045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05892/4.487, allocations: 20.42 MB / 1.631 GB, free: 344.5 MB / 0.9045 GB Notification: Performance of pre-optimization done (n=891): time 2.131e-05/4.487, allocations: 0 / 1.631 GB, free: 344.5 MB / 0.9045 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:7947:5-7947:89:writable] Error: Internal error Transformation module sort components failed