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: "" <> buildModelFMU(DroneLibrary.Tests.motorTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_motorTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Tests.motorTest,fileNamePrefix="DroneLibrary_DroneLibrary_Tests_motorTest",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.05944/0.05944, allocations: 12.03 MB / 26.98 MB, free: 204 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008161/0.0008161, allocations: 94.64 kB / 30.71 MB, free: 444 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 191.4 kB / 34.56 MB, free: 3.18 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.508/1.508, allocations: 223.1 MB / 261.4 MB, free: 9.156 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05695/0.05695, allocations: 13.69 MB / 329.1 MB, free: 108 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.01962/0.01962, allocations: 17.45 MB / 414.9 MB, free: 27.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1442, allocations: 56.48 MB / 471.4 MB, free: 5.445 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.6025/0.7468, allocations: 148.2 MB / 0.6052 GB, free: 4.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09851/0.8454, allocations: 35.13 MB / 0.6395 GB, free: 1.918 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04291/0.8883, allocations: 0.7327 MB / 0.6402 GB, free: 1.184 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02994/0.9183, allocations: 7.613 MB / 0.6476 GB, free: 9.539 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.07668/0.995, allocations: 20.59 MB / 0.6677 GB, free: 5.262 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01186/1.007, allocations: 1.609 MB / 0.6693 GB, free: 3.672 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01466/1.022, allocations: 4.943 MB / 0.6741 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02866/1.05, allocations: 19.61 MB / 0.6933 GB, free: 11.23 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005915/1.056, allocations: 2.418 MB / 0.6956 GB, free: 8.809 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006208/1.063, allocations: 3.104 MB / 0.6987 GB, free: 5.695 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.002394/1.065, allocations: 416 kB / 0.6991 GB, free: 5.289 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004423/1.069, allocations: 1.237 MB / 0.7003 GB, free: 4.051 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.4125/1.482, allocations: 4.171 MB / 0.7043 GB, free: 20.49 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.008812/1.491, allocations: 2.431 MB / 0.7067 GB, free: 20.46 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.02938/1.52, allocations: 20.3 MB / 0.7265 GB, free: 19.58 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.52, allocations: 0 / 0.7265 GB, free: 19.58 MB / 0.4982 GB Notification: Performance of FrontEnd: time 5.49e-06/1.52, allocations: 1.094 kB / 0.7265 GB, free: 19.58 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001274/1.522, allocations: 0 / 0.7265 GB, free: 19.58 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.04167/1.563, allocations: 10.83 MB / 0.7371 GB, free: 14.41 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.563, allocations: 10.28 kB / 0.7371 GB, free: 14.41 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01024/1.574, allocations: 1.78 MB / 0.7389 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01712/1.591, allocations: 3.344 MB / 0.7421 GB, free: 12.45 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02186/1.613, allocations: 8.085 MB / 0.75 GB, free: 10.46 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009258/1.614, allocations: 0.747 MB / 0.7507 GB, free: 10.44 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00696/1.621, allocations: 1.011 MB / 0.7517 GB, free: 10.42 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07032/1.691, allocations: 25.69 MB / 0.7768 GB, free: 2.891 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001275/1.692, allocations: 96.89 kB / 0.7769 GB, free: 2.875 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007026/1.699, allocations: 453.1 kB / 0.7773 GB, free: 2.875 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005771/1.705, allocations: 3.334 MB / 0.7806 GB, free: 2.23 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05023/1.755, allocations: 21.52 MB / 0.8016 GB, free: 8.512 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1566/1.912, allocations: 96.24 MB / 0.8956 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0226/1.935, allocations: 9.014 MB / 0.9044 GB, free: 5.297 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/1.936, allocations: 0.6912 MB / 0.9051 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.007e-05/1.936, allocations: 67.02 kB / 0.9051 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=285): time 5.149e-06/1.936, allocations: 0 / 0.9051 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of matching and sorting (n=309): time 0.4387/2.375, allocations: 40.73 MB / 0.9449 GB, free: 251.3 MB / 0.6076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/2.375, allocations: 263 kB / 0.9452 GB, free: 251 MB / 0.6076 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.02449/2.399, allocations: 9.935 MB / 0.9549 GB, free: 248.5 MB / 0.6076 GB Notification: Performance of collectPreVariables (initialization): time 0.001366/2.401, allocations: 73.52 kB / 0.9549 GB, free: 248.5 MB / 0.6076 GB Notification: Performance of collectInitialEqns (initialization): time 0.006382/2.407, allocations: 7.006 MB / 0.9618 GB, free: 243.1 MB / 0.6076 GB Notification: Performance of collectInitialBindings (initialization): time 0.002754/2.41, allocations: 1.247 MB / 0.963 GB, free: 242.2 MB / 0.6076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/2.411, allocations: 229 kB / 0.9632 GB, free: 242.1 MB / 0.6076 GB Notification: Performance of setup shared object (initialization): time 0.0006576/2.412, allocations: 0.7979 MB / 0.964 GB, free: 241.6 MB / 0.6076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007683/2.42, allocations: 4.699 MB / 0.9686 GB, free: 239.7 MB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0133/2.433, allocations: 11.87 MB / 0.9802 GB, free: 228.1 MB / 0.6076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01178/2.445, allocations: 7.537 MB / 0.9875 GB, free: 224.9 MB / 0.6076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00025/2.445, allocations: 70.31 kB / 0.9876 GB, free: 224.9 MB / 0.6076 GB Notification: Performance of matching and sorting (n=1499) (initialization): time 0.04556/2.491, allocations: 19.82 MB / 1.007 GB, free: 209.1 MB / 0.6076 GB Notification: Performance of prepare postOptimizeDAE: time 0.02859/2.519, allocations: 119.7 MB / 1.124 GB, free: 77.28 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008202/2.52, allocations: 252 kB / 1.124 GB, free: 77.04 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01248/2.533, allocations: 4.252 MB / 1.128 GB, free: 74 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009154/2.542, allocations: 2.655 MB / 1.131 GB, free: 71.66 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01622/2.558, allocations: 17.31 MB / 1.148 GB, free: 55.7 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01294/2.571, allocations: 0.68 MB / 1.148 GB, free: 55.09 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002973/2.574, allocations: 0.7056 MB / 1.149 GB, free: 54.4 MB / 0.6076 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/2.574, allocations: 0 / 1.149 GB, free: 54.4 MB / 0.6076 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03836/2.613, allocations: 19.06 MB / 1.168 GB, free: 36.03 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006862/2.613, allocations: 260 kB / 1.168 GB, free: 35.78 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01193/2.625, allocations: 4.25 MB / 1.172 GB, free: 31.51 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008953/2.634, allocations: 2.651 MB / 1.175 GB, free: 28.85 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0162/2.651, allocations: 17.3 MB / 1.192 GB, free: 11.04 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.662, allocations: 0.6407 MB / 1.192 GB, free: 10.39 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002936/2.665, allocations: 0.6914 MB / 1.193 GB, free: 9.703 MB / 0.6076 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 (1439): * Single equations (assignments): 1428 * 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.01446/2.679, allocations: 5.842 MB / 1.199 GB, free: 3.898 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002257/2.682, allocations: 0.7404 MB / 1.199 GB, free: 3.148 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3256/3.007, allocations: 9.618 MB / 1.209 GB, free: 225.2 MB / 0.6076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-05/3.007, allocations: 33.41 kB / 1.209 GB, free: 225.2 MB / 0.6076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.075e-05/3.008, allocations: 10.06 kB / 1.209 GB, free: 225.2 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.835e-05/3.008, allocations: 17.02 kB / 1.209 GB, free: 225.2 MB / 0.6076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05486/3.063, allocations: 22.92 MB / 1.231 GB, free: 221.5 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.136e-05/3.063, allocations: 4.406 kB / 1.231 GB, free: 221.5 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002799/3.065, allocations: 0.5472 MB / 1.232 GB, free: 221.5 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01133/3.077, allocations: 3.811 MB / 1.235 GB, free: 220.5 MB / 0.6076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008538/3.078, allocations: 88.11 kB / 1.236 GB, free: 220.5 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0166/3.094, allocations: 15.93 MB / 1.251 GB, free: 210.5 MB / 0.6076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.063e-05/3.094, allocations: 11.66 kB / 1.251 GB, free: 210.4 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02615/3.12, allocations: 15.26 MB / 1.266 GB, free: 203.8 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003783/3.124, allocations: 0.8423 MB / 1.267 GB, free: 203.6 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003124/3.127, allocations: 78.83 kB / 1.267 GB, free: 203.5 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004997/3.132, allocations: 199.7 kB / 1.267 GB, free: 203.5 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00101/3.133, allocations: 206.6 kB / 1.267 GB, free: 203.5 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/3.134, allocations: 87.72 kB / 1.267 GB, free: 203.5 MB / 0.6076 GB Notification: Performance of sorting global known variables: time 0.01421/3.148, allocations: 6.464 MB / 1.274 GB, free: 198.8 MB / 0.6076 GB Notification: Performance of sort global known variables: time 2.434e-06/3.148, allocations: 0 / 1.274 GB, free: 198.8 MB / 0.6076 GB Notification: Performance of remove unused functions: time 0.03259/3.181, allocations: 4.025 MB / 1.278 GB, free: 194.8 MB / 0.6076 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.02787/3.209, allocations: 16.56 MB / 1.294 GB, free: 180.7 MB / 0.6076 GB Notification: Performance of simCode: created initialization part: time 0.03752/3.246, allocations: 21.72 MB / 1.315 GB, free: 159 MB / 0.6076 GB Notification: Performance of simCode: created event and clocks part: time 1.926e-05/3.246, allocations: 0 / 1.315 GB, free: 159 MB / 0.6076 GB Notification: Performance of simCode: created simulation system equations: time 0.009765/3.256, allocations: 4.764 MB / 1.32 GB, free: 154.2 MB / 0.6076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007962/3.264, allocations: 1.134 MB / 1.321 GB, free: 153.1 MB / 0.6076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4131/3.677, allocations: 229.7 MB / 1.545 GB, free: 94.92 MB / 0.6076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02277/3.7, allocations: 7.788 MB / 1.553 GB, free: 93.95 MB / 0.6076 GB Notification: Performance of simCode: alias equations: time 0.02478/3.725, allocations: 5.878 MB / 1.558 GB, free: 93.88 MB / 0.6076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01226/3.737, allocations: 4.856 MB / 1.563 GB, free: 93.87 MB / 0.6076 GB Notification: Performance of SimCode: time 1.643e-06/3.737, allocations: 0.6562 kB / 1.563 GB, free: 93.87 MB / 0.6076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6419/4.379, allocations: 202.9 MB / 1.761 GB, free: 180.4 MB / 0.6076 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001941/4.379, allocations: 172.2 kB / 1.762 GB, free: 180.2 MB / 0.6076 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.344/10.72, allocations: 4.062 kB / 1.762 GB, free: 180.2 MB / 0.6076 GB (rm -f DroneLibrary_DroneLibrary.Tests.motorTest.pipe ; mkfifo DroneLibrary_DroneLibrary.Tests.motorTest.pipe ; head -c 1048576 < DroneLibrary_DroneLibrary.Tests.motorTest.pipe >> ../files/DroneLibrary_DroneLibrary.Tests.motorTest.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_DroneLibrary_DroneLibrary_Tests_motorTest_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 DroneLibrary_DroneLibrary_Tests_motorTest.fmu > DroneLibrary_DroneLibrary.Tests.motorTest.pipe 2>&1) Environment - environmentSimulation: