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.05855/0.05855, allocations: 12.02 MB / 27.66 MB, free: 1.871 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.0009454/0.0009455, allocations: 100 kB / 31.37 MB, free: 4.977 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.00105/0.00105, allocations: 192.5 kB / 35.21 MB, free: 1.16 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.284/1.284, allocations: 222.9 MB / 261.8 MB, free: 7.348 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05904/0.05904, allocations: 13.68 MB / 328.5 MB, free: 0.5039 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.02494/0.02494, allocations: 19.66 MB / 471.9 MB, free: 3.195 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2514/0.2763, allocations: 55.39 MB / 0.515 GB, free: 19.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_Dymola): time 0.003737/0.2801, allocations: 3.361 MB / 0.5183 GB, free: 18.42 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006357/0.2807, allocations: 0.5025 MB / 0.5187 GB, free: 18.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001314/0.2809, allocations: 11.81 kB / 0.5188 GB, free: 18.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.2811, allocations: 85.67 kB / 0.5188 GB, free: 18.19 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.2813, allocations: 64.97 kB / 0.5189 GB, free: 18.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002941/0.2816, allocations: 179.8 kB / 0.5191 GB, free: 18.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.2819, allocations: 380.1 kB / 0.5194 GB, free: 18.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002322/0.2821, allocations: 187.4 kB / 0.5196 GB, free: 18.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.2822, allocations: 135.9 kB / 0.5197 GB, free: 18.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.2824, allocations: 160.8 kB / 0.5199 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2825, allocations: 33.19 kB / 0.5199 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.43e-05/0.2826, allocations: 51.11 kB / 0.52 GB, free: 17.96 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.2827, allocations: 172.1 kB / 0.5201 GB, free: 17.94 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.2829, allocations: 245.5 kB / 0.5204 GB, free: 17.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005624/0.2835, allocations: 0.6113 MB / 0.521 GB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2835, allocations: 2.656 kB / 0.521 GB, free: 17.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2835, allocations: 0 / 0.521 GB, free: 17.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.2835, allocations: 0 / 0.521 GB, free: 17.55 MB / 382.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.0009535/0.2845, allocations: 0.8687 MB / 0.5218 GB, free: 16.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.2845, allocations: 10.78 kB / 0.5218 GB, free: 16.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.2846, allocations: 111.1 kB / 0.5219 GB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.244e-05/0.2847, allocations: 73.27 kB / 0.522 GB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/0.2852, allocations: 404.7 kB / 0.5224 GB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/0.2852, allocations: 35.27 kB / 0.5224 GB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.2853, allocations: 54.59 kB / 0.5225 GB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007649/0.2861, allocations: 0.6062 MB / 0.5231 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.2861, allocations: 3.938 kB / 0.5231 GB, free: 16.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.2862, allocations: 21.47 kB / 0.5231 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.2862, allocations: 11.44 kB / 0.5231 GB, free: 16.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004943/0.2867, allocations: 388.2 kB / 0.5235 GB, free: 16.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001504/0.2882, allocations: 1.656 MB / 0.5251 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.2889, allocations: 0.6271 MB / 0.5257 GB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.2893, allocations: 341.5 kB / 0.526 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.2893, allocations: 10.45 kB / 0.526 GB, free: 14.47 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000541/0.2899, allocations: 455.6 kB / 0.5265 GB, free: 14.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.354e-06/0.2899, allocations: 2.688 kB / 0.5265 GB, free: 14.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.001905/0.2918, allocations: 1.868 MB / 0.5283 GB, free: 13.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.267e-05/0.2919, allocations: 159.1 kB / 0.5285 GB, free: 13.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002657/0.2922, allocations: 315.8 kB / 0.5288 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.415e-05/0.2923, allocations: 86.06 kB / 0.5288 GB, free: 13.4 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.526e-05/0.2924, allocations: 211.8 kB / 0.529 GB, free: 13.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.2925, allocations: 296 kB / 0.5293 GB, free: 13.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.2928, allocations: 222 kB / 0.5295 GB, free: 12.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.2928, allocations: 326.5 kB / 0.5298 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.2933, allocations: 339.9 kB / 0.5302 GB, free: 12.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006092/0.2939, allocations: 0.8855 MB / 0.531 GB, free: 11.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.2958, allocations: 1.782 MB / 0.5328 GB, free: 10.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.2958, allocations: 5.219 kB / 0.5328 GB, free: 10.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.001918/0.2977, allocations: 1.502 MB / 0.5342 GB, free: 9.898 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2e-05/0.2977, allocations: 13.09 kB / 0.5343 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.473e-05/0.2978, allocations: 17.47 kB / 0.5343 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.105e-05/0.2978, allocations: 29.69 kB / 0.5343 GB, free: 9.898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006427/0.2984, allocations: 219.6 kB / 0.5345 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.468e-05/0.2985, allocations: 43.09 kB / 0.5346 GB, free: 9.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003927/0.2989, allocations: 114.3 kB / 0.5347 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.299, allocations: 67.03 kB / 0.5347 GB, free: 9.758 MB / 382.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.0004892/0.2995, allocations: 495.5 kB / 0.5352 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.2995, allocations: 61.38 kB / 0.5353 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.67e-05/0.2996, allocations: 42.56 kB / 0.5353 GB, free: 9.418 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.2996, allocations: 10.5 kB / 0.5353 GB, free: 9.414 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.2996, allocations: 3.938 kB / 0.5353 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.2996, allocations: 4.312 kB / 0.5353 GB, free: 9.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00179/0.3014, allocations: 1.962 MB / 0.5372 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.3015, allocations: 1.625 kB / 0.5372 GB, free: 8.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002091/0.3017, allocations: 42.05 kB / 0.5373 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3017, allocations: 3.188 kB / 0.5373 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.3017, allocations: 21.3 kB / 0.5373 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.3017, allocations: 1.812 kB / 0.5373 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3017, allocations: 0.5156 kB / 0.5373 GB, free: 8.684 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001954/0.3037, allocations: 1.977 MB / 0.5392 GB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.3038, allocations: 138.7 kB / 0.5394 GB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.313e-05/0.3038, allocations: 18.94 kB / 0.5394 GB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.304, allocations: 11.11 kB / 0.5394 GB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.3041, allocations: 33.41 kB / 0.5394 GB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.271e-05/0.3041, allocations: 21.31 kB / 0.5394 GB, free: 7.902 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001567/0.3043, allocations: 206 kB / 0.5396 GB, free: 7.785 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3043, allocations: 1.406 kB / 0.5396 GB, free: 7.785 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006691/0.3049, allocations: 183.2 kB / 0.5398 GB, free: 7.742 MB / 382.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.002466/0.3074, allocations: 2.734 MB / 0.5425 GB, free: 6.551 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001236/0.3087, allocations: 1.057 MB / 0.5435 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3087, allocations: 0 / 0.5435 GB, free: 6.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003762/0.309, allocations: 418.9 kB / 0.5439 GB, free: 5.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004649/0.3095, allocations: 72.11 kB / 0.544 GB, free: 5.941 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.3161, allocations: 7.426 MB / 0.5512 GB, free: 15.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00043/0.3165, allocations: 0.8931 MB / 0.5521 GB, free: 14.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002244/0.3167, allocations: 106.5 kB / 0.5522 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002305/0.317, allocations: 195.4 kB / 0.5524 GB, free: 14.21 MB / 398.1 MB Notification: Performance of SimCode: time 4.41e-07/0.317, allocations: 3.938 kB / 0.5524 GB, free: 14.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02877/0.3458, allocations: 11.51 MB / 0.5636 GB, free: 3.383 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.856, allocations: 2.656 kB / 0.5636 GB, free: 3.383 MB / 398.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)