Running command: translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.698e-05/3.708e-05, allocations: 11.94 kB / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3248, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.465, allocations: 90.12 MB / 499 MB, free: 0.5391 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.4652, allocations: 67.97 kB / 499 MB, free: 484 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1262/0.5915, allocations: 29.62 MB / 0.5163 GB, free: 2.801 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.409e-06/0.5915, allocations: 0 / 0.5163 GB, free: 2.801 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001045/0.5916, allocations: 19.98 kB / 0.5163 GB, free: 2.781 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.002208/0.5939, allocations: 1.08 MB / 0.5173 GB, free: 1.617 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5939, allocations: 8.031 kB / 0.5173 GB, free: 1.609 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003606/0.5943, allocations: 102.8 kB / 0.5174 GB, free: 1.508 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.5963, allocations: 0.7299 MB / 0.5181 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.5963, allocations: 20.56 kB / 0.5182 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.631e-05/0.5964, allocations: 27.94 kB / 0.5182 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000846/0.5973, allocations: 401.4 kB / 0.5186 GB, free: 236 kB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.5973, allocations: 3.938 kB / 0.5186 GB, free: 232 kB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.18e-05/0.5974, allocations: 8 kB / 0.5186 GB, free: 224 kB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.5974, allocations: 8 kB / 0.5186 GB, free: 216 kB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000516/0.5979, allocations: 195.9 kB / 0.5188 GB, free: 20 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2779/0.8758, allocations: 1.61 MB / 0.5204 GB, free: 103.7 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.8769, allocations: 491.7 kB / 0.5208 GB, free: 103.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004147/0.8773, allocations: 189.5 kB / 0.521 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.433e-05/0.8774, allocations: 9.766 kB / 0.521 GB, free: 103.4 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007542/0.8781, allocations: 371.2 kB / 0.5214 GB, free: 103.3 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 5.035e-06/0.8782, allocations: 0.5312 kB / 0.5214 GB, free: 103.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.001612/0.8798, allocations: 0.5284 MB / 0.5219 GB, free: 103.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/0.8799, allocations: 453.5 kB / 0.5223 GB, free: 102.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001925/0.8819, allocations: 0.9497 MB / 0.5232 GB, free: 102.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/0.882, allocations: 44.81 kB / 0.5233 GB, free: 102.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002499/0.8822, allocations: 358.3 kB / 0.5236 GB, free: 102.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.8824, allocations: 130.9 kB / 0.5238 GB, free: 102.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.8825, allocations: 9.406 kB / 0.5238 GB, free: 102.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.171e-05/0.8825, allocations: 331.8 kB / 0.5241 GB, free: 102 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.8829, allocations: 137 kB / 0.5242 GB, free: 102 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005273/0.8834, allocations: 362.9 kB / 0.5246 GB, free: 101.8 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003832/0.8838, allocations: 171.7 kB / 0.5247 GB, free: 101.8 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.426e-06/0.8839, allocations: 0.7031 kB / 0.5247 GB, free: 101.8 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00104/0.8849, allocations: 443 kB / 0.5251 GB, free: 101.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.885, allocations: 8.781 kB / 0.5252 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.885, allocations: 4.359 kB / 0.5252 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.885, allocations: 8.094 kB / 0.5252 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.8855, allocations: 100 kB / 0.5253 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.053e-05/0.8856, allocations: 15.42 kB / 0.5253 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.8863, allocations: 74.8 kB / 0.5253 GB, free: 101.7 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/0.8864, allocations: 21.7 kB / 0.5254 GB, free: 101.7 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.0002045/0.8866, allocations: 177.2 kB / 0.5255 GB, free: 101.6 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.8869, allocations: 100.6 kB / 0.5256 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.8883, allocations: 0.6035 MB / 0.5262 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.8883, allocations: 7.875 kB / 0.5262 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.97e-06/0.8883, allocations: 0.7031 kB / 0.5262 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.265e-05/0.8884, allocations: 10.3 kB / 0.5262 GB, free: 101.5 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00095/0.8893, allocations: 0.6705 MB / 0.5269 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-06/0.8893, allocations: 3.938 kB / 0.5269 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.8896, allocations: 51.88 kB / 0.5269 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.852e-06/0.8896, allocations: 5.812 kB / 0.5269 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.855e-05/0.8897, allocations: 15.23 kB / 0.527 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.118e-06/0.8897, allocations: 3.938 kB / 0.527 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.041e-06/0.8897, allocations: 3.75 kB / 0.527 GB, free: 101.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/0.8909, allocations: 0.7206 MB / 0.5277 GB, free: 101 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003119/0.8913, allocations: 227.5 kB / 0.5279 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001972/0.8915, allocations: 24.12 kB / 0.5279 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005643/0.8921, allocations: 52.62 kB / 0.528 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.8922, allocations: 56.5 kB / 0.528 GB, free: 100.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.546e-05/0.8923, allocations: 21.83 kB / 0.528 GB, free: 100.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001228/0.8935, allocations: 0.7408 MB / 0.5288 GB, free: 100.7 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.106e-06/0.8935, allocations: 0 / 0.5288 GB, free: 100.7 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008664/0.8944, allocations: 178.6 kB / 0.5289 GB, free: 100.7 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.001583/0.896, allocations: 488.3 kB / 0.5294 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00092/0.8969, allocations: 406.2 kB / 0.5298 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.266e-06/0.897, allocations: 0 / 0.5298 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005455/0.8975, allocations: 278.3 kB / 0.5301 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001279/0.8988, allocations: 246.3 kB / 0.5303 GB, free: 100.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002348/0.9012, allocations: 1.171 MB / 0.5314 GB, free: 99.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005027/0.9017, allocations: 1.01 MB / 0.5324 GB, free: 99.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.9021, allocations: 103.5 kB / 0.5325 GB, free: 99.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.809e-06/0.9021, allocations: 4 kB / 0.5325 GB, free: 99.1 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: {}.