Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.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/PowerGrids 1.0.2/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/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: translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") translateModel(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.006861/0.006862, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.0009332/0.0009328, allocations: 94.86 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05285/0.05285, allocations: 14.17 MB / 332 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002975/0.0002976, allocations: 13.06 kB / 393.6 MB, free: 51.22 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07873/0.07904, allocations: 51.12 MB / 444.7 MB, free: 6.871 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09284/0.1719, allocations: 76.72 MB / 0.5092 GB, free: 10.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001643/0.1721, allocations: 63.97 kB / 0.5093 GB, free: 9.992 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001601/0.1737, allocations: 0.6715 MB / 0.5099 GB, free: 9.312 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1738, allocations: 0 / 0.5099 GB, free: 9.312 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1738, allocations: 4 kB / 0.51 GB, free: 9.309 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002938/0.1741, allocations: 335.3 kB / 0.5103 GB, free: 8.934 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1741, allocations: 12.02 kB / 0.5103 GB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.1742, allocations: 7.906 kB / 0.5103 GB, free: 8.914 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.1743, allocations: 171.1 kB / 0.5105 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.012e-05/0.1743, allocations: 0 / 0.5105 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1743, allocations: 3.953 kB / 0.5105 GB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.1745, allocations: 80.19 kB / 0.5105 GB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.1745, allocations: 0 / 0.5105 GB, free: 8.609 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.1746, allocations: 3.984 kB / 0.5105 GB, free: 8.605 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1746, allocations: 3.938 kB / 0.5105 GB, free: 8.602 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.1747, allocations: 43.97 kB / 0.5106 GB, free: 8.559 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.175, allocations: 345 kB / 0.5109 GB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1752, allocations: 77.19 kB / 0.511 GB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.778e-05/0.1752, allocations: 0 / 0.511 GB, free: 8.074 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.1753, allocations: 42.56 kB / 0.511 GB, free: 8.023 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.51e-07/0.1753, allocations: 0 / 0.511 GB, free: 8.023 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003518/0.1756, allocations: 105.6 kB / 0.5111 GB, free: 7.914 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1757, allocations: 102.8 kB / 0.5112 GB, free: 7.789 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.1758, allocations: 97.23 kB / 0.5113 GB, free: 7.688 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.29e-05/0.1758, allocations: 29.64 kB / 0.5113 GB, free: 7.652 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.1758, allocations: 84.14 kB / 0.5114 GB, free: 7.566 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.1759, allocations: 15.75 kB / 0.5114 GB, free: 7.551 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.1759, allocations: 0 / 0.5114 GB, free: 7.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.66e-05/0.176, allocations: 310.8 kB / 0.5117 GB, free: 7.238 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.176, allocations: 23.97 kB / 0.5118 GB, free: 7.215 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.484e-05/0.1761, allocations: 42.56 kB / 0.5118 GB, free: 7.164 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.773e-05/0.1762, allocations: 19.98 kB / 0.5118 GB, free: 7.145 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1762, allocations: 32 / 0.5118 GB, free: 7.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001984/0.1764, allocations: 93.55 kB / 0.5119 GB, free: 7.047 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.603e-05/0.1765, allocations: 182.1 kB / 0.5121 GB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1765, allocations: 0 / 0.5121 GB, free: 6.855 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.1765, allocations: 4 kB / 0.5121 GB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.427e-05/0.1766, allocations: 11.98 kB / 0.5121 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.1766, allocations: 0 / 0.5121 GB, free: 6.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.266e-05/0.1767, allocations: 11.98 kB / 0.5121 GB, free: 6.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.1767, allocations: 4 kB / 0.5121 GB, free: 6.824 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.865e-06/0.1767, allocations: 11.95 kB / 0.5121 GB, free: 6.812 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.899e-05/0.1768, allocations: 23.92 kB / 0.5121 GB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.1768, allocations: 0 / 0.5121 GB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-06/0.1768, allocations: 0 / 0.5121 GB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.976e-05/0.1769, allocations: 4 kB / 0.5122 GB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.765e-06/0.1769, allocations: 4 kB / 0.5122 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.1769, allocations: 0 / 0.5122 GB, free: 6.781 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.1769, allocations: 7.938 kB / 0.5122 GB, free: 6.773 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.258e-05/0.177, allocations: 197.1 kB / 0.5124 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.894e-05/0.1771, allocations: 7.953 kB / 0.5124 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.755e-05/0.1771, allocations: 7.078 kB / 0.5124 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1771, allocations: 0 / 0.5124 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1771, allocations: 0 / 0.5124 GB, free: 6.559 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1771, allocations: 4 kB / 0.5124 GB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.1773, allocations: 161.6 kB / 0.5125 GB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1773, allocations: 0 / 0.5125 GB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.1774, allocations: 16 kB / 0.5125 GB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1774, allocations: 4 kB / 0.5125 GB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1774, allocations: 3.953 kB / 0.5125 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.1774, allocations: 0 / 0.5125 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1774, allocations: 0 / 0.5125 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002412/0.1776, allocations: 270 kB / 0.5128 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.1777, allocations: 81.39 kB / 0.5129 GB, free: 5.941 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.285e-05/0.1777, allocations: 4 kB / 0.5129 GB, free: 5.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.995e-05/0.1778, allocations: 7.984 kB / 0.5129 GB, free: 5.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.1778, allocations: 7.938 kB / 0.5129 GB, free: 5.922 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.961e-06/0.1779, allocations: 7.984 kB / 0.5129 GB, free: 5.914 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.496e-05/0.1779, allocations: 87.28 kB / 0.513 GB, free: 5.828 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1779, allocations: 0 / 0.513 GB, free: 5.828 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002728/0.1782, allocations: 8 kB / 0.513 GB, free: 5.82 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 0.000107/0.1783, allocations: 103.2 kB / 0.5131 GB, free: 5.711 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1786, allocations: 67.89 kB / 0.5132 GB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1786, allocations: 0 / 0.5132 GB, free: 5.645 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.245e-05/0.1787, allocations: 23.98 kB / 0.5132 GB, free: 5.621 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/0.1788, allocations: 4 kB / 0.5132 GB, free: 5.617 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.1791, allocations: 123.8 kB / 0.5133 GB, free: 5.465 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.1794, allocations: 0.677 MB / 0.514 GB, free: 4.762 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.447e-05/0.1795, allocations: 11.98 kB / 0.514 GB, free: 4.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.059e-05/0.1795, allocations: 7.438 kB / 0.514 GB, free: 4.742 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.1795, allocations: 0 / 0.514 GB, free: 4.742 MB / 362.7 MB Notification: Performance of Templates: time 0.002046/0.1815, allocations: 495.6 kB / 0.5145 GB, free: 4.266 MB / 362.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.makefile (rm -f PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.sim & ./PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1)