Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerGrids_PowerGrids.Controls.Test.TestDeadBand.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-master/package.mo", uses=false) Using package PowerGrids with version 1.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/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(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDeadBand",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.006813/0.006813, allocations: 169.5 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.477/1.477, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.0008563/0.0008563, allocations: 86.88 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.051/0.051, allocations: 14.19 MB / 332 MB, free: 8.734 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003314/0.0003314, allocations: 8.391 kB / 393.7 MB, free: 51.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08488/0.08523, allocations: 51.12 MB / 444.9 MB, free: 6.695 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09039/0.1757, allocations: 76.73 MB / 0.5094 GB, free: 9.859 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002285/0.1759, allocations: 67.97 kB / 0.5094 GB, free: 9.793 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001839/0.1778, allocations: 0.6949 MB / 0.5101 GB, free: 9.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1778, allocations: 0 / 0.5101 GB, free: 9.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1778, allocations: 3.984 kB / 0.5101 GB, free: 9.086 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.0002953/0.1781, allocations: 339.4 kB / 0.5104 GB, free: 8.707 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1782, allocations: 20 kB / 0.5105 GB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.53e-05/0.1782, allocations: 30.56 kB / 0.5105 GB, free: 8.648 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/0.1782, allocations: 7.906 kB / 0.5105 GB, free: 8.641 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.1784, allocations: 171 kB / 0.5107 GB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.498e-06/0.1784, allocations: 4 kB / 0.5107 GB, free: 8.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.049e-05/0.1784, allocations: 3.953 kB / 0.5107 GB, free: 8.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.1786, allocations: 84.19 kB / 0.5107 GB, free: 8.328 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1786, allocations: 3.938 kB / 0.5107 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-06/0.1786, allocations: 0 / 0.5107 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.1787, allocations: 0 / 0.5107 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.1788, allocations: 47.89 kB / 0.5108 GB, free: 8.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003056/0.1791, allocations: 337.1 kB / 0.5111 GB, free: 7.895 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.1793, allocations: 77.12 kB / 0.5112 GB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1793, allocations: 3.984 kB / 0.5112 GB, free: 7.797 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1794, allocations: 38.62 kB / 0.5112 GB, free: 7.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.1794, allocations: 0 / 0.5112 GB, free: 7.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003527/0.1797, allocations: 101.7 kB / 0.5113 GB, free: 7.645 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1798, allocations: 106.8 kB / 0.5114 GB, free: 7.516 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.777e-05/0.1798, allocations: 89 kB / 0.5115 GB, free: 7.422 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.1799, allocations: 25.7 kB / 0.5115 GB, free: 7.391 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.939e-05/0.1799, allocations: 92.3 kB / 0.5116 GB, free: 7.297 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.653e-05/0.1799, allocations: 11.75 kB / 0.5116 GB, free: 7.285 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-06/0.18, allocations: 0 / 0.5116 GB, free: 7.285 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.18, allocations: 314.8 kB / 0.5119 GB, free: 6.969 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.156e-05/0.1801, allocations: 23.98 kB / 0.512 GB, free: 6.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.1802, allocations: 42.56 kB / 0.512 GB, free: 6.895 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.491e-05/0.1803, allocations: 29.52 kB / 0.512 GB, free: 6.867 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.1803, allocations: 0 / 0.512 GB, free: 6.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001897/0.1805, allocations: 85.64 kB / 0.5121 GB, free: 6.777 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.852e-05/0.1806, allocations: 178 kB / 0.5123 GB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1806, allocations: 0 / 0.5123 GB, free: 6.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.1806, allocations: 12.06 kB / 0.5123 GB, free: 6.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.917e-05/0.1807, allocations: 15.92 kB / 0.5123 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.1807, allocations: 0 / 0.5123 GB, free: 6.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/0.1808, allocations: 11.98 kB / 0.5123 GB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.437e-06/0.1808, allocations: 3.953 kB / 0.5123 GB, free: 6.547 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.582e-06/0.1808, allocations: 4 kB / 0.5123 GB, free: 6.543 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.103e-05/0.1809, allocations: 23.98 kB / 0.5123 GB, free: 6.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-06/0.1809, allocations: 4.062 kB / 0.5124 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-06/0.1809, allocations: 0 / 0.5124 GB, free: 6.516 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.474e-05/0.1809, allocations: 11.88 kB / 0.5124 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-06/0.181, allocations: 0 / 0.5124 GB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.181, allocations: 7.984 kB / 0.5124 GB, free: 6.496 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.181, allocations: 4 kB / 0.5124 GB, free: 6.492 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 7.481e-05/0.1811, allocations: 185.1 kB / 0.5126 GB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.1811, allocations: 12.14 kB / 0.5126 GB, free: 6.289 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.276e-05/0.1812, allocations: 15.08 kB / 0.5126 GB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.1812, allocations: 3.984 kB / 0.5126 GB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1812, allocations: 0 / 0.5126 GB, free: 6.273 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.1812, allocations: 7.938 kB / 0.5126 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001813/0.1814, allocations: 157.7 kB / 0.5127 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.1814, allocations: 0 / 0.5127 GB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.36e-05/0.1814, allocations: 15.98 kB / 0.5128 GB, free: 6.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.1815, allocations: 3.953 kB / 0.5128 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-06/0.1815, allocations: 0 / 0.5128 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1815, allocations: 0 / 0.5128 GB, free: 6.043 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1815, allocations: 4 kB / 0.5128 GB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1817, allocations: 264.5 kB / 0.513 GB, free: 5.758 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.155e-05/0.1818, allocations: 81.06 kB / 0.5131 GB, free: 5.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.467e-05/0.1818, allocations: 8 kB / 0.5131 GB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.1819, allocations: 11.98 kB / 0.5131 GB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.758e-05/0.1819, allocations: 3.984 kB / 0.5131 GB, free: 5.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.1819, allocations: 0 / 0.5131 GB, free: 5.637 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.935e-05/0.182, allocations: 79.28 kB / 0.5132 GB, free: 5.559 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.182, allocations: 0 / 0.5132 GB, free: 5.559 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.1823, allocations: 16 kB / 0.5132 GB, free: 5.543 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.0004747/0.1828, allocations: 0.8641 MB / 0.514 GB, free: 4.648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.183, allocations: 63.89 kB / 0.5141 GB, free: 4.586 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.183, allocations: 4.25 kB / 0.5141 GB, free: 4.582 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.718e-05/0.1831, allocations: 27.97 kB / 0.5141 GB, free: 4.555 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001556/0.1833, allocations: 4 kB / 0.5141 GB, free: 4.551 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008548/0.1841, allocations: 0.575 MB / 0.5147 GB, free: 3.918 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002045/0.1843, allocations: 0.677 MB / 0.5154 GB, free: 3.215 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.103e-05/0.1844, allocations: 8.062 kB / 0.5154 GB, free: 3.207 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.1844, allocations: 11.42 kB / 0.5154 GB, free: 3.195 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.1844, allocations: 0 / 0.5154 GB, free: 3.195 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01051/0.195, allocations: 1.162 MB / 0.5165 GB, free: 2.121 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001746/0.1952, allocations: 153.5 kB / 0.5167 GB, free: 1.887 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.319/1.514, allocations: 0 / 0.5167 GB, free: 1.887 MB / 362.7 MB (rm -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; mkfifo PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe ; head -c 1048576 < PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe >> ../files/PowerGrids_PowerGrids.Controls.Test.TestDeadBand.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1)