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.0007026/0.0007026, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001077/0.00178, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007212/0.0007212, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001748, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.936/0.936, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08896/1.025, allocations: 53.65 MB / 243.2 MB, free: 15.59 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.05039/0.05039, allocations: 13.28 MB / 257.3 MB, free: 1.984 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.009812/0.0602, allocations: 5.046 MB / 262.3 MB, free: 12.92 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.673e-06/1.673e-06, allocations: 0 / 263.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.543e-05/2.71e-05, allocations: 2.312 kB / 263.6 MB, free: 11.65 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002771/0.002798, allocations: 1.736 MB / 265.3 MB, free: 9.902 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007568/0.003555, allocations: 0.4908 MB / 265.8 MB, free: 9.406 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.76e-05/0.003632, allocations: 7.938 kB / 265.8 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 6.425e-05/0.003696, allocations: 15.8 kB / 265.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/0.003773, allocations: 19.8 kB / 265.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001195/0.003892, allocations: 31.89 kB / 265.9 MB, free: 9.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.004064, allocations: 83.48 kB / 265.9 MB, free: 9.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.919e-05/0.004164, allocations: 22.28 kB / 266 MB, free: 9.227 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.004362, allocations: 75.75 kB / 266 MB, free: 9.152 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.044e-05/0.004423, allocations: 15.92 kB / 266.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.695e-05/0.00444, allocations: 7.938 kB / 266.1 MB, free: 9.129 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.004506, allocations: 8 kB / 266.1 MB, free: 9.121 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.004522, allocations: 7.938 kB / 266.1 MB, free: 9.113 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.61e-05/0.004548, allocations: 15.94 kB / 266.1 MB, free: 9.098 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001431/0.004691, allocations: 51.72 kB / 266.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.898e-05/0.00471, allocations: 0 / 266.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.004711, allocations: 0 / 266.1 MB, free: 9.047 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.004728, allocations: 0 / 266.1 MB, free: 9.047 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.0004638/0.005192, allocations: 328 kB / 266.5 MB, free: 8.703 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.00523, allocations: 8.031 kB / 266.5 MB, free: 8.695 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.005394, allocations: 94.03 kB / 266.6 MB, free: 8.586 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002006/0.005595, allocations: 166.3 kB / 266.7 MB, free: 8.395 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.005606, allocations: 4.312 kB / 266.7 MB, free: 8.391 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.005619, allocations: 8.375 kB / 266.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.005742, allocations: 60.67 kB / 266.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.005751, allocations: 192 / 266.8 MB, free: 8.309 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.005763, allocations: 12.38 kB / 266.8 MB, free: 8.297 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.005771, allocations: 3.938 kB / 266.8 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.31e-05/0.005804, allocations: 15.91 kB / 266.8 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003362/0.00614, allocations: 248.4 kB / 267.1 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.947e-05/0.006219, allocations: 41.19 kB / 267.1 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.453e-05/0.006244, allocations: 13.78 kB / 267.1 MB, free: 7.938 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.00626, allocations: 4 kB / 267.1 MB, free: 7.934 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.006287, allocations: 30.56 kB / 267.2 MB, free: 7.895 MB / 266.7 MB Notification: Performance of pre-optimization done (n=3): time 1.392e-06/0.006288, allocations: 4 kB / 267.2 MB, free: 7.891 MB / 266.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.006456, allocations: 57.56 kB / 267.2 MB, free: 7.828 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.006504, allocations: 81.05 kB / 267.3 MB, free: 7.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.006639, allocations: 175.8 kB / 267.5 MB, free: 7.547 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.006652, allocations: 29.7 kB / 267.5 MB, free: 7.512 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.006712, allocations: 104 kB / 267.6 MB, free: 7.406 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.224e-05/0.006725, allocations: 7.906 kB / 267.6 MB, free: 7.398 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.006759, allocations: 21.7 kB / 267.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.971e-05/0.006849, allocations: 326.8 kB / 268 MB, free: 7.043 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.144e-05/0.00686, allocations: 4.25 kB / 268 MB, free: 7.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/0.006887, allocations: 34.5 kB / 268 MB, free: 6.996 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.423e-05/0.006931, allocations: 30.56 kB / 268 MB, free: 6.957 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.006934, allocations: 0 / 268 MB, free: 6.957 MB / 266.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 7.998e-05/0.007014, allocations: 61.61 kB / 268.1 MB, free: 6.891 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.00703, allocations: 7.938 kB / 268.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.618e-06/0.007035, allocations: 0 / 268.1 MB, free: 6.883 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.007046, allocations: 4 kB / 268.1 MB, free: 6.879 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.007151, allocations: 15.92 kB / 268.1 MB, free: 6.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.007156, allocations: 8.062 kB / 268.1 MB, free: 6.855 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.182e-05/0.007188, allocations: 3.938 kB / 268.1 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.007194, allocations: 4 kB / 268.1 MB, free: 6.848 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 6.178e-05/0.007255, allocations: 105.8 kB / 268.2 MB, free: 6.734 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.007299, allocations: 11.98 kB / 268.2 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.007329, allocations: 12.59 kB / 268.3 MB, free: 6.711 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.007334, allocations: 7.984 kB / 268.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007336, allocations: 0 / 268.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.007339, allocations: 0 / 268.3 MB, free: 6.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.007612, allocations: 207.6 kB / 268.5 MB, free: 6.473 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.007615, allocations: 3.984 kB / 268.5 MB, free: 6.469 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.892e-05/0.007654, allocations: 4 kB / 268.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.79e-05/0.007672, allocations: 15.84 kB / 268.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.007675, allocations: 0 / 268.5 MB, free: 6.449 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.22e-06/0.00768, allocations: 4 kB / 268.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.007683, allocations: 0 / 268.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.007684, allocations: 0 / 268.5 MB, free: 6.445 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.00779, allocations: 152.3 kB / 268.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.007805, allocations: 0 / 268.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.193e-05/0.007867, allocations: 0 / 268.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.007894, allocations: 19.95 kB / 268.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.725e-06/0.007897, allocations: 0 / 268.7 MB, free: 6.258 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.745e-05/0.007944, allocations: 42 kB / 268.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007945, allocations: 0 / 268.7 MB, free: 6.215 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002077/0.008152, allocations: 12 kB / 268.7 MB, free: 6.203 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 9.404e-05/0.008246, allocations: 76.41 kB / 268.8 MB, free: 6.121 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 7.991e-05/0.008326, allocations: 32.86 kB / 268.8 MB, free: 6.086 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.008335, allocations: 0 / 268.8 MB, free: 6.086 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.913e-05/0.008354, allocations: 13.05 kB / 268.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.008609, allocations: 27.91 kB / 268.9 MB, free: 6.043 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001682/0.01029, allocations: 244.8 kB / 269.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.75e-05/0.01034, allocations: 65.17 kB / 269.2 MB, free: 5.691 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.303e-05/0.01038, allocations: 8.797 kB / 269.2 MB, free: 5.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.01045, allocations: 63.36 kB / 269.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01045, allocations: 0 / 269.2 MB, free: 5.617 MB / 266.7 MB Notification: Performance of Templates: time 0.003063/0.01352, allocations: 0.6458 MB / 269.9 MB, free: 4.984 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.3527861293405294]