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.06412/0.06412, allocations: 12.03 MB / 27.53 MB, free: 1.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.0009821/0.0009822, allocations: 104 kB / 31.23 MB, free: 4.578 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.001173/0.001173, allocations: 188.5 kB / 35.06 MB, free: 0.7656 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.284/1.284, allocations: 222.9 MB / 261.6 MB, free: 32 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06066/0.06066, allocations: 13.68 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.02778/0.02778, allocations: 19.59 MB / 415.8 MB, free: 24.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1332, allocations: 55.41 MB / 471.2 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.2676/0.4009, allocations: 60.62 MB / 0.5193 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03199/0.433, allocations: 16.27 MB / 0.5352 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01553/0.4485, allocations: 0.4944 MB / 0.5357 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04911/0.4977, allocations: 31.13 MB / 0.5661 GB, free: 152 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0227/0.5205, allocations: 7.834 MB / 0.5738 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01273/0.5332, allocations: 5.361 MB / 0.579 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03735/0.5706, allocations: 26.77 MB / 0.6051 GB, free: 1.617 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.07008/0.6407, allocations: 44.01 MB / 0.6481 GB, free: 6.73 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0263/0.6671, allocations: 12.93 MB / 0.6607 GB, free: 10.39 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02593/0.6931, allocations: 16.04 MB / 0.6764 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01434/0.7074, allocations: 4.062 MB / 0.6804 GB, free: 7.125 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01741/0.7249, allocations: 5.38 MB / 0.6856 GB, free: 1.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02171/0.7467, allocations: 14.88 MB / 0.7002 GB, free: 2.957 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.2832/1.03, allocations: 17.31 MB / 0.7171 GB, free: 61.64 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.06628/1.096, allocations: 58.15 MB / 0.7738 GB, free: 43.7 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/1.096, allocations: 0 / 0.7738 GB, free: 43.7 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.043e-06/1.096, allocations: 0 / 0.7738 GB, free: 43.7 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001994/1.098, allocations: 1.5 kB / 0.7738 GB, free: 43.7 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.1108/1.209, allocations: 33.98 MB / 0.807 GB, free: 21.3 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/1.209, allocations: 13.48 kB / 0.807 GB, free: 21.29 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02194/1.231, allocations: 4.55 MB / 0.8115 GB, free: 18.59 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04396/1.275, allocations: 7.712 MB / 0.819 GB, free: 14.77 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05098/1.326, allocations: 25.06 MB / 0.8435 GB, free: 8.035 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002166/1.328, allocations: 1.795 MB / 0.8452 GB, free: 6.324 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01124/1.34, allocations: 2.445 MB / 0.8476 GB, free: 3.965 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1518/1.491, allocations: 57.06 MB / 0.9034 GB, free: 9.324 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002181/1.494, allocations: 232.3 kB / 0.9036 GB, free: 9.164 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01086/1.505, allocations: 1.048 MB / 0.9046 GB, free: 8.203 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01355/1.518, allocations: 6.491 MB / 0.9109 GB, free: 1.797 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3944/1.913, 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.6697/2.582, allocations: 225.9 MB / 1.178 GB, free: 72.54 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06857/2.651, allocations: 27.64 MB / 1.205 GB, free: 71.45 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02082/2.672, allocations: 16.73 MB / 1.221 GB, free: 71.34 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0017/2.674, allocations: 1.299 MB / 1.222 GB, free: 70.47 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.061/2.735, allocations: 20.34 MB / 1.242 GB, free: 66.09 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=891): time 1.805e-05/2.735, allocations: 0 / 1.242 GB, free: 66.09 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