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.00146/0.00146, allocations: 88.72 kB / 19.44 MB, free: 356 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.001614/0.001614, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.475/1.475, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.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.08415/0.08415, allocations: 12.71 MB / 272.3 MB, free: 0.7539 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: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 346 MB, free: 2.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.885e-05/3.041e-05, allocations: 6.25 kB / 346 MB, free: 2.312 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002611/0.002641, allocations: 1.613 MB / 347.6 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008113/0.003453, allocations: 474.6 kB / 348 MB, free: 228 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.429e-05/0.003547, allocations: 3.938 kB / 348.1 MB, free: 224 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001293/0.003676, allocations: 11.86 kB / 348.1 MB, free: 212 kB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.167e-05/0.003748, allocations: 19.8 kB / 348.1 MB, free: 192 kB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.003945, allocations: 31.91 kB / 348.1 MB, free: 160 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.004086, allocations: 75.59 kB / 348.2 MB, free: 84 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.004176, allocations: 21.28 kB / 348.2 MB, free: 64 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.004329, allocations: 43.84 kB / 348.3 MB, free: 20 kB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.748e-05/0.004376, allocations: 19.92 kB / 348.3 MB, free: 0 / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.004418, allocations: 4.047 kB / 348.3 MB, free: 15.99 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.597e-05/0.004464, allocations: 7.984 kB / 348.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.004484, allocations: 11.88 kB / 348.3 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.004516, allocations: 11.94 kB / 348.3 MB, free: 15.96 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001744/0.00469, allocations: 63.73 kB / 348.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.004693, allocations: 0 / 348.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004693, allocations: 0 / 348.4 MB, free: 15.9 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.004698, allocations: 7.938 kB / 348.4 MB, free: 15.89 MB / 282.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.0005296/0.005227, allocations: 325.8 kB / 348.7 MB, free: 15.55 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.005266, allocations: 12.03 kB / 348.7 MB, free: 15.54 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001728/0.005439, allocations: 20.88 kB / 348.7 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003071/0.005746, allocations: 153.5 kB / 348.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.00576, allocations: 4.375 kB / 348.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.005772, allocations: 4.375 kB / 348.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.005941, allocations: 71.89 kB / 349 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.00595, allocations: 4.188 kB / 349 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.005959, allocations: 384 / 349 MB, free: 15.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.005969, allocations: 7.938 kB / 349 MB, free: 15.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.927e-05/0.006068, allocations: 19.98 kB / 349 MB, free: 15.22 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004965/0.006565, allocations: 320.6 kB / 349.3 MB, free: 14.87 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.006681, allocations: 49.2 kB / 349.3 MB, free: 14.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.42e-05/0.006745, allocations: 21.78 kB / 349.4 MB, free: 14.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/0.006767, allocations: 11.94 kB / 349.4 MB, free: 14.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.006804, allocations: 34.5 kB / 349.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 3.466e-06/0.006807, allocations: 3.984 kB / 349.4 MB, free: 14.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.00029/0.007097, allocations: 77.56 kB / 349.5 MB, free: 14.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001913/0.007288, allocations: 81.11 kB / 349.6 MB, free: 14.54 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001982/0.007486, allocations: 167.5 kB / 349.7 MB, free: 14.37 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.007506, allocations: 25.7 kB / 349.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.199e-05/0.007598, allocations: 112.1 kB / 349.9 MB, free: 14.22 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-05/0.007614, allocations: 12.16 kB / 349.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.36e-05/0.007658, allocations: 17.72 kB / 349.9 MB, free: 14.19 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000171/0.007829, allocations: 322.8 kB / 350.2 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.007887, allocations: 15.98 kB / 350.2 MB, free: 13.85 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.824e-05/0.007955, allocations: 38.56 kB / 350.3 MB, free: 13.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001199/0.008075, allocations: 46.5 kB / 350.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.008077, allocations: 0 / 350.3 MB, free: 13.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002222/0.008299, allocations: 93.5 kB / 350.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.008316, allocations: 8 kB / 350.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.66e-06/0.008322, allocations: 0 / 350.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.008338, allocations: 0 / 350.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.008444, allocations: 15.98 kB / 350.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.00845, allocations: 0 / 350.4 MB, free: 13.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.267e-05/0.008502, allocations: 11.89 kB / 350.4 MB, free: 13.61 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.412e-06/0.008509, allocations: 3.938 kB / 350.4 MB, free: 13.61 MB / 282.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.0001065/0.008615, allocations: 117.8 kB / 350.6 MB, free: 13.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.008666, allocations: 19.95 kB / 350.6 MB, free: 13.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.273e-05/0.008699, allocations: 20.59 kB / 350.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.0087, allocations: 0 / 350.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.008705, allocations: 0 / 350.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.008707, allocations: 0 / 350.6 MB, free: 13.45 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003364/0.009043, allocations: 251.1 kB / 350.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.009045, allocations: 0 / 350.8 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.866e-05/0.009103, allocations: 15.92 kB / 350.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.009106, allocations: 0 / 350.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.034e-06/0.009113, allocations: 0 / 350.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.009114, allocations: 0 / 350.9 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.009118, allocations: 8.031 kB / 350.9 MB, free: 13.14 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.009344, allocations: 172.2 kB / 351 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.574e-05/0.009359, allocations: 3.953 kB / 351 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.009377, allocations: 4 kB / 351 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.009444, allocations: 0 / 351 MB, free: 12.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.009484, allocations: 7.984 kB / 351.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.009487, allocations: 0 / 351.1 MB, free: 12.94 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001152/0.009603, allocations: 123.2 kB / 351.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.009603, allocations: 3.938 kB / 351.2 MB, free: 12.81 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002387/0.009841, allocations: 12 kB / 351.2 MB, free: 12.8 MB / 282.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.0001079/0.009949, allocations: 95.25 kB / 351.3 MB, free: 12.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001533/0.0101, allocations: 31.97 kB / 351.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0101, allocations: 0 / 351.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.332e-05/0.01016, allocations: 19.94 kB / 351.3 MB, free: 12.65 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003203/0.01048, allocations: 19.83 kB / 351.3 MB, free: 12.63 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004735/0.01095, allocations: 214.1 kB / 351.6 MB, free: 12.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.01105, allocations: 80.31 kB / 351.6 MB, free: 12.29 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.99e-05/0.0111, allocations: 12.84 kB / 351.6 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.194e-05/0.01115, allocations: 16.48 kB / 351.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01115, allocations: 0 / 351.7 MB, free: 12.26 MB / 282.7 MB Notification: Performance of Templates: time 0.003711/0.01486, allocations: 0.6271 MB / 352.3 MB, free: 11.64 MB / 282.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: 4.378830022062175]