Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.226/2.226, allocations: 235 MB / 247.2 MB, free: 14.32 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.623e-05/3.628e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3822, allocations: 54.85 MB / 359.9 MB, free: 2.773 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1447/0.5269, allocations: 80.49 MB / 440.3 MB, free: 344 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.5272, allocations: 65.16 kB / 440.4 MB, free: 280 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02589/0.5531, allocations: 5.128 MB / 445.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5531, allocations: 0 / 445.5 MB, free: 11.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.5531, allocations: 4 kB / 445.5 MB, free: 11.17 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.0009308/0.5541, allocations: 0.8919 MB / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.834e-05/0.5542, allocations: 8.031 kB / 446.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.605e-05/0.5543, allocations: 47.17 kB / 446.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.254e-05/0.5544, allocations: 35.72 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.5545, allocations: 191.3 kB / 446.7 MB, free: 9.809 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.995e-05/0.5546, allocations: 8 kB / 446.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.259e-05/0.5546, allocations: 20 kB / 446.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005252/0.5552, allocations: 227.5 kB / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.5552, allocations: 0 / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.12e-05/0.5553, allocations: 13.03 kB / 447 MB, free: 9.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.5553, allocations: 3.953 kB / 447 MB, free: 9.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003159/0.5556, allocations: 99.86 kB / 447.1 MB, free: 9.418 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004118/0.556, allocations: 315.8 kB / 447.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004621/0.5565, allocations: 269.5 kB / 447.6 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.5569, allocations: 163.3 kB / 447.8 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.463e-05/0.5569, allocations: 4 kB / 447.8 MB, free: 8.516 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007286/0.5576, allocations: 0.533 MB / 448.3 MB, free: 7.898 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 7.975e-06/0.5577, allocations: 3.984 kB / 448.3 MB, free: 7.895 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001462/0.5591, allocations: 0.6667 MB / 449 MB, free: 7.172 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003676/0.5595, allocations: 0.6743 MB / 449.7 MB, free: 6.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002187/0.5597, allocations: 163 kB / 449.8 MB, free: 6.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-05/0.5598, allocations: 41.95 kB / 449.9 MB, free: 6.133 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.858e-05/0.5599, allocations: 112.9 kB / 450 MB, free: 6.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.5601, allocations: 75.19 kB / 450.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.5601, allocations: 8 kB / 450.1 MB, free: 5.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5602, allocations: 330.8 kB / 450.4 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002782/0.5605, allocations: 92.81 kB / 450.5 MB, free: 5.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003369/0.5609, allocations: 162.9 kB / 450.6 MB, free: 5.324 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005412/0.5614, allocations: 0.5236 MB / 451.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.389e-06/0.5615, allocations: 0 / 451.2 MB, free: 4.707 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001384/0.5628, allocations: 0.8308 MB / 452 MB, free: 3.773 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.5631, allocations: 460.6 kB / 452.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.5632, allocations: 0 / 452.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.5632, allocations: 4 kB / 452.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.5633, allocations: 11.94 kB / 452.5 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5633, allocations: 0 / 452.5 MB, free: 3.211 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.5636, allocations: 55.62 kB / 452.5 MB, free: 3.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/0.5637, allocations: 23.98 kB / 452.5 MB, free: 3.133 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.0004123/0.5642, allocations: 407.7 kB / 452.9 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001021/0.5643, allocations: 31.81 kB / 453 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.746e-05/0.5643, allocations: 20.92 kB / 453 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5644, allocations: 0 / 453 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.487e-06/0.5644, allocations: 4 kB / 453 MB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5644, allocations: 4 kB / 453 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003675/0.5648, allocations: 302.1 kB / 453.3 MB, free: 2.266 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.5648, allocations: 4 kB / 453.3 MB, free: 2.262 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-06/0.5648, allocations: 15.86 kB / 453.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-06/0.5648, allocations: 0 / 453.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.334e-05/0.5649, allocations: 20 kB / 453.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.5649, allocations: 4 kB / 453.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.5649, allocations: 10.61 kB / 453.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001706/0.5666, allocations: 0.9221 MB / 454.3 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.161e-05/0.5667, allocations: 96.83 kB / 454.4 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000114/0.5668, allocations: 24 kB / 454.4 MB, free: 1.023 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/0.5673, allocations: 47.95 kB / 454.4 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001514/0.5675, allocations: 35.91 kB / 454.5 MB, free: 0.9414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.17e-05/0.5675, allocations: 20 kB / 454.5 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001414/0.5677, allocations: 132.2 kB / 454.6 MB, free: 0.793 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5677, allocations: 0 / 454.6 MB, free: 0.793 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008639/0.5686, allocations: 195.9 kB / 454.8 MB, free: 0.6016 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.002956/0.5715, allocations: 2.13 MB / 456.9 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.573, allocations: 1.174 MB / 458.1 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.5731, allocations: 0 / 458.1 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000925/0.574, allocations: 0.7143 MB / 458.8 MB, free: 12.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.5743, allocations: 24.55 kB / 458.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.5759, allocations: 0.4953 MB / 459.4 MB, free: 11.58 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.5762, allocations: 0.7407 MB / 460.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.152e-05/0.5763, allocations: 9.203 kB / 460.1 MB, free: 10.8 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.703e-05/0.5764, allocations: 47.36 kB / 460.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5764, allocations: 0 / 460.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03089/0.6073, allocations: 6.722 MB / 466.9 MB, free: 4.105 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003415/0.6077, allocations: 149.3 kB / 467 MB, free: 3.871 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.505/3.113, allocations: 0 / 467 MB, free: 3.871 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_res.mat does not exist to compare? outputFormat=mat