Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.548e-05/3.554e-05, allocations: 4 kB / 273.1 MB, free: 172 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4373/0.5485, allocations: 73.86 MB / 395.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/0.5488, allocations: 63.97 kB / 395.8 MB, free: 15.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02306/0.5719, allocations: 4.44 MB / 400.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.5719, allocations: 3.938 kB / 400.2 MB, free: 11.29 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.572, allocations: 8 kB / 400.2 MB, free: 11.28 MB / 330.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.001018/0.573, allocations: 0.5399 MB / 400.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/0.5731, allocations: 8.031 kB / 400.8 MB, free: 10.66 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.235e-05/0.5731, allocations: 42.55 kB / 400.8 MB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.571e-05/0.5732, allocations: 11.91 kB / 400.8 MB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.5734, allocations: 182.8 kB / 401 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.564e-05/0.5734, allocations: 7.984 kB / 401 MB, free: 10.38 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.5735, allocations: 8 kB / 401 MB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003852/0.5739, allocations: 165 kB / 401.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5739, allocations: 0 / 401.2 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.5739, allocations: 3.984 kB / 401.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.574, allocations: 4 kB / 401.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.5741, allocations: 59.92 kB / 401.3 MB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003494/0.5745, allocations: 268.1 kB / 401.5 MB, free: 9.801 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003473/0.5749, allocations: 166.5 kB / 401.7 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001802/0.5751, allocations: 79.52 kB / 401.8 MB, free: 9.512 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.5751, allocations: 15.86 kB / 401.8 MB, free: 9.496 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004212/0.5755, allocations: 186.7 kB / 402 MB, free: 9.289 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.5755, allocations: 7.938 kB / 402 MB, free: 9.281 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008094/0.5764, allocations: 293.3 kB / 402.2 MB, free: 8.988 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/0.5765, allocations: 140.5 kB / 402.4 MB, free: 8.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002205/0.5767, allocations: 165.3 kB / 402.5 MB, free: 8.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.566e-05/0.5768, allocations: 33.7 kB / 402.6 MB, free: 8.613 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.558e-05/0.5769, allocations: 108.1 kB / 402.7 MB, free: 8.504 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.392e-05/0.5769, allocations: 43.53 kB / 402.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.577, allocations: 0 / 402.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.5771, allocations: 330.8 kB / 403 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001944/0.5773, allocations: 72.2 kB / 403.1 MB, free: 8.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002295/0.5776, allocations: 107.8 kB / 403.2 MB, free: 7.938 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/0.5779, allocations: 190.8 kB / 403.4 MB, free: 7.727 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.772e-06/0.5779, allocations: 4 kB / 403.4 MB, free: 7.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007987/0.5787, allocations: 408.1 kB / 403.8 MB, free: 7.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.5788, allocations: 126.8 kB / 403.9 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.003e-05/0.5789, allocations: 4 kB / 403.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.5789, allocations: 7.938 kB / 403.9 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.905e-05/0.5789, allocations: 3.938 kB / 404 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.35e-05/0.579, allocations: 4 kB / 404 MB, free: 7.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001557/0.5791, allocations: 15.91 kB / 404 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.5792, allocations: 19.98 kB / 404 MB, free: 7.09 MB / 330.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.0001581/0.5794, allocations: 128.5 kB / 404.1 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.586e-05/0.5794, allocations: 15.81 kB / 404.1 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.092e-05/0.5795, allocations: 23.95 kB / 404.2 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.024e-06/0.5795, allocations: 4 kB / 404.2 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5795, allocations: 0 / 404.2 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.5796, allocations: 0 / 404.2 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.5798, allocations: 225.5 kB / 404.4 MB, free: 6.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5799, allocations: 7.938 kB / 404.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.5799, allocations: 0 / 404.4 MB, free: 6.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.5799, allocations: 4.25 kB / 404.4 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.554e-05/0.5799, allocations: 3.984 kB / 404.4 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.5799, allocations: 8 kB / 404.4 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.58, allocations: 4 kB / 404.4 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007623/0.5807, allocations: 372.6 kB / 404.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.5808, allocations: 96.91 kB / 404.9 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/0.5809, allocations: 8 kB / 404.9 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.5811, allocations: 11.98 kB / 404.9 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.692e-05/0.5812, allocations: 23.92 kB / 404.9 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.5813, allocations: 19.97 kB / 404.9 MB, free: 6.031 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001623/0.5814, allocations: 140.1 kB / 405.1 MB, free: 5.895 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.5814, allocations: 4 kB / 405.1 MB, free: 5.891 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006132/0.5821, allocations: 99.86 kB / 405.2 MB, free: 5.793 MB / 330.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.001635/0.5837, allocations: 1.201 MB / 406.4 MB, free: 4.543 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006755/0.5844, allocations: 405.5 kB / 406.8 MB, free: 4.098 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.5844, allocations: 0 / 406.8 MB, free: 4.098 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.5847, allocations: 87.91 kB / 406.8 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.5849, allocations: 15.89 kB / 406.9 MB, free: 3.996 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.586, allocations: 350.9 kB / 407.2 MB, free: 3.609 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5863, allocations: 0.7199 MB / 407.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4e-05/0.5864, allocations: 8.875 kB / 407.9 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.67e-05/0.5865, allocations: 35.42 kB / 408 MB, free: 2.816 MB / 330.7 MB Notification: Performance of SimCode: time 8.91e-07/0.5865, allocations: 0 / 408 MB, free: 2.816 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03169/0.6182, allocations: 3.986 MB / 412 MB, free: 14.89 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003196/0.6186, allocations: 141.5 kB / 412.1 MB, free: 14.66 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.498/3.117, allocations: 0 / 412.1 MB, free: 14.66 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat