Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR.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.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_DroneWithIdealPower_DroneForVR",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.1005/0.1005, allocations: 12.03 MB / 27.53 MB, free: 1.398 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.001384/0.001384, allocations: 105.2 kB / 31.24 MB, free: 4.574 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.001868/0.001867, allocations: 196.4 kB / 35.07 MB, free: 0.7578 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.507/1.507, 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.06092/0.06092, allocations: 13.68 MB / 328.4 MB, free: 3.73 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.04792/0.04792, allocations: 19.59 MB / 415.8 MB, free: 24.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1887, allocations: 55.42 MB / 471.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.3001/0.4888, allocations: 64.54 MB / 0.5232 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03662/0.5255, allocations: 14.21 MB / 0.5371 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01881/0.5445, allocations: 436.3 kB / 0.5375 GB, free: 13.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04113/0.5856, allocations: 23.99 MB / 0.5609 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02421/0.6099, allocations: 7.575 MB / 0.5683 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01251/0.6224, allocations: 4.768 MB / 0.573 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.03962/0.6621, allocations: 25.5 MB / 0.5979 GB, free: 9.305 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06973/0.7318, allocations: 34.89 MB / 0.6319 GB, free: 7.449 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0263/0.7582, allocations: 11.12 MB / 0.6428 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02755/0.7858, allocations: 14.18 MB / 0.6566 GB, free: 15.46 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01158/0.7974, allocations: 3.113 MB / 0.6597 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01682/0.8143, allocations: 4.361 MB / 0.6639 GB, free: 8.059 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02209/0.8364, allocations: 13.14 MB / 0.6768 GB, free: 10.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03536/0.8718, allocations: 15.14 MB / 0.6915 GB, free: 11.78 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.6942/1.566, allocations: 48.3 MB / 0.7387 GB, free: 74.64 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/1.566, allocations: 0 / 0.7387 GB, free: 74.64 MB / 0.4983 GB Notification: Performance of FrontEnd: time 3.596e-06/1.566, allocations: 0 / 0.7387 GB, free: 74.64 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 0.002292/1.568, allocations: 1.312 kB / 0.7387 GB, free: 74.64 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: 7735 * Number of variables: 7735 Notification: Performance of Generate backend data structure: time 0.1223/1.691, allocations: 30.77 MB / 0.7688 GB, free: 59.04 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/1.691, allocations: 7.781 kB / 0.7688 GB, free: 59.04 MB / 0.4983 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.02145/1.712, allocations: 4.213 MB / 0.7729 GB, free: 56.83 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04858/1.761, allocations: 7.704 MB / 0.7804 GB, free: 52.99 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04954/1.81, allocations: 21.75 MB / 0.8016 GB, free: 40.5 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001872/1.812, allocations: 1.568 MB / 0.8032 GB, free: 39.75 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01515/1.828, allocations: 2.121 MB / 0.8052 GB, free: 37.75 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1491/1.977, allocations: 54.49 MB / 0.8584 GB, free: 13.46 MB / 0.5295 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.002126/1.979, allocations: 241.5 kB / 0.8587 GB, free: 13.31 MB / 0.5295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01448/1.993, allocations: 0.9391 MB / 0.8596 GB, free: 12.49 MB / 0.5295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01477/2.008, allocations: 7.716 MB / 0.8671 GB, free: 4.887 MB / 0.5295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1178/2.126, allocations: 43.29 MB / 0.9094 GB, free: 10.32 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.6943/2.82, allocations: 220.8 MB / 1.125 GB, free: 19.62 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4454/3.266, allocations: 24.52 MB / 1.149 GB, free: 185.2 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02396/3.29, allocations: 15.49 MB / 1.164 GB, free: 181.7 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003005/3.293, allocations: 1.916 MB / 1.166 GB, free: 180.2 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.06153/3.354, allocations: 18.83 MB / 1.184 GB, free: 176 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=751): time 2.222e-05/3.354, allocations: 0 / 1.184 GB, free: 176 MB / 0.5764 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.bodyShape5.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