Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 2.434/2.434, allocations: 270.1 MB / 283.6 MB, free: 3.023 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.12e-05, allocations: 0 / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/0.5317, allocations: 90 MB / 0.4886 GB, free: 14.11 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/0.5319, allocations: 68.97 kB / 0.4886 GB, free: 14.04 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05705/0.589, allocations: 13.25 MB / 0.5016 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.971e-06/0.5891, allocations: 4 kB / 0.5016 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.238e-05/0.5891, allocations: 8 kB / 0.5016 GB, free: 0.7734 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001498/0.5906, allocations: 0.7513 MB / 0.5023 GB, free: 15.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.5907, allocations: 11.97 kB / 0.5023 GB, free: 15.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002279/0.591, allocations: 47.44 kB / 0.5024 GB, free: 15.88 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.5922, allocations: 487.2 kB / 0.5028 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.34e-05/0.5922, allocations: 16.23 kB / 0.5028 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.5923, allocations: 12 kB / 0.5029 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000547/0.5929, allocations: 252 kB / 0.5031 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.5929, allocations: 0 / 0.5031 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.13e-05/0.5929, allocations: 8 kB / 0.5031 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.593, allocations: 11.94 kB / 0.5031 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003042/0.5933, allocations: 107.9 kB / 0.5032 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001741/0.595, allocations: 0.9303 MB / 0.5041 GB, free: 13.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006354/0.5957, allocations: 283 kB / 0.5044 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.596, allocations: 99.53 kB / 0.5045 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.538e-05/0.596, allocations: 4 kB / 0.5045 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.5965, allocations: 210.7 kB / 0.5047 GB, free: 13.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.942e-06/0.5965, allocations: 0 / 0.5047 GB, free: 13.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009107/0.5974, allocations: 316.8 kB / 0.505 GB, free: 12.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002256/0.5977, allocations: 342.1 kB / 0.5053 GB, free: 12.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001122/0.5988, allocations: 0.5748 MB / 0.5059 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.5989, allocations: 37.64 kB / 0.5059 GB, free: 11.92 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002506/0.5991, allocations: 228.5 kB / 0.5061 GB, free: 11.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5993, allocations: 67.17 kB / 0.5062 GB, free: 11.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.212e-05/0.5993, allocations: 4 kB / 0.5062 GB, free: 11.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/0.5996, allocations: 366.8 kB / 0.5066 GB, free: 11.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002186/0.5998, allocations: 79.97 kB / 0.5066 GB, free: 11.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000402/0.6002, allocations: 245.1 kB / 0.5069 GB, free: 10.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002661/0.6005, allocations: 101.9 kB / 0.507 GB, free: 10.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.034e-06/0.6005, allocations: 0 / 0.507 GB, free: 10.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007884/0.6013, allocations: 301.3 kB / 0.5072 GB, free: 10.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.6013, allocations: 4 kB / 0.5073 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.6014, allocations: 8 kB / 0.5073 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.6014, allocations: 8.078 kB / 0.5073 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.6018, allocations: 55.91 kB / 0.5073 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.536e-05/0.6018, allocations: 7.938 kB / 0.5073 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.6022, allocations: 31.83 kB / 0.5074 GB, free: 10.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-05/0.6022, allocations: 11.98 kB / 0.5074 GB, free: 10.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001915/0.6024, allocations: 140.9 kB / 0.5075 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.6026, allocations: 55.34 kB / 0.5076 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009802/0.6036, allocations: 349.5 kB / 0.5079 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.674e-06/0.6036, allocations: 4 kB / 0.5079 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.362e-06/0.6036, allocations: 3.953 kB / 0.5079 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.6036, allocations: 7.984 kB / 0.5079 GB, free: 9.793 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006694/0.6043, allocations: 441.1 kB / 0.5083 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.407e-06/0.6043, allocations: 0 / 0.5083 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.6046, allocations: 39.91 kB / 0.5084 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.652e-06/0.6046, allocations: 4 kB / 0.5084 GB, free: 9.27 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/0.6047, allocations: 15.98 kB / 0.5084 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.6047, allocations: 0 / 0.5084 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.596e-06/0.6047, allocations: 0 / 0.5084 GB, free: 9.254 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008529/0.6055, allocations: 414 kB / 0.5088 GB, free: 8.801 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/0.6058, allocations: 152.5 kB / 0.5089 GB, free: 8.633 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.6059, allocations: 16 kB / 0.5089 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.6062, allocations: 23.92 kB / 0.509 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.6064, allocations: 39.94 kB / 0.509 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.6064, allocations: 12 kB / 0.509 GB, free: 8.543 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008698/0.6073, allocations: 469.5 kB / 0.5095 GB, free: 8.086 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.6073, allocations: 0 / 0.5095 GB, free: 8.086 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007288/0.6081, allocations: 127.8 kB / 0.5096 GB, free: 7.961 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001683/0.6098, allocations: 467.9 kB / 0.51 GB, free: 7.613 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007379/0.6105, allocations: 247.8 kB / 0.5103 GB, free: 7.371 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.318e-05/0.6105, allocations: 4 kB / 0.5103 GB, free: 7.367 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004148/0.611, allocations: 171.8 kB / 0.5104 GB, free: 7.199 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008718/0.6119, allocations: 120.3 kB / 0.5105 GB, free: 7.086 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.6134, allocations: 0.6236 MB / 0.5112 GB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.6141, allocations: 0.8509 MB / 0.512 GB, free: 5.547 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004501/0.6146, allocations: 96.33 kB / 0.5121 GB, free: 5.453 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/0.6148, allocations: 51.42 kB / 0.5121 GB, free: 5.402 MB / 426.7 MB Notification: Performance of SimCode: time 1.886e-06/0.6148, allocations: 3.938 kB / 0.5121 GB, free: 5.398 MB / 426.7 MB Notification: Performance of Templates: time 0.02727/0.6421, allocations: 7.329 MB / 0.5193 GB, free: 14.14 MB / 442.7 MB