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.06665/0.06665, allocations: 12.04 MB / 27.32 MB, free: 1.707 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.000752/0.000752, allocations: 95.42 kB / 31.05 MB, free: 5.18 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.0008028/0.0008027, allocations: 177.1 kB / 34.9 MB, free: 1.344 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.251/1.251, allocations: 223.2 MB / 261.9 MB, free: 9.738 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05453/0.05453, allocations: 13.7 MB / 329.6 MB, free: 324 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.02093/0.02093, allocations: 18.38 MB / 416.6 MB, free: 26.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.1165, allocations: 56.48 MB / 473.1 MB, free: 4.199 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.3775/0.494, allocations: 169.1 MB / 0.6271 GB, free: 15.51 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.07692/0.5709, allocations: 34.74 MB / 0.6611 GB, free: 12.95 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04485/0.6158, allocations: 0.7327 MB / 0.6618 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003507/0.6194, allocations: 0.9548 MB / 0.6627 GB, free: 11.26 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009871/0.6293, allocations: 3.298 MB / 0.6659 GB, free: 7.977 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005147/0.6345, allocations: 1.936 MB / 0.6678 GB, free: 6.051 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0206/0.6551, allocations: 14.89 MB / 0.6824 GB, free: 7.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03297/0.6881, allocations: 23.17 MB / 0.705 GB, free: 464 kB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3737/1.062, allocations: 2.864 MB / 0.7078 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009906/1.072, allocations: 4.844 MB / 0.7125 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.003166/1.075, allocations: 416.8 kB / 0.7129 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007771/1.083, allocations: 1.485 MB / 0.7144 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.008462/1.091, allocations: 4.571 MB / 0.7188 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.01348/1.105, allocations: 5.347 MB / 0.7241 GB, free: 12.44 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.02686/1.132, allocations: 22.87 MB / 0.7464 GB, free: 4.762 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/1.132, allocations: 0 / 0.7464 GB, free: 4.762 MB / 0.4982 GB Notification: Performance of FrontEnd: time 3.025e-06/1.132, allocations: 0 / 0.7464 GB, free: 4.762 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.0009172/1.133, allocations: 2.656 kB / 0.7464 GB, free: 4.762 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.03319/1.166, allocations: 10.46 MB / 0.7566 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/1.166, allocations: 8.156 kB / 0.7566 GB, free: 14.89 MB / 0.5138 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007848/1.174, allocations: 1.787 MB / 0.7584 GB, free: 14.43 MB / 0.5138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01391/1.188, allocations: 3.038 MB / 0.7613 GB, free: 13 MB / 0.5138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0207/1.208, allocations: 9.004 MB / 0.7701 GB, free: 10.66 MB / 0.5138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000915/1.209, allocations: 0.751 MB / 0.7708 GB, free: 10.63 MB / 0.5138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006001/1.215, allocations: 0.9987 MB / 0.7718 GB, free: 10.62 MB / 0.5138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0755/1.291, allocations: 25.47 MB / 0.7967 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00101/1.292, allocations: 98.78 kB / 0.7968 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005484/1.298, allocations: 454.5 kB / 0.7972 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006247/1.304, allocations: 3.326 MB / 0.8005 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0536/1.357, allocations: 21.23 MB / 0.8212 GB, free: 6.852 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1562/1.514, allocations: 95.91 MB / 0.9149 GB, free: 6.402 MB / 0.6388 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02173/1.535, allocations: 8.937 MB / 0.9236 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006962/1.542, allocations: 4.787 MB / 0.9283 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/1.544, allocations: 0.6948 MB / 0.9289 GB, free: 7.742 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.883e-05/1.544, allocations: 68.44 kB / 0.929 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=285): time 7.525e-06/1.544, allocations: 0 / 0.929 GB, free: 7.672 MB / 0.6544 GB Notification: Performance of matching and sorting (n=309): time 0.4834/2.027, allocations: 40.31 MB / 0.9684 GB, free: 155.6 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/2.027, allocations: 266.7 kB / 0.9686 GB, free: 155.3 MB / 0.6544 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.01545/2.043, allocations: 9.392 MB / 0.9778 GB, free: 154.5 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0009549/2.044, allocations: 78.19 kB / 0.9779 GB, free: 154.5 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.004062/2.048, allocations: 7.008 MB / 0.9847 GB, free: 150.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001739/2.05, allocations: 1.243 MB / 0.9859 GB, free: 150 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001212/2.051, allocations: 0.9861 MB / 0.9869 GB, free: 149.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 4.218e-05/2.051, allocations: 308.2 kB / 0.9872 GB, free: 149.6 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005872/2.057, allocations: 4.746 MB / 0.9918 GB, free: 149.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01036/2.067, allocations: 11.97 MB / 1.004 GB, free: 138.6 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05262/2.12, allocations: 28.51 MB / 1.031 GB, free: 113.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002498/2.12, allocations: 72 kB / 1.031 GB, free: 113.6 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1499) (initialization): time 0.04232/2.162, allocations: 19.92 MB / 1.051 GB, free: 95.21 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.003772/2.166, allocations: 7.629 MB / 1.058 GB, free: 84.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002819/2.166, allocations: 253.8 kB / 1.059 GB, free: 83.89 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/2.178, allocations: 4.238 MB / 1.063 GB, free: 79.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007718/2.186, allocations: 2.656 MB / 1.065 GB, free: 77.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/2.2, allocations: 16.95 MB / 1.082 GB, free: 59.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009241/2.209, allocations: 0.6821 MB / 1.083 GB, free: 59.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001513/2.211, allocations: 0.7065 MB / 1.083 GB, free: 58.51 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.894e-06/2.211, allocations: 4 kB / 1.083 GB, free: 58.51 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03222/2.243, allocations: 19.14 MB / 1.102 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008813/2.244, allocations: 256 kB / 1.102 GB, free: 40.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01213/2.256, allocations: 4.229 MB / 1.106 GB, free: 36.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008109/2.264, allocations: 2.641 MB / 1.109 GB, free: 34.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01564/2.28, allocations: 16.96 MB / 1.125 GB, free: 16.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008964/2.289, allocations: 0.6302 MB / 1.126 GB, free: 16.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00223/2.291, allocations: 0.7031 MB / 1.127 GB, free: 15.45 MB / 0.6544 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.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] 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.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[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_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] 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.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.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.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[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_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] 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.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.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.dCMotor.dCmotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Angular speed of motor" 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 (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (3,100.0%), (2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,1,100.0%), (2,1,100.0%), (3,11,77.8%), (3,11,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01192/2.303, allocations: 5.835 MB / 1.132 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002088/2.305, allocations: 0.7301 MB / 1.133 GB, free: 9.148 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02025/2.326, allocations: 9.636 MB / 1.143 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.17e-05/2.326, allocations: 36 kB / 1.143 GB, free: 15.47 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.19e-05/2.326, allocations: 8 kB / 1.143 GB, free: 15.46 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.397e-05/2.326, allocations: 15.89 kB / 1.143 GB, free: 15.45 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05128/2.377, allocations: 22.88 MB / 1.165 GB, free: 8.625 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.248e-05/2.377, allocations: 8 kB / 1.165 GB, free: 8.617 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002862/2.38, allocations: 0.5415 MB / 1.165 GB, free: 8.102 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01225/2.392, allocations: 3.806 MB / 1.169 GB, free: 4.273 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009557/2.393, allocations: 86.09 kB / 1.169 GB, free: 4.191 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2553/2.649, allocations: 15.58 MB / 1.184 GB, free: 285.9 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.649, allocations: 5.547 kB / 1.185 GB, free: 285.9 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0285/2.677, allocations: 14.47 MB / 1.199 GB, free: 282.4 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003415/2.681, allocations: 0.8138 MB / 1.199 GB, free: 282.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003365/2.684, allocations: 83.5 kB / 1.2 GB, free: 282.2 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005145/2.689, allocations: 200.6 kB / 1.2 GB, free: 282.1 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001341/2.691, allocations: 205.4 kB / 1.2 GB, free: 282.1 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007533/2.691, allocations: 87.17 kB / 1.2 GB, free: 282.1 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 0.01516/2.707, allocations: 6.047 MB / 1.206 GB, free: 279.9 MB / 0.6857 GB Notification: Performance of sort global known variables: time 2.194e-06/2.707, allocations: 0 / 1.206 GB, free: 279.9 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.02565/2.732, allocations: 3.99 MB / 1.21 GB, free: 279.5 MB / 0.6857 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 (not torn): 4 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (3,100.0%), (2,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,10,100.0%), (1,10,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02706/2.759, allocations: 15.2 MB / 1.225 GB, free: 273.3 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.03456/2.794, allocations: 21.85 MB / 1.246 GB, free: 264.4 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/2.794, allocations: 0 / 1.246 GB, free: 264.4 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.007943/2.802, allocations: 4.777 MB / 1.251 GB, free: 262.1 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01355/2.815, allocations: 1.178 MB / 1.252 GB, free: 261.6 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2513/3.067, allocations: 156.3 MB / 1.404 GB, free: 97.06 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008793/3.076, allocations: 7.58 MB / 1.412 GB, free: 89.43 MB / 0.6857 GB Notification: Performance of simCode: alias equations: time 0.01236/3.088, allocations: 5.874 MB / 1.418 GB, free: 83.54 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00636/3.094, allocations: 4.842 MB / 1.422 GB, free: 78.7 MB / 0.6857 GB Notification: Performance of SimCode: time 1.092e-06/3.094, allocations: 0 / 1.422 GB, free: 78.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6718/3.766, allocations: 196.1 MB / 1.614 GB, free: 224.7 MB / 0.6857 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/3.766, allocations: 193.9 kB / 1.614 GB, free: 224.5 MB / 0.6857 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.349/10.12, allocations: 0 / 1.614 GB, free: 224.5 MB / 0.6857 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/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)