Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.92/1.92, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.806e-05, allocations: 4 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09867/0.09872, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.381/0.4797, allocations: 73.88 MB / 395.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.48, allocations: 62.75 kB / 395.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02198/0.502, allocations: 4.427 MB / 400.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.502, allocations: 0 / 400.2 MB, free: 11.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.5021, allocations: 0 / 400.2 MB, free: 11.46 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.0009075/0.503, allocations: 0.5554 MB / 400.8 MB, free: 10.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.503, allocations: 8.031 kB / 400.8 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.5031, allocations: 38.55 kB / 400.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.5032, allocations: 11.91 kB / 400.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.5033, allocations: 182.9 kB / 401 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.165e-05/0.5034, allocations: 4 kB / 401 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.5034, allocations: 7.984 kB / 401 MB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003686/0.5038, allocations: 165 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.5038, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.5039, allocations: 4 kB / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.5039, allocations: 0 / 401.2 MB, free: 10.36 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.5041, allocations: 63.91 kB / 401.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003373/0.5044, allocations: 268.1 kB / 401.5 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003399/0.5048, allocations: 166.4 kB / 401.7 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.505, allocations: 83.58 kB / 401.8 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.233e-05/0.505, allocations: 7.938 kB / 401.8 MB, free: 9.672 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004061/0.5054, allocations: 194.7 kB / 402 MB, free: 9.457 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.414e-06/0.5055, allocations: 0 / 402 MB, free: 9.457 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007702/0.5062, allocations: 289.3 kB / 402.2 MB, free: 9.168 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.794e-05/0.5063, allocations: 144.5 kB / 402.4 MB, free: 8.996 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.5066, allocations: 161.3 kB / 402.5 MB, free: 8.832 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.935e-05/0.5066, allocations: 41.69 kB / 402.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.986e-05/0.5067, allocations: 162.6 kB / 402.7 MB, free: 8.625 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.5068, allocations: 47.47 kB / 402.8 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.727e-05/0.5068, allocations: 4 kB / 402.8 MB, free: 8.574 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.507, allocations: 318.8 kB / 403.1 MB, free: 8.254 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001864/0.5072, allocations: 72.2 kB / 403.2 MB, free: 8.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.5074, allocations: 115.8 kB / 403.3 MB, free: 8.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002697/0.5077, allocations: 190.8 kB / 403.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.5077, allocations: 0 / 403.5 MB, free: 7.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007693/0.5085, allocations: 404.2 kB / 403.9 MB, free: 7.418 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.5086, allocations: 122.8 kB / 404 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5086, allocations: 0 / 404 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.5086, allocations: 4 kB / 404 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.954e-05/0.5087, allocations: 3.938 kB / 404 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.5087, allocations: 8 kB / 404 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001378/0.5088, allocations: 19.89 kB / 404 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/0.5089, allocations: 12 kB / 404 MB, free: 7.227 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.0001215/0.509, allocations: 128.1 kB / 404.2 MB, free: 7.094 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.203e-05/0.5091, allocations: 19.8 kB / 404.2 MB, free: 7.074 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.394e-05/0.5091, allocations: 12.03 kB / 404.2 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.5092, allocations: 4 kB / 404.2 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5092, allocations: 7.938 kB / 404.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5092, allocations: 0 / 404.2 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.5095, allocations: 221.5 kB / 404.4 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5095, allocations: 4 kB / 404.4 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/0.5095, allocations: 8.125 kB / 404.4 MB, free: 6.773 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5095, allocations: 4 kB / 404.4 MB, free: 6.77 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.993e-05/0.5096, allocations: 7.984 kB / 404.4 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.5096, allocations: 0 / 404.4 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.5096, allocations: 3.984 kB / 404.4 MB, free: 6.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007126/0.5103, allocations: 372.8 kB / 404.8 MB, free: 6.348 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.5104, allocations: 88.92 kB / 404.9 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.495e-05/0.5104, allocations: 15.92 kB / 404.9 MB, free: 6.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.5106, allocations: 15.98 kB / 404.9 MB, free: 6.211 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/0.5107, allocations: 15.94 kB / 404.9 MB, free: 6.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.189e-05/0.5108, allocations: 31.95 kB / 405 MB, free: 6.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001453/0.5109, allocations: 140 kB / 405.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.511, allocations: 0 / 405.1 MB, free: 6.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005671/0.5115, allocations: 91.88 kB / 405.2 MB, free: 5.938 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.001449/0.513, allocations: 1.204 MB / 406.4 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.5136, allocations: 410.2 kB / 406.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.5136, allocations: 3.938 kB / 406.8 MB, free: 4.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.5139, allocations: 87.92 kB / 406.9 MB, free: 4.145 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001624/0.5141, allocations: 7.984 kB / 406.9 MB, free: 4.137 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009594/0.515, allocations: 372.4 kB / 407.3 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.5155, allocations: 0.7199 MB / 408 MB, free: 2.977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.82e-05/0.5156, allocations: 31.44 kB / 408 MB, free: 2.945 MB / 330.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5156, allocations: 0 / 408 MB, free: 2.945 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.421/2.937, allocations: 3.282 MB / 411.3 MB, free: 15.67 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat