Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.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: "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.07211/0.07211, allocations: 12.03 MB / 27.53 MB, free: 1.395 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.001059/0.001059, allocations: 113.6 kB / 31.24 MB, free: 4.57 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.001723/0.001723, allocations: 196.4 kB / 35.07 MB, free: 0.7539 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.417/1.417, allocations: 222.9 MB / 261.6 MB, free: 24 kB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05972/0.05972, allocations: 13.67 MB / 328.4 MB, free: 3.73 MB / 254.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 0.001 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Euler" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 0.001 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Euler" 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.03052/0.03052, allocations: 19.59 MB / 415.8 MB, free: 24.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1563, allocations: 55.42 MB / 471.2 MB, free: 4.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola): time 0.005391/0.1617, allocations: 3.333 MB / 474.5 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009046/0.1627, allocations: 0.5139 MB / 475.1 MB, free: 388 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.1629, allocations: 15.88 kB / 475.1 MB, free: 372 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003042/0.1632, allocations: 87.31 kB / 475.2 MB, free: 284 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002004/0.1634, allocations: 55.45 kB / 475.2 MB, free: 228 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.1638, allocations: 179.6 kB / 475.4 MB, free: 48 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.1642, allocations: 371.4 kB / 475.7 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.1645, allocations: 197.1 kB / 475.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.1647, allocations: 127.4 kB / 476.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002075/0.1649, allocations: 167.2 kB / 476.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.352e-05/0.1649, allocations: 35.94 kB / 476.3 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.1651, allocations: 59.98 kB / 476.3 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001761/0.1652, allocations: 171.5 kB / 476.5 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.1655, allocations: 242.4 kB / 476.7 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005956/0.1661, allocations: 0.5761 MB / 477.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1661, allocations: 0 / 477.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.1661, allocations: 0 / 477.3 MB, free: 14.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.1661, allocations: 0 / 477.3 MB, free: 14.11 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001243/0.1674, allocations: 0.8588 MB / 478.2 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1674, allocations: 12.03 kB / 478.2 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001654/0.1676, allocations: 107.6 kB / 478.3 MB, free: 13.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.1677, allocations: 68.19 kB / 478.3 MB, free: 13.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004933/0.1682, allocations: 398.9 kB / 478.7 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.936e-05/0.1683, allocations: 37.36 kB / 478.8 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.1683, allocations: 48.36 kB / 478.8 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.1692, allocations: 0.6027 MB / 479.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.1692, allocations: 3.938 kB / 479.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.483e-05/0.1693, allocations: 27.98 kB / 479.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.1693, allocations: 8 kB / 479.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.1699, allocations: 386.9 kB / 479.8 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001903/0.1718, allocations: 1.664 MB / 481.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.1726, allocations: 0.6343 MB / 482.1 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/0.1731, allocations: 332.1 kB / 482.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.1731, allocations: 8.562 kB / 482.5 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.1738, allocations: 457.4 kB / 482.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=100): time 2.364e-06/0.1738, allocations: 0 / 482.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=100): time 0.002158/0.1759, allocations: 1.866 MB / 484.8 MB, free: 6.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.1761, allocations: 166 kB / 484.9 MB, free: 6.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000311/0.1764, allocations: 308.3 kB / 485.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.075e-05/0.1765, allocations: 89.66 kB / 485.3 MB, free: 5.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001506/0.1767, allocations: 213.6 kB / 485.5 MB, free: 5.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002259/0.1769, allocations: 284.6 kB / 485.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.1771, allocations: 222.9 kB / 486 MB, free: 5.066 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1773, allocations: 329.9 kB / 486.4 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004858/0.1778, allocations: 339.1 kB / 486.7 MB, free: 4.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.1786, allocations: 0.8876 MB / 487.6 MB, free: 3.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002329/0.1809, allocations: 1.768 MB / 489.3 MB, free: 1.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/0.181, allocations: 8 kB / 489.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.002159/0.1831, allocations: 1.493 MB / 490.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/0.1832, allocations: 16 kB / 490.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-05/0.1832, allocations: 16 kB / 490.9 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.16e-05/0.1833, allocations: 28 kB / 490.9 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006325/0.1839, allocations: 219.5 kB / 491.1 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.233e-05/0.184, allocations: 39.8 kB / 491.2 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004259/0.1844, allocations: 110.8 kB / 491.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.973e-05/0.1845, allocations: 71.98 kB / 491.3 MB, free: 15.24 MB / 366.1 MB Warning: Assuming fixed start value for the following 36 variables: joystickInput.pOV_:DISCRETE(fixed = true protected = true ) type: Integer joystickInput.buttons_[32]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[31]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[30]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[29]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[28]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[27]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[26]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[25]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[24]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[23]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[22]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[21]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[20]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[19]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[18]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[17]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[16]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[15]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[14]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[13]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[12]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[11]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[10]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[9]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[8]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[7]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[6]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[5]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[4]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[3]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[2]:DISCRETE(fixed = true protected = true ) type: Integer [32] joystickInput.buttons_[1]:DISCRETE(fixed = true protected = true ) type: Integer [32] JoyStick_X.firstOrder.y:VARIABLE(flow=false start = JoyStick_X.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real JoyStick_Y.firstOrder.y:VARIABLE(flow=false start = JoyStick_Y.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real JoyStick_Z.firstOrder.y:VARIABLE(flow=false start = JoyStick_Z.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 148 ($PRE.joystickInput.pOV_,joystickInput.pOV_,$PRE.joystickInput.buttons_[32],joystickInput.buttons_[32],$PRE.joystickInput.buttons_[31],joystickInput.buttons_[31],$PRE.joystickInput.buttons_[30],joystickInput.buttons_[30],$PRE.joystickInput.buttons_[29],joystickInput.buttons_[29],$PRE.joystickInput.buttons_[28],joystickInput.buttons_[28],$PRE.joystickInput.buttons_[27],joystickInput.buttons_[27],$PRE.joystickInput.buttons_[26],joystickInput.buttons_[26],$PRE.joystickInput.buttons_[25],joystickInput.buttons_[25],$PRE.joystickInput.buttons_[24],joystickInput.buttons_[24],$PRE.joystickInput.buttons_[23],joystickInput.buttons_[23],$PRE.joystickInput.buttons_[22],joystickInput.buttons_[22],$PRE.joystickInput.buttons_[21],joystickInput.buttons_[21],$PRE.joystickInput.buttons_[20],joystickInput.buttons_[20],$PRE.joystickInput.buttons_[19],joystickInput.buttons_[19],$PRE.joystickInput.buttons_[18],joystickInput.buttons_[18],$PRE.joystickInput.buttons_[17],joystickInput.buttons_[17],$PRE.joystickInput.buttons_[16],joystickInput.buttons_[16],$PRE.joystickInput.buttons_[15],joystickInput.buttons_[15],$PRE.joystickInput.buttons_[14],joystickInput.buttons_[14],$PRE.joystickInput.buttons_[13],joystickInput.buttons_[13],$PRE.joystickInput.buttons_[12],joystickInput.buttons_[12],$PRE.joystickInput.buttons_[11],joystickInput.buttons_[11],$PRE.joystickInput.buttons_[10],joystickInput.buttons_[10],$PRE.joystickInput.buttons_[9],joystickInput.buttons_[9],$PRE.joystickInput.buttons_[8],joystickInput.buttons_[8],$PRE.joystickInput.buttons_[7],joystickInput.buttons_[7],$PRE.joystickInput.buttons_[6],joystickInput.buttons_[6],$PRE.joystickInput.buttons_[5],joystickInput.buttons_[5],$PRE.joystickInput.buttons_[4],joystickInput.buttons_[4],$PRE.joystickInput.buttons_[3],joystickInput.buttons_[3],$PRE.joystickInput.buttons_[2],joystickInput.buttons_[2],$PRE.joystickInput.buttons_[1],joystickInput.buttons_[1],joystickInput.buttons[1],$PRE.joystickInput.buttons[1],joystickInput.buttons[2],$PRE.joystickInput.buttons[2],joystickInput.buttons[3],$PRE.joystickInput.buttons[3],joystickInput.buttons[4],$PRE.joystickInput.buttons[4],joystickInput.buttons[5],$PRE.joystickInput.buttons[5],joystickInput.buttons[6],$PRE.joystickInput.buttons[6],joystickInput.buttons[7],$PRE.joystickInput.buttons[7],joystickInput.buttons[8],$PRE.joystickInput.buttons[8],joystickInput.buttons[9],$PRE.joystickInput.buttons[9],joystickInput.buttons[10],$PRE.joystickInput.buttons[10],joystickInput.buttons[11],$PRE.joystickInput.buttons[11],joystickInput.buttons[12],$PRE.joystickInput.buttons[12],joystickInput.buttons[13],$PRE.joystickInput.buttons[13],joystickInput.buttons[14],$PRE.joystickInput.buttons[14],joystickInput.buttons[15],$PRE.joystickInput.buttons[15],joystickInput.buttons[16],$PRE.joystickInput.buttons[16],joystickInput.buttons[17],$PRE.joystickInput.buttons[17],joystickInput.buttons[18],$PRE.joystickInput.buttons[18],joystickInput.buttons[19],$PRE.joystickInput.buttons[19],joystickInput.buttons[20],$PRE.joystickInput.buttons[20],joystickInput.buttons[21],$PRE.joystickInput.buttons[21],joystickInput.buttons[22],$PRE.joystickInput.buttons[22],joystickInput.buttons[23],$PRE.joystickInput.buttons[23],joystickInput.buttons[24],$PRE.joystickInput.buttons[24],joystickInput.buttons[25],$PRE.joystickInput.buttons[25],joystickInput.buttons[26],$PRE.joystickInput.buttons[26],joystickInput.buttons[27],$PRE.joystickInput.buttons[27],joystickInput.buttons[28],$PRE.joystickInput.buttons[28],joystickInput.buttons[29],$PRE.joystickInput.buttons[29],joystickInput.buttons[30],$PRE.joystickInput.buttons[30],joystickInput.buttons[31],$PRE.joystickInput.buttons[31],joystickInput.buttons[32],$PRE.joystickInput.buttons[32],joystickInput.pOV,$PRE.joystickInput.pOV,$whenCondition1,joystickInput.AxesRaw[4],$PRE.joystickInput.AxesRaw[4],joystickInput.AxesRaw[5],$PRE.joystickInput.AxesRaw[5],joystickInput.AxesRaw[6],$PRE.joystickInput.AxesRaw[6],joystickInput.AxesRaw[1],$PRE.joystickInput.AxesRaw[1],joystickInput.AxesRaw[2],$PRE.joystickInput.AxesRaw[2],joystickInput.AxesRaw[3],$PRE.joystickInput.AxesRaw[3],JoyStick_Z.integrator.local_reset,JoyStick_Y.integrator.local_reset,JoyStick_X.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007067/0.1852, allocations: 490.6 kB / 491.8 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.489e-05/0.1853, allocations: 55.34 kB / 491.9 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000102/0.1854, allocations: 45.39 kB / 491.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.1854, allocations: 7.984 kB / 491.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.1854, allocations: 7.938 kB / 491.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.1854, allocations: 0 / 491.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.1876, allocations: 1.971 MB / 493.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.1876, allocations: 4 kB / 493.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.1878, allocations: 43.86 kB / 493.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1878, allocations: 0 / 493.9 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.775e-05/0.1879, allocations: 23.92 kB / 494 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1879, allocations: 0 / 494 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1879, allocations: 0 / 494 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/0.1901, allocations: 1.976 MB / 495.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.1902, allocations: 128.4 kB / 496.1 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.994e-05/0.1903, allocations: 19.98 kB / 496.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1904, allocations: 11.98 kB / 496.1 MB, free: 10.35 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.569e-05/0.1905, allocations: 32.47 kB / 496.1 MB, free: 10.31 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.862e-05/0.1905, allocations: 19.98 kB / 496.2 MB, free: 10.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1908, allocations: 207.1 kB / 496.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1908, allocations: 0 / 496.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009062/0.1917, allocations: 183.7 kB / 496.5 MB, free: 9.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (JoyStick_X.integrator.y,JoyStick_X.firstOrder.y,JoyStick_Y.integrator.y,JoyStick_Y.firstOrder.y,JoyStick_Z.integrator.y,JoyStick_Z.firstOrder.y) * Number of discrete variables: 73 ($whenCondition1,joystickInput.pOV,joystickInput.buttons[1],joystickInput.buttons[2],joystickInput.buttons[3],joystickInput.buttons[4],joystickInput.buttons[5],joystickInput.buttons[6],joystickInput.buttons[7],joystickInput.buttons[8],joystickInput.buttons[9],joystickInput.buttons[10],joystickInput.buttons[11],joystickInput.buttons[12],joystickInput.buttons[13],joystickInput.buttons[14],joystickInput.buttons[15],joystickInput.buttons[16],joystickInput.buttons[17],joystickInput.buttons[18],joystickInput.buttons[19],joystickInput.buttons[20],joystickInput.buttons[21],joystickInput.buttons[22],joystickInput.buttons[23],joystickInput.buttons[24],joystickInput.buttons[25],joystickInput.buttons[26],joystickInput.buttons[27],joystickInput.buttons[28],joystickInput.buttons[29],joystickInput.buttons[30],joystickInput.buttons[31],joystickInput.buttons[32],joystickInput.AxesRaw[1],joystickInput.AxesRaw[2],joystickInput.AxesRaw[3],joystickInput.AxesRaw[4],joystickInput.AxesRaw[5],joystickInput.AxesRaw[6],joystickInput.buttons_[1],joystickInput.buttons_[2],joystickInput.buttons_[3],joystickInput.buttons_[4],joystickInput.buttons_[5],joystickInput.buttons_[6],joystickInput.buttons_[7],joystickInput.buttons_[8],joystickInput.buttons_[9],joystickInput.buttons_[10],joystickInput.buttons_[11],joystickInput.buttons_[12],joystickInput.buttons_[13],joystickInput.buttons_[14],joystickInput.buttons_[15],joystickInput.buttons_[16],joystickInput.buttons_[17],joystickInput.buttons_[18],joystickInput.buttons_[19],joystickInput.buttons_[20],joystickInput.buttons_[21],joystickInput.buttons_[22],joystickInput.buttons_[23],joystickInput.buttons_[24],joystickInput.buttons_[25],joystickInput.buttons_[26],joystickInput.buttons_[27],joystickInput.buttons_[28],joystickInput.buttons_[29],joystickInput.buttons_[30],joystickInput.buttons_[31],joystickInput.buttons_[32],joystickInput.pOV_) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 34 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003078/0.1948, allocations: 2.734 MB / 499.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00214/0.1969, allocations: 1.341 MB / 0.4889 GB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1969, allocations: 3.938 kB / 0.4889 GB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000477/0.1974, allocations: 409.2 kB / 0.4893 GB, free: 5.449 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005268/0.198, allocations: 71.84 kB / 0.4893 GB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009243/0.2072, allocations: 7.577 MB / 0.4967 GB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.2078, allocations: 0.892 MB / 0.4976 GB, free: 12.28 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002853/0.2081, allocations: 109.5 kB / 0.4977 GB, free: 12.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002494/0.2083, allocations: 199.3 kB / 0.4979 GB, free: 11.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.2083, allocations: 0 / 0.4979 GB, free: 11.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04529/0.2536, allocations: 11.25 MB / 0.5089 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.242/8.496, allocations: 7.984 kB / 0.5089 GB, free: 0.7773 MB / 382.1 MB (rm -f DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.pipe ; mkfifo DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.pipe ; head -c 1048576 < DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.pipe >> ../files/DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.sim & python3 -m fmpy simulate --output-file DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_Dymola.fmu > DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola.pipe 2>&1)