Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Examples.Visualize.ModuleTest_NoInput.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.Visualize.ModuleTest_NoInput,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_NoInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Examples.Visualize.ModuleTest_NoInput,fileNamePrefix="DroneLibrary_DroneLibrary_Examples_Visualize_ModuleTest_NoInput",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.06602/0.06602, allocations: 12.03 MB / 27.01 MB, free: 2.348 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.0007167/0.0007168, allocations: 105.9 kB / 30.75 MB, free: 5.559 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.0008855/0.0008856, allocations: 180.5 kB / 34.58 MB, free: 1.738 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.391/1.391, allocations: 223.2 MB / 261.5 MB, free: 9.504 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05579/0.05579, allocations: 13.7 MB / 329.3 MB, free: 428 kB / 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.01648/0.01648, allocations: 17.45 MB / 415.1 MB, free: 28.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1324, allocations: 56.48 MB / 471.6 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.Visualize.ModuleTest_NoInput): time 0.8256/0.9581, allocations: 319.9 MB / 0.7729 GB, free: 124 kB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.1467/1.105, allocations: 68.22 MB / 0.8396 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06299/1.168, allocations: 1.547 MB / 0.8411 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.04865/1.217, allocations: 16.96 MB / 0.8576 GB, free: 8.832 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.1298/1.346, allocations: 47.98 MB / 0.9045 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.02168/1.368, allocations: 3.95 MB / 0.9083 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.4971/1.865, allocations: 59.02 MB / 0.966 GB, free: 31.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06136/1.927, allocations: 41.08 MB / 1.006 GB, free: 27.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01942/1.946, allocations: 7.738 MB / 1.014 GB, free: 27.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0219/1.968, allocations: 11.68 MB / 1.025 GB, free: 23.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.006866/1.975, allocations: 0.9922 MB / 1.026 GB, free: 22.23 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01063/1.985, allocations: 2.055 MB / 1.028 GB, free: 20.73 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.01687/2.002, allocations: 10.73 MB / 1.039 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.01081/2.013, allocations: 5.927 MB / 1.044 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0459/2.059, allocations: 47.69 MB / 1.091 GB, free: 5.453 MB / 0.6388 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/2.059, allocations: 1.422 kB / 1.091 GB, free: 5.453 MB / 0.6388 GB Notification: Performance of FrontEnd: time 4.048e-06/2.059, allocations: 0 / 1.091 GB, free: 5.453 MB / 0.6388 GB Notification: Performance of Transformations before backend: time 0.001626/2.061, allocations: 0 / 1.091 GB, free: 5.453 MB / 0.6388 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7901 * Number of variables: 7901 Notification: Performance of Generate backend data structure: time 0.06617/2.127, allocations: 26.15 MB / 1.116 GB, free: 13.42 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/2.127, allocations: 12.03 kB / 1.116 GB, free: 13.41 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01473/2.142, allocations: 3.816 MB / 1.12 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03918/2.181, allocations: 8.023 MB / 1.128 GB, free: 3.762 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0456/2.227, allocations: 25.02 MB / 1.152 GB, free: 5.148 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001722/2.228, allocations: 1.601 MB / 1.154 GB, free: 4.246 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01077/2.239, allocations: 2.16 MB / 1.156 GB, free: 2.805 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6048/2.844, allocations: 59.19 MB / 1.214 GB, free: 322.3 MB / 0.7327 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001246/2.845, allocations: 246.2 kB / 1.214 GB, free: 322.2 MB / 0.7327 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008071/2.853, allocations: 0.953 MB / 1.215 GB, free: 322.2 MB / 0.7327 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01439/2.868, allocations: 8.431 MB / 1.223 GB, free: 322.1 MB / 0.7327 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1009/2.969, allocations: 47.71 MB / 1.27 GB, free: 307.8 MB / 0.7327 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.3064/3.275, allocations: 245 MB / 1.509 GB, free: 70.24 MB / 0.7327 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05955/3.335, allocations: 27.32 MB / 1.536 GB, free: 42.83 MB / 0.7327 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02108/3.356, allocations: 17.31 MB / 1.553 GB, free: 25.5 MB / 0.7327 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002875/3.359, allocations: 2.6 MB / 1.555 GB, free: 22.56 MB / 0.7327 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05469/3.414, allocations: 20.64 MB / 1.575 GB, free: 1.836 MB / 0.7327 GB Notification: Performance of pre-optimization done (n=788): time 1.697e-05/3.414, allocations: 0 / 1.575 GB, free: 1.836 MB / 0.7327 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: controlModuleTest_fmu_inputs1.droneChassis1.bodyCylinder.body.frame_a.r_0[1] = controlModuleTest_fmu_inputs1.propellerRev.bodyShape5.body.frame_a.r_0[1] + 0.25 * controlModuleTest_fmu_inputs1.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:7863:5-7863:89:writable] Error: Internal error Transformation module sort components failed