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.172/2.172, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.079e-05/5.102e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1129, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5379/0.6509, allocations: 74.13 MB / 396 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.6513, allocations: 63.97 kB / 396.1 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03965/0.6909, allocations: 5.131 MB / 401.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.691, allocations: 0 / 401.2 MB, free: 10.2 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.294e-05/0.691, allocations: 0 / 401.2 MB, free: 10.2 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.001463/0.6925, allocations: 0.8879 MB / 402.1 MB, free: 9.172 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.409e-05/0.6926, allocations: 16.02 kB / 402.1 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001237/0.6927, allocations: 46.5 kB / 402.1 MB, free: 9.102 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.6929, allocations: 23.81 kB / 402.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002817/0.6932, allocations: 199.2 kB / 402.4 MB, free: 8.844 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.11e-05/0.6933, allocations: 16 kB / 402.4 MB, free: 8.828 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.6934, allocations: 16 kB / 402.4 MB, free: 8.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008079/0.6942, allocations: 222.2 kB / 402.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.6943, allocations: 0 / 402.6 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-05/0.6944, allocations: 12 kB / 402.6 MB, free: 8.555 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.6944, allocations: 4 kB / 402.6 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.6949, allocations: 95.92 kB / 402.7 MB, free: 8.457 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.6955, allocations: 323.7 kB / 403 MB, free: 8.07 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007223/0.6963, allocations: 253.4 kB / 403.3 MB, free: 7.75 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005578/0.6969, allocations: 171.5 kB / 403.4 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.6969, allocations: 0 / 403.4 MB, free: 7.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001154/0.6981, allocations: 0.5346 MB / 404 MB, free: 6.938 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.888e-06/0.6981, allocations: 0 / 404 MB, free: 6.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.002401/0.7005, allocations: 0.6629 MB / 404.6 MB, free: 6.219 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005292/0.7011, allocations: 0.6785 MB / 405.3 MB, free: 5.387 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.7014, allocations: 165.3 kB / 405.5 MB, free: 5.219 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001146/0.7016, allocations: 45.7 kB / 405.5 MB, free: 5.168 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.7017, allocations: 100.9 kB / 405.6 MB, free: 5.066 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001665/0.7019, allocations: 83.12 kB / 405.7 MB, free: 4.984 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.702, allocations: 4 kB / 405.7 MB, free: 4.98 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.7022, allocations: 338.8 kB / 406 MB, free: 4.641 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004292/0.7027, allocations: 88.88 kB / 406.1 MB, free: 4.551 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.7032, allocations: 158.5 kB / 406.3 MB, free: 4.375 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008599/0.7041, allocations: 0.5226 MB / 406.8 MB, free: 3.754 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/0.7041, allocations: 7.938 kB / 406.8 MB, free: 3.746 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002147/0.7063, allocations: 0.8246 MB / 407.6 MB, free: 2.816 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004255/0.7067, allocations: 459.2 kB / 408.1 MB, free: 2.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7068, allocations: 4.5 kB / 408.1 MB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.611e-05/0.7068, allocations: 4 kB / 408.1 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.536e-05/0.7069, allocations: 11.94 kB / 408.1 MB, free: 2.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.02e-05/0.707, allocations: 7.938 kB / 408.1 MB, free: 2.242 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005099/0.7075, allocations: 43.73 kB / 408.2 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.7076, allocations: 23.98 kB / 408.2 MB, free: 2.176 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.0006405/0.7083, allocations: 407.7 kB / 408.6 MB, free: 1.723 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.7085, allocations: 39.81 kB / 408.6 MB, free: 1.684 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.295e-05/0.7086, allocations: 12.94 kB / 408.6 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.136e-05/0.7086, allocations: 3.984 kB / 408.6 MB, free: 1.664 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.7086, allocations: 4 kB / 408.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.7087, allocations: 0 / 408.6 MB, free: 1.66 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005797/0.7093, allocations: 305.3 kB / 408.9 MB, free: 1.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/0.7093, allocations: 3.953 kB / 408.9 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-06/0.7093, allocations: 7.938 kB / 409 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.175e-06/0.7093, allocations: 0 / 409 MB, free: 1.301 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001006/0.7094, allocations: 23.98 kB / 409 MB, free: 1.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.266e-05/0.7095, allocations: 11.94 kB / 409 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.95e-06/0.7095, allocations: 0 / 409 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006858/0.7164, allocations: 0.9105 MB / 409.9 MB, free: 228 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.7166, allocations: 100.8 kB / 410 MB, free: 108 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.7168, allocations: 27.94 kB / 410 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/0.7176, allocations: 47.95 kB / 410.1 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/0.7179, allocations: 27.97 kB / 410.1 MB, free: 4 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.718, allocations: 23.98 kB / 410.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002411/0.7183, allocations: 128.2 kB / 410.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.82e-07/0.7183, allocations: 0 / 410.2 MB, free: 15.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001448/0.7198, allocations: 203.8 kB / 410.4 MB, free: 15.66 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.01261/0.7324, allocations: 2.115 MB / 412.6 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002453/0.7349, allocations: 1.178 MB / 413.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/0.735, allocations: 7.938 kB / 413.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005615/0.7406, allocations: 0.7062 MB / 414.5 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004243/0.7411, allocations: 31.89 kB / 414.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.7437, allocations: 0.4945 MB / 415 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004614/0.7484, allocations: 0.7406 MB / 415.7 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.181e-05/0.7485, allocations: 9.203 kB / 415.7 MB, free: 9.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.7486, allocations: 43.42 kB / 415.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.583e-06/0.7487, allocations: 0 / 415.8 MB, free: 9.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06111/0.8098, allocations: 6.719 MB / 422.5 MB, free: 3.164 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003107/0.8102, allocations: 136.2 kB / 422.6 MB, free: 2.938 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.94/3.75, allocations: 0 / 422.6 MB, free: 2.938 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