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.06366/0.06366, allocations: 12.02 MB / 27.25 MB, free: 2.152 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.0009338/0.0009338, allocations: 113 kB / 30.95 MB, free: 5.273 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.001159/0.001159, allocations: 200.3 kB / 34.76 MB, free: 1.473 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.257/1.257, allocations: 222.9 MB / 261.3 MB, free: 244 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05651/0.05651, allocations: 13.67 MB / 328 MB, free: 1.273 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.02526/0.02525, allocations: 18.46 MB / 414.1 MB, free: 26.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1363, allocations: 55.42 MB / 469.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.9031/1.039, allocations: 413.8 MB / 0.8625 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6343/1.674, allocations: 80.59 MB / 0.9412 GB, free: 1.16 MB / 0.6232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.08645/1.76, allocations: 1.809 MB / 0.943 GB, free: 1.16 MB / 0.6232 GB Notification: Performance of NFTyping.typeComponents: time 0.05066/1.811, allocations: 30.29 MB / 0.9726 GB, free: 0.7383 MB / 0.6232 GB Notification: Performance of NFTyping.typeBindings: time 0.02216/1.833, allocations: 7.31 MB / 0.9797 GB, free: 232 kB / 0.6232 GB Notification: Performance of NFTyping.typeClassSections: time 0.01096/1.844, allocations: 5.084 MB / 0.9847 GB, free: 132 kB / 0.6232 GB Notification: Performance of NFFlatten.flatten: time 0.03854/1.883, allocations: 27.17 MB / 1.011 GB, free: 14.41 MB / 0.6388 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05846/1.941, allocations: 46.23 MB / 1.056 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02468/1.966, allocations: 13.16 MB / 1.069 GB, free: 7.293 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02758/1.994, allocations: 17.46 MB / 1.086 GB, free: 7.375 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 0.01197/2.006, allocations: 4.059 MB / 1.09 GB, free: 3.316 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01609/2.022, allocations: 5.407 MB / 1.095 GB, free: 14.04 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.02489/2.047, allocations: 15.02 MB / 1.11 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.02924/2.076, allocations: 17.39 MB / 1.127 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.06094/2.137, allocations: 58.24 MB / 1.184 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.867e-06/2.137, allocations: 0 / 1.184 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/2.137, allocations: 0 / 1.184 GB, free: 4.312 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001789/2.139, allocations: 4 kB / 1.184 GB, free: 4.309 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.08981/2.229, allocations: 33.99 MB / 1.217 GB, free: 2.395 MB / 0.8107 GB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/2.229, allocations: 12.03 kB / 1.217 GB, free: 2.383 MB / 0.8107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0143/2.243, allocations: 4.546 MB / 1.222 GB, free: 13.91 MB / 0.8263 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03894/2.282, allocations: 7.709 MB / 1.229 GB, free: 6.16 MB / 0.8263 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.419/2.701, allocations: 25.06 MB / 1.254 GB, free: 441.1 MB / 0.8264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001728/2.703, allocations: 1.795 MB / 1.255 GB, free: 440.3 MB / 0.8264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008863/2.712, allocations: 2.446 MB / 1.258 GB, free: 439.6 MB / 0.8264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1097/2.821, allocations: 57.06 MB / 1.314 GB, free: 403.4 MB / 0.8264 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001317/2.823, allocations: 227.4 kB / 1.314 GB, free: 403.2 MB / 0.8264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007045/2.83, allocations: 1.058 MB / 1.315 GB, free: 402.2 MB / 0.8264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007989/2.838, allocations: 6.494 MB / 1.321 GB, free: 395.8 MB / 0.8264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08104/2.919, allocations: 47.21 MB / 1.367 GB, free: 348.6 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.2341/3.153, allocations: 225.9 MB / 1.588 GB, free: 120 MB / 0.8264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05485/3.208, allocations: 27.64 MB / 1.615 GB, free: 92.23 MB / 0.8264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01566/3.224, allocations: 16.72 MB / 1.631 GB, free: 75.49 MB / 0.8264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001495/3.225, allocations: 1.305 MB / 1.632 GB, free: 74.07 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.04876/3.274, allocations: 20.34 MB / 1.652 GB, free: 53.64 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=891): time 1.489e-05/3.274, allocations: 0 / 1.652 GB, free: 53.64 MB / 0.8264 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:7953:5-7953:89:writable] Error: Internal error Transformation module sort components failed