Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.913/2.913, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.432e-05/4.465e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.422/0.4221, allocations: 58.84 MB / 382.3 MB, free: 10.34 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1727/0.5948, allocations: 88.5 MB / 470.8 MB, free: 4.012 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002515/0.5951, allocations: 63.97 kB / 470.9 MB, free: 3.949 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.1538/0.7489, allocations: 28.95 MB / 499.8 MB, free: 6.953 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.485e-06/0.749, allocations: 0 / 499.8 MB, free: 6.953 MB / 426.8 MB Notification: Performance of Transformations before backend: time 0.0002318/0.7493, allocations: 27.92 kB / 499.8 MB, free: 6.926 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.004098/0.7534, allocations: 1.08 MB / 0.4892 GB, free: 5.762 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.475e-05/0.7535, allocations: 12.03 kB / 0.4892 GB, free: 5.75 MB / 426.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000226/0.7537, allocations: 62.53 kB / 0.4892 GB, free: 5.68 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000628/0.7544, allocations: 94.78 kB / 0.4893 GB, free: 5.586 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003663/0.758, allocations: 0.7337 MB / 0.4901 GB, free: 4.797 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.009e-05/0.7582, allocations: 20.56 kB / 0.4901 GB, free: 4.777 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001394/0.7583, allocations: 35.98 kB / 0.4901 GB, free: 4.742 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.7597, allocations: 397.3 kB / 0.4905 GB, free: 4.297 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.7598, allocations: 4 kB / 0.4905 GB, free: 4.293 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.944e-05/0.7599, allocations: 15.92 kB / 0.4905 GB, free: 4.277 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.7599, allocations: 4 kB / 0.4905 GB, free: 4.273 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009058/0.7608, allocations: 199.9 kB / 0.4907 GB, free: 4.078 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004723/0.7656, allocations: 1.618 MB / 0.4923 GB, free: 2.383 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001744/0.7674, allocations: 490.2 kB / 0.4927 GB, free: 1.832 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007137/0.7681, allocations: 190.9 kB / 0.4929 GB, free: 1.621 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 5.17e-05/0.7682, allocations: 12.16 kB / 0.4929 GB, free: 1.609 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001164/0.7694, allocations: 362.7 kB / 0.4933 GB, free: 1.215 MB / 426.8 MB Notification: Performance of pre-optimization done (n=48): time 5.61e-06/0.7694, allocations: 0 / 0.4933 GB, free: 1.215 MB / 426.8 MB Notification: Performance of matching and sorting (n=48): time 0.001991/0.7714, allocations: 0.5238 MB / 0.4938 GB, free: 0.6836 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002988/0.7718, allocations: 456.9 kB / 0.4942 GB, free: 136 kB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.7745, allocations: 0.9454 MB / 0.4952 GB, free: 15.16 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0001893/0.7748, allocations: 41.7 kB / 0.4952 GB, free: 15.11 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005232/0.7753, allocations: 376.9 kB / 0.4956 GB, free: 14.74 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.7756, allocations: 134.3 kB / 0.4957 GB, free: 14.61 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.974e-05/0.7757, allocations: 12 kB / 0.4957 GB, free: 14.6 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.7758, allocations: 326 kB / 0.496 GB, free: 14.27 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000453/0.7763, allocations: 137.1 kB / 0.4961 GB, free: 14.14 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/0.777, allocations: 362.1 kB / 0.4965 GB, free: 13.7 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.7775, allocations: 160.2 kB / 0.4966 GB, free: 13.54 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/0.7775, allocations: 7.953 kB / 0.4966 GB, free: 13.53 MB / 442.8 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001665/0.7792, allocations: 0.504 MB / 0.4971 GB, free: 13.02 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.7793, allocations: 8.25 kB / 0.4971 GB, free: 13.01 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.7793, allocations: 8 kB / 0.4971 GB, free: 13 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.7794, allocations: 4.5 kB / 0.4972 GB, free: 13 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.7801, allocations: 103.8 kB / 0.4973 GB, free: 12.9 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.327e-05/0.7801, allocations: 11.94 kB / 0.4973 GB, free: 12.89 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.7812, allocations: 71.66 kB / 0.4973 GB, free: 12.82 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.634e-05/0.7813, allocations: 28 kB / 0.4974 GB, free: 12.79 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition8,$PRE.booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.y,booleanTable1.combiTimeTable.nextTimeEvent,$PRE.booleanTable1.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,$PRE.booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,$PRE.booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,$PRE.booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,$PRE.booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,$PRE.booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,$PRE.booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,$PRE.booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,$PRE.booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,$PRE.booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,$PRE.booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,$PRE.booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * 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.0003045/0.7816, allocations: 168.8 kB / 0.4975 GB, free: 12.62 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004453/0.782, allocations: 102.7 kB / 0.4976 GB, free: 12.52 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001974/0.784, allocations: 0.6028 MB / 0.4982 GB, free: 11.91 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.846e-05/0.7841, allocations: 8 kB / 0.4982 GB, free: 11.9 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.7841, allocations: 7.938 kB / 0.4982 GB, free: 11.89 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/0.7842, allocations: 7.984 kB / 0.4982 GB, free: 11.88 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.7857, allocations: 0.6651 MB / 0.4989 GB, free: 11.17 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.7858, allocations: 7.984 kB / 0.4989 GB, free: 11.16 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.7862, allocations: 47.88 kB / 0.4989 GB, free: 11.11 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.7862, allocations: 4 kB / 0.4989 GB, free: 11.11 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.691e-05/0.7863, allocations: 19.98 kB / 0.499 GB, free: 11.09 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.739e-06/0.7863, allocations: 4 kB / 0.499 GB, free: 11.09 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.877e-06/0.7864, allocations: 8.094 kB / 0.499 GB, free: 11.08 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.7883, allocations: 0.7124 MB / 0.4997 GB, free: 10.28 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005294/0.7888, allocations: 223.8 kB / 0.4999 GB, free: 10.04 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003384/0.7892, allocations: 23.98 kB / 0.4999 GB, free: 10.02 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000811/0.79, allocations: 55.97 kB / 0.5 GB, free: 9.961 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002102/0.7903, allocations: 59.86 kB / 0.5 GB, free: 9.902 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.7904, allocations: 23.98 kB / 0.5 GB, free: 9.879 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.001961/0.7923, allocations: 0.7345 MB / 0.5007 GB, free: 9.129 MB / 442.8 MB Notification: Performance of sort global known variables: time 7.02e-07/0.7924, allocations: 0 / 0.5007 GB, free: 9.129 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.001452/0.7938, allocations: 179.9 kB / 0.5009 GB, free: 8.953 MB / 442.8 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.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 16 (booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.003916/0.7978, allocations: 2.112 MB / 0.503 GB, free: 6.836 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.001423/0.7993, allocations: 411.6 kB / 0.5034 GB, free: 6.434 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.7993, allocations: 0 / 0.5034 GB, free: 6.434 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008074/0.8002, allocations: 275.7 kB / 0.5036 GB, free: 6.164 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002262/0.8025, allocations: 249.5 kB / 0.5039 GB, free: 5.922 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.8071, allocations: 1.283 MB / 0.5051 GB, free: 4.574 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008665/0.808, allocations: 1.009 MB / 0.5061 GB, free: 3.539 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.001022/0.809, allocations: 205.7 kB / 0.5063 GB, free: 3.336 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009951/0.8101, allocations: 343.2 kB / 0.5066 GB, free: 3 MB / 442.8 MB Notification: Performance of SimCode: time 1.473e-06/0.8101, allocations: 3.938 kB / 0.5066 GB, free: 2.996 MB / 442.8 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}.