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.06985/0.06985, allocations: 12.04 MB / 28.21 MB, free: 1.82 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.001129/0.001129, allocations: 107.8 kB / 31.92 MB, free: 4.695 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.001454/0.001454, allocations: 192.5 kB / 35.75 MB, free: 0.8828 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.496/1.496, allocations: 222.9 MB / 262.3 MB, free: 12 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06539/0.06539, allocations: 13.68 MB / 329 MB, free: 1.086 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.025/0.025, allocations: 19.58 MB / 416.3 MB, free: 25.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09402/0.119, allocations: 55.42 MB / 471.8 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.2428/0.3619, allocations: 60.62 MB / 0.5199 GB, free: 15.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03109/0.393, allocations: 16.28 MB / 0.5358 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01368/0.4068, allocations: 0.4967 MB / 0.5363 GB, free: 14.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0475/0.4543, allocations: 31.13 MB / 0.5667 GB, free: 1.219 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01984/0.4742, allocations: 7.834 MB / 0.5743 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01238/0.4866, allocations: 5.357 MB / 0.5796 GB, free: 8.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03643/0.5231, allocations: 26.77 MB / 0.6057 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06162/0.5847, allocations: 44 MB / 0.6487 GB, free: 6.797 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0221/0.6069, allocations: 12.93 MB / 0.6613 GB, free: 10.45 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02497/0.6319, allocations: 16.05 MB / 0.677 GB, free: 11.24 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01246/0.6444, allocations: 4.059 MB / 0.6809 GB, free: 7.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01647/0.6609, allocations: 5.38 MB / 0.6862 GB, free: 1.875 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02098/0.6819, allocations: 14.87 MB / 0.7007 GB, free: 3.004 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2632/0.9452, allocations: 17.23 MB / 0.7176 GB, free: 62.38 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.05561/1.001, allocations: 57.88 MB / 0.7741 GB, free: 44.41 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/1.001, allocations: 2.906 kB / 0.7741 GB, free: 44.41 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.974e-06/1.001, allocations: 0 / 0.7741 GB, free: 44.41 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.00168/1.003, allocations: 0 / 0.7741 GB, free: 44.41 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.09651/1.099, allocations: 33.73 MB / 0.807 GB, free: 22.16 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/1.099, allocations: 11.03 kB / 0.807 GB, free: 22.16 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02807/1.127, allocations: 5.772 MB / 0.8127 GB, free: 19.26 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03767/1.165, allocations: 20.74 MB / 0.8329 GB, free: 3.242 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001306/1.166, allocations: 1.794 MB / 0.8347 GB, free: 1.531 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0114/1.178, allocations: 2.445 MB / 0.8371 GB, free: 15.17 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1442/1.322, allocations: 57.13 MB / 0.8928 GB, free: 4.465 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001628/1.324, allocations: 237.3 kB / 0.8931 GB, free: 4.301 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009682/1.333, allocations: 1.047 MB / 0.8941 GB, free: 3.34 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01182/1.345, allocations: 6.493 MB / 0.9004 GB, free: 12.93 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.348/1.693, allocations: 47.36 MB / 0.9467 GB, free: 171.9 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.5947/2.288, allocations: 226.3 MB / 1.168 GB, free: 70.93 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06976/2.358, allocations: 27.7 MB / 1.195 GB, free: 69.86 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01966/2.377, allocations: 16.8 MB / 1.211 GB, free: 69.76 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001678/2.379, allocations: 1.294 MB / 1.212 GB, free: 68.9 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06148/2.441, allocations: 20.43 MB / 1.232 GB, free: 68.57 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=891): time 1.991e-05/2.441, allocations: 0 / 1.232 GB, free: 68.57 MB / 0.5763 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:7956:5-7956:89:writable] Error: Internal error Transformation module sort components failed