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-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.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerGrids.Controls.Test.TestDiscontinuousDeadBand,fileNamePrefix="PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand",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.006228/0.006228, allocations: 169.3 kB / 15.11 MB, free: 5.582 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.451/1.451, 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.0008826/0.0008824, allocations: 98.83 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05213/0.05213, allocations: 14.18 MB / 332 MB, free: 8.727 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002856/0.0002856, allocations: 7.969 kB / 393.7 MB, free: 51.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.079/0.0793, allocations: 51.12 MB / 444.9 MB, free: 6.715 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08843/0.1678, allocations: 76.71 MB / 0.5093 GB, free: 9.898 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.168, allocations: 63.97 kB / 0.5094 GB, free: 9.836 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001749/0.1698, allocations: 0.6792 MB / 0.5101 GB, free: 9.148 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1698, allocations: 0 / 0.5101 GB, free: 9.148 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.876e-06/0.1698, allocations: 0 / 0.5101 GB, free: 9.148 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.0002771/0.1701, allocations: 343.3 kB / 0.5104 GB, free: 8.766 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.1701, allocations: 12.02 kB / 0.5104 GB, free: 8.754 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.2e-05/0.1702, allocations: 34.56 kB / 0.5104 GB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.344e-05/0.1702, allocations: 3.906 kB / 0.5104 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001378/0.1704, allocations: 179 kB / 0.5106 GB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.237e-06/0.1704, allocations: 3.938 kB / 0.5106 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1704, allocations: 3.953 kB / 0.5106 GB, free: 8.484 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.1706, allocations: 76.19 kB / 0.5107 GB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.242e-06/0.1706, allocations: 0 / 0.5107 GB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1706, allocations: 0 / 0.5107 GB, free: 8.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1706, allocations: 8 kB / 0.5107 GB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.1708, allocations: 39.97 kB / 0.5107 GB, free: 8.348 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002948/0.1711, allocations: 337.1 kB / 0.5111 GB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.1712, allocations: 77.16 kB / 0.5111 GB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.72e-05/0.1713, allocations: 0 / 0.5111 GB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1713, allocations: 38.62 kB / 0.5112 GB, free: 7.824 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 9.01e-07/0.1713, allocations: 0 / 0.5112 GB, free: 7.824 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003564/0.1717, allocations: 105.8 kB / 0.5113 GB, free: 7.715 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.1717, allocations: 106.8 kB / 0.5114 GB, free: 7.586 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.753e-05/0.1718, allocations: 96.92 kB / 0.5115 GB, free: 7.484 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.303e-05/0.1718, allocations: 25.7 kB / 0.5115 GB, free: 7.453 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.34e-05/0.1718, allocations: 84.14 kB / 0.5116 GB, free: 7.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.743e-05/0.1719, allocations: 15.75 kB / 0.5116 GB, free: 7.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-06/0.1719, allocations: 0 / 0.5116 GB, free: 7.352 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.864e-05/0.172, allocations: 318.9 kB / 0.5119 GB, free: 7.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.206e-05/0.1721, allocations: 23.97 kB / 0.5119 GB, free: 7.008 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.1721, allocations: 38.56 kB / 0.512 GB, free: 6.961 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.106e-05/0.1722, allocations: 21.61 kB / 0.512 GB, free: 6.941 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1722, allocations: 0 / 0.512 GB, free: 6.941 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001976/0.1724, allocations: 89.55 kB / 0.5121 GB, free: 6.848 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.295e-05/0.1725, allocations: 186.1 kB / 0.5122 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.1725, allocations: 0 / 0.5122 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.1725, allocations: 0 / 0.5122 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1726, allocations: 11.98 kB / 0.5122 GB, free: 6.641 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1726, allocations: 4 kB / 0.5122 GB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.372e-05/0.1727, allocations: 11.98 kB / 0.5123 GB, free: 6.625 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.1727, allocations: 11.95 kB / 0.5123 GB, free: 6.613 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.462e-06/0.1727, allocations: 4 kB / 0.5123 GB, free: 6.609 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 8.163e-05/0.1728, allocations: 23.92 kB / 0.5123 GB, free: 6.586 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-06/0.1728, allocations: 3.938 kB / 0.5123 GB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-06/0.1728, allocations: 0 / 0.5123 GB, free: 6.582 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.373e-05/0.1729, allocations: 8 kB / 0.5123 GB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-06/0.1729, allocations: 4.062 kB / 0.5123 GB, free: 6.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.223e-05/0.1729, allocations: 4 kB / 0.5123 GB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.445e-06/0.1729, allocations: 0 / 0.5123 GB, free: 6.566 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.944e-05/0.173, allocations: 193.1 kB / 0.5125 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.1731, allocations: 7.859 kB / 0.5125 GB, free: 6.359 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.769e-05/0.1731, allocations: 7.078 kB / 0.5125 GB, free: 6.355 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1731, allocations: 4 kB / 0.5125 GB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1731, allocations: 288 / 0.5125 GB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.409e-06/0.1731, allocations: 0 / 0.5125 GB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1733, allocations: 173.6 kB / 0.5127 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1733, allocations: 0 / 0.5127 GB, free: 6.133 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.1734, allocations: 15.98 kB / 0.5127 GB, free: 6.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-06/0.1734, allocations: 3.953 kB / 0.5127 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1734, allocations: 0 / 0.5127 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1734, allocations: 0 / 0.5127 GB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1734, allocations: 4 kB / 0.5127 GB, free: 6.109 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.1736, allocations: 260.5 kB / 0.513 GB, free: 5.832 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.1737, allocations: 85.06 kB / 0.513 GB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.1737, allocations: 3.938 kB / 0.513 GB, free: 5.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.1738, allocations: 15.98 kB / 0.5131 GB, free: 5.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.1738, allocations: 3.938 kB / 0.5131 GB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.1739, allocations: 4 kB / 0.5131 GB, free: 5.703 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.271e-05/0.1739, allocations: 79.28 kB / 0.5131 GB, free: 5.625 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1739, allocations: 0 / 0.5131 GB, free: 5.625 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002785/0.1742, allocations: 8 kB / 0.5131 GB, free: 5.617 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.00046/0.1746, allocations: 0.8681 MB / 0.514 GB, free: 4.719 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002276/0.1749, allocations: 63.89 kB / 0.5141 GB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.1749, allocations: 0 / 0.5141 GB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.863e-05/0.175, allocations: 32.23 kB / 0.5141 GB, free: 4.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000149/0.1752, allocations: 4 kB / 0.5141 GB, free: 4.621 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008042/0.176, allocations: 0.5554 MB / 0.5146 GB, free: 4.008 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.1762, allocations: 0.6849 MB / 0.5153 GB, free: 3.297 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.104e-05/0.1762, allocations: 3.984 kB / 0.5153 GB, free: 3.293 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.1762, allocations: 15.44 kB / 0.5153 GB, free: 3.277 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1763, allocations: 0 / 0.5153 GB, free: 3.277 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.1869, allocations: 1.132 MB / 0.5164 GB, free: 2.246 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.1871, allocations: 176.6 kB / 0.5166 GB, free: 2.008 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.321/1.508, allocations: 8 kB / 0.5166 GB, free: 2 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerGrids_PowerGrids_Controls_Test_TestDiscontinuousDeadBand.fmu > PowerGrids_PowerGrids.Controls.Test.TestDiscontinuousDeadBand.pipe 2>&1)