Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.65/2.65, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.443e-05/3.454e-05, allocations: 4 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4162, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1694/0.5856, allocations: 90.13 MB / 499 MB, free: 436 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.5859, allocations: 63.97 kB / 499.1 MB, free: 372 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1406/0.7266, allocations: 29.61 MB / 0.5163 GB, free: 2.703 MB / 442.7 MB Notification: Performance of FrontEnd: time 4.588e-06/0.7266, allocations: 4 kB / 0.5163 GB, free: 2.699 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001207/0.7268, allocations: 16 kB / 0.5163 GB, free: 2.684 MB / 442.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.003422/0.7302, allocations: 1.088 MB / 0.5174 GB, free: 1.512 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.7303, allocations: 8.031 kB / 0.5174 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.7305, allocations: 66.52 kB / 0.5175 GB, free: 1.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/0.731, allocations: 98.78 kB / 0.5176 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003251/0.7342, allocations: 0.726 MB / 0.5183 GB, free: 0.5508 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001012/0.7344, allocations: 28.48 kB / 0.5183 GB, free: 0.5234 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.7346, allocations: 23.95 kB / 0.5183 GB, free: 0.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.7361, allocations: 401.3 kB / 0.5187 GB, free: 56 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.7362, allocations: 0 / 0.5187 GB, free: 56 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.624e-05/0.7363, allocations: 11.98 kB / 0.5187 GB, free: 44 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.483e-05/0.7364, allocations: 8 kB / 0.5187 GB, free: 36 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3692/1.106, allocations: 197.1 kB / 0.5189 GB, free: 104.6 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004692/1.11, allocations: 1.608 MB / 0.5205 GB, free: 103.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/1.112, allocations: 490 kB / 0.521 GB, free: 103.6 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007196/1.113, allocations: 194.7 kB / 0.5211 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/1.113, allocations: 9.312 kB / 0.5212 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/1.114, allocations: 372.2 kB / 0.5215 GB, free: 103.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 5.431e-06/1.114, allocations: 0 / 0.5215 GB, free: 103.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.002548/1.117, allocations: 0.531 MB / 0.522 GB, free: 103.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001661/1.117, allocations: 452.3 kB / 0.5225 GB, free: 102.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003372/1.121, allocations: 0.948 MB / 0.5234 GB, free: 102.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/1.121, allocations: 42.86 kB / 0.5234 GB, free: 102.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004175/1.121, allocations: 355.8 kB / 0.5238 GB, free: 102.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002546/1.121, allocations: 132 kB / 0.5239 GB, free: 102.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.257e-05/1.122, allocations: 9.188 kB / 0.5239 GB, free: 102.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001068/1.122, allocations: 336.6 kB / 0.5242 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006044/1.122, allocations: 137.7 kB / 0.5244 GB, free: 102.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008365/1.123, allocations: 365 kB / 0.5247 GB, free: 101.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006563/1.124, allocations: 165.5 kB / 0.5249 GB, free: 101.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/1.124, allocations: 1.031 kB / 0.5249 GB, free: 101.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001714/1.126, allocations: 452 kB / 0.5253 GB, free: 101.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.126, allocations: 6.5 kB / 0.5253 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/1.126, allocations: 3.469 kB / 0.5253 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-05/1.126, allocations: 11.08 kB / 0.5253 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009558/1.127, allocations: 96.67 kB / 0.5254 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.811e-05/1.127, allocations: 14.59 kB / 0.5254 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.128, allocations: 74.45 kB / 0.5255 GB, free: 101.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/1.128, allocations: 20.61 kB / 0.5255 GB, free: 101.8 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.0003319/1.129, allocations: 176.8 kB / 0.5257 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003871/1.129, allocations: 100.6 kB / 0.5258 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/1.131, allocations: 0.5949 MB / 0.5264 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/1.131, allocations: 3.75 kB / 0.5264 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/1.131, allocations: 7.922 kB / 0.5264 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-05/1.131, allocations: 6.734 kB / 0.5264 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/1.133, allocations: 0.6762 MB / 0.527 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.133, allocations: 3.906 kB / 0.527 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004108/1.133, allocations: 44.77 kB / 0.5271 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/1.133, allocations: 7.781 kB / 0.5271 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.336e-05/1.133, allocations: 21.27 kB / 0.5271 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/1.133, allocations: 9.531 kB / 0.5271 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/1.133, allocations: 0 / 0.5271 GB, free: 101.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001949/1.135, allocations: 0.7156 MB / 0.5278 GB, free: 101.1 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005455/1.136, allocations: 223.2 kB / 0.528 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003008/1.136, allocations: 28.77 kB / 0.5281 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009669/1.137, allocations: 58.16 kB / 0.5281 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/1.138, allocations: 47.3 kB / 0.5282 GB, free: 100.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.738e-05/1.138, allocations: 33.2 kB / 0.5282 GB, free: 100.9 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002196/1.14, allocations: 0.7379 MB / 0.5289 GB, free: 100.8 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.14, allocations: 0 / 0.5289 GB, free: 100.8 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001705/1.142, allocations: 179.4 kB / 0.5291 GB, free: 100.8 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.004282/1.146, allocations: 2.125 MB / 0.5312 GB, free: 99.36 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/1.148, allocations: 406 kB / 0.5315 GB, free: 99.24 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/1.148, allocations: 0 / 0.5315 GB, free: 99.24 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00093/1.149, allocations: 276.2 kB / 0.5318 GB, free: 99.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002464/1.151, allocations: 251.6 kB / 0.532 GB, free: 99.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/1.156, allocations: 1.346 MB / 0.5334 GB, free: 98.48 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007498/1.157, allocations: 1.007 MB / 0.5343 GB, free: 97.75 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001083/1.158, allocations: 352 kB / 0.5347 GB, free: 97.53 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/1.158, allocations: 0 / 0.5347 GB, free: 97.53 MB / 442.7 MB [CodegenCpp.tpl:12105:14-12105:14:writable] Error: Template error: literalExpConst failed: {}. [CodegenCpp.tpl:12051:14-12051:14:writable] Error: Template error: literalExpConst failed: {}.