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.001397/0.001397, allocations: 174 kB / 12.73 MB, free: 2.586 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.858/1.858, allocations: 205.2 MB / 218.5 MB, free: 9.219 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.0008695/0.0008697, allocations: 89.05 kB / 266.6 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2-master/package.mo): time 0.05935/0.05935, allocations: 14.02 MB / 328.7 MB, free: 11.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.654e-05/4.679e-05, allocations: 4 kB / 387.8 MB, free: 68.16 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1044, allocations: 51.1 MB / 438.9 MB, free: 17.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3774/0.4819, allocations: 76.62 MB / 0.5034 GB, free: 11.06 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.4821, allocations: 66.48 kB / 0.5035 GB, free: 11.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.001713/0.4839, allocations: 0.6825 MB / 0.5041 GB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.4839, allocations: 0 / 0.5041 GB, free: 10.71 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.4839, allocations: 0 / 0.5041 GB, free: 10.71 MB / 330.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.0002574/0.4842, allocations: 337.1 kB / 0.5045 GB, free: 10.37 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.4842, allocations: 14.78 kB / 0.5045 GB, free: 10.37 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.656e-05/0.4842, allocations: 30.56 kB / 0.5045 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.608e-05/0.4843, allocations: 0.7812 kB / 0.5045 GB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.4844, allocations: 173 kB / 0.5047 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.4845, allocations: 0 / 0.5047 GB, free: 10.13 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.4845, allocations: 7.766 kB / 0.5047 GB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.4846, allocations: 65.52 kB / 0.5047 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.4846, allocations: 0 / 0.5047 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.4846, allocations: 0 / 0.5047 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.4846, allocations: 0 / 0.5047 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.282e-05/0.4847, allocations: 13.83 kB / 0.5047 GB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.4849, allocations: 338.4 kB / 0.5051 GB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.518e-05/0.485, allocations: 52.25 kB / 0.5051 GB, free: 9.656 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.844e-05/0.4851, allocations: 19.42 kB / 0.5051 GB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.4851, allocations: 6.172 kB / 0.5051 GB, free: 9.637 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.4851, allocations: 38.41 kB / 0.5052 GB, free: 9.594 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4851, allocations: 0 / 0.5052 GB, free: 9.594 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001611/0.4853, allocations: 49.62 kB / 0.5052 GB, free: 9.559 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.4853, allocations: 102.8 kB / 0.5053 GB, free: 9.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.4854, allocations: 92.69 kB / 0.5054 GB, free: 9.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.4854, allocations: 33.55 kB / 0.5054 GB, free: 9.309 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.594e-05/0.4854, allocations: 82.95 kB / 0.5055 GB, free: 9.227 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.4854, allocations: 7.812 kB / 0.5055 GB, free: 9.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.4855, allocations: 0 / 0.5055 GB, free: 9.219 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.4855, allocations: 321 kB / 0.5058 GB, free: 8.906 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.617e-05/0.4855, allocations: 7.969 kB / 0.5058 GB, free: 8.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.114e-05/0.4856, allocations: 23.22 kB / 0.5059 GB, free: 8.879 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.886e-05/0.4856, allocations: 6.938 kB / 0.5059 GB, free: 8.879 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4856, allocations: 3.953 kB / 0.5059 GB, free: 8.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.528e-05/0.4857, allocations: 50.19 kB / 0.5059 GB, free: 8.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.4857, allocations: 181.2 kB / 0.5061 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.4857, allocations: 3.844 kB / 0.5061 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4857, allocations: 0 / 0.5061 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.4858, allocations: 10.3 kB / 0.5061 GB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.4858, allocations: 12.5 kB / 0.5061 GB, free: 8.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.4859, allocations: 23.98 kB / 0.5061 GB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4859, allocations: 0 / 0.5061 GB, free: 8.641 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.4859, allocations: 7.156 kB / 0.5062 GB, free: 8.641 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.358e-05/0.486, allocations: 18.78 kB / 0.5062 GB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.486, allocations: 0 / 0.5062 GB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-06/0.486, allocations: 0 / 0.5062 GB, free: 8.637 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.41e-05/0.486, allocations: 10.7 kB / 0.5062 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.486, allocations: 4.719 kB / 0.5062 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.115e-05/0.4861, allocations: 4.062 kB / 0.5062 GB, free: 8.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.4861, allocations: 3.844 kB / 0.5062 GB, free: 8.629 MB / 330.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 () * 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 3.662e-05/0.4861, allocations: 103.5 kB / 0.5063 GB, free: 8.523 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.87e-05/0.4862, allocations: 7.797 kB / 0.5063 GB, free: 8.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.197e-05/0.4862, allocations: 10.39 kB / 0.5063 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.4862, allocations: 0 / 0.5063 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.4862, allocations: 0 / 0.5063 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4862, allocations: 3.719 kB / 0.5063 GB, free: 8.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.4864, allocations: 161.2 kB / 0.5065 GB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4864, allocations: 2.625 kB / 0.5065 GB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.4864, allocations: 22.28 kB / 0.5065 GB, free: 8.32 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.4865, allocations: 3.953 kB / 0.5065 GB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.836e-06/0.4865, allocations: 3.688 kB / 0.5065 GB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4865, allocations: 0 / 0.5065 GB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4865, allocations: 0 / 0.5065 GB, free: 8.316 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001019/0.4866, allocations: 231.8 kB / 0.5067 GB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.785e-05/0.4866, allocations: 87.8 kB / 0.5068 GB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.4866, allocations: 0 / 0.5068 GB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.4867, allocations: 10.39 kB / 0.5068 GB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.4868, allocations: 6.641 kB / 0.5068 GB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-06/0.4868, allocations: 7.781 kB / 0.5068 GB, free: 7.988 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.684e-05/0.4868, allocations: 79.45 kB / 0.5069 GB, free: 7.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4868, allocations: 0 / 0.5069 GB, free: 7.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.4871, allocations: 18.72 kB / 0.5069 GB, free: 7.906 MB / 330.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 () * 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.0002429/0.4874, allocations: 0.8273 MB / 0.5077 GB, free: 7.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.934e-05/0.4875, allocations: 33.94 kB / 0.5078 GB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.4875, allocations: 0 / 0.5078 GB, free: 7.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.279e-05/0.4875, allocations: 11.72 kB / 0.5078 GB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001555/0.4877, allocations: 6.234 kB / 0.5078 GB, free: 7.078 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003567/0.488, allocations: 105.2 kB / 0.5079 GB, free: 6.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.4881, allocations: 0.6776 MB / 0.5085 GB, free: 6.27 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.4882, allocations: 14.34 kB / 0.5086 GB, free: 6.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.287e-05/0.4882, allocations: 10.44 kB / 0.5086 GB, free: 6.254 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.4882, allocations: 0 / 0.5086 GB, free: 6.254 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01234/0.5006, allocations: 1.147 MB / 0.5097 GB, free: 6.082 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.5008, allocations: 155.3 kB / 0.5098 GB, free: 5.855 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.474/1.975, allocations: 4 kB / 0.5098 GB, free: 5.852 MB / 330.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)