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/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.TestDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") translateModel(PowerGrids.Controls.Test.TestDeadBand,tolerance=1e-06,outputFormat="empty",numberOfIntervals=160,variableFilter="",fileNamePrefix="PowerGrids_PowerGrids.Controls.Test.TestDeadBand") [: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.00199/0.00199, allocations: 180.2 kB / 7.454 MB, free: 2.512 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.03/1.03, allocations: 205.2 MB / 213.1 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.0007742/0.0007742, allocations: 99.02 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.05466/0.05466, allocations: 14.01 MB / 323 MB, free: 15.47 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.089e-06/5.109e-06, allocations: 0 / 380.2 MB, free: 74.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07342/0.07344, allocations: 51.11 MB / 431.3 MB, free: 23.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.3061, allocations: 75.9 MB / 0.4953 GB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.3063, allocations: 66.81 kB / 0.4953 GB, free: 11.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 0.001837/0.3082, allocations: 409.7 kB / 0.4957 GB, free: 11.14 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3082, allocations: 3.812 kB / 0.4957 GB, free: 11.14 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.0002787/0.3085, allocations: 320.1 kB / 0.496 GB, free: 10.8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3085, allocations: 11.56 kB / 0.4961 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.3086, allocations: 3.906 kB / 0.4961 GB, free: 10.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001768/0.3088, allocations: 170.1 kB / 0.4962 GB, free: 10.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.3088, allocations: 4 kB / 0.4962 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.3088, allocations: 1.219 kB / 0.4962 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.645e-05/0.3089, allocations: 11.06 kB / 0.4962 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001006/0.309, allocations: 66.61 kB / 0.4963 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.309, allocations: 0.6094 kB / 0.4963 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.309, allocations: 3.906 kB / 0.4963 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.309, allocations: 3.984 kB / 0.4963 GB, free: 10.54 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003154/0.3093, allocations: 318.8 kB / 0.4966 GB, free: 10.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.074e-05/0.3094, allocations: 47.81 kB / 0.4967 GB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.511e-05/0.3095, allocations: 20.59 kB / 0.4967 GB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.88e-05/0.3095, allocations: 7.906 kB / 0.4967 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.3095, allocations: 38.38 kB / 0.4967 GB, free: 10.1 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3095, allocations: 2.188 kB / 0.4967 GB, free: 10.1 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.000202/0.3097, allocations: 46.47 kB / 0.4968 GB, free: 10.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.113e-05/0.3098, allocations: 104.4 kB / 0.4969 GB, free: 9.941 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.394e-05/0.3099, allocations: 93.64 kB / 0.497 GB, free: 9.852 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.408e-06/0.3099, allocations: 25.7 kB / 0.497 GB, free: 9.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.332e-05/0.3099, allocations: 84.2 kB / 0.4971 GB, free: 9.734 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.3099, allocations: 12.97 kB / 0.4971 GB, free: 9.727 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.968e-06/0.31, allocations: 0 / 0.4971 GB, free: 9.727 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.31, allocations: 315.4 kB / 0.4974 GB, free: 9.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.3101, allocations: 3.844 kB / 0.4974 GB, free: 9.41 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.508e-05/0.3101, allocations: 25.84 kB / 0.4974 GB, free: 9.387 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.3101, allocations: 16.34 kB / 0.4974 GB, free: 9.379 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3101, allocations: 0 / 0.4974 GB, free: 9.379 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.682e-05/0.3102, allocations: 47.33 kB / 0.4975 GB, free: 9.344 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.906e-05/0.3103, allocations: 185.8 kB / 0.4976 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.3103, allocations: 0 / 0.4976 GB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.3103, allocations: 4.062 kB / 0.4976 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.3104, allocations: 14.2 kB / 0.4977 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3105, allocations: 0.5625 kB / 0.4977 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.3105, allocations: 10.36 kB / 0.4977 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-06/0.3105, allocations: 0.7656 kB / 0.4977 GB, free: 9.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.931e-06/0.3106, allocations: 3.844 kB / 0.4977 GB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 3.951e-05/0.3106, allocations: 25.02 kB / 0.4977 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.41e-07/0.3106, allocations: 0 / 0.4977 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-06/0.3106, allocations: 0 / 0.4977 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.05e-05/0.3107, allocations: 5.141 kB / 0.4977 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.034e-06/0.3107, allocations: 0 / 0.4977 GB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.884e-05/0.3107, allocations: 12.72 kB / 0.4977 GB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-06/0.3107, allocations: 3.906 kB / 0.4977 GB, free: 9.141 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 6.089e-05/0.3108, allocations: 101.6 kB / 0.4978 GB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.3108, allocations: 8.516 kB / 0.4978 GB, free: 9.031 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.3109, allocations: 15.47 kB / 0.4978 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.3109, allocations: 0 / 0.4978 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3109, allocations: 0 / 0.4978 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3109, allocations: 0.6562 kB / 0.4978 GB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001543/0.3111, allocations: 138.7 kB / 0.498 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.3111, allocations: 0.75 kB / 0.498 GB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.648e-05/0.3111, allocations: 14.22 kB / 0.498 GB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.3112, allocations: 10.91 kB / 0.498 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.3112, allocations: 0 / 0.498 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.3112, allocations: 0.75 kB / 0.498 GB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.3112, allocations: 3.906 kB / 0.498 GB, free: 8.855 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001212/0.3113, allocations: 230.2 kB / 0.4982 GB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.354e-05/0.3113, allocations: 82.05 kB / 0.4983 GB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3114, allocations: 4.844 kB / 0.4983 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.3115, allocations: 10.25 kB / 0.4983 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.39e-05/0.3115, allocations: 9.172 kB / 0.4983 GB, free: 8.531 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.3116, allocations: 0.7031 kB / 0.4983 GB, free: 8.531 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.795e-05/0.3116, allocations: 80.22 kB / 0.4984 GB, free: 8.457 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002899/0.3119, allocations: 11.66 kB / 0.4984 GB, free: 8.453 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.869e-05/0.312, allocations: 99.61 kB / 0.4985 GB, free: 8.355 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.445e-05/0.312, allocations: 25.88 kB / 0.4985 GB, free: 8.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.3121, allocations: 0 / 0.4985 GB, free: 8.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.3121, allocations: 19.8 kB / 0.4985 GB, free: 8.348 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.3122, allocations: 6.344 kB / 0.4986 GB, free: 8.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000254/0.3125, allocations: 77.84 kB / 0.4986 GB, free: 8.273 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001614/0.3127, allocations: 0.6954 MB / 0.4993 GB, free: 7.562 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3127, allocations: 0 / 0.4993 GB, free: 7.562 MB / 330.7 MB Notification: Performance of Templates: time 0.002289/0.315, allocations: 0.6027 MB / 0.4999 GB, free: 7.52 MB / 330.7 MB make -j1 -f PowerGrids_PowerGrids.Controls.Test.TestDeadBand.makefile (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 & ./PowerGrids_PowerGrids.Controls.Test.TestDeadBand -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerGrids_PowerGrids.Controls.Test.TestDeadBand.pipe 2>&1)