Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.BooleanTable,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_BooleanTable",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001511/0.00151, allocations: 185.7 kB / 16.41 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.01/2.01, allocations: 205.4 MB / 222.5 MB, free: 9.125 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 95.22 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5605/0.5605, allocations: 43.56 MB / 362.7 MB, free: 52.27 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006404/0.0006405, allocations: 12 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1336, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5037/0.6374, allocations: 88.59 MB / 0.5653 GB, free: 13.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/0.6378, allocations: 71.97 kB / 0.5654 GB, free: 13.92 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1408/0.7786, allocations: 29.06 MB / 0.5938 GB, free: 0.8867 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.7786, allocations: 4 kB / 0.5938 GB, free: 0.8828 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001196/0.7787, allocations: 23.94 kB / 0.5938 GB, free: 0.8594 MB / 410.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.003903/0.7827, allocations: 1.298 MB / 0.5951 GB, free: 15.47 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.7827, allocations: 8.031 kB / 0.5951 GB, free: 15.46 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.7829, allocations: 58.53 kB / 0.5951 GB, free: 15.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004381/0.7834, allocations: 98.31 kB / 0.5952 GB, free: 15.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002703/0.7861, allocations: 0.7415 MB / 0.5959 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.992e-05/0.7862, allocations: 20.56 kB / 0.596 GB, free: 14.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.592e-05/0.7863, allocations: 24 kB / 0.596 GB, free: 14.46 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001217/0.7875, allocations: 418.3 kB / 0.5964 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.7876, allocations: 0 / 0.5964 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.878e-05/0.7877, allocations: 19.98 kB / 0.5964 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.7877, allocations: 8 kB / 0.5964 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000853/0.7885, allocations: 220.8 kB / 0.5966 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.7921, allocations: 1.614 MB / 0.5982 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001916/0.794, allocations: 0.5332 MB / 0.5987 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.7941, allocations: 12.12 kB / 0.5987 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001148/0.7953, allocations: 383.6 kB / 0.5991 GB, free: 11.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=48): time 5.3e-06/0.7953, allocations: 0 / 0.5991 GB, free: 11.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.003138/0.7985, allocations: 0.7049 MB / 0.5998 GB, free: 10.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002763/0.7988, allocations: 456.9 kB / 0.6002 GB, free: 9.781 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002661/0.8015, allocations: 0.9607 MB / 0.6012 GB, free: 8.797 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001834/0.8017, allocations: 49.69 kB / 0.6012 GB, free: 8.742 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.8021, allocations: 347.4 kB / 0.6015 GB, free: 8.402 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002279/0.8023, allocations: 134.3 kB / 0.6017 GB, free: 8.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.8024, allocations: 11.94 kB / 0.6017 GB, free: 8.258 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.8026, allocations: 334.8 kB / 0.602 GB, free: 7.922 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006985/0.8033, allocations: 153 kB / 0.6021 GB, free: 7.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008892/0.8042, allocations: 375.7 kB / 0.6025 GB, free: 7.312 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006802/0.8049, allocations: 186.3 kB / 0.6027 GB, free: 7.133 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.8049, allocations: 0 / 0.6027 GB, free: 7.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001747/0.8066, allocations: 493.1 kB / 0.6032 GB, free: 6.645 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.8067, allocations: 12.19 kB / 0.6032 GB, free: 6.633 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/0.8068, allocations: 8 kB / 0.6032 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.922e-05/0.8068, allocations: 4 kB / 0.6032 GB, free: 6.621 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007261/0.8075, allocations: 95.83 kB / 0.6033 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/0.8076, allocations: 4 kB / 0.6033 GB, free: 6.523 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.8086, allocations: 83.64 kB / 0.6033 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/0.8087, allocations: 24 kB / 0.6034 GB, free: 6.418 MB / 426.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 () * Number of clocked 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.0007789/0.8095, allocations: 301.5 kB / 0.6037 GB, free: 6.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000423/0.8099, allocations: 102.7 kB / 0.6038 GB, free: 6.012 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.8123, allocations: 0.6377 MB / 0.6044 GB, free: 5.363 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.8123, allocations: 8 kB / 0.6044 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.8124, allocations: 0 / 0.6044 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.8124, allocations: 7.984 kB / 0.6044 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001501/0.8139, allocations: 0.6692 MB / 0.605 GB, free: 4.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.8139, allocations: 4 kB / 0.6051 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000323/0.8143, allocations: 43.92 kB / 0.6051 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.595e-05/0.8143, allocations: 7.953 kB / 0.6051 GB, free: 4.574 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.015e-05/0.8144, allocations: 19.98 kB / 0.6051 GB, free: 4.555 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.8144, allocations: 4 kB / 0.6051 GB, free: 4.551 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.671e-06/0.8144, allocations: 8 kB / 0.6051 GB, free: 4.543 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002281/0.8167, allocations: 0.7449 MB / 0.6059 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004975/0.8172, allocations: 231.7 kB / 0.6061 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002429/0.8175, allocations: 23.98 kB / 0.6061 GB, free: 3.438 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006933/0.8182, allocations: 51.97 kB / 0.6062 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001961/0.8184, allocations: 55.86 kB / 0.6062 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.784e-05/0.8185, allocations: 27.98 kB / 0.6062 GB, free: 3.305 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001933/0.8204, allocations: 0.7498 MB / 0.607 GB, free: 2.543 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.71e-07/0.8205, allocations: 0 / 0.607 GB, free: 2.543 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001377/0.8219, allocations: 175.9 kB / 0.6071 GB, free: 2.371 MB / 426.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) * Number of clocked states: 0 () * 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.004374/0.8263, allocations: 2.163 MB / 0.6092 GB, free: 236 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.8283, allocations: 456.4 kB / 0.6097 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.8283, allocations: 0 / 0.6097 GB, free: 15.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001087/0.8294, allocations: 287.6 kB / 0.61 GB, free: 15.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002286/0.8318, allocations: 240.8 kB / 0.6102 GB, free: 15.27 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/0.8474, allocations: 7.243 MB / 0.6173 GB, free: 7.73 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008363/0.8483, allocations: 1.005 MB / 0.6182 GB, free: 6.699 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009989/0.8493, allocations: 343.3 kB / 0.6186 GB, free: 6.363 MB / 442.7 MB Notification: Performance of SimCode: time 1.312e-06/0.8494, allocations: 0 / 0.6186 GB, free: 6.363 MB / 442.7 MB [CodegenCppOld.tpl:12129:14-12129:14:writable] Error: Template error: literalExpConst failed: {}. [CodegenCppOld.tpl:12075:14-12075:14:writable] Error: Template error: literalExpConst failed: {}.