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 2.013/2.013, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.363e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3985/0.5052, allocations: 73.71 MB / 390 MB, free: 2.57 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.5055, allocations: 65.28 kB / 390.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02829/0.5339, allocations: 5.118 MB / 395.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.5339, allocations: 0 / 395.2 MB, free: 13.95 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.457e-05/0.5339, allocations: 4 kB / 395.2 MB, free: 13.94 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.001017/0.535, allocations: 0.8841 MB / 396.1 MB, free: 12.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.535, allocations: 8.031 kB / 396.1 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001247/0.5352, allocations: 31.75 kB / 396.1 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.5354, allocations: 191.2 kB / 396.3 MB, free: 12.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.5354, allocations: 11.94 kB / 396.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.37e-05/0.5355, allocations: 16 kB / 396.3 MB, free: 12.65 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002813/0.5358, allocations: 79.92 kB / 396.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004396/0.5362, allocations: 207.1 kB / 396.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.724e-05/0.5363, allocations: 4 kB / 396.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.5363, allocations: 4 kB / 396.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.5363, allocations: 8 kB / 396.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.5367, allocations: 281.9 kB / 396.9 MB, free: 12.09 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004279/0.5372, allocations: 257.8 kB / 397.2 MB, free: 11.81 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003027/0.5375, allocations: 150.8 kB / 397.3 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.5375, allocations: 11.88 kB / 397.3 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007086/0.5383, allocations: 0.5136 MB / 397.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 3.196e-06/0.5383, allocations: 0 / 397.8 MB, free: 11.13 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.00128/0.5396, allocations: 416.7 kB / 398.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004095/0.54, allocations: 0.6714 MB / 398.9 MB, free: 9.992 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.5403, allocations: 165.2 kB / 399.1 MB, free: 9.844 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.961e-05/0.5404, allocations: 36.56 kB / 399.1 MB, free: 9.805 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.5405, allocations: 172.7 kB / 399.3 MB, free: 9.648 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.5406, allocations: 72.08 kB / 399.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.479e-05/0.5406, allocations: 4 kB / 399.3 MB, free: 9.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.5408, allocations: 326.2 kB / 399.7 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.541, allocations: 76.81 kB / 399.7 MB, free: 9.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.5413, allocations: 149.3 kB / 399.9 MB, free: 9.086 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004794/0.5418, allocations: 102.1 kB / 400 MB, free: 9.012 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/0.5419, allocations: 0 / 400 MB, free: 9.012 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001214/0.5431, allocations: 392.4 kB / 400.4 MB, free: 8.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003525/0.5435, allocations: 449.3 kB / 400.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5435, allocations: 7.938 kB / 400.8 MB, free: 8.156 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.724e-05/0.5435, allocations: 4 kB / 400.8 MB, free: 8.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.558e-05/0.5436, allocations: 15.8 kB / 400.8 MB, free: 8.141 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.328e-05/0.5436, allocations: 11.88 kB / 400.8 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003568/0.544, allocations: 35.73 kB / 400.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.378e-05/0.5441, allocations: 19.81 kB / 400.9 MB, free: 8.078 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.0004654/0.5446, allocations: 398.7 kB / 401.3 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001403/0.546, allocations: 0.5003 MB / 401.8 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.77e-05/0.5461, allocations: 32.06 kB / 401.8 MB, free: 7.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.981e-05/0.5462, allocations: 20.8 kB / 401.8 MB, free: 7.207 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.5462, allocations: 7.938 kB / 401.8 MB, free: 7.199 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.5462, allocations: 4 kB / 401.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5463, allocations: 0 / 401.8 MB, free: 7.195 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000351/0.5466, allocations: 265.3 kB / 402.1 MB, free: 6.926 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.5466, allocations: 4 kB / 402.1 MB, free: 6.922 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.144e-06/0.5467, allocations: 11.89 kB / 402.1 MB, free: 6.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.859e-06/0.5467, allocations: 4 kB / 402.1 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.096e-05/0.5467, allocations: 23.73 kB / 402.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.5468, allocations: 0 / 402.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.5468, allocations: 8 kB / 402.2 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.5482, allocations: 0.6505 MB / 402.8 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.452e-05/0.5484, allocations: 96.83 kB / 402.9 MB, free: 6.164 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.5485, allocations: 30.86 kB / 402.9 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004501/0.549, allocations: 43.97 kB / 403 MB, free: 6.098 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001447/0.5491, allocations: 28.95 kB / 403 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/0.5492, allocations: 26.73 kB / 403 MB, free: 6.055 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001349/0.5494, allocations: 125.5 kB / 403.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5494, allocations: 0 / 403.2 MB, free: 5.945 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001001/0.5504, allocations: 186.9 kB / 403.3 MB, free: 5.766 MB / 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.002781/0.5532, allocations: 1.838 MB / 405.2 MB, free: 3.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001409/0.5547, allocations: 1.139 MB / 406.3 MB, free: 2.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.5547, allocations: 7.938 kB / 406.3 MB, free: 2.762 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008316/0.5556, allocations: 0.6845 MB / 407 MB, free: 2.102 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.5559, allocations: 19.95 kB / 407 MB, free: 2.082 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.5576, allocations: 0.5035 MB / 407.5 MB, free: 1.586 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.558, allocations: 0.744 MB / 408.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.318e-05/0.5581, allocations: 43.11 kB / 408.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5581, allocations: 0 / 408.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.615/3.173, allocations: 5.136 MB / 413.5 MB, free: 11.69 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