Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.295/2.295, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.309e-05/4.311e-05, allocations: 6.766 kB / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1267, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4903/0.6171, allocations: 90.12 MB / 0.4887 GB, free: 13.89 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.6174, allocations: 67.95 kB / 0.4888 GB, free: 13.82 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1408/0.7582, allocations: 29.63 MB / 0.5177 GB, free: 164 kB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.7583, allocations: 0 / 0.5177 GB, free: 164 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001139/0.7584, allocations: 27.94 kB / 0.5178 GB, free: 136 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.002521/0.7609, allocations: 1.08 MB / 0.5188 GB, free: 14.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.761, allocations: 8.031 kB / 0.5188 GB, free: 14.96 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.7611, allocations: 58.53 kB / 0.5189 GB, free: 14.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003689/0.7615, allocations: 98.78 kB / 0.519 GB, free: 14.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002298/0.7638, allocations: 0.726 MB / 0.5197 GB, free: 14.02 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.245e-05/0.7639, allocations: 24.56 kB / 0.5197 GB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.413e-05/0.764, allocations: 31.95 kB / 0.5197 GB, free: 13.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009585/0.765, allocations: 405.3 kB / 0.5201 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.765, allocations: 0 / 0.5201 GB, free: 13.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.93e-05/0.7651, allocations: 8 kB / 0.5201 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.7651, allocations: 4 kB / 0.5201 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006038/0.7657, allocations: 207.8 kB / 0.5203 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.7687, allocations: 1.606 MB / 0.5219 GB, free: 11.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.7699, allocations: 490.2 kB / 0.5224 GB, free: 11.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004722/0.7704, allocations: 187 kB / 0.5225 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.7704, allocations: 16 kB / 0.5226 GB, free: 10.84 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000842/0.7713, allocations: 378.2 kB / 0.5229 GB, free: 10.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 4.037e-06/0.7713, allocations: 0 / 0.5229 GB, free: 10.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001633/0.7729, allocations: 0.5276 MB / 0.5234 GB, free: 9.895 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000257/0.7732, allocations: 460.9 kB / 0.5239 GB, free: 9.34 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00218/0.7754, allocations: 0.9454 MB / 0.5248 GB, free: 8.367 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.021e-05/0.7755, allocations: 41.7 kB / 0.5248 GB, free: 8.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004608/0.776, allocations: 376.9 kB / 0.5252 GB, free: 7.949 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001974/0.7762, allocations: 122.4 kB / 0.5253 GB, free: 7.828 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.292e-05/0.7763, allocations: 12 kB / 0.5253 GB, free: 7.816 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.7764, allocations: 326 kB / 0.5256 GB, free: 7.492 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004232/0.7768, allocations: 145.1 kB / 0.5258 GB, free: 7.352 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/0.7775, allocations: 350.2 kB / 0.5261 GB, free: 6.918 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.778, allocations: 170.3 kB / 0.5263 GB, free: 6.754 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.892e-05/0.778, allocations: 7.938 kB / 0.5263 GB, free: 6.746 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001406/0.7794, allocations: 0.5117 MB / 0.5268 GB, free: 6.227 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.7795, allocations: 4 kB / 0.5268 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.7795, allocations: 12.39 kB / 0.5268 GB, free: 6.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.7795, allocations: 8 kB / 0.5268 GB, free: 6.203 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.7803, allocations: 95.83 kB / 0.5269 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/0.7803, allocations: 4 kB / 0.5269 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007995/0.7811, allocations: 87.89 kB / 0.527 GB, free: 6.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.7812, allocations: 20 kB / 0.527 GB, free: 6 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.0002596/0.7815, allocations: 168.8 kB / 0.5272 GB, free: 5.828 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002584/0.7817, allocations: 98.78 kB / 0.5273 GB, free: 5.73 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.7835, allocations: 0.5946 MB / 0.5278 GB, free: 5.129 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.88e-05/0.7836, allocations: 11.95 kB / 0.5279 GB, free: 5.117 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.7836, allocations: 4 kB / 0.5279 GB, free: 5.113 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.777e-05/0.7836, allocations: 7.984 kB / 0.5279 GB, free: 5.105 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001474/0.7851, allocations: 0.6729 MB / 0.5285 GB, free: 4.383 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.7851, allocations: 4 kB / 0.5285 GB, free: 4.379 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.7855, allocations: 47.91 kB / 0.5286 GB, free: 4.332 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.686e-05/0.7855, allocations: 4 kB / 0.5286 GB, free: 4.328 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.437e-05/0.7856, allocations: 23.98 kB / 0.5286 GB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-05/0.7856, allocations: 7.938 kB / 0.5286 GB, free: 4.297 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7856, allocations: 3.953 kB / 0.5286 GB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.7874, allocations: 0.7052 MB / 0.5293 GB, free: 3.504 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000457/0.7879, allocations: 235.7 kB / 0.5295 GB, free: 3.254 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002478/0.7882, allocations: 31.94 kB / 0.5296 GB, free: 3.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007115/0.7889, allocations: 51.97 kB / 0.5296 GB, free: 3.172 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001689/0.7891, allocations: 43.94 kB / 0.5296 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.76e-05/0.7892, allocations: 27.98 kB / 0.5297 GB, free: 3.102 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001703/0.7909, allocations: 0.7462 MB / 0.5304 GB, free: 2.34 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7909, allocations: 0 / 0.5304 GB, free: 2.34 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001117/0.792, allocations: 175.9 kB / 0.5306 GB, free: 2.168 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.003724/0.7958, allocations: 2.12 MB / 0.5326 GB, free: 88 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001472/0.7973, allocations: 407.6 kB / 0.533 GB, free: 15.69 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/0.7973, allocations: 4 kB / 0.533 GB, free: 15.68 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008194/0.7982, allocations: 271.7 kB / 0.5333 GB, free: 15.42 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002168/0.8003, allocations: 251.9 kB / 0.5335 GB, free: 15.18 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004249/0.8046, allocations: 1.299 MB / 0.5348 GB, free: 13.81 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008565/0.8055, allocations: 1.009 MB / 0.5358 GB, free: 12.77 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001003/0.8066, allocations: 205.7 kB / 0.536 GB, free: 12.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008663/0.8075, allocations: 347.3 kB / 0.5363 GB, free: 12.23 MB / 458.7 MB Notification: Performance of SimCode: time 3.647e-06/0.8075, allocations: 0 / 0.5363 GB, free: 12.23 MB / 458.7 MB [CodegenCFunctions.tpl:3768:14-3768:14:writable] Error: Template error: literalExpConst failed: {}.