Running command: "" <> buildModelFMU(ModelicaTest.Blocks.IntegerTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_IntegerTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.795/2.795, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.78e-05/4.791e-05, allocations: 7.938 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5228/0.5229, allocations: 58.83 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1742/0.6972, allocations: 88.38 MB / 470.7 MB, free: 4.137 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/0.6975, allocations: 71.97 kB / 470.7 MB, free: 4.066 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.06348/0.761, allocations: 12.89 MB / 483.6 MB, free: 7.156 MB / 410.8 MB Notification: Performance of FrontEnd: time 4.488e-06/0.7611, allocations: 4 kB / 483.6 MB, free: 7.152 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.207e-05/0.7611, allocations: 11.94 kB / 483.7 MB, free: 7.141 MB / 410.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001777/0.7629, allocations: 0.7473 MB / 484.4 MB, free: 6.316 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/0.763, allocations: 8.031 kB / 484.4 MB, free: 6.309 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.884e-05/0.7631, allocations: 46.55 kB / 484.5 MB, free: 6.254 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002534/0.7634, allocations: 59.3 kB / 484.5 MB, free: 6.195 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001484/0.7649, allocations: 491.3 kB / 485 MB, free: 5.676 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.59e-05/0.765, allocations: 12.23 kB / 485 MB, free: 5.664 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.173e-05/0.765, allocations: 12 kB / 485 MB, free: 5.652 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.7657, allocations: 250.6 kB / 485.3 MB, free: 5.367 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.7657, allocations: 0 / 485.3 MB, free: 5.367 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.852e-05/0.7658, allocations: 11.98 kB / 485.3 MB, free: 5.355 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.7658, allocations: 4 kB / 485.3 MB, free: 5.352 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003657/0.7662, allocations: 108 kB / 485.4 MB, free: 5.246 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002182/0.7684, allocations: 0.9265 MB / 486.3 MB, free: 4.258 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007795/0.7692, allocations: 279 kB / 486.6 MB, free: 3.949 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00028/0.7695, allocations: 111.5 kB / 486.7 MB, free: 3.828 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.7696, allocations: 0 / 486.7 MB, free: 3.828 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005231/0.7701, allocations: 218 kB / 486.9 MB, free: 3.594 MB / 410.8 MB Notification: Performance of pre-optimization done (n=24): time 2.665e-06/0.7701, allocations: 0 / 486.9 MB, free: 3.594 MB / 410.8 MB Notification: Performance of matching and sorting (n=24): time 0.001172/0.7713, allocations: 317 kB / 487.2 MB, free: 3.277 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002235/0.7716, allocations: 350.1 kB / 487.6 MB, free: 2.855 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00144/0.773, allocations: 0.5748 MB / 488.1 MB, free: 2.27 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.7732, allocations: 33.7 kB / 488.2 MB, free: 2.23 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002985/0.7735, allocations: 224.5 kB / 488.4 MB, free: 2.008 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.7737, allocations: 63.31 kB / 488.4 MB, free: 1.945 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.747e-05/0.7737, allocations: 8 kB / 488.5 MB, free: 1.938 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.7739, allocations: 362.8 kB / 488.8 MB, free: 1.574 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002612/0.7742, allocations: 75.98 kB / 488.9 MB, free: 1.5 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005074/0.7747, allocations: 249.1 kB / 489.1 MB, free: 1.195 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.775, allocations: 99.89 kB / 489.2 MB, free: 1.098 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.7751, allocations: 4 kB / 489.2 MB, free: 1.094 MB / 410.8 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001019/0.7761, allocations: 308.7 kB / 489.5 MB, free: 0.7852 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.7761, allocations: 4 kB / 489.5 MB, free: 0.7812 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.7762, allocations: 4 kB / 489.5 MB, free: 0.7773 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.865e-05/0.7762, allocations: 4 kB / 489.5 MB, free: 0.7734 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005367/0.7767, allocations: 60.2 kB / 489.6 MB, free: 0.7148 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.7768, allocations: 4 kB / 489.6 MB, free: 0.7109 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.7773, allocations: 39.95 kB / 489.6 MB, free: 0.6719 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.053e-05/0.7773, allocations: 8 kB / 489.6 MB, free: 0.6641 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * 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.0002237/0.7776, allocations: 140.9 kB / 489.8 MB, free: 0.5195 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.7778, allocations: 59.28 kB / 489.8 MB, free: 472 kB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001144/0.7789, allocations: 349.5 kB / 490.2 MB, free: 116 kB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.779, allocations: 8 kB / 490.2 MB, free: 108 kB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.18e-05/0.779, allocations: 4 kB / 490.2 MB, free: 104 kB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.779, allocations: 3.938 kB / 490.2 MB, free: 100 kB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000932/0.78, allocations: 437.2 kB / 490.6 MB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.78, allocations: 0 / 490.6 MB, free: 15.62 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000332/0.7803, allocations: 27.98 kB / 490.7 MB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.7804, allocations: 7.953 kB / 490.7 MB, free: 15.59 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.146e-05/0.7804, allocations: 11.98 kB / 490.7 MB, free: 15.57 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.7804, allocations: 0 / 490.7 MB, free: 15.57 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.7805, allocations: 4 kB / 490.7 MB, free: 15.57 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001104/0.7816, allocations: 414 kB / 491.1 MB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002785/0.7819, allocations: 164.3 kB / 491.2 MB, free: 14.94 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001261/0.782, allocations: 15.98 kB / 491.3 MB, free: 14.92 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003663/0.7824, allocations: 23.98 kB / 491.3 MB, free: 14.9 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/0.7826, allocations: 31.95 kB / 491.3 MB, free: 14.87 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.487e-05/0.7827, allocations: 19.98 kB / 491.3 MB, free: 14.85 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.001/0.7837, allocations: 461.5 kB / 491.8 MB, free: 14.4 MB / 426.8 MB Notification: Performance of sort global known variables: time 4.3e-07/0.7837, allocations: 3.938 kB / 491.8 MB, free: 14.39 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0008994/0.7846, allocations: 119.9 kB / 491.9 MB, free: 14.28 MB / 426.8 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,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.002982/0.7876, allocations: 1.511 MB / 493.4 MB, free: 12.79 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.7887, allocations: 251.8 kB / 493.7 MB, free: 12.54 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7887, allocations: 0 / 493.7 MB, free: 12.54 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005177/0.7893, allocations: 171.9 kB / 493.8 MB, free: 12.37 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.7905, allocations: 118.7 kB / 493.9 MB, free: 12.26 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.7931, allocations: 0.7538 MB / 494.7 MB, free: 11.46 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006316/0.7938, allocations: 0.8548 MB / 495.6 MB, free: 10.57 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0005844/0.7944, allocations: 84.34 kB / 495.6 MB, free: 10.49 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004593/0.7949, allocations: 167.4 kB / 495.8 MB, free: 10.32 MB / 426.8 MB Notification: Performance of SimCode: time 1.613e-06/0.7949, allocations: 0 / 495.8 MB, free: 10.32 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04986/0.8448, allocations: 11.66 MB / 0.4956 GB, free: 14.68 MB / 442.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003537/0.8452, allocations: 176.5 kB / 0.4957 GB, free: 14.46 MB / 442.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.06/3.905, allocations: 3.938 kB / 0.4957 GB, free: 14.45 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegerTable_res.mat does not exist to compare? outputFormat=mat