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.001452/0.001452, allocations: 93.06 kB / 19.65 MB, free: 276 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.001833/0.001833, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.8986/0.8986, allocations: 177.1 MB / 203.4 MB, free: 5.629 MB / 186.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.04679/0.04679, allocations: 12.97 MB / 272.9 MB, free: 472 kB / 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.192e-06/1.192e-06, allocations: 0 / 347 MB, free: 1.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.422e-05/1.541e-05, allocations: 10.25 kB / 347 MB, free: 1.574 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.001608/0.001623, allocations: 1.661 MB / 348.7 MB, free: 15.9 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005968/0.00222, allocations: 482.7 kB / 349.2 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.002279, allocations: 7.938 kB / 349.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.511e-05/0.002375, allocations: 7.875 kB / 349.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 5.694e-05/0.002431, allocations: 15.8 kB / 349.2 MB, free: 15.39 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001808/0.002612, allocations: 35.89 kB / 349.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.002752, allocations: 75.59 kB / 349.3 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.002838, allocations: 13.31 kB / 349.3 MB, free: 15.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000131/0.002969, allocations: 59.75 kB / 349.4 MB, free: 15.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.444e-05/0.003013, allocations: 15.92 kB / 349.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.557e-05/0.003029, allocations: 4 kB / 349.4 MB, free: 15.2 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.637e-05/0.003065, allocations: 4 kB / 349.4 MB, free: 15.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.325e-05/0.003078, allocations: 11.94 kB / 349.4 MB, free: 15.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.45e-05/0.003103, allocations: 23.91 kB / 349.4 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.003215, allocations: 47.77 kB / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.003217, allocations: 0 / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.41e-07/0.003218, allocations: 3.938 kB / 349.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.003222, allocations: 0 / 349.5 MB, free: 15.11 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.0003651/0.003587, allocations: 420.1 kB / 349.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.003622, allocations: 8.031 kB / 349.9 MB, free: 14.65 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001127/0.003735, allocations: 24.88 kB / 349.9 MB, free: 14.63 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.003898, allocations: 156.4 kB / 350.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-06/0.003908, allocations: 4.375 kB / 350.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.066e-06/0.003916, allocations: 384 / 350.1 MB, free: 14.45 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.004026, allocations: 82.25 kB / 350.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.004033, allocations: 192 / 350.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.004042, allocations: 4.375 kB / 350.2 MB, free: 14.34 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.004049, allocations: 11.88 kB / 350.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.004078, allocations: 8 kB / 350.2 MB, free: 14.32 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.004417, allocations: 414.6 kB / 350.6 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.843e-05/0.004475, allocations: 54.25 kB / 350.7 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.771e-05/0.004503, allocations: 27.36 kB / 350.7 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.004515, allocations: 3.938 kB / 350.7 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.051e-05/0.004535, allocations: 45.33 kB / 350.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.004536, allocations: 0 / 350.7 MB, free: 13.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001517/0.004688, allocations: 61.58 kB / 350.8 MB, free: 13.64 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.945e-05/0.004717, allocations: 77.11 kB / 350.9 MB, free: 13.55 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.004826, allocations: 213.9 kB / 351.1 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.004836, allocations: 25.7 kB / 351.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.991e-05/0.004896, allocations: 158.8 kB / 351.3 MB, free: 13.13 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.796e-06/0.004905, allocations: 19.83 kB / 351.3 MB, free: 13.11 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.816e-05/0.004933, allocations: 23.38 kB / 351.3 MB, free: 13.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.958e-05/0.005032, allocations: 0.4923 MB / 351.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.65e-05/0.005049, allocations: 8 kB / 351.8 MB, free: 12.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.244e-05/0.005071, allocations: 31.42 kB / 351.8 MB, free: 12.52 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.6e-05/0.005117, allocations: 54.98 kB / 351.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.005119, allocations: 0 / 351.9 MB, free: 12.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 6.987e-05/0.005189, allocations: 73.52 kB / 352 MB, free: 12.38 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.0052, allocations: 4 kB / 352 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.005204, allocations: 0 / 352 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.005216, allocations: 4 kB / 352 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.903e-05/0.005275, allocations: 11.98 kB / 352 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.00528, allocations: 0 / 352 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.247e-05/0.005302, allocations: 12.02 kB / 352 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.005307, allocations: 0 / 352 MB, free: 12.35 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 6.095e-05/0.005367, allocations: 164.5 kB / 352.1 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.397e-05/0.005391, allocations: 15.88 kB / 352.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.917e-05/0.005411, allocations: 12.66 kB / 352.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.005412, allocations: 0 / 352.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.858e-06/0.005416, allocations: 4 kB / 352.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.005419, allocations: 0 / 352.2 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.005615, allocations: 305.1 kB / 352.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.005616, allocations: 0 / 352.5 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.288e-05/0.005639, allocations: 19.89 kB / 352.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.005641, allocations: 0 / 352.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.005647, allocations: 4 kB / 352.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.52e-07/0.005648, allocations: 0 / 352.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.005649, allocations: 0 / 352.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.399e-05/0.005743, allocations: 215.5 kB / 352.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.827e-06/0.005752, allocations: 7.953 kB / 352.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.005763, allocations: 4 kB / 352.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.135e-05/0.005795, allocations: 4 kB / 352.7 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.698e-05/0.005822, allocations: 3.984 kB / 352.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.005824, allocations: 4 kB / 352.7 MB, free: 11.52 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.341e-05/0.005888, allocations: 172.1 kB / 352.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.005888, allocations: 0 / 352.9 MB, free: 11.35 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001429/0.006031, allocations: 8 kB / 352.9 MB, free: 11.34 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 5.801e-05/0.006089, allocations: 91.25 kB / 353 MB, free: 11.25 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.51e-05/0.006164, allocations: 27.67 kB / 353 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.333e-06/0.006165, allocations: 0 / 353 MB, free: 11.21 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.525e-05/0.00618, allocations: 15.62 kB / 353 MB, free: 11.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.006376, allocations: 32.22 kB / 353.1 MB, free: 11.17 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004321/0.006808, allocations: 218.2 kB / 353.3 MB, free: 10.92 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.469e-05/0.006843, allocations: 63.34 kB / 353.3 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.299e-05/0.006866, allocations: 4.734 kB / 353.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.407e-05/0.00689, allocations: 12.5 kB / 353.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.006891, allocations: 0 / 353.4 MB, free: 10.82 MB / 282.7 MB Notification: Performance of Templates: time 0.002039/0.00893, allocations: 0.6557 MB / 354 MB, free: 10.18 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=240 -lv LOG_STATS > PowerGrids_dev_PowerGrids.Controls.Test.TestFreeOffset.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.3948999070562422]