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.849/1.849, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.732e-05/3.754e-05, allocations: 0 / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09866, allocations: 48.69 MB / 321.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3963/0.4951, allocations: 74.13 MB / 396 MB, free: 15.83 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.4954, allocations: 62.66 kB / 396 MB, free: 15.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02954/0.525, allocations: 5.13 MB / 401.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.525, allocations: 4 kB / 401.2 MB, free: 10.64 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.525, allocations: 0 / 401.2 MB, free: 10.64 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.001014/0.5261, allocations: 0.888 MB / 402.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.857e-05/0.5261, allocations: 8.031 kB / 402.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.574e-05/0.5262, allocations: 54.48 kB / 402.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.92e-05/0.5263, allocations: 23.81 kB / 402.1 MB, free: 9.516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001783/0.5265, allocations: 195.2 kB / 402.3 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.829e-05/0.5266, allocations: 23.98 kB / 402.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.5267, allocations: 16 kB / 402.4 MB, free: 9.246 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005601/0.5272, allocations: 216.4 kB / 402.6 MB, free: 9.004 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.5273, allocations: 3.938 kB / 402.6 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.812e-05/0.5273, allocations: 8 kB / 402.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.5273, allocations: 4 kB / 402.6 MB, free: 8.988 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.5276, allocations: 103.9 kB / 402.7 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004434/0.5281, allocations: 315.8 kB / 403 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004647/0.5286, allocations: 261.3 kB / 403.3 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003613/0.529, allocations: 175 kB / 403.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.529, allocations: 0 / 403.4 MB, free: 7.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007555/0.5297, allocations: 0.5229 MB / 404 MB, free: 7.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.665e-06/0.5298, allocations: 4 kB / 404 MB, free: 7.371 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001535/0.5313, allocations: 0.6551 MB / 404.6 MB, free: 6.66 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003909/0.5317, allocations: 0.6862 MB / 405.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.532, allocations: 165.3 kB / 405.5 MB, free: 5.652 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.103e-05/0.5321, allocations: 45.7 kB / 405.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5322, allocations: 163.3 kB / 405.7 MB, free: 5.441 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.5323, allocations: 71.2 kB / 405.7 MB, free: 5.371 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.621e-05/0.5323, allocations: 4 kB / 405.7 MB, free: 5.367 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.5325, allocations: 326.8 kB / 406.1 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002757/0.5328, allocations: 92.86 kB / 406.1 MB, free: 4.945 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003292/0.5331, allocations: 154.5 kB / 406.3 MB, free: 4.773 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.5337, allocations: 0.5381 MB / 406.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/0.5337, allocations: 0 / 406.8 MB, free: 4.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001378/0.5351, allocations: 0.8207 MB / 407.7 MB, free: 3.211 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002952/0.5354, allocations: 447.2 kB / 408.1 MB, free: 2.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5354, allocations: 4 kB / 408.1 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.5355, allocations: 8.5 kB / 408.1 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.415e-05/0.5356, allocations: 19.86 kB / 408.1 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.41e-05/0.5356, allocations: 4 kB / 408.1 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003182/0.5359, allocations: 39.73 kB / 408.2 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.041e-05/0.536, allocations: 24 kB / 408.2 MB, free: 2.578 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.000432/0.5365, allocations: 415.7 kB / 408.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000106/0.5366, allocations: 35.81 kB / 408.6 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.512e-05/0.5366, allocations: 12.92 kB / 408.6 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.5366, allocations: 4 kB / 408.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.5367, allocations: 0 / 408.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.5367, allocations: 4 kB / 408.7 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.5371, allocations: 301.3 kB / 408.9 MB, free: 1.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.958e-06/0.5371, allocations: 7.953 kB / 409 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-06/0.5371, allocations: 7.875 kB / 409 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.025e-06/0.5371, allocations: 4 kB / 409 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.32e-05/0.5372, allocations: 23.98 kB / 409 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.5372, allocations: 0 / 409 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.5372, allocations: 11.94 kB / 409 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.539, allocations: 0.9221 MB / 409.9 MB, free: 0.6055 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.5391, allocations: 88.92 kB / 410 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001194/0.5392, allocations: 27.98 kB / 410 MB, free: 484 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004499/0.5397, allocations: 43.97 kB / 410.1 MB, free: 440 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001471/0.5398, allocations: 35.95 kB / 410.1 MB, free: 404 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-05/0.5399, allocations: 23.98 kB / 410.1 MB, free: 380 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.5401, allocations: 124.3 kB / 410.3 MB, free: 256 kB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5401, allocations: 0 / 410.3 MB, free: 256 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.000939/0.541, allocations: 199.8 kB / 410.5 MB, free: 56 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.003129/0.5442, allocations: 2.122 MB / 412.6 MB, free: 13.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001622/0.5459, allocations: 1.178 MB / 413.8 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.5459, allocations: 7.938 kB / 413.8 MB, free: 12.42 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009828/0.5469, allocations: 0.6984 MB / 414.5 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.5473, allocations: 19.95 kB / 414.5 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.5492, allocations: 0.5391 MB / 415 MB, free: 11 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003835/0.5496, allocations: 0.7328 MB / 415.8 MB, free: 10.24 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.5497, allocations: 47.42 kB / 415.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5497, allocations: 0 / 415.8 MB, free: 10.19 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.505/3.055, allocations: 5.068 MB / 420.9 MB, free: 5.129 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