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: "" <> 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/package.mo): time 0.06433/0.06433, allocations: 12.02 MB / 27.14 MB, free: 2.195 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.001088/0.001088, allocations: 115.4 kB / 30.83 MB, free: 5.34 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.001287/0.001287, allocations: 192.4 kB / 34.64 MB, free: 1.551 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.476/1.476, allocations: 222.9 MB / 261.2 MB, free: 8.121 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05871/0.05871, allocations: 13.67 MB / 327.9 MB, free: 324 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.02754/0.02754, allocations: 18.45 MB / 413.9 MB, free: 27.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1409, allocations: 55.41 MB / 469.3 MB, free: 5.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 1.001/1.142, allocations: 413.8 MB / 0.8623 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.2206/1.362, allocations: 80.68 MB / 0.9411 GB, free: 0.5703 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.7159/2.078, allocations: 1.816 MB / 0.9429 GB, free: 1.18 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.06076/2.139, allocations: 31.48 MB / 0.9737 GB, free: 420 kB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02619/2.165, allocations: 7.509 MB / 0.981 GB, free: 15.95 MB / 0.6388 GB Notification: Performance of NFTyping.typeClassSections: time 0.01443/2.18, allocations: 4.976 MB / 0.9858 GB, free: 15.84 MB / 0.6388 GB Notification: Performance of NFFlatten.flatten: time 0.06899/2.249, allocations: 39 MB / 1.024 GB, free: 8.438 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08632/2.335, allocations: 41.62 MB / 1.065 GB, free: 10.03 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02707/2.362, allocations: 10.67 MB / 1.075 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03289/2.395, allocations: 16.32 MB / 1.091 GB, free: 2.324 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01404/2.409, allocations: 2.266 MB / 1.093 GB, free: 60 kB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02186/2.431, allocations: 3.683 MB / 1.097 GB, free: 12.51 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02559/2.457, allocations: 13.23 MB / 1.11 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.03675/2.494, allocations: 15.32 MB / 1.125 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.07518/2.569, allocations: 56.84 MB / 1.18 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.353e-05/2.569, allocations: 0 / 1.18 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.635e-06/2.569, allocations: 0 / 1.18 GB, free: 8.066 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.002718/2.572, allocations: 0 / 1.18 GB, free: 8.066 MB / 0.7794 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.1245/2.696, allocations: 33.99 MB / 1.213 GB, free: 6.152 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/2.696, allocations: 12.03 kB / 1.213 GB, free: 6.141 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01916/2.716, allocations: 4.558 MB / 1.218 GB, free: 1.656 MB / 0.8107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04341/2.759, allocations: 7.706 MB / 1.225 GB, free: 9.91 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.294/4.053, allocations: 25.05 MB / 1.25 GB, free: 135.2 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00354/4.057, allocations: 1.799 MB / 1.252 GB, free: 135.1 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01675/4.073, allocations: 2.439 MB / 1.254 GB, free: 135.1 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1865/4.26, allocations: 57.06 MB / 1.31 GB, free: 126.2 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002038/4.262, allocations: 237.8 kB / 1.31 GB, free: 126.1 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01331/4.275, allocations: 1.054 MB / 1.311 GB, free: 125.4 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01299/4.288, allocations: 6.481 MB / 1.317 GB, free: 123.6 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1144/4.403, allocations: 47.23 MB / 1.363 GB, free: 83.57 MB / 0.8264 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.8042/5.207, allocations: 225.9 MB / 1.584 GB, free: 497.7 MB / 0.9514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07072/5.278, allocations: 27.64 MB / 1.611 GB, free: 496.6 MB / 0.9514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02336/5.301, allocations: 16.73 MB / 1.627 GB, free: 496.5 MB / 0.9514 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002442/5.304, allocations: 1.302 MB / 1.629 GB, free: 495.6 MB / 0.9514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06332/5.367, allocations: 20.34 MB / 1.648 GB, free: 492.3 MB / 0.9514 GB Notification: Performance of pre-optimization done (n=891): time 5.798e-05/5.367, allocations: 0 / 1.648 GB, free: 492.3 MB / 0.9514 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