Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.981/1.981, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.774e-05/2.791e-05, allocations: 6.125 kB / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1542, allocations: 48.7 MB / 316.3 MB, free: 4.16 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4068/0.561, allocations: 73.62 MB / 389.9 MB, free: 3.082 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.5613, allocations: 63.97 kB / 390 MB, free: 3.051 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02742/0.5888, allocations: 5.113 MB / 395.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5888, allocations: 0 / 395.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.5888, allocations: 4 kB / 395.1 MB, free: 14.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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000985/0.5898, allocations: 0.8889 MB / 396 MB, free: 13.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.665e-05/0.5899, allocations: 15.97 kB / 396 MB, free: 13.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001112/0.5901, allocations: 23.81 kB / 396 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001891/0.5903, allocations: 191.2 kB / 396.2 MB, free: 13.19 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.863e-05/0.5903, allocations: 7.438 kB / 396.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.941e-05/0.5904, allocations: 16 kB / 396.3 MB, free: 13.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002841/0.5907, allocations: 80.55 kB / 396.3 MB, free: 13.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.5911, allocations: 213.8 kB / 396.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5912, allocations: 0 / 396.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.944e-05/0.5912, allocations: 8 kB / 396.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.5912, allocations: 0 / 396.6 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004187/0.5917, allocations: 293.9 kB / 396.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004009/0.5921, allocations: 241.3 kB / 397.1 MB, free: 12.33 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.5924, allocations: 159.3 kB / 397.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.005e-06/0.5924, allocations: 3.5 kB / 397.2 MB, free: 12.2 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/0.5931, allocations: 0.5191 MB / 397.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.875e-06/0.5931, allocations: 0 / 397.8 MB, free: 11.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001256/0.5944, allocations: 421.7 kB / 398.2 MB, free: 11.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004776/0.5949, allocations: 0.6677 MB / 398.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002196/0.5951, allocations: 158.8 kB / 399 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.404e-05/0.5952, allocations: 41.45 kB / 399 MB, free: 10.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.5953, allocations: 110 kB / 399.1 MB, free: 10.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.5954, allocations: 72.83 kB / 399.2 MB, free: 10.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.226e-05/0.5955, allocations: 4 kB / 399.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.5956, allocations: 337.2 kB / 399.5 MB, free: 9.844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002241/0.5959, allocations: 79.12 kB / 399.6 MB, free: 9.789 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000284/0.5962, allocations: 148.7 kB / 399.8 MB, free: 9.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004728/0.5967, allocations: 104.2 kB / 399.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.5967, allocations: 0 / 399.9 MB, free: 9.582 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001164/0.5979, allocations: 399.1 kB / 400.3 MB, free: 9.254 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002933/0.5982, allocations: 449.3 kB / 400.7 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.118e-05/0.5982, allocations: 4 kB / 400.7 MB, free: 8.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.5982, allocations: 4 kB / 400.7 MB, free: 8.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.5983, allocations: 15.5 kB / 400.7 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.5983, allocations: 7.984 kB / 400.7 MB, free: 8.699 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.5986, allocations: 39.73 kB / 400.8 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.566e-05/0.5987, allocations: 19.19 kB / 400.8 MB, free: 8.645 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 56 ($whenCondition8,$PRE.booleanTable1.y,booleanTable1.y,$PRE.booleanTable1.nextTime,booleanTable1.nextTime,$PRE.booleanTable1.index,booleanTable1.index,$whenCondition7,$PRE.booleanTable2a.y,booleanTable2a.y,$PRE.booleanTable2a.nextTime,booleanTable2a.nextTime,$PRE.booleanTable2a.index,booleanTable2a.index,$whenCondition6,$PRE.booleanTable2b.y,booleanTable2b.y,$PRE.booleanTable2b.nextTime,booleanTable2b.nextTime,$PRE.booleanTable2b.index,booleanTable2b.index,$whenCondition5,$PRE.booleanTable3a.y,booleanTable3a.y,$PRE.booleanTable3a.nextTime,booleanTable3a.nextTime,$PRE.booleanTable3a.index,booleanTable3a.index,$whenCondition4,$PRE.booleanTable3b.y,booleanTable3b.y,$PRE.booleanTable3b.nextTime,booleanTable3b.nextTime,$PRE.booleanTable3b.index,booleanTable3b.index,$whenCondition3,$PRE.booleanTable3c.y,booleanTable3c.y,$PRE.booleanTable3c.nextTime,booleanTable3c.nextTime,$PRE.booleanTable3c.index,booleanTable3c.index,$whenCondition2,$PRE.booleanTable4a.y,booleanTable4a.y,$PRE.booleanTable4a.nextTime,booleanTable4a.nextTime,$PRE.booleanTable4a.index,booleanTable4a.index,$whenCondition1,$PRE.booleanTable4b.y,booleanTable4b.y,$PRE.booleanTable4b.nextTime,booleanTable4b.nextTime,$PRE.booleanTable4b.index,booleanTable4b.index) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 16 * 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.0004101/0.5991, allocations: 402.5 kB / 401.2 MB, free: 8.207 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001334/0.6005, allocations: 0.4995 MB / 401.7 MB, free: 7.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.219e-05/0.6006, allocations: 35.72 kB / 401.7 MB, free: 7.781 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.624e-05/0.6006, allocations: 16.98 kB / 401.7 MB, free: 7.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/0.6007, allocations: 4 kB / 401.7 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.6007, allocations: 4.5 kB / 401.7 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.6007, allocations: 256 / 401.7 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003286/0.601, allocations: 265.4 kB / 402 MB, free: 7.492 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/0.6011, allocations: 15.88 kB / 402 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-06/0.6011, allocations: 7.938 kB / 402 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.6011, allocations: 4 kB / 402 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.6012, allocations: 22.38 kB / 402 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.6012, allocations: 3.984 kB / 402 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.563e-06/0.6012, allocations: 4 kB / 402 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.6026, allocations: 0.6527 MB / 402.7 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.681e-05/0.6027, allocations: 92.92 kB / 402.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.6028, allocations: 23.25 kB / 402.8 MB, free: 6.707 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.6033, allocations: 47.7 kB / 402.9 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.6034, allocations: 31.02 kB / 402.9 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.6035, allocations: 19.44 kB / 402.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.6036, allocations: 125.1 kB / 403 MB, free: 6.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6036, allocations: 0 / 403 MB, free: 6.516 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009251/0.6045, allocations: 187.3 kB / 403.2 MB, free: 6.336 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition7,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition6,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition5,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition4,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition3,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition2,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition1,booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index) * Number of discrete states: 32 (booleanTable4b.y,booleanTable4b.nextTime,booleanTable4b.index,$whenCondition1,booleanTable4a.y,booleanTable4a.nextTime,booleanTable4a.index,$whenCondition2,booleanTable3c.y,booleanTable3c.nextTime,booleanTable3c.index,$whenCondition3,booleanTable3b.y,booleanTable3b.nextTime,booleanTable3b.index,$whenCondition4,booleanTable3a.y,booleanTable3a.nextTime,booleanTable3a.index,$whenCondition5,booleanTable2b.y,booleanTable2b.nextTime,booleanTable2b.index,$whenCondition6,booleanTable2a.y,booleanTable2a.nextTime,booleanTable2a.index,$whenCondition7,booleanTable1.y,booleanTable1.nextTime,booleanTable1.index,$whenCondition8) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 8 * 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 Backend phase and start with SimCode phase: time 0.002655/0.6072, allocations: 1.849 MB / 405.1 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.6087, allocations: 1.144 MB / 406.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.6087, allocations: 3.938 kB / 406.2 MB, free: 3.32 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008318/0.6096, allocations: 0.6875 MB / 406.9 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.6099, allocations: 31 kB / 406.9 MB, free: 2.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.6115, allocations: 489.9 kB / 407.4 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00047/0.612, allocations: 0.7364 MB / 408.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.516e-05/0.6121, allocations: 13.2 kB / 408.2 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.341e-05/0.6121, allocations: 40.3 kB / 408.2 MB, free: 1.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6122, allocations: 0 / 408.2 MB, free: 1.383 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05487/0.667, allocations: 6.354 MB / 414.5 MB, free: 11.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001964/0.6673, allocations: 120.3 kB / 414.7 MB, free: 10.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.773/3.44, allocations: 4 kB / 414.7 MB, free: 10.86 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat