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 2.099/2.099, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.373e-05/4.381e-05, allocations: 3.984 kB / 273.1 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4201/0.5394, allocations: 74.12 MB / 396 MB, free: 15.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5397, allocations: 59.97 kB / 396 MB, free: 15.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03019/0.5699, allocations: 5.135 MB / 401.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.57, allocations: 0 / 401.2 MB, free: 10.21 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/0.57, allocations: 0 / 401.2 MB, free: 10.21 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.00112/0.5711, allocations: 0.8918 MB / 402.1 MB, free: 9.176 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/0.5712, allocations: 8.031 kB / 402.1 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.205e-05/0.5713, allocations: 46.56 kB / 402.1 MB, free: 9.113 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.564e-05/0.5714, allocations: 27.75 kB / 402.1 MB, free: 9.086 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.5716, allocations: 199.2 kB / 402.3 MB, free: 8.852 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.5717, allocations: 16 kB / 402.3 MB, free: 8.836 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.572e-05/0.5718, allocations: 16 kB / 402.4 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005637/0.5723, allocations: 226.2 kB / 402.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5724, allocations: 0 / 402.6 MB, free: 8.57 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.935e-05/0.5724, allocations: 12 kB / 402.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.5724, allocations: 0 / 402.6 MB, free: 8.559 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.5727, allocations: 99.86 kB / 402.7 MB, free: 8.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.5733, allocations: 323.8 kB / 403 MB, free: 8.074 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004907/0.5738, allocations: 261.3 kB / 403.3 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003918/0.5742, allocations: 167.5 kB / 403.4 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.69e-05/0.5742, allocations: 7.938 kB / 403.4 MB, free: 7.551 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008363/0.5751, allocations: 0.5229 MB / 404 MB, free: 6.941 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.604e-06/0.5751, allocations: 0 / 404 MB, free: 6.941 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.001685/0.5768, allocations: 0.6707 MB / 404.6 MB, free: 6.215 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004322/0.5773, allocations: 0.6707 MB / 405.3 MB, free: 5.391 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.5775, allocations: 165.3 kB / 405.5 MB, free: 5.223 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001005/0.5777, allocations: 45.7 kB / 405.5 MB, free: 5.172 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.832e-05/0.5778, allocations: 104.9 kB / 405.6 MB, free: 5.066 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.5779, allocations: 75.19 kB / 405.7 MB, free: 4.992 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-05/0.5779, allocations: 8 kB / 405.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.5782, allocations: 334.8 kB / 406 MB, free: 4.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003/0.5785, allocations: 92.88 kB / 406.1 MB, free: 4.555 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003559/0.5788, allocations: 162.8 kB / 406.3 MB, free: 4.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006565/0.5795, allocations: 0.5343 MB / 406.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.5795, allocations: 0 / 406.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001517/0.5811, allocations: 0.8323 MB / 407.6 MB, free: 2.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003306/0.5814, allocations: 459.2 kB / 408.1 MB, free: 2.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.5815, allocations: 4 kB / 408.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.5815, allocations: 7.984 kB / 408.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.119e-05/0.5816, allocations: 7.938 kB / 408.1 MB, free: 2.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/0.5816, allocations: 7.938 kB / 408.1 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003416/0.582, allocations: 39.73 kB / 408.1 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.5821, allocations: 27.98 kB / 408.2 MB, free: 2.164 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.0004719/0.5826, allocations: 407.7 kB / 408.6 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.5827, allocations: 31.81 kB / 408.6 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.5828, allocations: 16.92 kB / 408.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.5828, allocations: 4 kB / 408.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.5828, allocations: 0.5 kB / 408.6 MB, free: 1.656 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5828, allocations: 7.984 kB / 408.6 MB, free: 1.648 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004044/0.5832, allocations: 297.3 kB / 408.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.5832, allocations: 11.95 kB / 408.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.109e-06/0.5833, allocations: 0 / 408.9 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.211e-05/0.5833, allocations: 7.938 kB / 408.9 MB, free: 1.289 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.5834, allocations: 31.92 kB / 409 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.839e-06/0.5834, allocations: 0 / 409 MB, free: 1.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.5834, allocations: 4 kB / 409 MB, free: 1.254 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001846/0.5852, allocations: 0.9182 MB / 409.9 MB, free: 208 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.765e-05/0.5854, allocations: 92.83 kB / 410 MB, free: 96 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.5855, allocations: 32 kB / 410 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.586, allocations: 43.95 kB / 410.1 MB, free: 20 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.5863, allocations: 28.05 kB / 410.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-05/0.5863, allocations: 23.98 kB / 410.1 MB, free: 15.96 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001741/0.5865, allocations: 128.2 kB / 410.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5865, allocations: 0 / 410.2 MB, free: 15.84 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001015/0.5876, allocations: 207.7 kB / 410.4 MB, free: 15.64 MB / 346.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.003346/0.5909, allocations: 2.118 MB / 412.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.5927, allocations: 1.182 MB / 413.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/0.5927, allocations: 0 / 413.7 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.5938, allocations: 0.7139 MB / 414.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.5941, allocations: 23.95 kB / 414.5 MB, free: 11.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.596, allocations: 0.5022 MB / 415 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.5964, allocations: 0.7328 MB / 415.7 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.66e-05/0.5965, allocations: 13.2 kB / 415.7 MB, free: 9.844 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.5966, allocations: 51.36 kB / 415.8 MB, free: 9.793 MB / 346.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5966, allocations: 0 / 415.8 MB, free: 9.793 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.6341, allocations: 6.708 MB / 422.5 MB, free: 3.148 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003663/0.6346, allocations: 143.9 kB / 422.6 MB, free: 2.918 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.754/3.388, allocations: 0 / 422.6 MB, free: 2.918 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