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.06246/0.06246, allocations: 12.04 MB / 27.31 MB, free: 1.434 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.0008612/0.0008613, allocations: 99.48 kB / 31.06 MB, free: 4.816 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.0009916/0.0009915, allocations: 176.5 kB / 34.9 MB, free: 0.9844 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.345/1.345, allocations: 223.2 MB / 261.9 MB, free: 9.168 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05684/0.05684, allocations: 13.69 MB / 329.6 MB, free: 15.9 MB / 270.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.01807/0.01807, allocations: 18.37 MB / 416.6 MB, free: 26.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1279, allocations: 56.48 MB / 473.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.Drone_IdealMachine): time 0.8826/1.011, allocations: 405 MB / 0.8576 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6193/1.63, allocations: 80.61 MB / 0.9363 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.113/1.743, allocations: 1.805 MB / 0.9381 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.009839/1.753, allocations: 2.178 MB / 0.9402 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.028/1.781, allocations: 7.526 MB / 0.9476 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.01338/1.794, allocations: 4.965 MB / 0.9524 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.05761/1.852, allocations: 39.09 MB / 0.9906 GB, free: 12.14 MB / 0.6232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.08274/1.935, allocations: 56.34 MB / 1.046 GB, free: 496 kB / 0.6388 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01985/1.955, allocations: 7.386 MB / 1.053 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02324/1.978, allocations: 12.18 MB / 1.065 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.006467/1.984, allocations: 0.9727 MB / 1.066 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01119/1.996, allocations: 2.398 MB / 1.068 GB, free: 15.39 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0196/2.015, allocations: 11.15 MB / 1.079 GB, free: 4.305 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.02646/2.042, allocations: 12.86 MB / 1.091 GB, free: 7.461 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.06515/2.107, allocations: 54.4 MB / 1.145 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/2.107, allocations: 0 / 1.145 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/2.107, allocations: 0 / 1.145 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001936/2.109, allocations: 4 kB / 1.145 GB, free: 1.887 MB / 0.7325 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.07938/2.188, allocations: 27.38 MB / 1.171 GB, free: 6.395 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 5.324e-05/2.188, allocations: 12.02 kB / 1.171 GB, free: 6.383 MB / 0.7638 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01781/2.206, allocations: 4.551 MB / 1.176 GB, free: 1.906 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04228/2.249, allocations: 7.831 MB / 1.183 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04836/2.297, allocations: 25.05 MB / 1.208 GB, free: 2.008 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001829/2.299, allocations: 1.795 MB / 1.21 GB, free: 304 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009836/2.309, allocations: 2.453 MB / 1.212 GB, free: 13.93 MB / 0.8107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6721/2.981, allocations: 57.23 MB / 1.268 GB, free: 405.3 MB / 0.8108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001956/2.983, allocations: 232.8 kB / 1.268 GB, free: 405.2 MB / 0.8108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01254/2.995, allocations: 1.052 MB / 1.269 GB, free: 404.5 MB / 0.8108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01148/3.007, allocations: 6.486 MB / 1.276 GB, free: 402 MB / 0.8108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09878/3.106, allocations: 47.42 MB / 1.322 GB, free: 367.8 MB / 0.8108 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.2854/3.391, allocations: 225.5 MB / 1.542 GB, free: 139.9 MB / 0.8108 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06349/3.455, allocations: 27.8 MB / 1.569 GB, free: 111.9 MB / 0.8108 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02005/3.475, allocations: 16.75 MB / 1.586 GB, free: 95.13 MB / 0.8108 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001988/3.477, allocations: 1.303 MB / 1.587 GB, free: 93.71 MB / 0.8108 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05883/3.536, allocations: 20.45 MB / 1.607 GB, free: 73.17 MB / 0.8108 GB Notification: Performance of pre-optimization done (n=891): time 3.326e-05/3.536, allocations: 0 / 1.607 GB, free: 73.17 MB / 0.8108 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