Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.index|integerTable.nextTime|integerTable.y|integerTable2.index|integerTable2.nextTime|integerTable2.y|integerTable3.index|integerTable3.nextTime|integerTable3.y|integerTable4.index|integerTable4.nextTime|integerTable4.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.109e-05/3.1e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3657/0.3657, allocations: 54.86 MB / 362.8 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.00208/0.3678, allocations: 1.129 MB / 364 MB, free: 11.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001209/0.3691, allocations: 466.6 kB / 364.4 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.453e-05/0.3692, allocations: 5.375 kB / 364.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001794/0.3694, allocations: 46.2 kB / 364.5 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.3695, allocations: 56.16 kB / 364.5 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001522/0.3711, allocations: 348.2 kB / 364.9 MB, free: 10.49 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001555/0.3712, allocations: 48.91 kB / 364.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.366e-05/0.3713, allocations: 1.5 kB / 364.9 MB, free: 10.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.3714, allocations: 49.22 kB / 365 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.3716, allocations: 81.69 kB / 365.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005484/0.3722, allocations: 198 kB / 365.2 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.3723, allocations: 18.12 kB / 365.3 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.704e-05/0.3724, allocations: 34 kB / 365.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.879e-05/0.3724, allocations: 5.5 kB / 365.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.3728, allocations: 182.1 kB / 365.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3729, allocations: 5.281 kB / 365.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3729, allocations: 0 / 365.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.296e-05/0.3729, allocations: 4 kB / 365.5 MB, free: 10.18 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009977/0.3739, allocations: 0.5296 MB / 366 MB, free: 9.629 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.374, allocations: 9.562 kB / 366 MB, free: 9.629 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.036e-05/0.3741, allocations: 19.05 kB / 366 MB, free: 9.617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.3742, allocations: 190.1 kB / 366.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.948e-05/0.3743, allocations: 12.33 kB / 366.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.3744, allocations: 5.844 kB / 366.2 MB, free: 9.391 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.3752, allocations: 177.7 kB / 366.4 MB, free: 9.262 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3752, allocations: 3.938 kB / 366.4 MB, free: 9.258 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.3753, allocations: 5.312 kB / 366.4 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.283e-06/0.3753, allocations: 1.5 kB / 366.4 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.3756, allocations: 69.94 kB / 366.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003715/0.376, allocations: 251.5 kB / 366.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005271/0.3765, allocations: 183.5 kB / 366.9 MB, free: 8.816 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.3765, allocations: 5.062 kB / 366.9 MB, free: 8.812 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005596/0.3771, allocations: 209.7 kB / 367.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 3.066e-06/0.3771, allocations: 0 / 367.1 MB, free: 8.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001314/0.3785, allocations: 391.3 kB / 367.5 MB, free: 8.504 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.882e-05/0.3786, allocations: 141.9 kB / 367.7 MB, free: 8.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.3789, allocations: 170.1 kB / 367.8 MB, free: 8.211 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/0.3789, allocations: 33.7 kB / 367.9 MB, free: 8.176 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3791, allocations: 165.5 kB / 368 MB, free: 8.016 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.3791, allocations: 33.19 kB / 368.1 MB, free: 7.988 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.3792, allocations: 6.188 kB / 368.1 MB, free: 7.984 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3793, allocations: 325.2 kB / 368.4 MB, free: 7.66 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.3795, allocations: 57.73 kB / 368.4 MB, free: 7.641 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3797, allocations: 100.9 kB / 368.5 MB, free: 7.574 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000251/0.3799, allocations: 184.7 kB / 368.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.38, allocations: 0 / 368.7 MB, free: 7.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006522/0.3806, allocations: 358.9 kB / 369.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.3807, allocations: 128.7 kB / 369.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.3808, allocations: 1.031 kB / 369.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/0.3808, allocations: 2.312 kB / 369.2 MB, free: 7.043 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.954e-05/0.3809, allocations: 11.53 kB / 369.2 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.3809, allocations: 2 kB / 369.2 MB, free: 7.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.3811, allocations: 24.72 kB / 369.2 MB, free: 7.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.934e-05/0.3811, allocations: 11.31 kB / 369.2 MB, free: 7.016 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 ($whenCondition4,$PRE.integerTable4.y,integerTable4.y,$PRE.integerTable4.nextTime,integerTable4.nextTime,$PRE.integerTable4.index,integerTable4.index,$whenCondition3,$PRE.integerTable3.y,integerTable3.y,$PRE.integerTable3.nextTime,integerTable3.nextTime,$PRE.integerTable3.index,integerTable3.index,$whenCondition2,$PRE.integerTable2.y,integerTable2.y,$PRE.integerTable2.nextTime,integerTable2.nextTime,$PRE.integerTable2.index,integerTable2.index,$whenCondition1,$PRE.integerTable.y,integerTable.y,$PRE.integerTable.nextTime,integerTable.nextTime,$PRE.integerTable.index,integerTable.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0002336/0.3813, allocations: 148.7 kB / 369.4 MB, free: 6.883 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.3814, allocations: 10.53 kB / 369.4 MB, free: 6.879 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.49e-05/0.3815, allocations: 26.89 kB / 369.4 MB, free: 6.852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.3815, allocations: 7.938 kB / 369.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.3815, allocations: 4 kB / 369.4 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.3815, allocations: 4 kB / 369.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002901/0.3818, allocations: 229.4 kB / 369.7 MB, free: 6.562 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.3818, allocations: 3.938 kB / 369.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.406e-05/0.3819, allocations: 0 / 369.7 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.3819, allocations: 4 kB / 369.7 MB, free: 6.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.996e-05/0.3819, allocations: 12.23 kB / 369.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.3819, allocations: 0 / 369.7 MB, free: 6.543 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/0.382, allocations: 8 kB / 369.7 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009606/0.3829, allocations: 384.4 kB / 370.1 MB, free: 6.113 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.3831, allocations: 88.95 kB / 370.1 MB, free: 6.008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.3831, allocations: 19.94 kB / 370.2 MB, free: 5.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.3833, allocations: 15.98 kB / 370.2 MB, free: 5.973 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.118e-05/0.3834, allocations: 7.984 kB / 370.2 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.634e-05/0.3835, allocations: 31.95 kB / 370.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001817/0.3837, allocations: 131.2 kB / 370.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.3837, allocations: 0 / 370.4 MB, free: 5.805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.3843, allocations: 84 kB / 370.4 MB, free: 5.723 MB / 298.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,integerTable4.y,integerTable4.nextTime,integerTable4.index,$whenCondition3,integerTable3.y,integerTable3.nextTime,integerTable3.index,$whenCondition2,integerTable2.y,integerTable2.nextTime,integerTable2.index,$whenCondition1,integerTable.y,integerTable.nextTime,integerTable.index) * Number of discrete states: 8 (integerTable.index,integerTable.nextTime,integerTable2.index,integerTable2.nextTime,integerTable3.index,integerTable3.nextTime,integerTable4.index,integerTable4.nextTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.0005585/0.3849, allocations: 199 kB / 370.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008307/0.3857, allocations: 421.5 kB / 371 MB, free: 5.059 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3857, allocations: 0 / 371 MB, free: 5.059 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.3861, allocations: 96.17 kB / 371.1 MB, free: 4.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.3863, allocations: 13.39 kB / 371.1 MB, free: 4.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.3873, allocations: 386.4 kB / 371.5 MB, free: 4.531 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.3877, allocations: 0.716 MB / 372.2 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.3878, allocations: 19.44 kB / 372.3 MB, free: 3.77 MB / 298.7 MB Notification: Performance of SimCode: time 8.62e-07/0.3878, allocations: 4 kB / 372.3 MB, free: 3.766 MB / 298.7 MB Notification: Performance of Templates: time 0.007628/0.3955, allocations: 2.653 MB / 374.9 MB, free: 1.117 MB / 298.7 MB