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: "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_Drone_IdealMachine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1081/0.1081, allocations: 12.03 MB / 27.54 MB, free: 1.953 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.001076/0.001076, allocations: 111.8 kB / 31.24 MB, free: 5.07 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.001343/0.001343, allocations: 196.5 kB / 35.07 MB, free: 1.254 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.31/1.31, allocations: 222.9 MB / 261.6 MB, free: 56 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06222/0.06222, allocations: 13.67 MB / 328.4 MB, free: 3.734 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.02723/0.02723, allocations: 19.62 MB / 415.8 MB, free: 25.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0807/0.108, allocations: 55.42 MB / 471.2 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.2339/0.3419, allocations: 60.61 MB / 0.5194 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03142/0.3734, allocations: 16.28 MB / 0.5353 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01743/0.3909, allocations: 0.4948 MB / 0.5358 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04584/0.4368, allocations: 31.12 MB / 0.5662 GB, free: 356 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02264/0.4595, allocations: 7.843 MB / 0.5738 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01143/0.4709, allocations: 5.36 MB / 0.579 GB, free: 7.633 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03247/0.5034, allocations: 26.77 MB / 0.6052 GB, free: 1.488 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0584/0.5619, allocations: 44 MB / 0.6482 GB, free: 6.609 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01862/0.5805, allocations: 12.92 MB / 0.6608 GB, free: 10.27 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02153/0.6021, allocations: 16.05 MB / 0.6765 GB, free: 11.06 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0105/0.6126, allocations: 4.059 MB / 0.6804 GB, free: 7 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01324/0.6259, allocations: 5.378 MB / 0.6857 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.01761/0.6436, allocations: 14.87 MB / 0.7002 GB, free: 2.836 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2385/0.8821, allocations: 17.31 MB / 0.7171 GB, free: 61.35 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.05129/0.9335, allocations: 58.14 MB / 0.7739 GB, free: 43.55 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.134e-06/0.9335, allocations: 4 kB / 0.7739 GB, free: 43.55 MB / 0.4982 GB Notification: Performance of FrontEnd: time 1.974e-06/0.9335, allocations: 3.938 kB / 0.7739 GB, free: 43.55 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001565/0.9351, allocations: 5.312 kB / 0.7739 GB, free: 43.55 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.09271/1.028, allocations: 33.98 MB / 0.8071 GB, free: 21.14 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.028, allocations: 9.719 kB / 0.8071 GB, free: 21.14 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01619/1.044, allocations: 4.556 MB / 0.8115 GB, free: 18.44 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04113/1.085, allocations: 7.705 MB / 0.819 GB, free: 14.62 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0443/1.13, allocations: 25.07 MB / 0.8435 GB, free: 7.859 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001571/1.131, allocations: 1.795 MB / 0.8453 GB, free: 6.148 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009495/1.141, allocations: 2.441 MB / 0.8477 GB, free: 3.793 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1459/1.287, allocations: 57.06 MB / 0.9034 GB, free: 9.148 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001647/1.288, allocations: 234.5 kB / 0.9036 GB, free: 8.988 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008461/1.297, allocations: 1.048 MB / 0.9046 GB, free: 8.027 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01095/1.308, allocations: 6.493 MB / 0.911 GB, free: 1.621 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.328/1.636, allocations: 47.23 MB / 0.9571 GB, free: 172.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.5268/2.163, allocations: 225.9 MB / 1.178 GB, free: 72.1 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0647/2.227, allocations: 27.63 MB / 1.205 GB, free: 71.02 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01838/2.246, allocations: 16.73 MB / 1.221 GB, free: 70.91 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001505/2.247, allocations: 1.302 MB / 1.222 GB, free: 70.04 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05966/2.307, allocations: 20.34 MB / 1.242 GB, free: 65.48 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=891): time 1.995e-05/2.307, allocations: 0 / 1.242 GB, free: 65.48 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