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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002657/0.002657, allocations: 179.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.011/1.011, allocations: 205.2 MB / 213.1 MB, free: 13.91 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.0008076/0.0008076, allocations: 82.72 kB / 261.1 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 1.0.2/package.mo): time 0.05332/0.05332, allocations: 14.01 MB / 323 MB, free: 15.46 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.16e-06/5.26e-06, allocations: 0 / 380.2 MB, free: 74.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06814/0.06816, allocations: 51.12 MB / 431.3 MB, free: 23.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2176/0.2858, allocations: 75.88 MB / 0.4953 GB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001657/0.286, allocations: 68.31 kB / 0.4953 GB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.001561/0.2876, allocations: 380.8 kB / 0.4957 GB, free: 11.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2876, allocations: 3.875 kB / 0.4957 GB, free: 11.11 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.0002014/0.2878, allocations: 327.5 kB / 0.496 GB, free: 10.77 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.154e-05/0.2879, allocations: 11.59 kB / 0.496 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.2879, allocations: 4.516 kB / 0.496 GB, free: 10.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.2881, allocations: 165.9 kB / 0.4962 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.2881, allocations: 0 / 0.4962 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.2881, allocations: 4 kB / 0.4962 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.205e-05/0.2882, allocations: 11.88 kB / 0.4962 GB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.855e-05/0.2882, allocations: 59.61 kB / 0.4962 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2883, allocations: 0 / 0.4962 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.2883, allocations: 3.906 kB / 0.4963 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.2883, allocations: 3.812 kB / 0.4963 GB, free: 10.51 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.2885, allocations: 315.7 kB / 0.4966 GB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.266e-05/0.2886, allocations: 51.47 kB / 0.4966 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.697e-05/0.2886, allocations: 13.59 kB / 0.4966 GB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.158e-05/0.2887, allocations: 7.094 kB / 0.4966 GB, free: 10.12 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.2887, allocations: 38.97 kB / 0.4967 GB, free: 10.07 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.2887, allocations: 2.188 kB / 0.4967 GB, free: 10.07 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000155/0.2888, allocations: 47.05 kB / 0.4967 GB, free: 10.04 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.533e-05/0.2889, allocations: 103.6 kB / 0.4968 GB, free: 9.914 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.511e-05/0.2889, allocations: 92.78 kB / 0.4969 GB, free: 9.824 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.356e-06/0.2889, allocations: 26.27 kB / 0.4969 GB, free: 9.793 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.815e-05/0.289, allocations: 80.75 kB / 0.497 GB, free: 9.711 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.289, allocations: 19.38 kB / 0.497 GB, free: 9.699 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.289, allocations: 3.938 kB / 0.497 GB, free: 9.695 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.914e-05/0.289, allocations: 312.2 kB / 0.4973 GB, free: 9.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.552e-05/0.2891, allocations: 6.469 kB / 0.4973 GB, free: 9.383 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.992e-05/0.2891, allocations: 22.55 kB / 0.4973 GB, free: 9.359 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.764e-05/0.2891, allocations: 4.641 kB / 0.4974 GB, free: 9.359 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2891, allocations: 32 / 0.4974 GB, free: 9.359 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.957e-05/0.2892, allocations: 57.75 kB / 0.4974 GB, free: 9.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.43e-05/0.2892, allocations: 181 kB / 0.4976 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.2892, allocations: 0.75 kB / 0.4976 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.067e-06/0.2893, allocations: 3.844 kB / 0.4976 GB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.637e-05/0.2894, allocations: 14.75 kB / 0.4976 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2894, allocations: 3.844 kB / 0.4976 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.435e-05/0.2895, allocations: 10.45 kB / 0.4976 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.2895, allocations: 0.7656 kB / 0.4976 GB, free: 9.133 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.348e-06/0.2895, allocations: 3.688 kB / 0.4976 GB, free: 9.133 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.348e-05/0.2895, allocations: 13.42 kB / 0.4976 GB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.82e-07/0.2896, allocations: 4.062 kB / 0.4976 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-06/0.2896, allocations: 3.844 kB / 0.4976 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.792e-05/0.2896, allocations: 5.062 kB / 0.4976 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.434e-06/0.2896, allocations: 0.7031 kB / 0.4976 GB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.495e-05/0.2896, allocations: 15.34 kB / 0.4977 GB, free: 9.117 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.066e-06/0.2897, allocations: 0.7031 kB / 0.4977 GB, free: 9.117 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 4.038e-05/0.2897, allocations: 104.8 kB / 0.4978 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.853e-05/0.2898, allocations: 0.7969 kB / 0.4978 GB, free: 9.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.135e-05/0.2898, allocations: 16.2 kB / 0.4978 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.2898, allocations: 4.688 kB / 0.4978 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2898, allocations: 0 / 0.4978 GB, free: 9 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2898, allocations: 4.828 kB / 0.4978 GB, free: 8.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/0.2899, allocations: 134.2 kB / 0.4979 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.29, allocations: 0 / 0.4979 GB, free: 8.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.29, allocations: 20.91 kB / 0.4979 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.29, allocations: 3.875 kB / 0.4979 GB, free: 8.836 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.29, allocations: 4 kB / 0.4979 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.29, allocations: 4.516 kB / 0.4979 GB, free: 8.832 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2901, allocations: 3.906 kB / 0.4979 GB, free: 8.828 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.353e-05/0.2901, allocations: 222.2 kB / 0.4982 GB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.687e-05/0.2902, allocations: 81.72 kB / 0.4982 GB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.2902, allocations: 4.344 kB / 0.4982 GB, free: 8.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001221/0.2903, allocations: 13.73 kB / 0.4983 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.2904, allocations: 2.344 kB / 0.4983 GB, free: 8.508 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.2904, allocations: 3.844 kB / 0.4983 GB, free: 8.508 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.629e-05/0.2904, allocations: 78.89 kB / 0.4983 GB, free: 8.434 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002985/0.2907, allocations: 15.5 kB / 0.4983 GB, free: 8.426 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 7.927e-05/0.2908, allocations: 103.8 kB / 0.4984 GB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.473e-05/0.2909, allocations: 23.03 kB / 0.4985 GB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2909, allocations: 0 / 0.4985 GB, free: 8.328 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/0.2909, allocations: 14.94 kB / 0.4985 GB, free: 8.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001593/0.2911, allocations: 10.7 kB / 0.4985 GB, free: 8.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002255/0.2913, allocations: 68.38 kB / 0.4986 GB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.2914, allocations: 0.6885 MB / 0.4992 GB, free: 7.547 MB / 330.7 MB Notification: Performance of SimCode: time 2.31e-07/0.2915, allocations: 7.844 kB / 0.4992 GB, free: 7.543 MB / 330.7 MB Notification: Performance of Templates: time 0.002302/0.2938, allocations: 0.5777 MB / 0.4998 GB, free: 7.492 MB / 330.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)