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.001332/0.001332, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001588/0.001588, allocations: 220.2 kB / 22.25 MB, free: 3.562 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 1.545/1.545, allocations: 230.6 MB / 256 MB, free: 9.617 MB / 202.7 MB " [Timeout remaining time 178] 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.09309/0.09309, allocations: 17.18 MB / 329.6 MB, free: 1.16 MB / 250.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: PowerGrids requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002501/0.002501, allocations: 67.91 kB / 460.8 MB, free: 27.14 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1043, allocations: 57.8 MB / 0.5064 GB, free: 1.23 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.003392/0.1077, allocations: 1.6 MB / 0.508 GB, free: 15.62 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1088, allocations: 474.7 kB / 0.5084 GB, free: 15.16 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.28e-05/0.1089, allocations: 3.938 kB / 0.5084 GB, free: 15.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.109, allocations: 11.88 kB / 0.5084 GB, free: 15.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 8.721e-05/0.1091, allocations: 23.8 kB / 0.5085 GB, free: 15.12 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.1093, allocations: 31.89 kB / 0.5085 GB, free: 15.09 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001958/0.1095, allocations: 75.66 kB / 0.5086 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1096, allocations: 5.312 kB / 0.5086 GB, free: 15.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001722/0.1098, allocations: 47.77 kB / 0.5086 GB, free: 14.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.1098, allocations: 27.8 kB / 0.5086 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.795e-05/0.1099, allocations: 4 kB / 0.5086 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.555e-05/0.1099, allocations: 4 kB / 0.5086 GB, free: 14.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 2.253e-05/0.1099, allocations: 15.94 kB / 0.5087 GB, free: 14.91 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.11, allocations: 19.81 kB / 0.5087 GB, free: 14.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00019/0.1102, allocations: 71.61 kB / 0.5087 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1102, allocations: 0 / 0.5087 GB, free: 14.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1102, allocations: 4 kB / 0.5087 GB, free: 14.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1102, allocations: 0 / 0.5087 GB, free: 14.82 MB / 378.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.0005793/0.1107, allocations: 325.8 kB / 0.5091 GB, free: 14.47 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1108, allocations: 8.031 kB / 0.5091 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001562/0.1109, allocations: 24.83 kB / 0.5091 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000328/0.1113, allocations: 154.8 kB / 0.5092 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.1113, allocations: 384 / 0.5092 GB, free: 14.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.572e-05/0.1113, allocations: 8.375 kB / 0.5092 GB, free: 14.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1115, allocations: 67.7 kB / 0.5093 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.1115, allocations: 0 / 0.5093 GB, free: 14.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1115, allocations: 7.938 kB / 0.5093 GB, free: 14.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1115, allocations: 4 kB / 0.5093 GB, free: 14.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.1116, allocations: 19.98 kB / 0.5093 GB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.1121, allocations: 324.6 kB / 0.5096 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.1122, allocations: 53.14 kB / 0.5097 GB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.645e-05/0.1123, allocations: 21.78 kB / 0.5097 GB, free: 13.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.1123, allocations: 4 kB / 0.5097 GB, free: 13.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.688e-05/0.1124, allocations: 34.5 kB / 0.5098 GB, free: 13.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.1124, allocations: 0 / 0.5098 GB, free: 13.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003024/0.1127, allocations: 77.84 kB / 0.5098 GB, free: 13.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.35e-05/0.1127, allocations: 81.05 kB / 0.5099 GB, free: 13.47 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001959/0.1129, allocations: 179.4 kB / 0.5101 GB, free: 13.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.1129, allocations: 25.7 kB / 0.5101 GB, free: 13.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.113, allocations: 104.1 kB / 0.5102 GB, free: 13.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.386e-05/0.1131, allocations: 11.91 kB / 0.5102 GB, free: 13.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.656e-05/0.1131, allocations: 21.7 kB / 0.5102 GB, free: 13.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1133, allocations: 318.8 kB / 0.5105 GB, free: 12.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-05/0.1133, allocations: 15.98 kB / 0.5106 GB, free: 12.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.1134, allocations: 30.56 kB / 0.5106 GB, free: 12.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1135, allocations: 58.47 kB / 0.5106 GB, free: 12.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1135, allocations: 0 / 0.5106 GB, free: 12.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001815/0.1137, allocations: 85.56 kB / 0.5107 GB, free: 12.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1137, allocations: 9.656 kB / 0.5107 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1137, allocations: 0 / 0.5107 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1137, allocations: 4 kB / 0.5107 GB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.1138, allocations: 11.98 kB / 0.5107 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1138, allocations: 4.062 kB / 0.5107 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.454e-05/0.1139, allocations: 11.94 kB / 0.5108 GB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1139, allocations: 7.984 kB / 0.5108 GB, free: 12.53 MB / 378.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 0.0001154/0.114, allocations: 124.6 kB / 0.5109 GB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.1141, allocations: 11.94 kB / 0.5109 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/0.1141, allocations: 16.61 kB / 0.5109 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1141, allocations: 0 / 0.5109 GB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1141, allocations: 3.938 kB / 0.5109 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1141, allocations: 0 / 0.5109 GB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.1145, allocations: 255.2 kB / 0.5112 GB, free: 12.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1145, allocations: 8 kB / 0.5112 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.212e-05/0.1145, allocations: 7.984 kB / 0.5112 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.1145, allocations: 0 / 0.5112 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.1146, allocations: 0 / 0.5112 GB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1146, allocations: 4 kB / 0.5112 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1146, allocations: 0 / 0.5112 GB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.1148, allocations: 176.2 kB / 0.5113 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.1148, allocations: 3.953 kB / 0.5114 GB, free: 11.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1148, allocations: 4 kB / 0.5114 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.025e-05/0.1149, allocations: 4.031 kB / 0.5114 GB, free: 11.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.788e-05/0.1149, allocations: 7.984 kB / 0.5114 GB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.557e-06/0.1149, allocations: 0 / 0.5114 GB, free: 11.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.1151, allocations: 127.2 kB / 0.5115 GB, free: 11.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1151, allocations: 0 / 0.5115 GB, free: 11.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.1153, allocations: 15.95 kB / 0.5115 GB, free: 11.71 MB / 378.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 0.0001164/0.1154, allocations: 91.25 kB / 0.5116 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1156, allocations: 35.91 kB / 0.5116 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.1156, allocations: 8.062 kB / 0.5116 GB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.14e-05/0.1157, allocations: 19.94 kB / 0.5117 GB, free: 11.55 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.116, allocations: 11.98 kB / 0.5117 GB, free: 11.54 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005188/0.1165, allocations: 209.7 kB / 0.5119 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.1166, allocations: 84.19 kB / 0.5119 GB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.457e-05/0.1167, allocations: 12.73 kB / 0.512 GB, free: 11.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.1167, allocations: 15.42 kB / 0.512 GB, free: 11.17 MB / 378.7 MB Notification: Performance of SimCode: time 4.11e-07/0.1167, allocations: 0 / 0.512 GB, free: 11.17 MB / 378.7 MB Notification: Performance of Templates: time 0.1338/0.2505, allocations: 0.6638 MB / 0.5126 GB, free: 10.51 MB / 378.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=480 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.2727409049985]