Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.TestSystem.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.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.TestSystem,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_TestSystem",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.06546/0.06546, allocations: 12.04 MB / 27.54 MB, free: 1.492 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.0009866/0.0009866, allocations: 105.6 kB / 31.25 MB, free: 4.586 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.001192/0.001192, allocations: 192.4 kB / 35.08 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.311/1.311, allocations: 222.9 MB / 261.6 MB, free: 36 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1187/0.1187, allocations: 13.67 MB / 328.4 MB, free: 3.719 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.02543/0.02543, allocations: 19.59 MB / 415.8 MB, free: 24.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09218/0.1176, allocations: 55.42 MB / 471.2 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.TestSystem): time 0.2648/0.3824, allocations: 60.7 MB / 0.5194 GB, free: 13.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0338/0.4163, allocations: 17.43 MB / 0.5365 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0156/0.4319, allocations: 0.4957 MB / 0.5369 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04739/0.4793, allocations: 31.2 MB / 0.5674 GB, free: 15.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02039/0.4998, allocations: 8.043 MB / 0.5753 GB, free: 9.863 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01283/0.5127, allocations: 5.883 MB / 0.581 GB, free: 5.59 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.04146/0.5541, allocations: 28.42 MB / 0.6088 GB, free: 13.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06807/0.6223, allocations: 47.41 MB / 0.6551 GB, free: 15.43 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02321/0.6455, allocations: 13.73 MB / 0.6685 GB, free: 2.281 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02493/0.6705, allocations: 16.59 MB / 0.6847 GB, free: 2.527 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01184/0.6824, allocations: 4.883 MB / 0.6895 GB, free: 13.64 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01489/0.6973, allocations: 6.198 MB / 0.6955 GB, free: 7.52 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.5038/1.201, allocations: 15.7 MB / 0.7108 GB, free: 68.34 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 0.03942/1.241, allocations: 18.88 MB / 0.7293 GB, free: 64.88 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 0.07284/1.313, allocations: 66.63 MB / 0.7943 GB, free: 32.81 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 6.042e-06/1.313, allocations: 0 / 0.7943 GB, free: 32.81 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.086e-06/1.314, allocations: 0 / 0.7943 GB, free: 32.81 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.00216/1.316, allocations: 2.812 kB / 0.7943 GB, free: 32.81 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8005 * Number of variables: 8005 Notification: Performance of Generate backend data structure: time 0.1134/1.429, allocations: 34.75 MB / 0.8283 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/1.429, allocations: 9.5 kB / 0.8283 GB, free: 9.641 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01592/1.445, allocations: 3.975 MB / 0.8322 GB, free: 6.988 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04318/1.488, allocations: 7.833 MB / 0.8398 GB, free: 1.027 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0552/1.544, allocations: 28.38 MB / 0.8675 GB, free: 5.785 MB / 0.5295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001803/1.545, allocations: 1.795 MB / 0.8693 GB, free: 4.074 MB / 0.5295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01071/1.556, allocations: 2.446 MB / 0.8717 GB, free: 1.715 MB / 0.5295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3993/1.955, allocations: 60.49 MB / 0.9307 GB, free: 158.7 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001708/1.957, allocations: 231.8 kB / 0.931 GB, free: 158.7 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009382/1.967, allocations: 1.05 MB / 0.932 GB, free: 158.7 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01193/1.979, allocations: 6.889 MB / 0.9387 GB, free: 158.6 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1073/2.086, allocations: 50.83 MB / 0.9884 GB, free: 142.7 MB / 0.5764 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.6114/2.697, allocations: 247.8 MB / 1.23 GB, free: 77.73 MB / 0.592 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06873/2.766, allocations: 29.17 MB / 1.259 GB, free: 75.42 MB / 0.592 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01953/2.786, allocations: 18.07 MB / 1.276 GB, free: 66.62 MB / 0.592 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001626/2.787, allocations: 1.301 MB / 1.278 GB, free: 65.68 MB / 0.592 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06862/2.856, allocations: 21.31 MB / 1.299 GB, free: 48.68 MB / 0.592 GB Notification: Performance of pre-optimization done (n=892): time 1.805e-05/2.856, allocations: 0 / 1.299 GB, free: 48.68 MB / 0.592 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: drone.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = drone.propellerRev.blades.bodyShape4.body.frame_a.r_0[1] + 0.25 * drone.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