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.278/2.278, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.276e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4211, allocations: 54.84 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.5744, allocations: 80.5 MB / 440.4 MB, free: 324 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.5747, allocations: 63.97 kB / 440.4 MB, free: 260 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02631/0.601, allocations: 5.131 MB / 445.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.601, allocations: 0 / 445.6 MB, free: 11.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.6011, allocations: 4 kB / 445.6 MB, free: 11.14 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.001058/0.6021, allocations: 0.8958 MB / 446.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.6022, allocations: 8.031 kB / 446.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.533e-05/0.6023, allocations: 52.28 kB / 446.5 MB, free: 10.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.079e-05/0.6024, allocations: 31.72 kB / 446.6 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.6026, allocations: 183.3 kB / 446.7 MB, free: 9.789 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.823e-05/0.6026, allocations: 8 kB / 446.7 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.6027, allocations: 31.92 kB / 446.8 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005367/0.6032, allocations: 215.5 kB / 447 MB, free: 9.512 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6033, allocations: 3.938 kB / 447 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.6033, allocations: 11.98 kB / 447 MB, free: 9.496 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.6033, allocations: 3.953 kB / 447 MB, free: 9.492 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.6037, allocations: 91.92 kB / 447.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004544/0.6041, allocations: 323.8 kB / 447.4 MB, free: 9.016 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004688/0.6046, allocations: 253.5 kB / 447.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003586/0.605, allocations: 167.4 kB / 447.8 MB, free: 8.508 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.605, allocations: 8 kB / 447.8 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007751/0.6058, allocations: 0.5204 MB / 448.4 MB, free: 7.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 6.322e-06/0.6058, allocations: 3.938 kB / 448.4 MB, free: 7.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=32): time 0.001514/0.6074, allocations: 0.6707 MB / 449 MB, free: 7.164 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004312/0.6078, allocations: 0.6743 MB / 449.7 MB, free: 6.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.608, allocations: 165.9 kB / 449.9 MB, free: 6.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.019e-05/0.6081, allocations: 43.11 kB / 449.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/0.6082, allocations: 113.2 kB / 450 MB, free: 6.008 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.6084, allocations: 67.22 kB / 450.1 MB, free: 5.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.6084, allocations: 8 kB / 450.1 MB, free: 5.934 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.6086, allocations: 338.8 kB / 450.4 MB, free: 5.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.6089, allocations: 84.88 kB / 450.5 MB, free: 5.508 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003544/0.6092, allocations: 166.5 kB / 450.7 MB, free: 5.316 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005506/0.6098, allocations: 0.524 MB / 451.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.6098, allocations: 0 / 451.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001404/0.6112, allocations: 0.8285 MB / 452 MB, free: 3.766 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.6116, allocations: 452.9 kB / 452.5 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.6116, allocations: 4 kB / 452.5 MB, free: 3.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.705e-05/0.6117, allocations: 4 kB / 452.5 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.6117, allocations: 11.92 kB / 452.5 MB, free: 3.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.451e-05/0.6118, allocations: 4 kB / 452.5 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/0.6121, allocations: 55.56 kB / 452.5 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.069e-05/0.6122, allocations: 20 kB / 452.6 MB, free: 3.129 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.0004395/0.6126, allocations: 415.6 kB / 453 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.929e-05/0.6127, allocations: 31.8 kB / 453 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.391e-05/0.6128, allocations: 16.94 kB / 453 MB, free: 2.609 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.6128, allocations: 4 kB / 453 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.6128, allocations: 0 / 453 MB, free: 2.605 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6128, allocations: 8.875 kB / 453 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003918/0.6132, allocations: 301.2 kB / 453.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.6133, allocations: 0 / 453.3 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-06/0.6133, allocations: 4 kB / 453.3 MB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.6133, allocations: 4 kB / 453.3 MB, free: 2.246 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.6134, allocations: 19.98 kB / 453.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-05/0.6134, allocations: 10.69 kB / 453.4 MB, free: 2.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.6134, allocations: 4 kB / 453.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001733/0.6151, allocations: 0.9221 MB / 454.3 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.596e-05/0.6152, allocations: 100.8 kB / 454.4 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.6154, allocations: 24 kB / 454.4 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004635/0.6158, allocations: 43.97 kB / 454.4 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001458/0.616, allocations: 43.84 kB / 454.5 MB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/0.6161, allocations: 23.98 kB / 454.5 MB, free: 0.9102 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001456/0.6162, allocations: 128.3 kB / 454.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6162, allocations: 0 / 454.6 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009267/0.6172, allocations: 195.9 kB / 454.8 MB, free: 0.5938 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.003041/0.6202, allocations: 2.126 MB / 457 MB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.6218, allocations: 1.17 MB / 458.1 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.6218, allocations: 0 / 458.1 MB, free: 12.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009671/0.6228, allocations: 0.7062 MB / 458.8 MB, free: 12.17 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.6231, allocations: 21.27 kB / 458.9 MB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/0.6248, allocations: 0.5 MB / 459.4 MB, free: 11.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.6252, allocations: 0.7367 MB / 460.1 MB, free: 10.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 4.253e-05/0.6253, allocations: 17.14 kB / 460.1 MB, free: 10.81 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.773e-05/0.6254, allocations: 39.42 kB / 460.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6254, allocations: 0 / 460.1 MB, free: 10.77 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03132/0.6567, allocations: 6.733 MB / 466.9 MB, free: 4.105 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002722/0.657, allocations: 144.1 kB / 467 MB, free: 3.875 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.661/3.318, allocations: 0 / 467 MB, free: 3.875 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