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-master/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-master/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-master/package.mo): time 0.05977/0.05977, allocations: 12.06 MB / 28.36 MB, free: 1.711 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.0009419/0.0009422, allocations: 103.9 kB / 32.08 MB, free: 4.562 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.00111/0.00111, allocations: 196.5 kB / 35.92 MB, free: 0.7344 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.348/1.348, allocations: 222.9 MB / 262.5 MB, free: 7.426 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05783/0.05783, allocations: 13.67 MB / 329.2 MB, free: 472 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.02784/0.02784, allocations: 19.74 MB / 473.2 MB, free: 2.633 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3161/0.344, allocations: 55.39 MB / 0.5162 GB, free: 20.29 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.02219/0.3662, allocations: 25.97 MB / 0.5416 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01996/0.3862, allocations: 7.786 MB / 0.5492 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006459/0.3927, allocations: 193.6 kB / 0.5494 GB, free: 13.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02518/0.4179, allocations: 12.89 MB / 0.5619 GB, free: 5.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009749/0.4277, allocations: 3.538 MB / 0.5654 GB, free: 2.785 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005092/0.4328, allocations: 2.106 MB / 0.5675 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01425/0.447, allocations: 9.863 MB / 0.5771 GB, free: 7.27 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02247/0.4695, allocations: 17.91 MB / 0.5946 GB, free: 6.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008591/0.4782, allocations: 5.105 MB / 0.5996 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009954/0.4882, allocations: 6.382 MB / 0.6058 GB, free: 10.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00375/0.4919, allocations: 1.633 MB / 0.6074 GB, free: 8.922 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005812/0.4978, allocations: 2.623 MB / 0.61 GB, free: 6.297 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007786/0.5056, allocations: 6.113 MB / 0.6159 GB, free: 176 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01318/0.5188, allocations: 7.067 MB / 0.6228 GB, free: 9.066 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02616/0.545, allocations: 24.71 MB / 0.647 GB, free: 284 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.545, allocations: 4 kB / 0.647 GB, free: 280 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.545, allocations: 3.938 kB / 0.647 GB, free: 276 kB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0006168/0.5456, allocations: 0 / 0.647 GB, free: 276 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.03583/0.5815, allocations: 13.44 MB / 0.6601 GB, free: 2.715 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.5816, allocations: 8.031 kB / 0.6601 GB, free: 2.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01234/0.5939, allocations: 2.993 MB / 0.663 GB, free: 15.7 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01464/0.6086, allocations: 7.787 MB / 0.6706 GB, free: 7.84 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006197/0.6092, allocations: 0.7506 MB / 0.6714 GB, free: 7.086 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003495/0.6127, allocations: 1.008 MB / 0.6723 GB, free: 6.078 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04932/0.6621, allocations: 25.41 MB / 0.6971 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005498/0.6627, allocations: 103.3 kB / 0.6972 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003136/0.6658, allocations: 451.8 kB / 0.6977 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005173/0.671, allocations: 3.329 MB / 0.7009 GB, free: 7.531 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04213/0.7132, allocations: 21.16 MB / 0.7216 GB, free: 2.348 MB / 0.5451 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.341/1.054, allocations: 95.82 MB / 0.8152 GB, free: 84.51 MB / 0.5451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0181/1.072, allocations: 8.903 MB / 0.8239 GB, free: 78.3 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005021/1.077, allocations: 4.774 MB / 0.8285 GB, free: 73.52 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007908/1.078, allocations: 0.6948 MB / 0.8292 GB, free: 72.73 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.59e-05/1.078, allocations: 66.56 kB / 0.8293 GB, free: 72.66 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=285): time 5.179e-06/1.078, allocations: 0 / 0.8293 GB, free: 72.66 MB / 0.5451 GB Notification: Performance of matching and sorting (n=309): time 0.09002/1.168, allocations: 41.08 MB / 0.8694 GB, free: 31.83 MB / 0.5451 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.199e-05/1.168, allocations: 265.8 kB / 0.8696 GB, free: 31.52 MB / 0.5451 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01283/1.181, allocations: 9.333 MB / 0.8788 GB, free: 22.36 MB / 0.5451 GB Notification: Performance of collectPreVariables (initialization): time 0.0008766/1.182, allocations: 73.7 kB / 0.8788 GB, free: 22.28 MB / 0.5451 GB Notification: Performance of collectInitialEqns (initialization): time 0.004109/1.186, allocations: 7.274 MB / 0.8859 GB, free: 15.48 MB / 0.5451 GB Notification: Performance of collectInitialBindings (initialization): time 0.001702/1.188, allocations: 1.301 MB / 0.8872 GB, free: 14.18 MB / 0.5451 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003146/1.191, allocations: 2.459 MB / 0.8896 GB, free: 11.71 MB / 0.5451 GB Notification: Performance of setup shared object (initialization): time 4.617e-05/1.191, allocations: 305.1 kB / 0.8899 GB, free: 11.41 MB / 0.5451 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005963/1.197, allocations: 4.831 MB / 0.8946 GB, free: 6.57 MB / 0.5451 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01189/1.209, allocations: 12.01 MB / 0.9063 GB, free: 7.199 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06281/1.272, allocations: 28.52 MB / 0.9342 GB, free: 7.297 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000244/1.272, allocations: 72 kB / 0.9343 GB, free: 7.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1515) (initialization): time 0.04165/1.314, allocations: 20.04 MB / 0.9538 GB, free: 3.145 MB / 0.6076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003032/1.314, allocations: 117.9 kB / 0.9539 GB, free: 3.031 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003955/1.315, allocations: 252.3 kB / 0.9542 GB, free: 2.785 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2625/1.577, allocations: 4.217 MB / 0.9583 GB, free: 196.5 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008818/1.586, allocations: 2.673 MB / 0.9609 GB, free: 196.5 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/1.605, allocations: 18.08 MB / 0.9786 GB, free: 188.2 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009782/1.615, allocations: 0.6776 MB / 0.9792 GB, free: 188 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002368/1.617, allocations: 0.7031 MB / 0.9799 GB, free: 187.9 MB / 0.6076 GB Warning: Assuming fixed start value for the following 31 variables: propellerRev1.blades.bodyShape5.v_0[3]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.v_0[2]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.v_0[1]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.body.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.01876/1.636, allocations: 9.678 MB / 0.9894 GB, free: 183.8 MB / 0.6076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01016/1.646, allocations: 11.98 MB / 1.001 GB, free: 172.2 MB / 0.6076 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.05309/1.699, allocations: 28.43 MB / 1.029 GB, free: 153 MB / 0.6076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000205/1.7, allocations: 78.67 kB / 1.029 GB, free: 152.9 MB / 0.6076 GB Notification: Performance of matching and sorting (n=1515) (initialization_lambda0): time 0.03636/1.736, allocations: 19.99 MB / 1.048 GB, free: 134.2 MB / 0.6076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003489/1.736, allocations: 117 kB / 1.049 GB, free: 134.1 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004688/1.737, allocations: 256 kB / 1.049 GB, free: 133.8 MB / 0.6076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01205/1.749, allocations: 4.222 MB / 1.053 GB, free: 129.6 MB / 0.6076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008154/1.757, allocations: 2.667 MB / 1.056 GB, free: 126.9 MB / 0.6076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01647/1.774, allocations: 18.07 MB / 1.073 GB, free: 108.4 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009392/1.783, allocations: 0.6386 MB / 1.074 GB, free: 107.8 MB / 0.6076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001987/1.785, allocations: 0.7057 MB / 1.074 GB, free: 107.1 MB / 0.6076 GB Warning: Assuming fixed start value for the following 31 variables: propellerRev1.blades.bodyShape5.v_0[3]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.v_0[2]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.v_0[1]:VARIABLE(start = 0.0 unit = "m/s" fixed = true stateSelect=StateSelect.avoid ) "Absolute velocity of frame_a, resolved in world frame (= der(r_0))" type: Real [3] propellerRev1.blades.bodyShape5.body.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.004097/1.789, allocations: 1.38 MB / 1.076 GB, free: 105.9 MB / 0.6076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001904/1.791, allocations: 0.7726 MB / 1.077 GB, free: 105.6 MB / 0.6076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02042/1.811, allocations: 9.609 MB / 1.086 GB, free: 95.92 MB / 0.6076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.696e-05/1.812, allocations: 15.94 kB / 1.086 GB, free: 95.9 MB / 0.6076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.206e-06/1.812, allocations: 0 / 1.086 GB, free: 95.9 MB / 0.6076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002027/1.814, allocations: 0.839 MB / 1.087 GB, free: 95.48 MB / 0.6076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002218/1.816, allocations: 83.92 kB / 1.087 GB, free: 95.4 MB / 0.6076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003986/1.82, allocations: 183.7 kB / 1.087 GB, free: 95.22 MB / 0.6076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008206/1.821, allocations: 210.5 kB / 1.087 GB, free: 95.01 MB / 0.6076 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01576/1.836, allocations: 9.431 MB / 1.096 GB, free: 85.62 MB / 0.6076 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01214/1.849, allocations: 11.27 MB / 1.107 GB, free: 74.29 MB / 0.6076 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002932/1.852, allocations: 3.092 MB / 1.11 GB, free: 71.2 MB / 0.6076 GB Notification: Performance of sorting global known variables: time 0.009178/1.861, allocations: 6.025 MB / 1.116 GB, free: 65.2 MB / 0.6076 GB Notification: Performance of Backend: time 5.51e-07/1.861, allocations: 0 / 1.116 GB, free: 65.2 MB / 0.6076 GB Notification: Performance of simCode: created initialization part: time 0.03409/1.895, allocations: 19.69 MB / 1.136 GB, free: 45.4 MB / 0.6076 GB Notification: Performance of SimCode: time 0.04082/1.936, allocations: 23.67 MB / 1.159 GB, free: 21.93 MB / 0.6076 GB Notification: Performance of Templates: time 0.4755/2.411, allocations: 144.9 MB / 1.3 GB, free: 111 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)