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.06552/0.06552, allocations: 12.04 MB / 27.01 MB, free: 2.363 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.0007692/0.0007691, allocations: 105.5 kB / 30.73 MB, free: 5.586 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.001269/0.001269, allocations: 180.5 kB / 34.58 MB, free: 1.754 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.276/1.276, allocations: 223.2 MB / 261.5 MB, free: 1.008 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05516/0.05516, allocations: 13.69 MB / 329.3 MB, free: 3.801 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.01621/0.01621, allocations: 17.45 MB / 415.1 MB, free: 27.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1209, allocations: 56.49 MB / 471.5 MB, free: 6.051 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.346/0.4669, allocations: 157 MB / 0.6139 GB, free: 13.54 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0746/0.5415, allocations: 33.57 MB / 0.6466 GB, free: 12.16 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03554/0.5771, allocations: 0.7288 MB / 0.6474 GB, free: 11.43 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02301/0.6002, allocations: 7.229 MB / 0.6544 GB, free: 4.172 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.05529/0.6555, allocations: 20.46 MB / 0.6744 GB, free: 15.91 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0103/0.6658, allocations: 1.58 MB / 0.6759 GB, free: 14.35 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.01596/0.6818, allocations: 11.83 MB / 0.6875 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3864/1.068, allocations: 19.76 MB / 0.7068 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00684/1.075, allocations: 3.064 MB / 0.7098 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0107/1.086, allocations: 4.768 MB / 0.7144 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.003659/1.09, allocations: 416.5 kB / 0.7148 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006882/1.096, allocations: 1.271 MB / 0.7161 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.01204/1.108, allocations: 4.511 MB / 0.7205 GB, free: 14.13 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.008074/1.117, allocations: 2.43 MB / 0.7228 GB, free: 14.1 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.02493/1.142, allocations: 20.31 MB / 0.7427 GB, free: 11.55 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/1.142, allocations: 0 / 0.7427 GB, free: 11.55 MB / 0.4982 GB Notification: Performance of FrontEnd: time 2.925e-06/1.142, allocations: 1.438 kB / 0.7427 GB, free: 11.55 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001092/1.143, allocations: 0 / 0.7427 GB, free: 11.55 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.03648/1.179, allocations: 10.56 MB / 0.753 GB, free: 5.648 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/1.179, allocations: 13.2 kB / 0.753 GB, free: 5.645 MB / 0.4982 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008389/1.188, allocations: 1.777 MB / 0.7547 GB, free: 5.188 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/1.201, allocations: 3.039 MB / 0.7577 GB, free: 3.766 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/1.222, allocations: 8.897 MB / 0.7664 GB, free: 1.547 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009111/1.223, allocations: 0.7501 MB / 0.7671 GB, free: 1.523 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005681/1.229, allocations: 1.001 MB / 0.7681 GB, free: 1.508 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0737/1.302, allocations: 25.75 MB / 0.7933 GB, free: 11.13 MB / 0.5138 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001131/1.304, allocations: 95.89 kB / 0.7933 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005669/1.309, allocations: 454.2 kB / 0.7938 GB, free: 11.12 MB / 0.5138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005643/1.315, allocations: 3.332 MB / 0.797 GB, free: 9.926 MB / 0.5138 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0481/1.363, allocations: 21.12 MB / 0.8177 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1473/1.51, allocations: 95.85 MB / 0.9113 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02256/1.533, allocations: 8.924 MB / 0.92 GB, free: 276 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006875/1.54, allocations: 4.779 MB / 0.9247 GB, free: 11.48 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009623/1.541, allocations: 0.6944 MB / 0.9253 GB, free: 10.7 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.166e-05/1.541, allocations: 66.11 kB / 0.9254 GB, free: 10.63 MB / 0.6232 GB Notification: Performance of pre-optimization done (n=285): time 5.541e-06/1.541, allocations: 0 / 0.9254 GB, free: 10.63 MB / 0.6232 GB Notification: Performance of matching and sorting (n=309): time 0.3695/1.911, allocations: 40.31 MB / 0.9648 GB, free: 253.8 MB / 0.6232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/1.911, allocations: 263.7 kB / 0.965 GB, free: 253.6 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.01668/1.927, allocations: 9.342 MB / 0.9741 GB, free: 251.3 MB / 0.6232 GB Notification: Performance of collectPreVariables (initialization): time 0.001098/1.929, allocations: 68.25 kB / 0.9742 GB, free: 251.3 MB / 0.6232 GB Notification: Performance of collectInitialEqns (initialization): time 0.004998/1.934, allocations: 6.999 MB / 0.981 GB, free: 245.9 MB / 0.6232 GB Notification: Performance of collectInitialBindings (initialization): time 0.002094/1.936, allocations: 1.248 MB / 0.9822 GB, free: 245 MB / 0.6232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008356/1.937, allocations: 226.7 kB / 0.9825 GB, free: 244.9 MB / 0.6232 GB Notification: Performance of setup shared object (initialization): time 0.0005232/1.937, allocations: 0.8 MB / 0.9832 GB, free: 244.3 MB / 0.6232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006808/1.944, allocations: 4.701 MB / 0.9878 GB, free: 242.5 MB / 0.6232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009762/1.954, allocations: 11.92 MB / 0.9995 GB, free: 230.9 MB / 0.6232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/1.965, allocations: 7.532 MB / 1.007 GB, free: 227.7 MB / 0.6232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000198/1.965, allocations: 76.12 kB / 1.007 GB, free: 227.7 MB / 0.6232 GB Notification: Performance of matching and sorting (n=1499) (initialization): time 0.04231/2.007, allocations: 19.82 MB / 1.026 GB, free: 217.9 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 0.005298/2.013, allocations: 7.634 MB / 1.034 GB, free: 206.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006006/2.013, allocations: 256 kB / 1.034 GB, free: 206.5 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01233/2.026, allocations: 4.247 MB / 1.038 GB, free: 203.5 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009447/2.035, allocations: 2.655 MB / 1.041 GB, free: 201.2 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01688/2.052, allocations: 16.94 MB / 1.057 GB, free: 185.5 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0108/2.063, allocations: 0.684 MB / 1.058 GB, free: 184.9 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002677/2.066, allocations: 0.6967 MB / 1.059 GB, free: 184.2 MB / 0.6232 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/2.066, allocations: 6.031 kB / 1.059 GB, free: 184.2 MB / 0.6232 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03495/2.101, allocations: 19.06 MB / 1.077 GB, free: 165.4 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006696/2.101, allocations: 256 kB / 1.077 GB, free: 165.2 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01087/2.112, allocations: 4.243 MB / 1.082 GB, free: 160.9 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008401/2.121, allocations: 2.647 MB / 1.084 GB, free: 158.3 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01508/2.136, allocations: 16.93 MB / 1.101 GB, free: 140.8 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008494/2.144, allocations: 0.6425 MB / 1.101 GB, free: 140.2 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001925/2.146, allocations: 0.7031 MB / 1.102 GB, free: 139.5 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 (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.01026/2.156, allocations: 5.832 MB / 1.108 GB, free: 133.7 MB / 0.6232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001722/2.158, allocations: 0.7289 MB / 1.108 GB, free: 132.9 MB / 0.6232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/2.176, allocations: 9.63 MB / 1.118 GB, free: 123.3 MB / 0.6232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.122e-05/2.176, allocations: 34.66 kB / 1.118 GB, free: 123.2 MB / 0.6232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.273e-05/2.176, allocations: 12 kB / 1.118 GB, free: 123.2 MB / 0.6232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.66e-05/2.176, allocations: 16.64 kB / 1.118 GB, free: 123.2 MB / 0.6232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03961/2.215, allocations: 22.85 MB / 1.14 GB, free: 100.3 MB / 0.6232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/2.215, allocations: 4 kB / 1.14 GB, free: 100.3 MB / 0.6232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002252/2.218, allocations: 0.5465 MB / 1.141 GB, free: 99.77 MB / 0.6232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009245/2.227, allocations: 3.809 MB / 1.144 GB, free: 95.93 MB / 0.6232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003536/2.227, allocations: 80.69 kB / 1.145 GB, free: 95.86 MB / 0.6232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01269/2.24, allocations: 15.58 MB / 1.16 GB, free: 79.75 MB / 0.6232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/2.24, allocations: 4 kB / 1.16 GB, free: 79.75 MB / 0.6232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01959/2.26, allocations: 14.44 MB / 1.174 GB, free: 65.15 MB / 0.6232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/2.262, allocations: 0.8115 MB / 1.175 GB, free: 64.31 MB / 0.6232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001834/2.264, allocations: 84.53 kB / 1.175 GB, free: 64.23 MB / 0.6232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003332/2.267, allocations: 202 kB / 1.175 GB, free: 64.04 MB / 0.6232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004641/2.267, allocations: 201.8 kB / 1.175 GB, free: 63.84 MB / 0.6232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002414/2.268, allocations: 90.25 kB / 1.175 GB, free: 63.75 MB / 0.6232 GB Notification: Performance of sorting global known variables: time 0.009863/2.278, allocations: 5.994 MB / 1.181 GB, free: 57.79 MB / 0.6232 GB Notification: Performance of sort global known variables: time 2.91e-07/2.278, allocations: 0 / 1.181 GB, free: 57.79 MB / 0.6232 GB Notification: Performance of remove unused functions: time 0.02003/2.298, allocations: 3.993 MB / 1.185 GB, free: 53.8 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.02216/2.32, allocations: 15.18 MB / 1.2 GB, free: 38.45 MB / 0.6232 GB Notification: Performance of simCode: created initialization part: time 0.03398/2.354, allocations: 21.71 MB / 1.221 GB, free: 16.57 MB / 0.6232 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/2.354, allocations: 4.188 kB / 1.221 GB, free: 16.57 MB / 0.6232 GB Notification: Performance of simCode: created simulation system equations: time 0.2643/2.618, allocations: 4.752 MB / 1.226 GB, free: 250.5 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007601/2.626, allocations: 1.176 MB / 1.227 GB, free: 250.5 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2457/2.872, allocations: 98.22 MB / 1.323 GB, free: 191.2 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01663/2.888, allocations: 7.585 MB / 1.33 GB, free: 186 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01423/2.903, allocations: 5.879 MB / 1.336 GB, free: 182.2 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007172/2.91, allocations: 4.842 MB / 1.341 GB, free: 177.3 MB / 0.6232 GB Notification: Performance of SimCode: time 1.573e-06/2.91, allocations: 0 / 1.341 GB, free: 177.3 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5155/3.425, allocations: 204.2 MB / 1.54 GB, free: 202.2 MB / 0.6232 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/3.425, allocations: 177.6 kB / 1.54 GB, free: 202 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.105/9.531, allocations: 0 / 1.54 GB, free: 202 MB / 0.6232 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: