Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboard,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestInputKeyboard") Notification: Performance of loadModel(Modelica_DeviceDrivers): time 2.098/2.098, allocations: 237.8 MB / 250.4 MB, free: 8.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.588e-05/3.597e-05, allocations: 4 kB / 306.6 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09647/0.09653, allocations: 53.26 MB / 359.9 MB, free: 5.598 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3989/0.4955, allocations: 81.08 MB / 441 MB, free: 9.695 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004043/0.4959, allocations: 71.95 kB / 441 MB, free: 9.625 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01238/0.5083, allocations: 1.638 MB / 442.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.183e-06/0.5084, allocations: 0 / 442.7 MB, free: 8.016 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.5084, allocations: 7.938 kB / 442.7 MB, free: 8.008 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0007971/0.5093, allocations: 366.4 kB / 443 MB, free: 7.605 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.928e-05/0.5094, allocations: 8.031 kB / 443 MB, free: 7.598 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.725e-05/0.5095, allocations: 7.906 kB / 443 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.5099, allocations: 190.8 kB / 443.2 MB, free: 7.363 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/0.51, allocations: 8 kB / 443.2 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.5101, allocations: 4 kB / 443.2 MB, free: 7.352 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.5105, allocations: 109.6 kB / 443.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.5106, allocations: 0 / 443.3 MB, free: 7.227 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.489e-05/0.5106, allocations: 4 kB / 443.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.69e-06/0.5107, allocations: 0 / 443.4 MB, free: 7.223 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002717/0.511, allocations: 55.91 kB / 443.4 MB, free: 7.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000866/0.5119, allocations: 301.6 kB / 443.7 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004387/0.5123, allocations: 113.3 kB / 443.8 MB, free: 6.691 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/0.5126, allocations: 54.42 kB / 443.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.5126, allocations: 3.938 kB / 443.9 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003978/0.5131, allocations: 114.8 kB / 444 MB, free: 6.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=20): time 4.756e-06/0.5131, allocations: 4 kB / 444 MB, free: 6.496 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.0007247/0.5138, allocations: 166.1 kB / 444.1 MB, free: 6.328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001387/0.514, allocations: 93.09 kB / 444.2 MB, free: 6.219 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.5143, allocations: 108.8 kB / 444.3 MB, free: 6.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.053e-05/0.5144, allocations: 37.7 kB / 444.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.5145, allocations: 88.08 kB / 444.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.5147, allocations: 43.42 kB / 444.5 MB, free: 5.93 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.5147, allocations: 8 kB / 444.5 MB, free: 5.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003056/0.515, allocations: 334.8 kB / 444.8 MB, free: 5.586 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.5154, allocations: 55.97 kB / 444.9 MB, free: 5.531 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.5159, allocations: 162.1 kB / 445.1 MB, free: 5.328 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.5164, allocations: 84.8 kB / 445.1 MB, free: 5.246 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.5164, allocations: 4 kB / 445.1 MB, free: 5.242 MB / 362.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001146/0.5176, allocations: 237.2 kB / 445.4 MB, free: 5.004 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.15e-05/0.5177, allocations: 8 kB / 445.4 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/0.5177, allocations: 4 kB / 445.4 MB, free: 4.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/0.5178, allocations: 4 kB / 445.4 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003003/0.5181, allocations: 27.92 kB / 445.4 MB, free: 4.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.784e-05/0.5181, allocations: 7.938 kB / 445.4 MB, free: 4.953 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002734/0.5184, allocations: 23.78 kB / 445.4 MB, free: 4.93 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.017e-05/0.5185, allocations: 12.25 kB / 445.5 MB, free: 4.918 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.keyboardInput.KeyCode[10],keyboardInput.KeyCode[10],$PRE.keyboardInput.KeyCode[9],keyboardInput.KeyCode[9],$PRE.keyboardInput.KeyCode[8],keyboardInput.KeyCode[8],$PRE.keyboardInput.KeyCode[7],keyboardInput.KeyCode[7],$whenCondition1,keyboardInput.keySpace,$PRE.keyboardInput.KeyCode[6],keyboardInput.KeyCode[6],keyboardInput.keyReturn,$PRE.keyboardInput.KeyCode[5],keyboardInput.KeyCode[5],keyboardInput.keyLeft,$PRE.keyboardInput.KeyCode[4],keyboardInput.KeyCode[4],keyboardInput.keyRight,$PRE.keyboardInput.KeyCode[3],keyboardInput.KeyCode[3],keyboardInput.keyDown,$PRE.keyboardInput.KeyCode[2],keyboardInput.KeyCode[2],keyboardInput.keyUp,$PRE.keyboardInput.KeyCode[1],keyboardInput.KeyCode[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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.0003009/0.5188, allocations: 148.2 kB / 445.6 MB, free: 4.766 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.067e-05/0.5189, allocations: 7.906 kB / 445.6 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.695e-05/0.519, allocations: 8.75 kB / 445.6 MB, free: 4.75 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.182e-06/0.5191, allocations: 4 kB / 445.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.5191, allocations: 0 / 445.6 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.5191, allocations: 3.984 kB / 445.6 MB, free: 4.742 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004659/0.5196, allocations: 201.5 kB / 445.8 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/0.5197, allocations: 0.75 kB / 445.8 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.5198, allocations: 4 kB / 445.8 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.567e-06/0.5198, allocations: 0 / 445.8 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/0.5199, allocations: 8 kB / 445.8 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.5199, allocations: 0 / 445.8 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.572e-06/0.5199, allocations: 4.375 kB / 445.8 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01603/0.536, allocations: 271.7 kB / 446.1 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.104e-05/0.5361, allocations: 89.03 kB / 446.2 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/0.5361, allocations: 4.047 kB / 446.2 MB, free: 4.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.679e-05/0.5362, allocations: 3.938 kB / 446.2 MB, free: 4.074 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.228e-05/0.5363, allocations: 15.98 kB / 446.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.5363, allocations: 4 kB / 446.2 MB, free: 4.055 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.196e-05/0.5364, allocations: 91.27 kB / 446.3 MB, free: 3.965 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.11e-07/0.5364, allocations: 0 / 446.3 MB, free: 3.965 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000412/0.5368, allocations: 39.94 kB / 446.4 MB, free: 3.926 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (synchronizeRealtime.dummyState) * Number of discrete variables: 17 ($whenCondition1,keyboardInput.keyUp,keyboardInput.keyDown,keyboardInput.keyRight,keyboardInput.keyLeft,keyboardInput.keyReturn,keyboardInput.keySpace,keyboardInput.KeyCode[1],keyboardInput.KeyCode[2],keyboardInput.KeyCode[3],keyboardInput.KeyCode[4],keyboardInput.KeyCode[5],keyboardInput.KeyCode[6],keyboardInput.KeyCode[7],keyboardInput.KeyCode[8],keyboardInput.KeyCode[9],keyboardInput.KeyCode[10]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.0007801/0.5376, allocations: 282.2 kB / 446.6 MB, free: 3.715 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004071/0.538, allocations: 173.8 kB / 446.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.5381, allocations: 0 / 446.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001412/0.5382, allocations: 89.62 kB / 446.9 MB, free: 3.445 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001308/0.5384, allocations: 4 kB / 446.9 MB, free: 3.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.5398, allocations: 402.4 kB / 447.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.5403, allocations: 0.709 MB / 448 MB, free: 2.289 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000104/0.5404, allocations: 25.19 kB / 448 MB, free: 2.266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/0.5404, allocations: 15.44 kB / 448 MB, free: 2.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.57e-06/0.5404, allocations: 0 / 448 MB, free: 2.25 MB / 362.7 MB Notification: Performance of Templates: time 0.005112/0.5456, allocations: 1.297 MB / 449.3 MB, free: 0.9648 MB / 362.7 MB