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.06679/0.06679, allocations: 12.04 MB / 27.65 MB, free: 2.316 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.0006643/0.0006643, allocations: 92.75 kB / 31.36 MB, free: 5.473 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.001361/0.001362, allocations: 180.5 kB / 35.21 MB, free: 1.645 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.67/1.67, allocations: 223.2 MB / 262.1 MB, free: 9.148 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06071/0.06071, allocations: 13.7 MB / 329.9 MB, free: 36 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.02297/0.02297, allocations: 17.44 MB / 415.6 MB, free: 28.35 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1662, allocations: 56.49 MB / 472.1 MB, free: 5.523 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 1.558/1.724, allocations: 376.1 MB / 0.8283 GB, free: 8.051 MB / 0.5138 GB Notification: Performance of NFInst.instExpressions: time 0.2406/1.965, allocations: 78.15 MB / 0.9046 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.1217/2.087, allocations: 1.8 MB / 0.9064 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.07709/2.164, allocations: 17.73 MB / 0.9237 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.7649/2.929, allocations: 49.9 MB / 0.9724 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.03168/2.96, allocations: 4.093 MB / 0.9764 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.08966/3.05, allocations: 58.81 MB / 1.034 GB, free: 15.33 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1065/3.157, allocations: 49.08 MB / 1.082 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02699/3.184, allocations: 7.865 MB / 1.089 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03255/3.216, allocations: 12.02 MB / 1.101 GB, free: 13.93 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.008534/3.225, allocations: 0.9688 MB / 1.102 GB, free: 12.96 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/3.239, allocations: 2.131 MB / 1.104 GB, free: 11.05 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0242/3.263, allocations: 11.07 MB / 1.115 GB, free: 1.898 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02087/3.284, allocations: 5.896 MB / 1.121 GB, free: 0 / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.07364/3.358, allocations: 48.17 MB / 1.168 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.957e-06/3.358, allocations: 0 / 1.168 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.848e-06/3.358, allocations: 0 / 1.168 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.002915/3.361, allocations: 0 / 1.168 GB, free: 6.742 MB / 0.7169 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.103/3.464, allocations: 27.5 MB / 1.195 GB, free: 13.3 MB / 0.7482 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/3.464, allocations: 12.03 kB / 1.195 GB, free: 13.29 MB / 0.7482 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03408/3.498, allocations: 5.869 MB / 1.2 GB, free: 7.59 MB / 0.7482 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4657/3.963, allocations: 20.39 MB / 1.22 GB, free: 366.3 MB / 0.7482 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003105/3.967, allocations: 1.796 MB / 1.222 GB, free: 366.2 MB / 0.7482 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01641/3.983, allocations: 2.44 MB / 1.224 GB, free: 366.2 MB / 0.7482 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.168/4.151, allocations: 57.11 MB / 1.28 GB, free: 342.5 MB / 0.7482 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002209/4.153, allocations: 235.3 kB / 1.28 GB, free: 342.3 MB / 0.7482 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01501/4.168, allocations: 1.051 MB / 1.282 GB, free: 341.3 MB / 0.7482 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01083/4.179, allocations: 6.486 MB / 1.288 GB, free: 334.9 MB / 0.7482 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1144/4.294, allocations: 47.36 MB / 1.334 GB, free: 287.6 MB / 0.7482 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.3651/4.659, allocations: 225.8 MB / 1.555 GB, free: 59.47 MB / 0.7482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06318/4.722, allocations: 27.84 MB / 1.582 GB, free: 31.49 MB / 0.7482 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02276/4.745, allocations: 16.8 MB / 1.598 GB, free: 14.66 MB / 0.7482 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00219/4.747, allocations: 1.297 MB / 1.599 GB, free: 13.25 MB / 0.7482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.5211/5.268, allocations: 20.49 MB / 1.619 GB, free: 331.6 MB / 0.7482 GB Notification: Performance of pre-optimization done (n=891): time 5.815e-05/5.268, allocations: 0 / 1.619 GB, free: 331.6 MB / 0.7482 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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed