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.06332/0.06332, allocations: 12.02 MB / 26.97 MB, free: 1.906 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.0008251/0.0008252, allocations: 100.4 kB / 30.71 MB, free: 5.371 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.0009599/0.0009599, allocations: 179 kB / 34.55 MB, free: 1.547 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.396/1.396, allocations: 223.2 MB / 261.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05824/0.05824, allocations: 13.69 MB / 329.2 MB, free: 72 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.01753/0.01753, allocations: 17.45 MB / 414.8 MB, free: 28.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1374, allocations: 56.49 MB / 471.3 MB, free: 5.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 1.127/1.264, allocations: 355 MB / 0.8069 GB, free: 13.11 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.1954/1.46, allocations: 82 MB / 0.887 GB, free: 11 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1108/1.571, allocations: 1.792 MB / 0.8887 GB, free: 9.203 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.07649/1.647, allocations: 18.24 MB / 0.9066 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.6804/2.328, allocations: 49.09 MB / 0.9545 GB, free: 16.27 MB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.03596/2.364, allocations: 4.157 MB / 0.9586 GB, free: 16.22 MB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.06784/2.432, allocations: 35.82 MB / 0.9935 GB, free: 15.22 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.09305/2.525, allocations: 48.74 MB / 1.041 GB, free: 7.348 MB / 0.6232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01703/2.542, allocations: 6.254 MB / 1.047 GB, free: 3.816 MB / 0.6232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01694/2.559, allocations: 7.973 MB / 1.055 GB, free: 14.48 MB / 0.6388 GB Notification: Performance of NFPackage.collectConstants: time 0.007226/2.566, allocations: 0.9727 MB / 1.056 GB, free: 13.51 MB / 0.6388 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01408/2.58, allocations: 2.092 MB / 1.058 GB, free: 11.67 MB / 0.6388 GB Notification: Performance of NFScalarize.scalarize: time 0.01972/2.6, allocations: 10.25 MB / 1.068 GB, free: 4.328 MB / 0.6388 GB Notification: Performance of NFVerifyModel.verify: time 0.01495/2.615, allocations: 5.792 MB / 1.074 GB, free: 2.574 MB / 0.6388 GB Notification: Performance of NFConvertDAE.convert: time 0.06102/2.676, allocations: 48.36 MB / 1.121 GB, free: 9.191 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/2.676, allocations: 0 / 1.121 GB, free: 9.191 MB / 0.6857 GB Notification: Performance of FrontEnd: time 2.946e-06/2.676, allocations: 2.062 kB / 1.121 GB, free: 9.191 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 0.002232/2.678, allocations: 0 / 1.121 GB, free: 9.191 MB / 0.6857 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.09751/2.776, allocations: 28.4 MB / 1.149 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/2.776, allocations: 8.031 kB / 1.149 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05284/2.829, allocations: 9.062 MB / 1.157 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06618/2.895, allocations: 22.08 MB / 1.179 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002823/2.898, allocations: 1.795 MB / 1.181 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01733/2.915, allocations: 2.447 MB / 1.183 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.7881/3.703, allocations: 57.81 MB / 1.24 GB, free: 341.7 MB / 0.7483 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003414/3.707, allocations: 234.5 kB / 1.24 GB, free: 341.6 MB / 0.7483 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02089/3.728, allocations: 1.047 MB / 1.241 GB, free: 341.6 MB / 0.7483 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01549/3.743, allocations: 6.489 MB / 1.247 GB, free: 341.5 MB / 0.7483 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1235/3.867, allocations: 48.18 MB / 1.294 GB, free: 321.1 MB / 0.7483 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.3475/4.215, allocations: 226.4 MB / 1.515 GB, free: 98.08 MB / 0.7483 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06421/4.279, allocations: 28.34 MB / 1.543 GB, free: 69.6 MB / 0.7483 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/4.281, allocations: 1.296 MB / 1.544 GB, free: 68.19 MB / 0.7483 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06066/4.341, allocations: 20.97 MB / 1.565 GB, free: 47.13 MB / 0.7483 GB Notification: Performance of pre-optimization done (n=891): time 2.851e-05/4.341, allocations: 3.938 kB / 1.565 GB, free: 47.13 MB / 0.7483 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:7903:5-7903:89:writable] Error: Internal error Transformation module sort components failed