Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.motorTest.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: translateModel(DroneLibrary.Tests.motorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.motorTest") translateModel(DroneLibrary.Tests.motorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.motorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.06997/0.06997, allocations: 12.04 MB / 27.65 MB, free: 1.855 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.0006924/0.0006926, allocations: 104 kB / 31.37 MB, free: 5.27 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.0009915/0.0009916, allocations: 180.4 kB / 35.21 MB, free: 1.453 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.565/1.565, allocations: 223.3 MB / 262.2 MB, free: 0.8828 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05981/0.05981, allocations: 13.7 MB / 329.9 MB, free: 1.137 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.02311/0.02311, allocations: 17.44 MB / 415.6 MB, free: 28.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1761, allocations: 56.49 MB / 472.1 MB, free: 5.77 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Interfaces/PartialVisualizer.mo:7:3-7:49:writable] Warning: An inner declaration for outer component world could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Interfaces/PartialVisualizer.mo:7:3-7:49:writable] Notification: The diagnostics message for the missing inner is: No "world" component is defined. A default world component with the default gravity field will be used (g=9.81 in negative y-axis). If this is not desired, drag Modelica.Mechanics.MultiBody.World into the top level of your model. Notification: Performance of NFInst.instantiate(DroneLibrary.Tests.motorTest): time 0.4773/0.6535, allocations: 157 MB / 0.6144 GB, free: 13.32 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.09696/0.7505, allocations: 33.58 MB / 0.6472 GB, free: 11.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.05018/0.8008, allocations: 0.7314 MB / 0.6479 GB, free: 11.2 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03097/0.8318, allocations: 7.229 MB / 0.6549 GB, free: 3.941 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.08068/0.9125, allocations: 20.45 MB / 0.6749 GB, free: 15.69 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01306/0.9256, allocations: 1.575 MB / 0.6764 GB, free: 14.13 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.02218/0.9478, allocations: 11.84 MB / 0.688 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.5365/1.484, allocations: 19.76 MB / 0.7073 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01078/1.495, allocations: 3.066 MB / 0.7103 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01426/1.51, allocations: 4.767 MB / 0.7149 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.004462/1.514, allocations: 418.6 kB / 0.7153 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009385/1.524, allocations: 1.264 MB / 0.7166 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.01323/1.537, allocations: 4.511 MB / 0.721 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.01066/1.548, allocations: 2.427 MB / 0.7234 GB, free: 13.94 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.03509/1.583, allocations: 20.26 MB / 0.7431 GB, free: 11.3 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/1.583, allocations: 3.703 kB / 0.7431 GB, free: 11.3 MB / 0.4982 GB Notification: Performance of FrontEnd: time 3.828e-06/1.583, allocations: 0 / 0.7431 GB, free: 11.3 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001519/1.584, allocations: 0 / 0.7431 GB, free: 11.3 MB / 0.4982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3617 * Number of variables: 3617 Notification: Performance of Generate backend data structure: time 0.05015/1.634, allocations: 10.53 MB / 0.7534 GB, free: 5.418 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/1.635, allocations: 6.969 kB / 0.7534 GB, free: 5.418 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/1.651, allocations: 2.993 MB / 0.7564 GB, free: 4.012 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02071/1.672, allocations: 7.537 MB / 0.7637 GB, free: 2.078 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001147/1.673, allocations: 0.7499 MB / 0.7644 GB, free: 2.051 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007734/1.681, allocations: 1.003 MB / 0.7654 GB, free: 2.039 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09041/1.771, allocations: 25.57 MB / 0.7904 GB, free: 11.13 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001384/1.772, allocations: 95.89 kB / 0.7905 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007505/1.78, allocations: 453.4 kB / 0.7909 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006688/1.787, allocations: 3.326 MB / 0.7942 GB, free: 10.48 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06474/1.851, allocations: 21.13 MB / 0.8148 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1843/2.036, allocations: 95.88 MB / 0.9084 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02304/2.059, allocations: 8.92 MB / 0.9171 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008219/2.067, allocations: 4.771 MB / 0.9218 GB, free: 14.6 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001117/2.068, allocations: 0.7013 MB / 0.9225 GB, free: 13.82 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/2.068, allocations: 62.45 kB / 0.9226 GB, free: 13.75 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=285): time 6.713e-06/2.068, allocations: 4 kB / 0.9226 GB, free: 13.75 MB / 0.6232 GB Notification: Performance of matching and sorting (n=309): time 0.4793/2.548, allocations: 40.27 MB / 0.9619 GB, free: 255.7 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001574/2.548, allocations: 264.9 kB / 0.9621 GB, free: 255.4 MB / 0.6232 GB [/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.blades.bodyShape4.r_CM[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape4.r_CM[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape4.r_CM[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape5.r_CM[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape5.r_CM[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape5.r_CM[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape4.r_CM[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape4.r_CM[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape4.r_CM[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape5.r_CM[3] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape5.r_CM[2] has no value, and is fixed during initialization (fixed=true), using available start value (start=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.blades.bodyShape5.r_CM[1] has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02561/2.574, allocations: 9.308 MB / 0.9712 GB, free: 252.7 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001469/2.575, allocations: 73.64 kB / 0.9713 GB, free: 252.6 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.007348/2.583, allocations: 7.003 MB / 0.9781 GB, free: 247.3 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.003099/2.586, allocations: 1.252 MB / 0.9794 GB, free: 246.4 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002058/2.588, allocations: 228.8 kB / 0.9796 GB, free: 246.2 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.001736/2.589, allocations: 0.7943 MB / 0.9803 GB, free: 245.7 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01234/2.602, allocations: 4.75 MB / 0.985 GB, free: 243.9 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01696/2.619, allocations: 11.98 MB / 0.9967 GB, free: 232.2 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01484/2.634, allocations: 7.584 MB / 1.004 GB, free: 229 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005158/2.634, allocations: 71.69 kB / 1.004 GB, free: 229 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1515) (initialization): time 0.05368/2.688, allocations: 19.94 MB / 1.024 GB, free: 220.6 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.007911/2.696, allocations: 7.64 MB / 1.031 GB, free: 209.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000995/2.697, allocations: 256 kB / 1.031 GB, free: 209.2 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01329/2.71, allocations: 4.243 MB / 1.035 GB, free: 206.2 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01086/2.721, allocations: 2.686 MB / 1.038 GB, free: 203.8 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02102/2.742, allocations: 16.94 MB / 1.055 GB, free: 188.2 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0154/2.758, allocations: 0.6859 MB / 1.055 GB, free: 187.5 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004642/2.763, allocations: 0.705 MB / 1.056 GB, free: 186.9 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 2.634e-05/2.763, allocations: 8 kB / 1.056 GB, free: 186.9 MB / 0.6232 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04376/2.806, allocations: 19.16 MB / 1.075 GB, free: 168.6 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001008/2.807, allocations: 260.2 kB / 1.075 GB, free: 168.4 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01241/2.82, allocations: 4.251 MB / 1.079 GB, free: 164.1 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01083/2.831, allocations: 2.671 MB / 1.082 GB, free: 161.4 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02015/2.851, allocations: 16.93 MB / 1.098 GB, free: 144 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/2.863, allocations: 0.6427 MB / 1.099 GB, free: 143.3 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003706/2.867, allocations: 0.6992 MB / 1.1 GB, free: 142.6 MB / 0.6232 GB Warning: Assuming fixed start value for the following 31 variables: propellerRev1.blades.bodyShape5.v_0[3]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.v_0[2]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.v_0[1]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.body.phi_d[2]:VARIABLE(unit = "rad/s" fixed = true stateSelect=StateSelect.avoid protected = true ) "= der(phi)" type: Real [3] propellerRev1.blades.bodyShape5.body.phi_d[1]:VARIABLE(unit = "rad/s" fixed = true stateSelect=StateSelect.avoid protected = true ) "= der(phi)" type: Real [3] propellerRev1.blades.bodyShape5.body.phi[3]:VARIABLE(start = propellerRev1.blades.bodyShape5.body.phi_start[3] unit = "rad" fixed = true stateSelect=StateSelect.avoid protected = true ) "Dummy or 3 angles to rotate world frame into frame_a of body" type: Real [3] propellerRev1.blades.bodyShape5.body.phi[2]:VARIABLE(start = propellerRev1.blades.bodyShape5.body.phi_start[2] unit = "rad" fixed = true stateSelect=StateSelect.avoid protected = true ) "Dummy or 3 angles to rotate world frame into frame_a of body" type: Real [3] propellerRev1.blades.bodyShape5.body.phi[1]:VARIABLE(start = propellerRev1.blades.bodyShape5.body.phi_start[1] unit = "rad" fixed = true stateSelect=StateSelect.avoid protected = true ) "Dummy or 3 angles to rotate world frame into frame_a of body" type: Real [3] propellerRev1.blades.bodyShape5.body.frame_a.r_0[1]:VARIABLE(flow=false start = 0.0 unit = "m" fixed = true ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] propellerRev1.blades.bodyShape5.body.frame_a.r_0[2]:VARIABLE(flow=false start = 0.0 unit = "m" fixed = true ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] propellerRev1.blades.bodyShape5.body.frame_a.r_0[3]:VARIABLE(flow=false start = 0.0 unit = "m" fixed = true ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] propellerRev1.blades.bodyShape5.body.w_a[3]:VARIABLE(start = propellerRev1.blades.bodyShape5.body.w_0_start[3] unit = "rad/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute angular velocity of frame_a resolved in frame_a" type: Real [3] propellerRev2.blades.bodyShape5.v_0[3]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev2.blades.bodyShape5.v_0[2]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev2.blades.bodyShape5.v_0[1]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev2.blades.bodyShape5.body.phi_d[2]:VARIABLE(unit = "rad/s" fixed = true stateSelect=StateSelect.avoid protected = true ) "= der(phi)" type: Real [3] propellerRev2.blades.bodyShape5.body.phi_d[1]:VARIABLE(unit = "rad/s" fixed = true stateSelect=StateSelect.avoid protected = true ) "= der(phi)" type: Real [3] propellerRev2.blades.bodyShape5.body.phi[3]:VARIABLE(start = propellerRev2.blades.bodyShape5.body.phi_start[3] unit = "rad" fixed = true stateSelect=StateSelect.avoid protected = true ) "Dummy or 3 angles to rotate world frame into frame_a of body" type: Real [3] propellerRev2.blades.bodyShape5.body.phi[2]:VARIABLE(start = propellerRev2.blades.bodyShape5.body.phi_start[2] unit = "rad" fixed = true stateSelect=StateSelect.avoid protected = true ) "Dummy or 3 angles to rotate world frame into frame_a of body" type: Real [3] propellerRev2.blades.bodyShape5.body.phi[1]:VARIABLE(start = propellerRev2.blades.bodyShape5.body.phi_start[1] unit = "rad" fixed = true stateSelect=StateSelect.avoid protected = true ) "Dummy or 3 angles to rotate world frame into frame_a of body" type: Real [3] propellerRev2.blades.bodyShape5.body.frame_a.r_0[1]:VARIABLE(flow=false start = 0.0 unit = "m" fixed = true ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] propellerRev2.blades.bodyShape5.body.frame_a.r_0[2]:VARIABLE(flow=false start = 0.0 unit = "m" fixed = true ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] propellerRev2.blades.bodyShape5.body.frame_a.r_0[3]:VARIABLE(flow=false start = 0.0 unit = "m" fixed = true ) "Position vector from world frame to the connector frame origin, resolved in world frame" type: Real [3] propellerRev2.blades.bodyShape5.body.w_a[3]:VARIABLE(start = propellerRev2.blades.bodyShape5.body.w_0_start[3] unit = "rad/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute angular velocity of frame_a resolved in frame_a" type: Real [3] propellerRev2.rotor3_1.revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real propellerRev2.rotor3_1.revolute.phi:VARIABLE(start = 0.0 unit = "rad" fixed = true stateSelect=StateSelect.prefer ) "Relative rotation angle from frame_a to frame_b" type: Real propellerRev2.dCMotor.dCmotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Angular speed of motor" type: Real propellerRev1.rotor3_1.revolute.w:VARIABLE(start = 0.0 unit = "rad/s" fixed = true stateSelect=StateSelect.prefer ) "First derivative of angle phi (relative angular velocity)" type: Real propellerRev1.rotor3_1.revolute.phi:VARIABLE(start = 0.0 unit = "rad" fixed = true stateSelect=StateSelect.prefer ) "Relative rotation angle from frame_a to frame_b" type: Real propellerRev1.dCMotor.dCmotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Angular speed of motor" type: Real dCmotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Angular speed of motor" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1165 * Number of states: 0 () * Number of discrete variables: 106 (propellerRev2.rotor3_1.force1.arrow.arrowLine.twoHeadedArrow,propellerRev2.rotor3_1.force1.arrow.headAtOrigin,propellerRev1.rotor3_1.force1.arrow.arrowLine.twoHeadedArrow,propellerRev1.rotor3_1.force1.arrow.headAtOrigin,world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],propellerRev2.blades.fixedShape.color[3],propellerRev2.blades.fixedShape.color[2],propellerRev2.blades.fixedShape.color[1],propellerRev2.blades.bodyShape4.body.sphereColor[3],propellerRev2.blades.bodyShape4.body.sphereColor[2],propellerRev2.blades.bodyShape4.body.sphereColor[1],propellerRev2.blades.bodyShape4.frameTranslation.color[3],propellerRev2.blades.bodyShape4.frameTranslation.color[2],propellerRev2.blades.bodyShape4.frameTranslation.color[1],propellerRev2.blades.bodyShape4.color[3],propellerRev2.blades.bodyShape4.color[2],propellerRev2.blades.bodyShape4.color[1],propellerRev2.blades.bodyShape5.body.sphereColor[3],propellerRev2.blades.bodyShape5.body.sphereColor[2],propellerRev2.blades.bodyShape5.body.sphereColor[1],propellerRev2.blades.bodyShape5.frameTranslation.color[3],propellerRev2.blades.bodyShape5.frameTranslation.color[2],propellerRev2.blades.bodyShape5.frameTranslation.color[1],propellerRev2.blades.bodyShape5.color[3],propellerRev2.blades.bodyShape5.color[2],propellerRev2.blades.bodyShape5.color[1],propellerRev2.rotor3_1.force1.color[3],propellerRev2.rotor3_1.force1.color[2],propellerRev2.rotor3_1.force1.color[1],propellerRev2.rotor3_1.torque.connectionLineColor[3],propellerRev2.rotor3_1.torque.connectionLineColor[2],propellerRev2.rotor3_1.torque.connectionLineColor[1],propellerRev2.rotor3_1.torque.torqueColor[3],propellerRev2.rotor3_1.torque.torqueColor[2],propellerRev2.rotor3_1.torque.torqueColor[1],propellerRev2.rotor3_1.revolute.cylinderColor[3],propellerRev2.rotor3_1.revolute.cylinderColor[2],propellerRev2.rotor3_1.revolute.cylinderColor[1],propellerRev2.dCMotor.torque.connectionLineColor[3],propellerRev2.dCMotor.torque.connectionLineColor[2],propellerRev2.dCMotor.torque.connectionLineColor[1],propellerRev2.dCMotor.torque.torqueColor[3],propellerRev2.dCMotor.torque.torqueColor[2],propellerRev2.dCMotor.torque.torqueColor[1],propellerRev2.dCMotor.force.color[3],propellerRev2.dCMotor.force.color[2],propellerRev2.dCMotor.force.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],propellerRev1.blades.fixedShape.color[3],propellerRev1.blades.fixedShape.color[2],propellerRev1.blades.fixedShape.color[1],propellerRev1.blades.bodyShape4.body.sphereColor[3],propellerRev1.blades.bodyShape4.body.sphereColor[2],propellerRev1.blades.bodyShape4.body.sphereColor[1],propellerRev1.blades.bodyShape4.frameTranslation.color[3],propellerRev1.blades.bodyShape4.frameTranslation.color[2],propellerRev1.blades.bodyShape4.frameTranslation.color[1],propellerRev1.blades.bodyShape4.color[3],propellerRev1.blades.bodyShape4.color[2],propellerRev1.blades.bodyShape4.color[1],propellerRev1.blades.bodyShape5.body.sphereColor[3],propellerRev1.blades.bodyShape5.body.sphereColor[2],propellerRev1.blades.bodyShape5.body.sphereColor[1],propellerRev1.blades.bodyShape5.frameTranslation.color[3],propellerRev1.blades.bodyShape5.frameTranslation.color[2],propellerRev1.blades.bodyShape5.frameTranslation.color[1],propellerRev1.blades.bodyShape5.color[3],propellerRev1.blades.bodyShape5.color[2],propellerRev1.blades.bodyShape5.color[1],propellerRev1.rotor3_1.force1.color[3],propellerRev1.rotor3_1.force1.color[2],propellerRev1.rotor3_1.force1.color[1],propellerRev1.rotor3_1.torque.connectionLineColor[3],propellerRev1.rotor3_1.torque.connectionLineColor[2],propellerRev1.rotor3_1.torque.connectionLineColor[1],propellerRev1.rotor3_1.torque.torqueColor[3],propellerRev1.rotor3_1.torque.torqueColor[2],propellerRev1.rotor3_1.torque.torqueColor[1],propellerRev1.rotor3_1.revolute.cylinderColor[3],propellerRev1.rotor3_1.revolute.cylinderColor[2],propellerRev1.rotor3_1.revolute.cylinderColor[1],propellerRev1.dCMotor.torque.connectionLineColor[3],propellerRev1.dCMotor.torque.connectionLineColor[2],propellerRev1.dCMotor.torque.connectionLineColor[1],propellerRev1.dCMotor.torque.torqueColor[3],propellerRev1.dCMotor.torque.torqueColor[2],propellerRev1.dCMotor.torque.torqueColor[1],propellerRev1.dCMotor.force.color[3],propellerRev1.dCMotor.force.color[2],propellerRev1.dCMotor.force.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1455): * Single equations (assignments): 1444 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(2,100.0%),(3,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 1,(2,100.0%) 1,(1,100.0%) 13,(3,77.8%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01856/2.885, allocations: 5.844 MB / 1.105 GB, free: 136.8 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003964/2.889, allocations: 0.7288 MB / 1.106 GB, free: 136.1 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0265/2.916, allocations: 9.618 MB / 1.115 GB, free: 126.4 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.065e-05/2.916, allocations: 42.62 kB / 1.115 GB, free: 126.4 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.258e-05/2.916, allocations: 8 kB / 1.115 GB, free: 126.4 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/2.916, allocations: 16.64 kB / 1.115 GB, free: 126.4 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0705/2.987, allocations: 22.87 MB / 1.138 GB, free: 103.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.922e-05/2.987, allocations: 7.953 kB / 1.138 GB, free: 103.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/2.99, allocations: 0.5426 MB / 1.138 GB, free: 102.9 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01147/3.002, allocations: 3.809 MB / 1.142 GB, free: 99.09 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001477/3.003, allocations: 83.98 kB / 1.142 GB, free: 99.01 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01704/3.02, allocations: 15.57 MB / 1.157 GB, free: 82.92 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/3.02, allocations: 4 kB / 1.157 GB, free: 82.92 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03103/3.051, allocations: 14.43 MB / 1.171 GB, free: 68.33 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004211/3.056, allocations: 0.8211 MB / 1.172 GB, free: 67.48 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004143/3.06, allocations: 79.98 kB / 1.172 GB, free: 67.41 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006438/3.066, allocations: 199.7 kB / 1.173 GB, free: 67.21 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00167/3.068, allocations: 201.8 kB / 1.173 GB, free: 67.02 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00103/3.069, allocations: 87.11 kB / 1.173 GB, free: 66.93 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.01747/3.087, allocations: 5.981 MB / 1.179 GB, free: 60.98 MB / 0.6232 GB Notification: Performance of sort global known variables: time 5.01e-07/3.087, allocations: 0 / 1.179 GB, free: 60.98 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.0389/3.126, allocations: 4.019 MB / 1.183 GB, free: 56.96 MB / 0.6232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 31 (dCmotor.w,propellerRev1.dCMotor.dCmotor.w,propellerRev1.rotor3_1.revolute.phi,propellerRev1.rotor3_1.revolute.w,propellerRev2.dCMotor.dCmotor.w,propellerRev2.rotor3_1.revolute.phi,propellerRev2.rotor3_1.revolute.w,propellerRev2.blades.bodyShape5.v_0[1],propellerRev2.blades.bodyShape5.v_0[2],propellerRev2.blades.bodyShape5.v_0[3],propellerRev2.blades.bodyShape5.body.frame_a.r_0[1],propellerRev2.blades.bodyShape5.body.frame_a.r_0[2],propellerRev2.blades.bodyShape5.body.frame_a.r_0[3],propellerRev2.blades.bodyShape5.body.w_a[3],propellerRev2.blades.bodyShape5.body.phi[1],propellerRev2.blades.bodyShape5.body.phi[2],propellerRev2.blades.bodyShape5.body.phi[3],propellerRev2.blades.bodyShape5.body.phi_d[1],propellerRev2.blades.bodyShape5.body.phi_d[2],propellerRev1.blades.bodyShape5.v_0[1],propellerRev1.blades.bodyShape5.v_0[2],propellerRev1.blades.bodyShape5.v_0[3],propellerRev1.blades.bodyShape5.body.frame_a.r_0[1],propellerRev1.blades.bodyShape5.body.frame_a.r_0[2],propellerRev1.blades.bodyShape5.body.frame_a.r_0[3],propellerRev1.blades.bodyShape5.body.w_a[3],propellerRev1.blades.bodyShape5.body.phi[1],propellerRev1.blades.bodyShape5.body.phi[2],propellerRev1.blades.bodyShape5.body.phi[3],propellerRev1.blades.bodyShape5.body.phi_d[1],propellerRev1.blades.bodyShape5.body.phi_d[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (277): * Single equations (assignments): 266 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(3,100.0%),(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/3.128, allocations: 241.2 kB / 1.183 GB, free: 56.73 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.04564/3.173, allocations: 21.85 MB / 1.204 GB, free: 34.7 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.788e-05/3.173, allocations: 192 / 1.204 GB, free: 34.7 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.009917/3.183, allocations: 4.775 MB / 1.209 GB, free: 29.79 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0132/3.196, allocations: 1.167 MB / 1.21 GB, free: 28.68 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4239/3.62, allocations: 29.49 MB / 1.239 GB, free: 221.6 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03348/3.654, allocations: 7.584 MB / 1.246 GB, free: 220.6 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004611/3.659, allocations: 0.5616 MB / 1.247 GB, free: 220.6 MB / 0.6232 GB Notification: Performance of SimCode: time 2.575e-06/3.659, allocations: 0 / 1.247 GB, free: 220.6 MB / 0.6232 GB Notification: Performance of Templates: time 1.736/5.395, allocations: 0.5529 GB / 1.8 GB, free: 184.9 MB / 0.6232 GB make -j1 -f DroneLibrary_DroneLibrary.Tests.motorTest.makefile make -j1 -f DroneLibrary_DroneLibrary.Tests.motorTest.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppDroneLibrary_DroneLibrary.Tests.motorTestCalcHelperMain.o OMCppDroneLibrary_DroneLibrary.Tests.motorTestCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppDroneLibrary_DroneLibrary.Tests.motorTestCalcHelperMain.o] Error 1