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.06409/0.06409, allocations: 12.02 MB / 27.65 MB, free: 1.875 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.0008757/0.0008758, allocations: 103.4 kB / 31.36 MB, free: 4.992 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.0009656/0.0009656, allocations: 192.5 kB / 35.19 MB, free: 1.176 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.241/1.241, allocations: 222.9 MB / 261.7 MB, free: 7.461 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05579/0.05579, allocations: 13.67 MB / 328.5 MB, free: 0.4922 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.02581/0.02581, allocations: 19.68 MB / 472.4 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2384/0.2642, allocations: 55.38 MB / 0.5154 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.01932/0.2835, allocations: 25.98 MB / 0.5408 GB, free: 3.191 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01337/0.2969, allocations: 7.787 MB / 0.5484 GB, free: 13.87 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004042/0.301, allocations: 188.6 kB / 0.5486 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01929/0.3203, allocations: 12.88 MB / 0.5612 GB, free: 5.406 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007185/0.3275, allocations: 3.544 MB / 0.5646 GB, free: 2.801 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003696/0.3312, allocations: 2.107 MB / 0.5667 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.3421, allocations: 9.854 MB / 0.5763 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0169/0.359, allocations: 17.92 MB / 0.5938 GB, free: 6.148 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004996/0.364, allocations: 5.094 MB / 0.5988 GB, free: 1.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006244/0.3703, allocations: 6.378 MB / 0.605 GB, free: 10.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001805/0.3721, allocations: 1.633 MB / 0.6066 GB, free: 9.012 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003582/0.3757, allocations: 2.639 MB / 0.6092 GB, free: 6.375 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004175/0.3799, allocations: 6.113 MB / 0.6151 GB, free: 256 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005388/0.3853, allocations: 7.071 MB / 0.6221 GB, free: 9.141 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01924/0.4045, allocations: 24.71 MB / 0.6462 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4046, allocations: 0 / 0.6462 GB, free: 364 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4046, allocations: 0 / 0.6462 GB, free: 364 kB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0003557/0.4049, allocations: 4 kB / 0.6462 GB, free: 360 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.02265/0.4276, allocations: 13.44 MB / 0.6593 GB, free: 2.797 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.4276, allocations: 8.031 kB / 0.6593 GB, free: 2.789 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008836/0.4365, allocations: 2.994 MB / 0.6622 GB, free: 15.79 MB / 0.4982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/0.4469, allocations: 7.791 MB / 0.6698 GB, free: 7.914 MB / 0.4982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004295/0.4474, allocations: 0.7428 MB / 0.6706 GB, free: 7.168 MB / 0.4982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001441/0.4488, allocations: 1.01 MB / 0.6716 GB, free: 6.16 MB / 0.4982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03577/0.4846, allocations: 25.41 MB / 0.6964 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002937/0.4849, allocations: 99.28 kB / 0.6965 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001173/0.4861, allocations: 458.5 kB / 0.6969 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004492/0.4906, allocations: 3.333 MB / 0.7002 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03336/0.524, allocations: 21.16 MB / 0.7208 GB, free: 2.43 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2765/0.8005, allocations: 95.82 MB / 0.8144 GB, free: 84.64 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01643/0.8169, allocations: 8.906 MB / 0.8231 GB, free: 78.44 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004099/0.8211, allocations: 4.768 MB / 0.8277 GB, free: 73.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006036/0.8217, allocations: 0.698 MB / 0.8284 GB, free: 72.87 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.8217, allocations: 63.69 kB / 0.8285 GB, free: 72.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=285): time 4.749e-06/0.8217, allocations: 0 / 0.8285 GB, free: 72.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=309): time 0.07691/0.8986, allocations: 41.08 MB / 0.8686 GB, free: 31.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.518e-05/0.8987, allocations: 267.3 kB / 0.8689 GB, free: 31.66 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008287/0.907, allocations: 9.33 MB / 0.878 GB, free: 22.5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002392/0.9073, allocations: 71.73 kB / 0.878 GB, free: 22.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002654/0.9099, allocations: 7.279 MB / 0.8851 GB, free: 15.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007372/0.9107, allocations: 1.299 MB / 0.8864 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00217/0.9129, allocations: 2.466 MB / 0.8888 GB, free: 11.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.233e-05/0.9129, allocations: 303.8 kB / 0.8891 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004697/0.9176, allocations: 4.832 MB / 0.8938 GB, free: 6.715 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008516/0.9261, allocations: 12.01 MB / 0.9056 GB, free: 7.348 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.05579/0.9819, allocations: 28.51 MB / 0.9334 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002327/0.9822, allocations: 76 kB / 0.9335 GB, free: 7.371 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1515) (initialization): time 0.03734/1.02, allocations: 20.04 MB / 0.953 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002482/1.02, allocations: 112 kB / 0.9532 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003466/1.02, allocations: 256 kB / 0.9534 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2224/1.243, allocations: 4.222 MB / 0.9575 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008074/1.251, allocations: 2.673 MB / 0.9601 GB, free: 196.6 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01754/1.268, allocations: 18.08 MB / 0.9778 GB, free: 188.4 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008449/1.277, allocations: 0.6757 MB / 0.9784 GB, free: 188.2 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002173/1.279, allocations: 0.7021 MB / 0.9791 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.01476/1.294, allocations: 9.674 MB / 0.9886 GB, free: 183.9 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008634/1.302, allocations: 11.98 MB / 1 GB, free: 172.3 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04717/1.35, allocations: 28.43 MB / 1.028 GB, free: 153.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002529/1.35, allocations: 72 kB / 1.028 GB, free: 153 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1515) (initialization_lambda0): time 0.02855/1.378, allocations: 20.01 MB / 1.048 GB, free: 134.4 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001398/1.379, allocations: 112 kB / 1.048 GB, free: 134.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002357/1.379, allocations: 256 kB / 1.048 GB, free: 134 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009914/1.389, allocations: 4.222 MB / 1.052 GB, free: 129.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006291/1.395, allocations: 2.663 MB / 1.055 GB, free: 127.1 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/1.409, allocations: 18.08 MB / 1.072 GB, free: 108.6 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006712/1.416, allocations: 0.6391 MB / 1.073 GB, free: 108 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008994/1.416, allocations: 0.703 MB / 1.074 GB, free: 107.3 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.002363/1.419, allocations: 1.371 MB / 1.075 GB, free: 106.1 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/1.42, allocations: 0.773 MB / 1.076 GB, free: 105.8 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01595/1.436, allocations: 9.609 MB / 1.085 GB, free: 96.11 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.663e-05/1.436, allocations: 38.67 kB / 1.085 GB, free: 96.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/1.436, allocations: 8 kB / 1.085 GB, free: 96.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/1.436, allocations: 14.58 kB / 1.085 GB, free: 96.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03117/1.467, allocations: 22.79 MB / 1.107 GB, free: 73.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.397e-05/1.467, allocations: 5.969 kB / 1.107 GB, free: 73.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002151/1.469, allocations: 0.5344 MB / 1.108 GB, free: 72.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009569/1.479, allocations: 3.808 MB / 1.112 GB, free: 68.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002664/1.479, allocations: 83.98 kB / 1.112 GB, free: 68.87 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01267/1.492, allocations: 16.55 MB / 1.128 GB, free: 51.88 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.492, allocations: 11.94 kB / 1.128 GB, free: 51.87 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.51, allocations: 14.47 MB / 1.142 GB, free: 37.53 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.512, allocations: 0.8544 MB / 1.143 GB, free: 36.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001133/1.513, allocations: 87.92 kB / 1.143 GB, free: 36.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002559/1.516, allocations: 187.8 kB / 1.143 GB, free: 36.39 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004543/1.516, allocations: 204.5 kB / 1.143 GB, free: 36.19 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002058/1.516, allocations: 90.25 kB / 1.144 GB, free: 36.11 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.007045/1.523, allocations: 6.024 MB / 1.149 GB, free: 30.11 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/1.523, allocations: 0 / 1.149 GB, free: 30.11 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0147/1.538, allocations: 4.018 MB / 1.153 GB, free: 26.1 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.000512/1.539, allocations: 244.4 kB / 1.154 GB, free: 25.87 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.02663/1.565, allocations: 22.04 MB / 1.175 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/1.565, allocations: 0 / 1.175 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.006575/1.572, allocations: 4.784 MB / 1.18 GB, free: 14.76 MB / 0.6232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005162/1.577, allocations: 1.246 MB / 1.181 GB, free: 13.63 MB / 0.6232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.228/1.805, allocations: 24.05 MB / 1.204 GB, free: 188.3 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008892/1.814, allocations: 7.591 MB / 1.212 GB, free: 187.3 MB / 0.6232 GB Notification: Performance of simCode: alias equations: time 0.01038/1.824, allocations: 5.919 MB / 1.218 GB, free: 186.9 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009685/1.825, allocations: 0.4921 MB / 1.218 GB, free: 186.9 MB / 0.6232 GB Notification: Performance of SimCode: time 8.32e-07/1.825, allocations: 0 / 1.218 GB, free: 186.9 MB / 0.6232 GB Notification: Performance of Templates: time 0.1252/1.95, allocations: 105.5 MB / 1.321 GB, free: 96.91 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)