Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputSpaceMouse") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.082/2.082, allocations: 237.8 MB / 250.4 MB, free: 8.516 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.569e-05, allocations: 4 kB / 306.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.0961, allocations: 53.27 MB / 359.9 MB, free: 5.582 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3751/0.4712, allocations: 81.49 MB / 441.4 MB, free: 9.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.4715, allocations: 68.53 kB / 441.4 MB, free: 9.219 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01529/0.4868, allocations: 3.675 MB / 445.1 MB, free: 5.551 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.062e-06/0.4869, allocations: 0 / 445.1 MB, free: 5.551 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.712e-05/0.4869, allocations: 8 kB / 445.1 MB, free: 5.543 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0008461/0.4878, allocations: 0.5064 MB / 445.6 MB, free: 4.992 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4878, allocations: 12.03 kB / 445.6 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.004e-05/0.4879, allocations: 23.72 kB / 445.7 MB, free: 4.957 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004022/0.4883, allocations: 250.4 kB / 445.9 MB, free: 4.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.4884, allocations: 7.953 kB / 445.9 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.871e-05/0.4884, allocations: 15.91 kB / 445.9 MB, free: 4.648 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004626/0.4889, allocations: 237 kB / 446.2 MB, free: 4.398 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.4889, allocations: 11.94 kB / 446.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.286e-05/0.489, allocations: 0 / 446.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.439e-06/0.489, allocations: 0 / 446.2 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.4893, allocations: 156.2 kB / 446.3 MB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000922/0.4902, allocations: 0.5557 MB / 446.9 MB, free: 3.621 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002067/0.4923, allocations: 0.5367 MB / 447.4 MB, free: 3.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.4926, allocations: 146 kB / 447.6 MB, free: 2.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.4927, allocations: 4 kB / 447.6 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004015/0.4931, allocations: 216.9 kB / 447.8 MB, free: 2.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 3.241e-06/0.4931, allocations: 0 / 447.8 MB, free: 2.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.0009314/0.494, allocations: 412.8 kB / 448.2 MB, free: 2.273 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4942, allocations: 113 kB / 448.3 MB, free: 2.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00029/0.4945, allocations: 187.1 kB / 448.5 MB, free: 1.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.4946, allocations: 53.62 kB / 448.5 MB, free: 1.898 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.4947, allocations: 124.7 kB / 448.6 MB, free: 1.773 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.4949, allocations: 110.6 kB / 448.8 MB, free: 1.664 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.4949, allocations: 8 kB / 448.8 MB, free: 1.656 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.4951, allocations: 350.8 kB / 449.1 MB, free: 1.305 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003934/0.4955, allocations: 193 kB / 449.3 MB, free: 1.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005778/0.4961, allocations: 372.3 kB / 449.7 MB, free: 0.668 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005318/0.4967, allocations: 267.7 kB / 449.9 MB, free: 416 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.038e-06/0.4967, allocations: 0 / 449.9 MB, free: 416 kB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001289/0.498, allocations: 0.5945 MB / 450.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.498, allocations: 7.953 kB / 450.5 MB, free: 15.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.4981, allocations: 8 kB / 450.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.793e-05/0.4981, allocations: 8 kB / 450.5 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.4985, allocations: 87.83 kB / 450.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.378e-05/0.4986, allocations: 15.94 kB / 450.6 MB, free: 15.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.4989, allocations: 47.58 kB / 450.7 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-05/0.4989, allocations: 24 kB / 450.7 MB, free: 15.61 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.spaceMouseInput.buttons[16],spaceMouseInput.buttons[16],$PRE.spaceMouseInput.buttons[15],spaceMouseInput.buttons[15],$PRE.spaceMouseInput.buttons[14],spaceMouseInput.buttons[14],$PRE.spaceMouseInput.buttons[13],spaceMouseInput.buttons[13],$PRE.spaceMouseInput.buttons[12],spaceMouseInput.buttons[12],$PRE.spaceMouseInput.buttons[11],spaceMouseInput.buttons[11],$PRE.spaceMouseInput.buttons[10],spaceMouseInput.buttons[10],$PRE.spaceMouseInput.buttons[9],spaceMouseInput.buttons[9],$PRE.spaceMouseInput.buttons[8],spaceMouseInput.buttons[8],$PRE.spaceMouseInput.buttons[7],spaceMouseInput.buttons[7],$PRE.spaceMouseInput.buttons[6],spaceMouseInput.buttons[6],$PRE.spaceMouseInput.buttons[5],spaceMouseInput.buttons[5],$PRE.spaceMouseInput.buttons[4],spaceMouseInput.buttons[4],$PRE.spaceMouseInput.buttons[3],spaceMouseInput.buttons[3],$PRE.spaceMouseInput.buttons[2],spaceMouseInput.buttons[2],$PRE.spaceMouseInput.buttons[1],spaceMouseInput.buttons[1],$whenCondition1,$PRE.spaceMouseInput.AxesRaw[6],spaceMouseInput.AxesRaw[6],$PRE.spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[5],$PRE.spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[4],$PRE.spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[3],$PRE.spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[2],$PRE.spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002412/0.4992, allocations: 164.4 kB / 450.9 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.117e-05/0.4993, allocations: 28.08 kB / 450.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001124/0.4994, allocations: 42.7 kB / 450.9 MB, free: 15.37 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.173e-06/0.4994, allocations: 8 kB / 450.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.014e-06/0.4994, allocations: 0 / 450.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.478e-06/0.4994, allocations: 4 kB / 450.9 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004497/0.4999, allocations: 301.4 kB / 451.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.501e-06/0.4999, allocations: 0 / 451.2 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002573/0.5002, allocations: 31.97 kB / 451.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.975e-06/0.5002, allocations: 0 / 451.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-05/0.5003, allocations: 4 kB / 451.3 MB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.5003, allocations: 15.83 kB / 451.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.438e-06/0.5003, allocations: 3.938 kB / 451.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.5014, allocations: 0.6324 MB / 451.9 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.5016, allocations: 104.8 kB / 452 MB, free: 14.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.226e-05/0.5016, allocations: 11.95 kB / 452 MB, free: 14.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.5018, allocations: 7.984 kB / 452 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.5018, allocations: 11.98 kB / 452.1 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.5019, allocations: 4 kB / 452.1 MB, free: 14.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001966/0.5021, allocations: 153.5 kB / 452.2 MB, free: 14 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.5021, allocations: 0 / 452.2 MB, free: 14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000536/0.5026, allocations: 80.05 kB / 452.3 MB, free: 13.92 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 7 (spaceMouseInput.firstOrder[1].y,spaceMouseInput.firstOrder[2].y,spaceMouseInput.firstOrder[3].y,spaceMouseInput.firstOrder[4].y,spaceMouseInput.firstOrder[5].y,spaceMouseInput.firstOrder[6].y,synchronizeRealtime.dummyState) * Number of discrete variables: 23 ($whenCondition1,spaceMouseInput.buttons[1],spaceMouseInput.buttons[2],spaceMouseInput.buttons[3],spaceMouseInput.buttons[4],spaceMouseInput.buttons[5],spaceMouseInput.buttons[6],spaceMouseInput.buttons[7],spaceMouseInput.buttons[8],spaceMouseInput.buttons[9],spaceMouseInput.buttons[10],spaceMouseInput.buttons[11],spaceMouseInput.buttons[12],spaceMouseInput.buttons[13],spaceMouseInput.buttons[14],spaceMouseInput.buttons[15],spaceMouseInput.buttons[16],spaceMouseInput.AxesRaw[1],spaceMouseInput.AxesRaw[2],spaceMouseInput.AxesRaw[3],spaceMouseInput.AxesRaw[4],spaceMouseInput.AxesRaw[5],spaceMouseInput.AxesRaw[6]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008781/0.5035, allocations: 291.7 kB / 452.6 MB, free: 13.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008929/0.5044, allocations: 429 kB / 453 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.275e-06/0.5045, allocations: 1.25 kB / 453 MB, free: 13.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000293/0.5048, allocations: 185.6 kB / 453.2 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000344/0.5051, allocations: 51.16 kB / 453.2 MB, free: 13.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002279/0.5074, allocations: 0.7225 MB / 454 MB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005219/0.508, allocations: 0.7955 MB / 454.7 MB, free: 11.47 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002712/0.5083, allocations: 74 kB / 454.8 MB, free: 11.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.048e-05/0.5083, allocations: 23.44 kB / 454.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of SimCode: time 3.922e-06/0.5084, allocations: 0 / 454.8 MB, free: 11.38 MB / 378.7 MB Notification: Performance of Templates: time 0.008922/0.5173, allocations: 2.791 MB / 457.6 MB, free: 8.602 MB / 378.7 MB