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.0006517/0.0006517, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0007562/0.0007562, allocations: 212.7 kB / 23 MB, free: 2.984 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.957/0.957, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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.05015/0.05015, allocations: 17.18 MB / 330.4 MB, free: 1.18 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.001425/0.001425, allocations: 75.89 kB / 460.7 MB, free: 27.93 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1151, allocations: 57.8 MB / 0.5064 GB, free: 2.023 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002429/0.1176, allocations: 1.598 MB / 0.5079 GB, free: 428 kB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007078/0.1183, allocations: 466.9 kB / 0.5084 GB, free: 15.96 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8e-05/0.1183, allocations: 3.938 kB / 0.5084 GB, free: 15.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.1185, allocations: 7.875 kB / 0.5084 GB, free: 15.95 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.1185, allocations: 23.78 kB / 0.5084 GB, free: 15.92 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002058/0.1187, allocations: 31.91 kB / 0.5085 GB, free: 15.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.1189, allocations: 75.66 kB / 0.5085 GB, free: 15.82 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.119, allocations: 9.312 kB / 0.5085 GB, free: 15.81 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001397/0.1191, allocations: 47.77 kB / 0.5086 GB, free: 15.76 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.242e-05/0.1192, allocations: 23.8 kB / 0.5086 GB, free: 15.74 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1192, allocations: 4 kB / 0.5086 GB, free: 15.73 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.322e-05/0.1192, allocations: 8 kB / 0.5086 GB, free: 15.73 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 1.368e-05/0.1193, allocations: 7.938 kB / 0.5086 GB, free: 15.72 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.1193, allocations: 19.81 kB / 0.5086 GB, free: 15.7 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001576/0.1194, allocations: 83.53 kB / 0.5087 GB, free: 15.62 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1194, allocations: 4 kB / 0.5087 GB, free: 15.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1194, allocations: 4 kB / 0.5087 GB, free: 15.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1195, allocations: 0 / 0.5087 GB, free: 15.61 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.0004172/0.1199, allocations: 317.8 kB / 0.509 GB, free: 15.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.009e-05/0.1199, allocations: 8.031 kB / 0.509 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.12, allocations: 24.83 kB / 0.5091 GB, free: 15.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.1203, allocations: 154.8 kB / 0.5092 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.1203, allocations: 384 / 0.5092 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.1203, allocations: 4.375 kB / 0.5092 GB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.1204, allocations: 71.7 kB / 0.5093 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1204, allocations: 0 / 0.5093 GB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.1204, allocations: 7.984 kB / 0.5093 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1204, allocations: 0 / 0.5093 GB, free: 14.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.212e-05/0.1205, allocations: 23.92 kB / 0.5093 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.1209, allocations: 324.6 kB / 0.5096 GB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.032e-05/0.1209, allocations: 53.14 kB / 0.5097 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.261e-05/0.121, allocations: 25.78 kB / 0.5097 GB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.547e-05/0.121, allocations: 7.938 kB / 0.5097 GB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.121, allocations: 34.56 kB / 0.5097 GB, free: 14.44 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.362e-06/0.121, allocations: 0 / 0.5097 GB, free: 14.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002054/0.1212, allocations: 77.56 kB / 0.5098 GB, free: 14.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1213, allocations: 85.11 kB / 0.5099 GB, free: 14.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.1214, allocations: 167.5 kB / 0.5101 GB, free: 14.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1214, allocations: 25.7 kB / 0.5101 GB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.873e-05/0.1215, allocations: 112.4 kB / 0.5102 GB, free: 13.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.757e-06/0.1215, allocations: 15.84 kB / 0.5102 GB, free: 13.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-05/0.1215, allocations: 21.7 kB / 0.5102 GB, free: 13.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.815e-05/0.1216, allocations: 318.8 kB / 0.5105 GB, free: 13.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.91e-05/0.1216, allocations: 15.98 kB / 0.5105 GB, free: 13.56 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-05/0.1217, allocations: 30.56 kB / 0.5106 GB, free: 13.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.516e-05/0.1217, allocations: 54.44 kB / 0.5106 GB, free: 13.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1217, allocations: 0 / 0.5106 GB, free: 13.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001016/0.1218, allocations: 89.5 kB / 0.5107 GB, free: 13.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.1218, allocations: 5.719 kB / 0.5107 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1218, allocations: 0 / 0.5107 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1219, allocations: 4 kB / 0.5107 GB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.841e-05/0.1219, allocations: 11.98 kB / 0.5107 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1219, allocations: 0 / 0.5107 GB, free: 13.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.868e-05/0.122, allocations: 11.89 kB / 0.5107 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.122, allocations: 8 kB / 0.5108 GB, free: 13.33 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 7.116e-05/0.122, allocations: 128.6 kB / 0.5109 GB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.1221, allocations: 11.94 kB / 0.5109 GB, free: 13.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.533e-05/0.1221, allocations: 16.61 kB / 0.5109 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1221, allocations: 0 / 0.5109 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1221, allocations: 0 / 0.5109 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.1221, allocations: 0 / 0.5109 GB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002315/0.1223, allocations: 255 kB / 0.5111 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1223, allocations: 4 kB / 0.5111 GB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.1224, allocations: 7.984 kB / 0.5112 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.1224, allocations: 0 / 0.5112 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1224, allocations: 0 / 0.5112 GB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1224, allocations: 8.031 kB / 0.5112 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1224, allocations: 0 / 0.5112 GB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001202/0.1225, allocations: 176.2 kB / 0.5113 GB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.1225, allocations: 11.95 kB / 0.5113 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.168e-05/0.1225, allocations: 0 / 0.5113 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.642e-05/0.1226, allocations: 0 / 0.5113 GB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.1226, allocations: 8.078 kB / 0.5114 GB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1226, allocations: 4.109 kB / 0.5114 GB, free: 12.64 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.72e-05/0.1227, allocations: 131.1 kB / 0.5115 GB, free: 12.52 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1227, allocations: 0 / 0.5115 GB, free: 12.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.1228, allocations: 15.95 kB / 0.5115 GB, free: 12.5 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 8.412e-05/0.1229, allocations: 91.25 kB / 0.5116 GB, free: 12.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001237/0.123, allocations: 39.91 kB / 0.5116 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.123, allocations: 4 kB / 0.5116 GB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.99e-05/0.1231, allocations: 12 kB / 0.5116 GB, free: 12.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002388/0.1233, allocations: 15.92 kB / 0.5117 GB, free: 12.33 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.1237, allocations: 239.6 kB / 0.5119 GB, free: 12.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.571e-05/0.1238, allocations: 80.19 kB / 0.512 GB, free: 11.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.066e-05/0.1238, allocations: 11.44 kB / 0.512 GB, free: 11.95 MB / 378.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1238, allocations: 4 kB / 0.512 GB, free: 11.95 MB / 378.7 MB Notification: Performance of Templates: time 0.002195/0.126, allocations: 1.092 MB / 0.513 GB, free: 10.86 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 > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.783323497016681]