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_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 2.739/2.739, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.119e-05, allocations: 4 kB / 308 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4111, allocations: 54.86 MB / 362.9 MB, free: 12.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.002736/0.4139, allocations: 1.133 MB / 364 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.4155, allocations: 469.1 kB / 364.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.226e-05/0.4156, allocations: 0 / 364.5 MB, free: 10.98 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.4158, allocations: 51.77 kB / 364.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.416, allocations: 54.66 kB / 364.6 MB, free: 10.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002016/0.418, allocations: 353 kB / 364.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.4182, allocations: 48.45 kB / 365 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.918e-05/0.4183, allocations: 5.422 kB / 365 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.4184, allocations: 41.66 kB / 365 MB, free: 10.65 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002628/0.4187, allocations: 86.12 kB / 365.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006547/0.4194, allocations: 194.5 kB / 365.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001391/0.4195, allocations: 16.97 kB / 365.3 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.4196, allocations: 37.59 kB / 365.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.4197, allocations: 9.969 kB / 365.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005361/0.4203, allocations: 191.3 kB / 365.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4203, allocations: 0 / 365.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.997e-06/0.4203, allocations: 1 kB / 365.5 MB, free: 10.39 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.4203, allocations: 0 / 365.5 MB, free: 10.39 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.001297/0.4216, allocations: 0.5297 MB / 366.1 MB, free: 9.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.4217, allocations: 9.5 kB / 366.1 MB, free: 9.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.4218, allocations: 23.56 kB / 366.1 MB, free: 9.824 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.422, allocations: 181.2 kB / 366.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.4221, allocations: 4.156 kB / 366.3 MB, free: 9.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.4222, allocations: 10.48 kB / 366.3 MB, free: 9.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.4229, allocations: 176.1 kB / 366.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.4229, allocations: 1.094 kB / 366.5 MB, free: 9.48 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.423, allocations: 5.188 kB / 366.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.423, allocations: 1.062 kB / 366.5 MB, free: 9.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003738/0.4234, allocations: 78.47 kB / 366.5 MB, free: 9.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.4238, allocations: 240.1 kB / 366.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000721/0.4246, allocations: 187.2 kB / 367 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.968e-05/0.4246, allocations: 2.25 kB / 367 MB, free: 9.039 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007098/0.4253, allocations: 217.7 kB / 367.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 4.058e-06/0.4254, allocations: 0 / 367.2 MB, free: 8.875 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001674/0.4271, allocations: 388.1 kB / 367.5 MB, free: 8.723 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001247/0.4272, allocations: 137.8 kB / 367.7 MB, free: 8.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.4275, allocations: 173.9 kB / 367.9 MB, free: 8.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/0.4276, allocations: 33.98 kB / 367.9 MB, free: 8.395 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.4277, allocations: 106.5 kB / 368 MB, free: 8.293 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.438e-05/0.4278, allocations: 36.89 kB / 368 MB, free: 8.262 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.4278, allocations: 2.188 kB / 368 MB, free: 8.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4281, allocations: 332 kB / 368.4 MB, free: 7.934 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.4283, allocations: 62.11 kB / 368.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.4285, allocations: 99.22 kB / 368.5 MB, free: 7.812 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003167/0.4289, allocations: 182.8 kB / 368.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.4289, allocations: 0 / 368.7 MB, free: 7.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008604/0.4298, allocations: 372.9 kB / 369.1 MB, free: 7.215 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.4299, allocations: 122.8 kB / 369.2 MB, free: 7.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.4299, allocations: 4 kB / 369.2 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.43, allocations: 0 / 369.2 MB, free: 7.066 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.027e-05/0.43, allocations: 7.938 kB / 369.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.4301, allocations: 0 / 369.2 MB, free: 7.059 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002023/0.4303, allocations: 35.78 kB / 369.2 MB, free: 7.023 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/0.4303, allocations: 8 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.0002457/0.4306, allocations: 148.4 kB / 369.4 MB, free: 6.859 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.369e-05/0.4307, allocations: 15.91 kB / 369.4 MB, free: 6.844 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.4308, allocations: 24.17 kB / 369.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-06/0.4308, allocations: 0 / 369.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.4308, allocations: 4 kB / 369.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.4308, allocations: 0 / 369.4 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003597/0.4312, allocations: 233.4 kB / 369.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.4312, allocations: 0 / 369.6 MB, free: 6.535 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.4312, allocations: 4 kB / 369.6 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.4313, allocations: 0 / 369.6 MB, free: 6.531 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.077e-05/0.4313, allocations: 11.98 kB / 369.7 MB, free: 6.52 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.647e-06/0.4313, allocations: 4 kB / 369.7 MB, free: 6.516 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.4313, allocations: 3.938 kB / 369.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.4326, allocations: 388.4 kB / 370 MB, free: 6.086 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.977e-05/0.4327, allocations: 88.95 kB / 370.1 MB, free: 5.98 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.614e-05/0.4328, allocations: 15.94 kB / 370.1 MB, free: 5.965 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002271/0.4331, allocations: 11.98 kB / 370.2 MB, free: 5.953 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-05/0.4332, allocations: 19.98 kB / 370.2 MB, free: 5.934 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/0.4333, allocations: 24.2 kB / 370.2 MB, free: 5.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000219/0.4335, allocations: 131.2 kB / 370.3 MB, free: 5.781 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.4336, allocations: 0 / 370.3 MB, free: 5.781 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0008394/0.4344, allocations: 83.98 kB / 370.4 MB, free: 5.699 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.0006981/0.4351, allocations: 196.2 kB / 370.6 MB, free: 5.5 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.4362, allocations: 429.4 kB / 371 MB, free: 5.031 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.4362, allocations: 4 kB / 371 MB, free: 5.027 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004716/0.4367, allocations: 95.89 kB / 371.1 MB, free: 4.934 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/0.437, allocations: 8 kB / 371.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.4382, allocations: 354.4 kB / 371.5 MB, free: 4.543 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000512/0.4388, allocations: 0.7199 MB / 372.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.068e-05/0.4388, allocations: 8.891 kB / 372.2 MB, free: 3.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.4389, allocations: 11.44 kB / 372.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of SimCode: time 3.627e-06/0.4389, allocations: 0 / 372.2 MB, free: 3.773 MB / 298.7 MB Notification: Performance of Templates: time 0.01074/0.4497, allocations: 2.524 MB / 374.7 MB, free: 1.258 MB / 298.7 MB