Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis.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_SimVis,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis,fileNamePrefix="DroneLibrary_DroneLibrary_Visualize_Inputs_Joystick_JoyStickInputs_SimVis",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.05908/0.05908, allocations: 12.03 MB / 27.66 MB, free: 1.852 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.0009191/0.0009191, allocations: 100 kB / 31.38 MB, free: 4.957 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.0009979/0.0009979, allocations: 196.3 kB / 35.21 MB, free: 1.137 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.255/1.255, allocations: 222.9 MB / 261.8 MB, free: 7.422 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/DroneLibrary 1.0.0/package.mo): time 0.05646/0.05646, allocations: 13.68 MB / 328.5 MB, free: 472 kB / 254.1 MB Notification: Skipped loading package Visualization (1.6,default) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Notification: Performance of FrontEnd - loaded program: time 0.02474/0.02474, allocations: 19.66 MB / 471.9 MB, free: 3.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2757, allocations: 55.39 MB / 0.515 GB, free: 19.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis): time 0.003614/0.2793, allocations: 3.346 MB / 0.5182 GB, free: 18.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006229/0.28, allocations: 0.5045 MB / 0.5187 GB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001294/0.2801, allocations: 14.28 kB / 0.5187 GB, free: 18.28 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002339/0.2803, allocations: 88.73 kB / 0.5188 GB, free: 18.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.2805, allocations: 57.38 kB / 0.5189 GB, free: 18.2 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002963/0.2808, allocations: 178.7 kB / 0.5191 GB, free: 18.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002911/0.2811, allocations: 376.9 kB / 0.5194 GB, free: 18.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002224/0.2813, allocations: 191.7 kB / 0.5196 GB, free: 18.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.165e-05/0.2814, allocations: 131.3 kB / 0.5197 GB, free: 18.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.2816, allocations: 158.1 kB / 0.5199 GB, free: 18.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.251e-05/0.2817, allocations: 32.83 kB / 0.5199 GB, free: 18.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.963e-05/0.2817, allocations: 57.38 kB / 0.52 GB, free: 18.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.2819, allocations: 168.2 kB / 0.5201 GB, free: 18 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.282, allocations: 238.4 kB / 0.5203 GB, free: 17.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005213/0.2826, allocations: 0.6101 MB / 0.5209 GB, free: 17.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.2826, allocations: 0 / 0.5209 GB, free: 17.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2826, allocations: 2.625 kB / 0.5209 GB, free: 17.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.2826, allocations: 0 / 0.5209 GB, free: 17.59 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.0009544/0.2836, allocations: 0.8648 MB / 0.5218 GB, free: 16.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.2836, allocations: 12.19 kB / 0.5218 GB, free: 16.94 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001173/0.2837, allocations: 108.1 kB / 0.5219 GB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.208e-05/0.2838, allocations: 76.67 kB / 0.522 GB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004547/0.2843, allocations: 398.5 kB / 0.5224 GB, free: 16.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.764e-05/0.2843, allocations: 35.75 kB / 0.5224 GB, free: 16.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.405e-05/0.2844, allocations: 50.53 kB / 0.5224 GB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007832/0.2852, allocations: 0.6056 MB / 0.523 GB, free: 16.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/0.2852, allocations: 9.156 kB / 0.523 GB, free: 16.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.183e-05/0.2853, allocations: 20.08 kB / 0.5231 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.2853, allocations: 11.78 kB / 0.5231 GB, free: 16.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005033/0.2858, allocations: 382.2 kB / 0.5234 GB, free: 16.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.2873, allocations: 1.653 MB / 0.525 GB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007471/0.288, allocations: 0.6236 MB / 0.5257 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.2884, allocations: 340.1 kB / 0.526 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.99e-05/0.2884, allocations: 11.08 kB / 0.526 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005127/0.2889, allocations: 454.7 kB / 0.5264 GB, free: 14.33 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.144e-06/0.2889, allocations: 2.562 kB / 0.5264 GB, free: 14.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=100): time 0.001894/0.2908, allocations: 1.872 MB / 0.5283 GB, free: 13.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.273e-05/0.2909, allocations: 163.6 kB / 0.5284 GB, free: 13.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002443/0.2912, allocations: 306.3 kB / 0.5287 GB, free: 13.5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.283e-05/0.2913, allocations: 89.5 kB / 0.5288 GB, free: 13.45 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.089e-05/0.2914, allocations: 211.6 kB / 0.529 GB, free: 13.27 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.2915, allocations: 299.9 kB / 0.5293 GB, free: 13.05 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002026/0.2918, allocations: 222.1 kB / 0.5295 GB, free: 12.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.134e-05/0.2918, allocations: 323.6 kB / 0.5298 GB, free: 12.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.2922, allocations: 336.6 kB / 0.5301 GB, free: 12.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006021/0.2928, allocations: 0.8832 MB / 0.531 GB, free: 11.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001851/0.2947, allocations: 1.772 MB / 0.5327 GB, free: 10.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/0.2947, allocations: 4.828 kB / 0.5327 GB, free: 10.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.001926/0.2966, allocations: 1.501 MB / 0.5342 GB, free: 9.953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.2967, allocations: 15.28 kB / 0.5342 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.2967, allocations: 18.97 kB / 0.5342 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.2967, allocations: 30.44 kB / 0.5342 GB, free: 9.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.2973, allocations: 214 kB / 0.5344 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.348e-05/0.2974, allocations: 43.17 kB / 0.5345 GB, free: 9.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003764/0.2978, allocations: 121.3 kB / 0.5346 GB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.255e-05/0.2978, allocations: 68.67 kB / 0.5347 GB, free: 9.809 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.0004871/0.2983, allocations: 490 kB / 0.5351 GB, free: 9.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.2984, allocations: 57.89 kB / 0.5352 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.098e-05/0.2985, allocations: 45.14 kB / 0.5352 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2985, allocations: 6.719 kB / 0.5352 GB, free: 9.473 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.2985, allocations: 5.281 kB / 0.5352 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.2985, allocations: 3.234 kB / 0.5352 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001792/0.3003, allocations: 1.961 MB / 0.5372 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.3003, allocations: 1.656 kB / 0.5372 GB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.3005, allocations: 44.11 kB / 0.5372 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.3005, allocations: 1.625 kB / 0.5372 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.294e-05/0.3006, allocations: 24.45 kB / 0.5372 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3006, allocations: 1.219 kB / 0.5372 GB, free: 8.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3006, allocations: 8.734 kB / 0.5372 GB, free: 8.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001928/0.3025, allocations: 1.976 MB / 0.5392 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.3026, allocations: 138.3 kB / 0.5393 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.3027, allocations: 20.47 kB / 0.5393 GB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.3028, allocations: 14.08 kB / 0.5393 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.116e-05/0.3029, allocations: 31.48 kB / 0.5394 GB, free: 7.953 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.189e-05/0.3029, allocations: 23.12 kB / 0.5394 GB, free: 7.949 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.3031, allocations: 192.7 kB / 0.5396 GB, free: 7.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3031, allocations: 0 / 0.5396 GB, free: 7.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000678/0.3038, allocations: 183.2 kB / 0.5397 GB, free: 7.801 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.002495/0.3063, allocations: 2.728 MB / 0.5424 GB, free: 6.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3075, allocations: 1.054 MB / 0.5434 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3075, allocations: 1.188 kB / 0.5434 GB, free: 6.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/0.3079, allocations: 419 kB / 0.5438 GB, free: 6.039 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004437/0.3083, allocations: 81.59 kB / 0.5439 GB, free: 5.996 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006336/0.3147, allocations: 7.379 MB / 0.5511 GB, free: 15.54 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.3151, allocations: 0.8905 MB / 0.552 GB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000216/0.3154, allocations: 111.7 kB / 0.5521 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.3156, allocations: 191.4 kB / 0.5523 GB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3156, allocations: 0 / 0.5523 GB, free: 14.34 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02895/0.3446, allocations: 11.39 MB / 0.5634 GB, free: 3.613 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.062, allocations: 10.17 kB / 0.5634 GB, free: 3.609 MB / 398.1 MB (rm -f DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis.pipe ; mkfifo DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis.pipe ; head -c 1048576 < DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis.pipe >> ../files/DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis.sim & python3 -m fmpy simulate --output-file DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis_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_SimVis.fmu > DroneLibrary_DroneLibrary.Visualize.Inputs.Joystick.JoyStickInputs_SimVis.pipe 2>&1)