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: translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") translateModel(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Examples.DroneWithIdealPower.DroneForVR") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05815/0.05815, allocations: 12.06 MB / 28.31 MB, free: 1.543 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.001109/0.00111, allocations: 111.8 kB / 32.04 MB, free: 4.477 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.001254/0.001254, allocations: 196.4 kB / 35.87 MB, free: 0.6602 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.363/1.363, allocations: 222.9 MB / 262.4 MB, free: 10.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.1855/0.1855, allocations: 13.67 MB / 329.2 MB, free: 2.559 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.02833/0.02833, allocations: 19.37 MB / 417 MB, free: 5.164 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4714/0.4997, allocations: 55.38 MB / 472.3 MB, free: 53.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Examples.DroneWithIdealPower.DroneForVR): time 0.04728/0.5471, allocations: 64.55 MB / 0.5243 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03352/0.5806, allocations: 14.22 MB / 0.5382 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01472/0.5954, allocations: 436 kB / 0.5386 GB, free: 14.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.04587/0.6414, allocations: 23.99 MB / 0.562 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02365/0.6651, allocations: 7.584 MB / 0.5694 GB, free: 9.129 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01318/0.6783, allocations: 4.758 MB / 0.5741 GB, free: 4.387 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev3.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev3.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev1.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev1.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev2.bodyShape4.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/BodyShape.mo:21:3-22:65:writable] Warning: Parameter propellerRev2.bodyShape5.r_CM has no value, and is fixed during initialization (fixed=true), using available start value (start={0.0, 0.0, 0.0}) as default value. Notification: Performance of NFFlatten.flatten: time 0.03933/0.7176, allocations: 25.5 MB / 0.599 GB, free: 10.97 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05905/0.7767, allocations: 34.85 MB / 0.633 GB, free: 8.594 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2804/1.057, allocations: 11.14 MB / 0.6439 GB, free: 35.78 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0218/1.079, allocations: 14.17 MB / 0.6577 GB, free: 35.78 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.01259/1.092, allocations: 3.116 MB / 0.6608 GB, free: 35.78 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01733/1.109, allocations: 4.359 MB / 0.665 GB, free: 35.78 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.02461/1.134, allocations: 13.15 MB / 0.6779 GB, free: 34.71 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.03546/1.169, allocations: 15.04 MB / 0.6926 GB, free: 28.46 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.05271/1.222, allocations: 48.95 MB / 0.7404 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.283e-05/1.222, allocations: 4 kB / 0.7404 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.314e-06/1.222, allocations: 0 / 0.7404 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Transformations before backend: time 0.002008/1.224, allocations: 0 / 0.7404 GB, free: 13.32 MB / 494.1 MB 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.0861/1.31, allocations: 30.52 MB / 0.7702 GB, free: 15.05 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.31, allocations: 14.69 kB / 0.7702 GB, free: 15.04 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02765/1.338, allocations: 5.775 MB / 0.7758 GB, free: 9.234 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04234/1.38, allocations: 17.9 MB / 0.7933 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001648/1.382, allocations: 1.558 MB / 0.7948 GB, free: 6.809 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009763/1.392, allocations: 2.124 MB / 0.7969 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6417/2.033, allocations: 54.55 MB / 0.8502 GB, free: 170.2 MB / 0.5764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00196/2.035, allocations: 239.4 kB / 0.8504 GB, free: 170.1 MB / 0.5764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01066/2.046, allocations: 0.9384 MB / 0.8513 GB, free: 170.1 MB / 0.5764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01315/2.059, allocations: 7.716 MB / 0.8588 GB, free: 169.7 MB / 0.5764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1072/2.166, allocations: 43.43 MB / 0.9013 GB, free: 154.3 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.5964/2.763, allocations: 219.9 MB / 1.116 GB, free: 72.4 MB / 0.5764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05878/2.822, allocations: 24.6 MB / 1.14 GB, free: 71.51 MB / 0.5764 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01921/2.841, allocations: 15.55 MB / 1.155 GB, free: 67.9 MB / 0.5764 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002494/2.844, allocations: 1.916 MB / 1.157 GB, free: 66.39 MB / 0.5764 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.05466/2.898, allocations: 18.92 MB / 1.176 GB, free: 62.13 MB / 0.5764 GB Notification: Performance of pre-optimization done (n=751): time 2.226e-05/2.898, allocations: 0 / 1.176 GB, free: 62.13 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:8011:5-8011:89:writable] Error: Internal error Transformation module sort components failed