Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007083/0.0007083, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009951/0.001703, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006964/0.0006964, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000971/0.001667, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9588/0.9588, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08158/1.04, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo): time 0.04939/0.04939, allocations: 13.28 MB / 257.4 MB, free: 1.879 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007194/0.05658, allocations: 5.054 MB / 262.5 MB, free: 12.81 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerGrids with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerGrids 2.0.0-develop/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerGrids.Controls.Test.TestFreeOffset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset") translateModel(PowerGrids.Controls.Test.TestFreeOffset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.113e-06/1.113e-06, allocations: 0 / 263.8 MB, free: 11.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.257e-05, allocations: 2.312 kB / 263.8 MB, free: 11.51 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.001782/0.001795, allocations: 1.744 MB / 265.5 MB, free: 9.754 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000531/0.002326, allocations: 0.4947 MB / 266 MB, free: 9.254 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.292e-05/0.002379, allocations: 7.938 kB / 266 MB, free: 9.246 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.659e-05/0.002426, allocations: 11.86 kB / 266 MB, free: 9.234 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.002476, allocations: 19.75 kB / 266.1 MB, free: 9.215 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.707e-05/0.002563, allocations: 35.83 kB / 266.1 MB, free: 9.18 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.002678, allocations: 79.59 kB / 266.2 MB, free: 9.102 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.889e-05/0.002747, allocations: 14.3 kB / 266.2 MB, free: 9.086 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001329/0.00288, allocations: 75.69 kB / 266.3 MB, free: 9.012 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.89e-05/0.002929, allocations: 19.92 kB / 266.3 MB, free: 8.992 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.002942, allocations: 4 kB / 266.3 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.654e-05/0.002989, allocations: 4 kB / 266.3 MB, free: 8.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.003002, allocations: 11.88 kB / 266.3 MB, free: 8.973 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.003021, allocations: 15.94 kB / 266.3 MB, free: 8.957 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.003124, allocations: 51.77 kB / 266.4 MB, free: 8.906 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.003135, allocations: 4 kB / 266.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.003135, allocations: 0 / 266.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.003143, allocations: 0 / 266.4 MB, free: 8.902 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003365/0.00348, allocations: 328 kB / 266.7 MB, free: 8.559 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.532e-05/0.003505, allocations: 11.97 kB / 266.7 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.003622, allocations: 98.03 kB / 266.8 MB, free: 8.434 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.003766, allocations: 158.3 kB / 266.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.963e-06/0.003773, allocations: 384 / 266.9 MB, free: 8.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.297e-06/0.003782, allocations: 4.375 kB / 267 MB, free: 8.246 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.929e-05/0.003871, allocations: 76.66 kB / 267 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.003878, allocations: 4.188 kB / 267 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.841e-06/0.003884, allocations: 384 / 267 MB, free: 8.152 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.00389, allocations: 3.938 kB / 267 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.478e-05/0.003915, allocations: 11.94 kB / 267 MB, free: 8.137 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002141/0.004129, allocations: 248.4 kB / 267.3 MB, free: 7.875 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.563e-05/0.004174, allocations: 41.16 kB / 267.3 MB, free: 7.816 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.667e-05/0.004191, allocations: 17.78 kB / 267.3 MB, free: 7.793 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.004202, allocations: 3.984 kB / 267.4 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.004218, allocations: 30.56 kB / 267.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.113e-06/0.004219, allocations: 0 / 267.4 MB, free: 7.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001057/0.004325, allocations: 57.78 kB / 267.4 MB, free: 7.688 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.004354, allocations: 81.11 kB / 267.5 MB, free: 7.59 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.678e-05/0.004441, allocations: 179.8 kB / 267.7 MB, free: 7.402 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.185e-06/0.004449, allocations: 25.7 kB / 267.7 MB, free: 7.371 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.028e-05/0.00449, allocations: 100.1 kB / 267.8 MB, free: 7.27 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-06/0.004498, allocations: 15.84 kB / 267.8 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.00452, allocations: 17.7 kB / 267.8 MB, free: 7.23 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.004586, allocations: 322.8 kB / 268.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.004596, allocations: 7.984 kB / 268.2 MB, free: 6.898 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.924e-05/0.004615, allocations: 30.56 kB / 268.2 MB, free: 6.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.172e-05/0.004647, allocations: 30.59 kB / 268.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.004648, allocations: 0 / 268.2 MB, free: 6.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 5.043e-05/0.004699, allocations: 61.55 kB / 268.3 MB, free: 6.754 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.004709, allocations: 7.938 kB / 268.3 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.004712, allocations: 4 kB / 268.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.004722, allocations: 0 / 268.3 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.004795, allocations: 15.98 kB / 268.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.226e-06/0.004798, allocations: 0 / 268.3 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.00482, allocations: 11.94 kB / 268.3 MB, free: 6.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.004823, allocations: 4.062 kB / 268.3 MB, free: 6.711 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.472e-05/0.004868, allocations: 113.8 kB / 268.4 MB, free: 6.59 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.275e-05/0.004891, allocations: 7.984 kB / 268.5 MB, free: 6.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.068e-05/0.004911, allocations: 16.59 kB / 268.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.646e-06/0.004915, allocations: 4.031 kB / 268.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.372e-06/0.004916, allocations: 0 / 268.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.004919, allocations: 0 / 268.5 MB, free: 6.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001619/0.005081, allocations: 203.6 kB / 268.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.005082, allocations: 0 / 268.7 MB, free: 6.336 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.005102, allocations: 11.98 kB / 268.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.005115, allocations: 23.88 kB / 268.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.005116, allocations: 0 / 268.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-06/0.00512, allocations: 0 / 268.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005121, allocations: 128 / 268.7 MB, free: 6.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.005122, allocations: 4 kB / 268.7 MB, free: 6.297 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.427e-05/0.005186, allocations: 148.3 kB / 268.9 MB, free: 6.133 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.738e-06/0.005196, allocations: 3.984 kB / 268.9 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.005228, allocations: 4 kB / 268.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.863e-05/0.005247, allocations: 0 / 268.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-06/0.005248, allocations: 0 / 268.9 MB, free: 6.125 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.267e-05/0.005281, allocations: 53.98 kB / 268.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005281, allocations: 0 / 268.9 MB, free: 6.07 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001171/0.005398, allocations: 8 kB / 268.9 MB, free: 6.062 MB / 266.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.369e-05/0.005452, allocations: 80.41 kB / 269 MB, free: 5.977 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.331e-05/0.005505, allocations: 32.73 kB / 269 MB, free: 5.941 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.74e-06/0.005511, allocations: 4 kB / 269 MB, free: 5.938 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.861e-05/0.005529, allocations: 12.84 kB / 269.1 MB, free: 5.922 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001719/0.005701, allocations: 91.69 kB / 269.1 MB, free: 5.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.006802, allocations: 232.9 kB / 269.4 MB, free: 5.562 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.159e-05/0.006834, allocations: 69.17 kB / 269.4 MB, free: 5.477 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.474e-05/0.006859, allocations: 8.719 kB / 269.4 MB, free: 5.465 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.675e-05/0.006905, allocations: 55.38 kB / 269.5 MB, free: 5.41 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.006906, allocations: 4 kB / 269.5 MB, free: 5.406 MB / 266.7 MB Notification: Performance of Templates: time 0.001917/0.008822, allocations: 0.6341 MB / 270.1 MB, free: 4.785 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.makefile [Timeout 660] (rm -f PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe ; mkfifo PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe ; head -c 1048576 < PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe >> ../files/PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.sim & ./PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.229995084926486]