Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr DroneLibrary_DroneLibrary.Tests.motorTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo", uses=false) Using package DroneLibrary with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo) Running command: translateModel(DroneLibrary.Tests.motorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.motorTest") translateModel(DroneLibrary.Tests.motorTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="DroneLibrary_DroneLibrary.Tests.motorTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0687/0.0687, allocations: 12.02 MB / 26.98 MB, free: 2.375 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.0008856/0.0008857, allocations: 102 kB / 30.7 MB, free: 5.594 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.0014/0.0014, allocations: 185 kB / 34.55 MB, free: 1.762 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.471/1.471, allocations: 223.2 MB / 261.4 MB, free: 9.047 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05949/0.05949, allocations: 13.69 MB / 329.1 MB, free: 36 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.01736/0.01736, allocations: 17.45 MB / 414.8 MB, free: 28.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1414, allocations: 56.48 MB / 471.3 MB, free: 5.574 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.4007/0.5422, allocations: 148.2 MB / 0.6051 GB, free: 5.059 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.09835/0.6405, allocations: 35.14 MB / 0.6394 GB, free: 2.117 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.04996/0.6906, allocations: 0.7352 MB / 0.6401 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.03358/0.7242, allocations: 7.603 MB / 0.6475 GB, free: 9.746 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.08667/0.8109, allocations: 20.59 MB / 0.6676 GB, free: 5.461 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01309/0.8241, allocations: 1.609 MB / 0.6692 GB, free: 3.871 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.01477/0.8388, allocations: 4.936 MB / 0.674 GB, free: 14.94 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03157/0.8704, allocations: 19.62 MB / 0.6932 GB, free: 11.43 MB / 0.4982 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006469/0.877, allocations: 2.411 MB / 0.6955 GB, free: 9.008 MB / 0.4982 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006199/0.8832, allocations: 3.107 MB / 0.6986 GB, free: 5.891 MB / 0.4982 GB Notification: Performance of NFPackage.collectConstants: time 0.002317/0.8856, allocations: 416 kB / 0.699 GB, free: 5.484 MB / 0.4982 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004376/0.89, allocations: 1.237 MB / 0.7002 GB, free: 4.246 MB / 0.4982 GB Notification: Performance of NFScalarize.scalarize: time 0.379/1.269, allocations: 4.164 MB / 0.7042 GB, free: 20.48 MB / 0.4982 GB Notification: Performance of NFVerifyModel.verify: time 0.005335/1.274, allocations: 2.428 MB / 0.7066 GB, free: 20.45 MB / 0.4982 GB Notification: Performance of NFConvertDAE.convert: time 0.02749/1.302, allocations: 20.3 MB / 0.7264 GB, free: 19.56 MB / 0.4982 GB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/1.302, allocations: 3.625 kB / 0.7264 GB, free: 19.56 MB / 0.4982 GB Notification: Performance of FrontEnd: time 4.098e-06/1.302, allocations: 0 / 0.7264 GB, free: 19.56 MB / 0.4982 GB Notification: Performance of Transformations before backend: time 0.001893/1.304, allocations: 0.9375 kB / 0.7264 GB, free: 19.56 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.04832/1.352, allocations: 10.83 MB / 0.737 GB, free: 14.5 MB / 0.4982 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/1.352, allocations: 9.094 kB / 0.737 GB, free: 14.5 MB / 0.4982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01808/1.37, allocations: 3.343 MB / 0.7403 GB, free: 13 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0269/1.397, allocations: 8.082 MB / 0.7482 GB, free: 11.02 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001018/1.398, allocations: 0.7497 MB / 0.7489 GB, free: 11 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008718/1.407, allocations: 1.01 MB / 0.7499 GB, free: 10.98 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07761/1.485, allocations: 25.7 MB / 0.775 GB, free: 3.441 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008266/1.486, allocations: 95.05 kB / 0.7751 GB, free: 3.426 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005286/1.491, allocations: 458.2 kB / 0.7755 GB, free: 3.426 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00523/1.496, allocations: 3.327 MB / 0.7788 GB, free: 2.785 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04922/1.545, allocations: 21.53 MB / 0.7998 GB, free: 9.805 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1454/1.691, allocations: 96.23 MB / 0.8938 GB, free: 472 kB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02077/1.712, allocations: 9.011 MB / 0.9026 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009959/1.713, allocations: 0.6925 MB / 0.9032 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/1.713, allocations: 74.22 kB / 0.9033 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=285): time 4.799e-06/1.713, allocations: 0 / 0.9033 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of matching and sorting (n=309): time 0.3939/2.107, allocations: 40.72 MB / 0.9431 GB, free: 251.5 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/2.107, allocations: 273.4 kB / 0.9433 GB, free: 251.2 MB / 0.6075 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.0178/2.125, allocations: 9.935 MB / 0.953 GB, free: 249.4 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.001199/2.126, allocations: 71.97 kB / 0.9531 GB, free: 249.3 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.004992/2.131, allocations: 7.006 MB / 0.9599 GB, free: 244 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.002191/2.133, allocations: 1.246 MB / 0.9612 GB, free: 243.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008512/2.134, allocations: 228.6 kB / 0.9614 GB, free: 242.9 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004972/2.134, allocations: 0.7932 MB / 0.9622 GB, free: 242.4 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006207/2.141, allocations: 4.699 MB / 0.9667 GB, free: 240.6 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009365/2.15, allocations: 11.88 MB / 0.9784 GB, free: 229 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01121/2.161, allocations: 7.524 MB / 0.9857 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001646/2.161, allocations: 76.28 kB / 0.9858 GB, free: 225.8 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1499) (initialization): time 0.04063/2.202, allocations: 19.82 MB / 1.005 GB, free: 211.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.02755/2.23, allocations: 119.7 MB / 1.122 GB, free: 79.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009201/2.231, allocations: 259.1 kB / 1.122 GB, free: 79.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01332/2.244, allocations: 4.248 MB / 1.126 GB, free: 76.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009197/2.253, allocations: 2.661 MB / 1.129 GB, free: 73.71 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01659/2.27, allocations: 17.31 MB / 1.146 GB, free: 57.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2.281, allocations: 0.6859 MB / 1.147 GB, free: 57.13 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001945/2.283, allocations: 0.6944 MB / 1.147 GB, free: 56.45 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.055e-05/2.283, allocations: 4 kB / 1.147 GB, free: 56.45 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03462/2.317, allocations: 19.06 MB / 1.166 GB, free: 38.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009116/2.318, allocations: 252 kB / 1.166 GB, free: 37.97 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/2.331, allocations: 4.262 MB / 1.17 GB, free: 33.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008573/2.34, allocations: 2.636 MB / 1.173 GB, free: 31.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/2.357, allocations: 17.31 MB / 1.19 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/2.368, allocations: 0.6418 MB / 1.19 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003333/2.371, allocations: 0.7007 MB / 1.191 GB, free: 11.88 MB / 0.6075 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.01662/2.388, allocations: 5.842 MB / 1.197 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003512/2.391, allocations: 0.7366 MB / 1.198 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3098/2.701, allocations: 9.614 MB / 1.207 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.191e-05/2.701, allocations: 33.12 kB / 1.207 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-05/2.701, allocations: 10.22 kB / 1.207 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-05/2.702, allocations: 18.09 kB / 1.207 GB, free: 224.9 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05633/2.758, allocations: 22.91 MB / 1.229 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.514e-05/2.758, allocations: 3.938 kB / 1.229 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002989/2.761, allocations: 0.5458 MB / 1.23 GB, free: 221.9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01191/2.773, allocations: 3.815 MB / 1.234 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009676/2.774, allocations: 86.41 kB / 1.234 GB, free: 220.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/2.789, allocations: 15.93 MB / 1.249 GB, free: 210.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/2.789, allocations: 7.469 kB / 1.249 GB, free: 210.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02552/2.814, allocations: 15.27 MB / 1.264 GB, free: 204.2 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003512/2.818, allocations: 0.8377 MB / 1.265 GB, free: 204 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00143/2.819, allocations: 81.41 kB / 1.265 GB, free: 204 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002539/2.822, allocations: 202.6 kB / 1.265 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005584/2.822, allocations: 203.4 kB / 1.265 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002443/2.822, allocations: 86.08 kB / 1.266 GB, free: 203.9 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0109/2.833, allocations: 6.465 MB / 1.272 GB, free: 200.7 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.51e-07/2.833, allocations: 0 / 1.272 GB, free: 200.7 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.02405/2.857, allocations: 4.023 MB / 1.276 GB, free: 196.6 MB / 0.6075 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.001244/2.859, allocations: 259.4 kB / 1.276 GB, free: 196.4 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0376/2.896, allocations: 21.72 MB / 1.297 GB, free: 177.4 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/2.896, allocations: 4 kB / 1.297 GB, free: 177.4 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.008428/2.905, allocations: 4.772 MB / 1.302 GB, free: 172.6 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007668/2.913, allocations: 1.12 MB / 1.303 GB, free: 171.5 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05607/2.969, allocations: 27.96 MB / 1.33 GB, free: 144.6 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02848/2.997, allocations: 7.794 MB / 1.338 GB, free: 136.7 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.01846/3.016, allocations: 5.882 MB / 1.344 GB, free: 130.8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002479/3.018, allocations: 0.4994 MB / 1.344 GB, free: 130.3 MB / 0.6075 GB Notification: Performance of SimCode: time 1.262e-06/3.018, allocations: 0 / 1.344 GB, free: 130.3 MB / 0.6075 GB Notification: Performance of Templates: time 0.4703/3.488, allocations: 105.3 MB / 1.447 GB, free: 207.6 MB / 0.6075 GB make -j1 -f DroneLibrary_DroneLibrary.Tests.motorTest.makefile Environment - environmentSimulation: (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 & ./DroneLibrary_DroneLibrary.Tests.motorTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > DroneLibrary_DroneLibrary.Tests.motorTest.pipe 2>&1) Environment - environmentSimulation: