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.009/2.009, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.911e-05/4.928e-05, allocations: 3.984 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1111, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.41/0.5212, allocations: 73.88 MB / 395.8 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002397/0.5215, allocations: 59.97 kB / 395.8 MB, free: 15.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02459/0.5461, allocations: 4.441 MB / 400.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.5462, allocations: 0 / 400.3 MB, free: 11.16 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.5462, allocations: 0 / 400.3 MB, free: 11.16 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.001128/0.5473, allocations: 0.5438 MB / 400.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.87e-05/0.5474, allocations: 8.031 kB / 400.8 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.678e-05/0.5475, allocations: 42.55 kB / 400.8 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.5476, allocations: 11.91 kB / 400.9 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.5478, allocations: 190.7 kB / 401 MB, free: 10.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.5478, allocations: 7.984 kB / 401.1 MB, free: 10.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.554e-05/0.5479, allocations: 8 kB / 401.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003993/0.5483, allocations: 157 kB / 401.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5483, allocations: 0 / 401.2 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.983e-05/0.5484, allocations: 7.984 kB / 401.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.5484, allocations: 3.938 kB / 401.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.5486, allocations: 59.98 kB / 401.3 MB, free: 9.988 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/0.549, allocations: 264.2 kB / 401.5 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00035/0.5493, allocations: 166.5 kB / 401.7 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.5495, allocations: 79.39 kB / 401.8 MB, free: 9.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.5496, allocations: 12 kB / 401.8 MB, free: 9.371 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004908/0.5501, allocations: 186.7 kB / 402 MB, free: 9.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 3.066e-06/0.5501, allocations: 3.938 kB / 402 MB, free: 9.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.000856/0.551, allocations: 293.3 kB / 402.3 MB, free: 8.867 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.5511, allocations: 148.5 kB / 402.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.5514, allocations: 165.3 kB / 402.6 MB, free: 8.523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.5514, allocations: 33.7 kB / 402.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.5515, allocations: 108.1 kB / 402.7 MB, free: 8.375 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.73e-05/0.5516, allocations: 35.56 kB / 402.7 MB, free: 8.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.5517, allocations: 0 / 402.7 MB, free: 8.34 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001871/0.5518, allocations: 330.8 kB / 403.1 MB, free: 8.008 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.5521, allocations: 76.2 kB / 403.1 MB, free: 7.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/0.5523, allocations: 103.8 kB / 403.2 MB, free: 7.816 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000322/0.5526, allocations: 198.7 kB / 403.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.5527, allocations: 0 / 403.4 MB, free: 7.598 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008969/0.5536, allocations: 412.1 kB / 403.8 MB, free: 7.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/0.5537, allocations: 118.8 kB / 404 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.5537, allocations: 4 kB / 404 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.86e-05/0.5538, allocations: 192 / 404 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.5539, allocations: 11.98 kB / 404 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.5539, allocations: 256 / 404 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001761/0.5541, allocations: 23.84 kB / 404 MB, free: 6.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.11e-05/0.5541, allocations: 19.98 kB / 404 MB, free: 6.965 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.0001865/0.5543, allocations: 132 kB / 404.1 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.5544, allocations: 15.81 kB / 404.2 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.308e-05/0.5545, allocations: 20.02 kB / 404.2 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.482e-06/0.5545, allocations: 4 kB / 404.2 MB, free: 6.789 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.179e-05/0.5545, allocations: 4 kB / 404.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.5545, allocations: 0 / 404.2 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00031/0.5549, allocations: 225.5 kB / 404.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.5549, allocations: 0 / 404.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.906e-05/0.5549, allocations: 4 kB / 404.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.5549, allocations: 0 / 404.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.555, allocations: 7.984 kB / 404.4 MB, free: 6.504 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.548e-06/0.555, allocations: 11.88 kB / 404.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.555, allocations: 0 / 404.4 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008036/0.5558, allocations: 369 kB / 404.8 MB, free: 6.086 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.5559, allocations: 92.92 kB / 404.9 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.959e-05/0.556, allocations: 8 kB / 404.9 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.5562, allocations: 15.98 kB / 404.9 MB, free: 5.953 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.5563, allocations: 15.94 kB / 404.9 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.096e-05/0.5564, allocations: 35.83 kB / 405 MB, free: 5.902 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.5566, allocations: 136.1 kB / 405.1 MB, free: 5.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5566, allocations: 0 / 405.1 MB, free: 5.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007126/0.5573, allocations: 99.86 kB / 405.2 MB, free: 5.672 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.001862/0.5592, allocations: 1.2 MB / 406.4 MB, free: 4.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007593/0.56, allocations: 410.2 kB / 406.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.56, allocations: 0 / 406.8 MB, free: 3.973 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002451/0.5603, allocations: 87.91 kB / 406.9 MB, free: 3.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.5605, allocations: 7.906 kB / 406.9 MB, free: 3.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00121/0.5617, allocations: 342.7 kB / 407.2 MB, free: 3.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.5622, allocations: 0.7277 MB / 407.9 MB, free: 2.746 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.088e-05/0.5623, allocations: 4.891 kB / 407.9 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.169e-05/0.5624, allocations: 35.42 kB / 408 MB, free: 2.703 MB / 330.7 MB Notification: Performance of SimCode: time 1.183e-06/0.5624, allocations: 0 / 408 MB, free: 2.703 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0305/0.5929, allocations: 3.982 MB / 412 MB, free: 14.78 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.5933, allocations: 140.3 kB / 412.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.178, allocations: 0 / 412.1 MB, free: 14.55 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