Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009656/0.0009656, allocations: 84.22 kB / 20.98 MB, free: 3.57 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 165.3 kB / 24.29 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.037/1.037, allocations: 177.1 MB / 204.6 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03786/0.03786, allocations: 9.153 MB / 270.2 MB, free: 4.316 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 342.5 MB, free: 7.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.814e-05, allocations: 6.25 kB / 342.5 MB, free: 7.621 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick): time 0.003986/0.004014, allocations: 2.825 MB / 345.4 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006132/0.004627, allocations: 322.9 kB / 345.7 MB, free: 4.465 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.004757, allocations: 11.88 kB / 345.7 MB, free: 4.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.005017, allocations: 55.56 kB / 345.7 MB, free: 4.398 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.005179, allocations: 23.73 kB / 345.8 MB, free: 4.375 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.00545, allocations: 95.69 kB / 345.9 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.005656, allocations: 164 kB / 346 MB, free: 4.121 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.005831, allocations: 53.61 kB / 346.1 MB, free: 4.062 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.005938, allocations: 79.81 kB / 346.2 MB, free: 3.984 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001384/0.006076, allocations: 75.84 kB / 346.2 MB, free: 3.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.006111, allocations: 12 kB / 346.2 MB, free: 3.898 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.957e-05/0.006201, allocations: 43.86 kB / 346.3 MB, free: 3.855 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.006318, allocations: 143.6 kB / 346.4 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.019e-05/0.006408, allocations: 79.7 kB / 346.5 MB, free: 3.637 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003455/0.006754, allocations: 278.9 kB / 346.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.006757, allocations: 0 / 346.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006758, allocations: 0 / 346.8 MB, free: 3.363 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.006765, allocations: 7.875 kB / 346.8 MB, free: 3.355 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.0007672/0.007532, allocations: 0.6996 MB / 347.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.007572, allocations: 8.031 kB / 347.5 MB, free: 2.605 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.007694, allocations: 72.62 kB / 347.6 MB, free: 2.535 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.007964, allocations: 222 kB / 347.8 MB, free: 2.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.227e-05/0.007986, allocations: 25.02 kB / 347.8 MB, free: 2.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.993e-05/0.008026, allocations: 28.36 kB / 347.8 MB, free: 2.242 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003887/0.008414, allocations: 297.9 kB / 348.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.008426, allocations: 4.188 kB / 348.1 MB, free: 1.934 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.008446, allocations: 8.375 kB / 348.1 MB, free: 1.926 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.008458, allocations: 12.31 kB / 348.1 MB, free: 1.914 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.00862, allocations: 126 kB / 348.3 MB, free: 1.785 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005273/0.009147, allocations: 0.513 MB / 348.8 MB, free: 1.234 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.009414, allocations: 263 kB / 349 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.009525, allocations: 105 kB / 349.1 MB, free: 0.8438 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.8e-05/0.009553, allocations: 11.94 kB / 349.2 MB, free: 0.832 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002401/0.009793, allocations: 304.1 kB / 349.4 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of pre-optimization done (n=85): time 2.024e-06/0.009795, allocations: 0 / 349.4 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of matching and sorting (n=85): time 0.0008678/0.01066, allocations: 1.025 MB / 350.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.969e-05/0.01075, allocations: 161.6 kB / 350.6 MB, free: 15.31 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.0109, allocations: 249.8 kB / 350.9 MB, free: 15.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.321e-05/0.01096, allocations: 81.67 kB / 351 MB, free: 14.96 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.01104, allocations: 184.6 kB / 351.1 MB, free: 14.77 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.01119, allocations: 242.4 kB / 351.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.01136, allocations: 204.3 kB / 351.6 MB, free: 14.33 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.01152, allocations: 0.5547 MB / 352.1 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001624/0.01168, allocations: 110.2 kB / 352.2 MB, free: 13.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004798/0.01216, allocations: 0.823 MB / 353.1 MB, free: 12.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009575/0.01312, allocations: 1.202 MB / 354.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.01313, allocations: 4 kB / 354.3 MB, free: 10.99 MB / 282.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00101/0.01414, allocations: 0.8758 MB / 355.1 MB, free: 10.11 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.956e-05/0.01416, allocations: 12 kB / 355.2 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.321e-05/0.01419, allocations: 20.28 kB / 355.2 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.986e-05/0.01422, allocations: 24 kB / 355.2 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004623/0.01468, allocations: 260.2 kB / 355.4 MB, free: 9.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.496e-05/0.0147, allocations: 35.86 kB / 355.5 MB, free: 9.762 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.01492, allocations: 103.3 kB / 355.6 MB, free: 9.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.376e-05/0.01496, allocations: 59.98 kB / 355.6 MB, free: 9.602 MB / 282.7 MB Warning: Assuming fixed start value for the following 33 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * Number of states: 0 () * Number of discrete variables: 145 (joystickInput.pOV,$PRE.joystickInput.pOV,joystickInput.buttons[32],$PRE.joystickInput.buttons[32],joystickInput.buttons[31],$PRE.joystickInput.buttons[31],joystickInput.buttons[30],$PRE.joystickInput.buttons[30],joystickInput.buttons[29],$PRE.joystickInput.buttons[29],joystickInput.buttons[28],$PRE.joystickInput.buttons[28],joystickInput.buttons[27],$PRE.joystickInput.buttons[27],joystickInput.buttons[26],$PRE.joystickInput.buttons[26],joystickInput.buttons[25],$PRE.joystickInput.buttons[25],joystickInput.buttons[24],$PRE.joystickInput.buttons[24],joystickInput.buttons[23],$PRE.joystickInput.buttons[23],joystickInput.buttons[22],$PRE.joystickInput.buttons[22],joystickInput.buttons[21],$PRE.joystickInput.buttons[21],joystickInput.buttons[20],$PRE.joystickInput.buttons[20],joystickInput.buttons[19],$PRE.joystickInput.buttons[19],joystickInput.buttons[18],$PRE.joystickInput.buttons[18],joystickInput.buttons[17],$PRE.joystickInput.buttons[17],joystickInput.buttons[16],$PRE.joystickInput.buttons[16],joystickInput.buttons[15],$PRE.joystickInput.buttons[15],joystickInput.buttons[14],$PRE.joystickInput.buttons[14],joystickInput.buttons[13],$PRE.joystickInput.buttons[13],joystickInput.buttons[12],$PRE.joystickInput.buttons[12],joystickInput.buttons[11],$PRE.joystickInput.buttons[11],joystickInput.buttons[10],$PRE.joystickInput.buttons[10],joystickInput.buttons[9],$PRE.joystickInput.buttons[9],joystickInput.buttons[8],$PRE.joystickInput.buttons[8],joystickInput.buttons[7],$PRE.joystickInput.buttons[7],joystickInput.buttons[6],$PRE.joystickInput.buttons[6],joystickInput.buttons[5],$PRE.joystickInput.buttons[5],joystickInput.buttons[4],$PRE.joystickInput.buttons[4],joystickInput.buttons[3],$PRE.joystickInput.buttons[3],joystickInput.buttons[2],$PRE.joystickInput.buttons[2],joystickInput.buttons[1],$PRE.joystickInput.buttons[1],$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],$whenCondition1,joystickInput.AxesRaw[6],$PRE.joystickInput.AxesRaw[6],joystickInput.AxesRaw[5],$PRE.joystickInput.AxesRaw[5],joystickInput.AxesRaw[4],$PRE.joystickInput.AxesRaw[4],joystickInput.AxesRaw[3],$PRE.joystickInput.AxesRaw[3],joystickInput.AxesRaw[2],$PRE.joystickInput.AxesRaw[2],joystickInput.AxesRaw[1],$PRE.joystickInput.AxesRaw[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * 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.0003484/0.01531, allocations: 458.2 kB / 356.1 MB, free: 9.125 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/0.01536, allocations: 59.69 kB / 356.1 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.0154, allocations: 28.3 kB / 356.2 MB, free: 9.035 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01541, allocations: 4 kB / 356.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.01541, allocations: 0 / 356.2 MB, free: 9.031 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01542, allocations: 7.938 kB / 356.2 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.01559, allocations: 236.8 kB / 356.4 MB, free: 8.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.0156, allocations: 4 kB / 356.4 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.01564, allocations: 12 kB / 356.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01564, allocations: 0 / 356.4 MB, free: 8.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.01566, allocations: 15.92 kB / 356.5 MB, free: 8.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.01566, allocations: 4 kB / 356.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.01566, allocations: 0 / 356.5 MB, free: 8.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000771/0.01643, allocations: 0.9547 MB / 357.4 MB, free: 7.742 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.118e-05/0.01646, allocations: 43.58 kB / 357.5 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.01649, allocations: 15.92 kB / 357.5 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.606e-05/0.01653, allocations: 15.98 kB / 357.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.01657, allocations: 23.97 kB / 357.5 MB, free: 7.645 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.01659, allocations: 15.98 kB / 357.5 MB, free: 7.629 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.689e-05/0.01666, allocations: 159.8 kB / 357.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01666, allocations: 0 / 357.7 MB, free: 7.473 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004113/0.01707, allocations: 143.9 kB / 357.8 MB, free: 7.332 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (44): * Single equations (assignments): 9 * 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.0005368/0.0176, allocations: 323.7 kB / 358.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006149/0.01822, allocations: 0.5676 MB / 358.7 MB, free: 6.508 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.01822, allocations: 4.062 kB / 358.7 MB, free: 6.504 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.01839, allocations: 212 kB / 358.9 MB, free: 6.289 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001616/0.01856, allocations: 31.91 kB / 358.9 MB, free: 6.258 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008068/0.01936, allocations: 0.6915 MB / 359.6 MB, free: 5.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.01943, allocations: 126.9 kB / 359.8 MB, free: 5.383 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.01954, allocations: 64.39 kB / 359.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.0196, allocations: 40.5 kB / 359.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.0196, allocations: 0 / 359.9 MB, free: 5.277 MB / 282.7 MB Notification: Performance of Templates: time 0.007126/0.02673, allocations: 4.873 MB / 364.7 MB, free: 432 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick -abortSlowSimulation -alarm=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputJoystick.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 2.9219968628603965]