Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.991/1.991, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.552e-05/4.565e-05, allocations: 8 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 48.7 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4039/0.5166, allocations: 74.11 MB / 395.9 MB, free: 15.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002458/0.5169, allocations: 66.5 kB / 396 MB, free: 15.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02872/0.5457, allocations: 5.13 MB / 401.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.5457, allocations: 0 / 401.1 MB, free: 10.66 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.5458, allocations: 4 kB / 401.1 MB, free: 10.66 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.001288/0.5471, allocations: 0.8919 MB / 402 MB, free: 9.621 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.5472, allocations: 11.97 kB / 402 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.548e-05/0.5473, allocations: 46.55 kB / 402.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001229/0.5474, allocations: 27.81 kB / 402.1 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.5477, allocations: 195.2 kB / 402.3 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.223e-05/0.5477, allocations: 16 kB / 402.3 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.905e-05/0.5478, allocations: 20 kB / 402.3 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.5485, allocations: 220.4 kB / 402.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.5486, allocations: 0 / 402.6 MB, free: 9.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.5486, allocations: 12 kB / 402.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.5487, allocations: 0 / 402.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004435/0.5491, allocations: 99.86 kB / 402.7 MB, free: 8.906 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005796/0.5497, allocations: 323.8 kB / 403 MB, free: 8.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006177/0.5504, allocations: 269.3 kB / 403.2 MB, free: 8.184 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004855/0.5509, allocations: 162.9 kB / 403.4 MB, free: 8 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.5509, allocations: 7.938 kB / 403.4 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009972/0.5519, allocations: 0.5268 MB / 403.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.486e-06/0.5519, allocations: 0 / 403.9 MB, free: 7.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002074/0.554, allocations: 0.6668 MB / 404.6 MB, free: 6.656 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004947/0.5545, allocations: 0.6785 MB / 405.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003005/0.5548, allocations: 161.3 kB / 405.4 MB, free: 5.66 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001082/0.555, allocations: 45.69 kB / 405.5 MB, free: 5.609 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.5551, allocations: 167.3 kB / 405.6 MB, free: 5.445 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001591/0.5553, allocations: 75.2 kB / 405.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.814e-05/0.5554, allocations: 4 kB / 405.7 MB, free: 5.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.5556, allocations: 330.8 kB / 406 MB, free: 5.035 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.556, allocations: 92.88 kB / 406.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005159/0.5565, allocations: 162.8 kB / 406.3 MB, free: 4.762 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008065/0.5574, allocations: 0.5226 MB / 406.8 MB, free: 4.141 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.5574, allocations: 0 / 406.8 MB, free: 4.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002088/0.5595, allocations: 0.8251 MB / 407.6 MB, free: 3.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003899/0.5599, allocations: 459.2 kB / 408.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.5599, allocations: 0 / 408.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.533e-05/0.56, allocations: 11.92 kB / 408.1 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.5601, allocations: 11.94 kB / 408.1 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/0.5601, allocations: 4 kB / 408.1 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004746/0.5606, allocations: 43.73 kB / 408.2 MB, free: 2.594 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.5607, allocations: 20 kB / 408.2 MB, free: 2.574 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.0006149/0.5614, allocations: 419.6 kB / 408.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.5615, allocations: 31.81 kB / 408.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.822e-05/0.5616, allocations: 16.94 kB / 408.6 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.5616, allocations: 0 / 408.6 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.334e-05/0.5617, allocations: 4 kB / 408.6 MB, free: 2.055 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5617, allocations: 3.984 kB / 408.6 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005527/0.5623, allocations: 305.3 kB / 408.9 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5623, allocations: 7.891 kB / 409 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.095e-05/0.5623, allocations: 7.938 kB / 409 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.5623, allocations: 0 / 409 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.334e-05/0.5624, allocations: 27.98 kB / 409 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.404e-06/0.5625, allocations: 4 kB / 409 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.5625, allocations: 0 / 409 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002438/0.5649, allocations: 0.9143 MB / 409.9 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.488e-05/0.565, allocations: 96.92 kB / 410 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.5652, allocations: 28 kB / 410 MB, free: 480 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005794/0.5658, allocations: 39.97 kB / 410.1 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/0.566, allocations: 31.95 kB / 410.1 MB, free: 408 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.764e-05/0.5661, allocations: 23.98 kB / 410.1 MB, free: 384 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001924/0.5663, allocations: 132.2 kB / 410.3 MB, free: 252 kB / 330.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.5663, allocations: 0 / 410.3 MB, free: 252 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.001296/0.5676, allocations: 203.8 kB / 410.5 MB, free: 48 kB / 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.004148/0.5718, allocations: 2.122 MB / 412.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002108/0.574, allocations: 1.186 MB / 413.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.574, allocations: 0 / 413.8 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.5753, allocations: 0.7022 MB / 414.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.5757, allocations: 27.95 kB / 414.5 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.5781, allocations: 0.5274 MB / 415 MB, free: 10.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004806/0.5786, allocations: 0.7406 MB / 415.8 MB, free: 10.22 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.5787, allocations: 39.42 kB / 415.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.203e-06/0.5788, allocations: 4 kB / 415.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.451/3.029, allocations: 5.056 MB / 420.9 MB, free: 5.125 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat