Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.33e-05/4.345e-05, allocations: 4.938 kB / 305 MB, free: 5.574 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4553/0.4554, allocations: 54.85 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1557/0.6111, allocations: 80.5 MB / 440.4 MB, free: 404 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.6115, allocations: 66.31 kB / 440.4 MB, free: 340 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02634/0.6378, allocations: 5.128 MB / 445.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6379, allocations: 0 / 445.5 MB, free: 11.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.6379, allocations: 4 kB / 445.5 MB, free: 11.22 MB / 378.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.001021/0.6389, allocations: 0.8879 MB / 446.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.639, allocations: 8.031 kB / 446.4 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.578e-05/0.6391, allocations: 46.52 kB / 446.5 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.688e-05/0.6392, allocations: 35.7 kB / 446.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000199/0.6394, allocations: 184.8 kB / 446.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.6394, allocations: 20 kB / 446.7 MB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.6395, allocations: 16 kB / 446.7 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005256/0.64, allocations: 223.5 kB / 447 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.948e-06/0.6401, allocations: 0 / 447 MB, free: 9.594 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.054e-05/0.6401, allocations: 16 kB / 447 MB, free: 9.578 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.6401, allocations: 3.953 kB / 447 MB, free: 9.574 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002954/0.6404, allocations: 95.92 kB / 447.1 MB, free: 9.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.6409, allocations: 315.8 kB / 447.4 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004684/0.6414, allocations: 261.5 kB / 447.6 MB, free: 8.773 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.6418, allocations: 162.9 kB / 447.8 MB, free: 8.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.6418, allocations: 7.984 kB / 447.8 MB, free: 8.582 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007718/0.6426, allocations: 0.5281 MB / 448.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 5.901e-06/0.6426, allocations: 0 / 448.3 MB, free: 7.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001557/0.6442, allocations: 0.659 MB / 449 MB, free: 7.254 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004369/0.6446, allocations: 0.6901 MB / 449.7 MB, free: 6.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.6449, allocations: 158.9 kB / 449.8 MB, free: 6.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/0.645, allocations: 41.7 kB / 449.9 MB, free: 6.203 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.6451, allocations: 171.3 kB / 450 MB, free: 6.035 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001138/0.6452, allocations: 71.2 kB / 450.1 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.6452, allocations: 8 kB / 450.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001554/0.6454, allocations: 330.8 kB / 450.4 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.6457, allocations: 84.88 kB / 450.5 MB, free: 5.539 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.646, allocations: 158.5 kB / 450.7 MB, free: 5.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005563/0.6466, allocations: 0.5272 MB / 451.2 MB, free: 4.734 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.6466, allocations: 3.938 kB / 451.2 MB, free: 4.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001426/0.6481, allocations: 0.8208 MB / 452 MB, free: 3.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003102/0.6484, allocations: 447.2 kB / 452.5 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6484, allocations: 8 kB / 452.5 MB, free: 3.266 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.6485, allocations: 4 kB / 452.5 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.47e-05/0.6485, allocations: 13.17 kB / 452.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.6486, allocations: 7.938 kB / 452.5 MB, free: 3.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003183/0.6489, allocations: 47.62 kB / 452.5 MB, free: 3.195 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.457e-05/0.649, allocations: 24 kB / 452.6 MB, free: 3.172 MB / 378.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.0004387/0.6494, allocations: 407.7 kB / 453 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.828e-05/0.6495, allocations: 37.22 kB / 453 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/0.6496, allocations: 12.94 kB / 453 MB, free: 2.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-06/0.6496, allocations: 4 kB / 453 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.513e-06/0.6496, allocations: 0 / 453 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.6496, allocations: 7.984 kB / 453 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003824/0.65, allocations: 301.2 kB / 453.3 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.858e-06/0.6501, allocations: 0.875 kB / 453.3 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.839e-06/0.6501, allocations: 4 kB / 453.3 MB, free: 2.301 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6501, allocations: 4 kB / 453.3 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.6502, allocations: 19.98 kB / 453.4 MB, free: 2.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.178e-05/0.6502, allocations: 11.94 kB / 453.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.6502, allocations: 7.938 kB / 453.4 MB, free: 2.258 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.652, allocations: 0.9211 MB / 454.3 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.821e-05/0.6521, allocations: 92.83 kB / 454.4 MB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.6522, allocations: 27.94 kB / 454.4 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.6526, allocations: 47.91 kB / 454.5 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.6528, allocations: 39.91 kB / 454.5 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.678e-05/0.6529, allocations: 27.97 kB / 454.5 MB, free: 0.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001505/0.653, allocations: 128.3 kB / 454.6 MB, free: 0.832 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.653, allocations: 0 / 454.6 MB, free: 0.832 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009557/0.654, allocations: 203.8 kB / 454.8 MB, free: 0.6328 MB / 378.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.003122/0.6571, allocations: 2.115 MB / 457 MB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.6588, allocations: 1.178 MB / 458.1 MB, free: 13.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.159e-06/0.6589, allocations: 4 kB / 458.1 MB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009337/0.6598, allocations: 0.6984 MB / 458.8 MB, free: 12.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.6601, allocations: 20 kB / 458.9 MB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.6618, allocations: 0.5287 MB / 459.4 MB, free: 11.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003967/0.6622, allocations: 0.7328 MB / 460.1 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.861e-05/0.6623, allocations: 47.42 kB / 460.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6623, allocations: 3.938 kB / 460.2 MB, free: 10.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.614/3.276, allocations: 5.075 MB / 465.3 MB, free: 5.73 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat