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_4.0.0_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 2.381/2.381, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.029e-05, allocations: 4 kB / 348.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5151, allocations: 90.01 MB / 0.4885 GB, free: 14.13 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.5154, allocations: 63.97 kB / 0.4886 GB, free: 14.07 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05569/0.5711, allocations: 13.24 MB / 0.5015 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.5712, allocations: 4 kB / 0.5015 GB, free: 0.8203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.473e-05/0.5712, allocations: 8 kB / 0.5015 GB, free: 0.8125 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.001434/0.5727, allocations: 0.7473 MB / 0.5023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.5727, allocations: 8.031 kB / 0.5023 GB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.5729, allocations: 55.42 kB / 0.5023 GB, free: 15.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.5741, allocations: 487.2 kB / 0.5028 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.866e-05/0.5741, allocations: 20.16 kB / 0.5028 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.47e-05/0.5742, allocations: 16 kB / 0.5028 GB, free: 15.37 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005168/0.5747, allocations: 256 kB / 0.5031 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.5747, allocations: 0 / 0.5031 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.675e-05/0.5748, allocations: 11.94 kB / 0.5031 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.857e-06/0.5748, allocations: 4 kB / 0.5031 GB, free: 15.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003/0.5751, allocations: 99.95 kB / 0.5032 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00163/0.5768, allocations: 0.9265 MB / 0.5041 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005951/0.5774, allocations: 283 kB / 0.5044 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002349/0.5776, allocations: 103.5 kB / 0.5045 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.5777, allocations: 7.984 kB / 0.5045 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004507/0.5781, allocations: 210.6 kB / 0.5047 GB, free: 13.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 3.53e-06/0.5782, allocations: 4 kB / 0.5047 GB, free: 13.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.000843/0.579, allocations: 316.8 kB / 0.505 GB, free: 12.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/0.5793, allocations: 346.1 kB / 0.5053 GB, free: 12.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.5804, allocations: 0.5748 MB / 0.5059 GB, free: 11.99 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.823e-05/0.5804, allocations: 33.7 kB / 0.5059 GB, free: 11.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000241/0.5807, allocations: 216.6 kB / 0.5061 GB, free: 11.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.5808, allocations: 75.16 kB / 0.5062 GB, free: 11.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.105e-05/0.5808, allocations: 4 kB / 0.5062 GB, free: 11.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.5811, allocations: 370.8 kB / 0.5065 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.5813, allocations: 75.98 kB / 0.5066 GB, free: 11.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004047/0.5817, allocations: 249.1 kB / 0.5068 GB, free: 10.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.582, allocations: 98 kB / 0.5069 GB, free: 10.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.735e-06/0.582, allocations: 3.938 kB / 0.5069 GB, free: 10.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007381/0.5827, allocations: 301.2 kB / 0.5072 GB, free: 10.51 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.5828, allocations: 7.984 kB / 0.5072 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.5828, allocations: 4 kB / 0.5072 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.5828, allocations: 3.953 kB / 0.5072 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.5832, allocations: 59.91 kB / 0.5073 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.5832, allocations: 4 kB / 0.5073 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003101/0.5836, allocations: 31.95 kB / 0.5073 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.5836, allocations: 12 kB / 0.5073 GB, free: 10.39 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.0001839/0.5838, allocations: 140.8 kB / 0.5075 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.584, allocations: 55.34 kB / 0.5075 GB, free: 10.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008924/0.5849, allocations: 353.6 kB / 0.5079 GB, free: 9.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.5849, allocations: 11.94 kB / 0.5079 GB, free: 9.828 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.5849, allocations: 3.953 kB / 0.5079 GB, free: 9.824 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.821e-06/0.5849, allocations: 4 kB / 0.5079 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.5856, allocations: 441.1 kB / 0.5083 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.129e-06/0.5856, allocations: 0 / 0.5083 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.5858, allocations: 27.98 kB / 0.5083 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.657e-06/0.5859, allocations: 7.922 kB / 0.5083 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.5859, allocations: 12 kB / 0.5084 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.307e-06/0.5859, allocations: 128 / 0.5084 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.234e-06/0.5859, allocations: 4 kB / 0.5084 GB, free: 9.289 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008222/0.5868, allocations: 418 kB / 0.5088 GB, free: 8.832 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002243/0.587, allocations: 156.5 kB / 0.5089 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5871, allocations: 12 kB / 0.5089 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.5874, allocations: 19.98 kB / 0.5089 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.5875, allocations: 39.95 kB / 0.509 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.014e-05/0.5876, allocations: 11.98 kB / 0.509 GB, free: 8.578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008173/0.5884, allocations: 465.5 kB / 0.5094 GB, free: 8.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.25e-07/0.5884, allocations: 0 / 0.5094 GB, free: 8.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006679/0.5891, allocations: 127.8 kB / 0.5096 GB, free: 8 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.001631/0.5908, allocations: 469.5 kB / 0.51 GB, free: 7.652 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0007098/0.5915, allocations: 248 kB / 0.5102 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.57e-06/0.5915, allocations: 4 kB / 0.5102 GB, free: 7.406 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004278/0.592, allocations: 179.8 kB / 0.5104 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/0.5927, allocations: 126.8 kB / 0.5105 GB, free: 7.113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.5942, allocations: 0.6232 MB / 0.5111 GB, free: 6.461 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006291/0.5949, allocations: 0.8549 MB / 0.512 GB, free: 5.574 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003847/0.5953, allocations: 95.2 kB / 0.5121 GB, free: 5.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/0.5955, allocations: 55.36 kB / 0.5121 GB, free: 5.426 MB / 426.7 MB Notification: Performance of SimCode: time 5.396e-06/0.5955, allocations: 0 / 0.5121 GB, free: 5.426 MB / 426.7 MB Notification: Performance of Templates: time 0.0203/0.6158, allocations: 7.321 MB / 0.5193 GB, free: 14.17 MB / 442.7 MB