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.06526/0.06526, allocations: 12.02 MB / 27.65 MB, free: 1.855 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009947/0.0009947, allocations: 106.8 kB / 31.36 MB, free: 4.969 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.001133/0.001133, allocations: 192.5 kB / 35.2 MB, free: 1.148 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.395/1.395, allocations: 222.9 MB / 261.7 MB, free: 7.375 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.06153/0.06153, allocations: 13.67 MB / 328.5 MB, free: 0.4961 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.02838/0.02838, allocations: 19.64 MB / 472.4 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.3163, allocations: 55.39 MB / 0.5154 GB, free: 20.21 MB / 382.1 MB [/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 has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 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 has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 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 has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 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 has no value, and is fixed during initialization (fixed=true), using available start value (start={0, 0, 0}) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/Fixed.mo:69:3-69: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/Parts/Fixed.mo:69:3-69: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.02323/0.3395, allocations: 25.98 MB / 0.5408 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01665/0.3562, allocations: 7.786 MB / 0.5484 GB, free: 13.88 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005835/0.3621, allocations: 187.7 kB / 0.5485 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02213/0.3842, allocations: 12.88 MB / 0.5611 GB, free: 5.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009355/0.3936, allocations: 3.549 MB / 0.5646 GB, free: 2.809 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004762/0.3984, allocations: 2.097 MB / 0.5666 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01429/0.4127, allocations: 9.858 MB / 0.5763 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02184/0.4346, allocations: 17.93 MB / 0.5938 GB, free: 6.152 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007538/0.4422, allocations: 5.09 MB / 0.5988 GB, free: 1.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00893/0.4511, allocations: 6.378 MB / 0.605 GB, free: 10.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003567/0.4547, allocations: 1.633 MB / 0.6066 GB, free: 9.023 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005862/0.4606, allocations: 2.631 MB / 0.6091 GB, free: 6.391 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007721/0.4683, allocations: 6.12 MB / 0.6151 GB, free: 264 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01083/0.4792, allocations: 7.067 MB / 0.622 GB, free: 9.156 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02545/0.5047, allocations: 24.65 MB / 0.6461 GB, free: 448 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5047, allocations: 4 kB / 0.6461 GB, free: 444 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5047, allocations: 0 / 0.6461 GB, free: 444 kB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0007104/0.5054, allocations: 0 / 0.6461 GB, free: 444 kB / 478.1 MB 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.03692/0.5424, allocations: 13.13 MB / 0.6589 GB, free: 3.207 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.5424, allocations: 12.03 kB / 0.6589 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01242/0.5549, allocations: 2.924 MB / 0.6618 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01438/0.5693, allocations: 7.765 MB / 0.6694 GB, free: 8.41 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006245/0.5699, allocations: 0.7545 MB / 0.6701 GB, free: 7.652 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00359/0.5735, allocations: 1.004 MB / 0.6711 GB, free: 6.648 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0544/0.6279, allocations: 25.4 MB / 0.6959 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004962/0.6285, allocations: 99.14 kB / 0.696 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002827/0.6313, allocations: 455.8 kB / 0.6964 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005522/0.6369, allocations: 3.329 MB / 0.6997 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04445/0.6813, allocations: 21.16 MB / 0.7203 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3458/1.027, allocations: 95.63 MB / 0.8137 GB, free: 85.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01956/1.047, allocations: 8.903 MB / 0.8224 GB, free: 79.32 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00497/1.052, allocations: 4.773 MB / 0.8271 GB, free: 74.54 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007384/1.053, allocations: 0.6943 MB / 0.8278 GB, free: 73.75 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/1.053, allocations: 67.72 kB / 0.8278 GB, free: 73.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=285): time 5.36e-06/1.053, allocations: 0 / 0.8278 GB, free: 73.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=309): time 0.09131/1.144, allocations: 40.3 MB / 0.8672 GB, free: 33.07 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/1.144, allocations: 260.6 kB / 0.8674 GB, free: 32.76 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01113/1.155, allocations: 9.316 MB / 0.8765 GB, free: 23.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0007505/1.156, allocations: 69.7 kB / 0.8766 GB, free: 23.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.003454/1.159, allocations: 7.01 MB / 0.8834 GB, free: 16.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/1.161, allocations: 1.25 MB / 0.8847 GB, free: 15.09 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003224/1.164, allocations: 2.437 MB / 0.887 GB, free: 12.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.662e-05/1.164, allocations: 303.8 kB / 0.8873 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005795/1.17, allocations: 4.832 MB / 0.892 GB, free: 7.504 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0104/1.18, allocations: 12.01 MB / 0.9038 GB, free: 8.133 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06604/1.246, allocations: 28.5 MB / 0.9316 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002471/1.247, allocations: 76 kB / 0.9317 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1515) (initialization): time 0.04292/1.29, allocations: 20.01 MB / 0.9512 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003198/1.29, allocations: 112 kB / 0.9513 GB, free: 4.008 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004506/1.29, allocations: 256 kB / 0.9516 GB, free: 3.758 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2492/1.54, allocations: 4.216 MB / 0.9557 GB, free: 196.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008445/1.548, allocations: 2.672 MB / 0.9583 GB, free: 196.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01944/1.568, allocations: 18.06 MB / 0.9759 GB, free: 188.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008956/1.577, allocations: 0.6771 MB / 0.9766 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001674/1.578, allocations: 0.7017 MB / 0.9773 GB, free: 188.1 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.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01505/1.593, allocations: 9.672 MB / 0.9867 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01031/1.604, allocations: 11.98 MB / 0.9984 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05348/1.657, allocations: 28.43 MB / 1.026 GB, free: 153.5 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002125/1.657, allocations: 76 kB / 1.026 GB, free: 153.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1515) (initialization_lambda0): time 0.03311/1.691, allocations: 19.97 MB / 1.046 GB, free: 135.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002056/1.691, allocations: 116 kB / 1.046 GB, free: 135 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000292/1.691, allocations: 252 kB / 1.046 GB, free: 134.7 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01201/1.703, allocations: 4.221 MB / 1.05 GB, free: 130.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008084/1.711, allocations: 2.671 MB / 1.053 GB, free: 127.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01643/1.728, allocations: 18.06 MB / 1.07 GB, free: 109.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008467/1.736, allocations: 0.6448 MB / 1.071 GB, free: 108.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001442/1.738, allocations: 0.6992 MB / 1.072 GB, free: 108 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.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 (1455): * Single equations (assignments): 1444 * 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.003209/1.741, allocations: 1.378 MB / 1.073 GB, free: 106.8 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001351/1.742, allocations: 0.7314 MB / 1.074 GB, free: 106.4 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/1.761, allocations: 9.613 MB / 1.083 GB, free: 96.77 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.392e-05/1.761, allocations: 36 kB / 1.083 GB, free: 96.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.576e-05/1.761, allocations: 8 kB / 1.083 GB, free: 96.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.373e-05/1.762, allocations: 11.95 kB / 1.083 GB, free: 96.71 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03808/1.8, allocations: 22.77 MB / 1.106 GB, free: 73.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.377e-05/1.8, allocations: 7.938 kB / 1.106 GB, free: 73.97 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002505/1.802, allocations: 0.5345 MB / 1.106 GB, free: 73.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01149/1.814, allocations: 3.813 MB / 1.11 GB, free: 69.61 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003758/1.814, allocations: 83.98 kB / 1.11 GB, free: 69.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0146/1.829, allocations: 16.55 MB / 1.126 GB, free: 52.54 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.829, allocations: 7.938 kB / 1.126 GB, free: 52.53 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02275/1.851, allocations: 14.44 MB / 1.14 GB, free: 38.24 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/1.853, allocations: 0.8116 MB / 1.141 GB, free: 37.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/1.855, allocations: 79.92 kB / 1.141 GB, free: 37.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003233/1.858, allocations: 191.7 kB / 1.141 GB, free: 37.14 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006443/1.859, allocations: 205.8 kB / 1.141 GB, free: 36.93 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002715/1.859, allocations: 87.98 kB / 1.141 GB, free: 36.84 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.008854/1.868, allocations: 6.02 MB / 1.147 GB, free: 30.85 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/1.868, allocations: 0 / 1.147 GB, free: 30.85 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.01665/1.885, allocations: 4.024 MB / 1.151 GB, free: 26.84 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 (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.0006861/1.886, allocations: 236.9 kB / 1.152 GB, free: 26.61 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.03132/1.917, allocations: 22.03 MB / 1.173 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/1.917, allocations: 4.188 kB / 1.173 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.007756/1.925, allocations: 4.788 MB / 1.178 GB, free: 15.5 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006717/1.931, allocations: 1.245 MB / 1.179 GB, free: 14.38 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2762/2.208, allocations: 23.71 MB / 1.202 GB, free: 188.1 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01431/2.222, allocations: 7.591 MB / 1.209 GB, free: 187.1 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01282/2.235, allocations: 5.916 MB / 1.215 GB, free: 186.7 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/2.236, allocations: 0.489 MB / 1.216 GB, free: 186.7 MB / 0.6232 GB Notification: Performance of SimCode: time 1.052e-06/2.236, allocations: 0 / 1.216 GB, free: 186.7 MB / 0.6232 GB Notification: Performance of Templates: time 0.1481/2.384, allocations: 105.5 MB / 1.319 GB, free: 97.46 MB / 0.6232 GB make -j1 -f DroneLibrary_DroneLibrary.Tests.motorTest.makefile (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)