Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.501/2.501, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.48e-05, allocations: 7.938 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1477, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5664/0.7142, allocations: 90.12 MB / 0.4888 GB, free: 13.83 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.7145, allocations: 67.97 kB / 0.4888 GB, free: 13.77 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.138/0.8525, allocations: 29.62 MB / 0.5177 GB, free: 116 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.8525, allocations: 0 / 0.5177 GB, free: 116 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001171/0.8527, allocations: 20 kB / 0.5178 GB, free: 96 kB / 426.7 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.002483/0.8552, allocations: 1.092 MB / 0.5188 GB, free: 14.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.8552, allocations: 12.03 kB / 0.5188 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.8554, allocations: 62.53 kB / 0.5189 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.8557, allocations: 94.78 kB / 0.519 GB, free: 14.74 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.858, allocations: 0.7221 MB / 0.5197 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.074e-05/0.8581, allocations: 28.48 kB / 0.5197 GB, free: 13.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.802e-05/0.8582, allocations: 31.95 kB / 0.5198 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009536/0.8592, allocations: 393.4 kB / 0.5201 GB, free: 13.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.8592, allocations: 3.984 kB / 0.5201 GB, free: 13.46 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.453e-05/0.8593, allocations: 12 kB / 0.5201 GB, free: 13.45 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.8593, allocations: 11.94 kB / 0.5202 GB, free: 13.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000602/0.8599, allocations: 199.8 kB / 0.5203 GB, free: 13.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.863, allocations: 1.61 MB / 0.5219 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.8642, allocations: 486.2 kB / 0.5224 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.8647, allocations: 195 kB / 0.5226 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.8648, allocations: 7.938 kB / 0.5226 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008272/0.8656, allocations: 374.2 kB / 0.5229 GB, free: 10.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 4.188e-06/0.8656, allocations: 0 / 0.5229 GB, free: 10.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001764/0.8674, allocations: 0.5236 MB / 0.5234 GB, free: 9.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000237/0.8677, allocations: 456.9 kB / 0.5239 GB, free: 9.301 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/0.87, allocations: 0.9493 MB / 0.5248 GB, free: 8.324 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.8701, allocations: 49.69 kB / 0.5249 GB, free: 8.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004964/0.8706, allocations: 365 kB / 0.5252 GB, free: 7.91 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.8709, allocations: 134.3 kB / 0.5253 GB, free: 7.777 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.8709, allocations: 8 kB / 0.5253 GB, free: 7.77 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.8711, allocations: 326 kB / 0.5256 GB, free: 7.445 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.8715, allocations: 137.1 kB / 0.5258 GB, free: 7.312 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.8722, allocations: 370.1 kB / 0.5261 GB, free: 6.859 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000465/0.8727, allocations: 166.4 kB / 0.5263 GB, free: 6.699 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.006e-05/0.8727, allocations: 3.984 kB / 0.5263 GB, free: 6.695 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001518/0.8742, allocations: 0.5083 MB / 0.5268 GB, free: 6.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.749e-05/0.8743, allocations: 10.66 kB / 0.5268 GB, free: 6.172 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.8743, allocations: 11.95 kB / 0.5268 GB, free: 6.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.856e-05/0.8743, allocations: 4 kB / 0.5268 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000716/0.8751, allocations: 95.83 kB / 0.5269 GB, free: 6.062 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.335e-05/0.8751, allocations: 8 kB / 0.5269 GB, free: 6.055 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/0.876, allocations: 79.91 kB / 0.527 GB, free: 5.977 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.8761, allocations: 23.98 kB / 0.527 GB, free: 5.953 MB / 442.7 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.000267/0.8764, allocations: 168.8 kB / 0.5272 GB, free: 5.781 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.8766, allocations: 98.78 kB / 0.5273 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001755/0.8784, allocations: 0.5985 MB / 0.5279 GB, free: 5.078 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.8784, allocations: 11.95 kB / 0.5279 GB, free: 5.066 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.257e-06/0.8784, allocations: 3.984 kB / 0.5279 GB, free: 5.062 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.423e-05/0.8785, allocations: 7.984 kB / 0.5279 GB, free: 5.055 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.8796, allocations: 0.6729 MB / 0.5285 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.8796, allocations: 0 / 0.5285 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003101/0.88, allocations: 51.86 kB / 0.5286 GB, free: 4.281 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.88, allocations: 4 kB / 0.5286 GB, free: 4.277 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-05/0.8801, allocations: 23.98 kB / 0.5286 GB, free: 4.254 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.175e-06/0.8801, allocations: 4 kB / 0.5286 GB, free: 4.25 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.8801, allocations: 11.94 kB / 0.5286 GB, free: 4.238 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.8817, allocations: 0.713 MB / 0.5293 GB, free: 3.441 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004014/0.8821, allocations: 227.7 kB / 0.5295 GB, free: 3.199 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.8823, allocations: 31.95 kB / 0.5296 GB, free: 3.168 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007154/0.883, allocations: 47.95 kB / 0.5296 GB, free: 3.121 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.8832, allocations: 51.94 kB / 0.5297 GB, free: 3.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.667e-05/0.8833, allocations: 23.98 kB / 0.5297 GB, free: 3.047 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001627/0.8849, allocations: 0.7423 MB / 0.5304 GB, free: 2.289 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.7e-07/0.885, allocations: 0 / 0.5304 GB, free: 2.289 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009951/0.886, allocations: 179.9 kB / 0.5306 GB, free: 2.113 MB / 442.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.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.003392/0.8894, allocations: 2.115 MB / 0.5326 GB, free: 44 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.8908, allocations: 411.7 kB / 0.533 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.8908, allocations: 3.984 kB / 0.533 GB, free: 15.64 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007573/0.8915, allocations: 271.6 kB / 0.5333 GB, free: 15.37 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/0.8937, allocations: 253.3 kB / 0.5335 GB, free: 15.13 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.8979, allocations: 1.299 MB / 0.5348 GB, free: 13.77 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008841/0.8989, allocations: 1.012 MB / 0.5358 GB, free: 12.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009744/0.8999, allocations: 197.7 kB / 0.536 GB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008492/0.9007, allocations: 347.2 kB / 0.5363 GB, free: 12.19 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/0.9007, allocations: 0 / 0.5363 GB, free: 12.19 MB / 458.7 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}.