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.000894/0.000894, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.0009099/0.0009099, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9492/0.9492, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.06118/0.06118, allocations: 12.99 MB / 274 MB, free: 308 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.402e-06/1.402e-06, allocations: 0 / 348.3 MB, free: 1.285 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.462e-05, allocations: 2.312 kB / 348.3 MB, free: 1.281 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerGrids.Controls.Test.TestFreeOffset): time 0.002471/0.002496, allocations: 1.659 MB / 350 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007947/0.003291, allocations: 482.6 kB / 350.4 MB, free: 15.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.519e-05/0.003366, allocations: 7.938 kB / 350.4 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.003472, allocations: 15.86 kB / 350.5 MB, free: 15.11 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.686e-05/0.003538, allocations: 15.8 kB / 350.5 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003731, allocations: 31.91 kB / 350.5 MB, free: 15.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.003881, allocations: 79.58 kB / 350.6 MB, free: 14.99 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.978e-05/0.003971, allocations: 13.3 kB / 350.6 MB, free: 14.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001489/0.00412, allocations: 43.84 kB / 350.6 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.081e-05/0.00417, allocations: 19.92 kB / 350.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.589e-05/0.004186, allocations: 4 kB / 350.7 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.164e-05/0.004228, allocations: 15.92 kB / 350.7 MB, free: 14.89 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.004248, allocations: 15.92 kB / 350.7 MB, free: 14.88 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.004271, allocations: 15.94 kB / 350.7 MB, free: 14.86 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001158/0.004387, allocations: 43.83 kB / 350.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.00439, allocations: 0 / 350.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.004391, allocations: 0 / 350.8 MB, free: 14.82 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.004395, allocations: 3.938 kB / 350.8 MB, free: 14.82 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.0004291/0.004824, allocations: 428 kB / 351.2 MB, free: 14.36 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.004857, allocations: 15.97 kB / 351.2 MB, free: 14.35 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.004984, allocations: 20.83 kB / 351.2 MB, free: 14.33 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.005165, allocations: 160.4 kB / 351.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.005175, allocations: 4.375 kB / 351.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.005184, allocations: 4.375 kB / 351.4 MB, free: 14.14 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.005295, allocations: 78.25 kB / 351.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.005302, allocations: 192 / 351.4 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.702e-06/0.005308, allocations: 384 / 351.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.005315, allocations: 3.938 kB / 351.5 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.72e-05/0.005342, allocations: 11.98 kB / 351.5 MB, free: 14.03 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.005746, allocations: 395.2 kB / 351.9 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.366e-05/0.005809, allocations: 50.19 kB / 351.9 MB, free: 13.54 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.174e-05/0.005841, allocations: 27.44 kB / 351.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.005852, allocations: 0 / 351.9 MB, free: 13.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.005877, allocations: 45.25 kB / 352 MB, free: 13.45 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.005878, allocations: 0 / 352 MB, free: 13.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001549/0.006033, allocations: 53.55 kB / 352 MB, free: 13.39 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.758e-05/0.006071, allocations: 85.36 kB / 352.1 MB, free: 13.29 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.006202, allocations: 225.8 kB / 352.3 MB, free: 13.05 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.006214, allocations: 25.7 kB / 352.4 MB, free: 13.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.438e-05/0.006289, allocations: 158.8 kB / 352.5 MB, free: 12.86 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.866e-06/0.006298, allocations: 11.88 kB / 352.5 MB, free: 12.84 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/0.006333, allocations: 27.36 kB / 352.5 MB, free: 12.81 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.006467, allocations: 0.4923 MB / 353 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.347e-05/0.00648, allocations: 4 kB / 353 MB, free: 12.3 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.14e-05/0.006512, allocations: 39.03 kB / 353.1 MB, free: 12.25 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.389e-05/0.006566, allocations: 46.98 kB / 353.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.006568, allocations: 4 kB / 353.1 MB, free: 12.19 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 9.881e-05/0.006666, allocations: 65.53 kB / 353.2 MB, free: 12.12 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.006681, allocations: 11.94 kB / 353.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.006685, allocations: 0 / 353.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.977e-06/0.006694, allocations: 0 / 353.2 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.143e-05/0.006765, allocations: 11.98 kB / 353.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.006768, allocations: 4 kB / 353.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.163e-05/0.0068, allocations: 0 / 353.2 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.634e-06/0.006807, allocations: 8 kB / 353.2 MB, free: 12.08 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 7.208e-05/0.00688, allocations: 164.5 kB / 353.4 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.006923, allocations: 15.89 kB / 353.4 MB, free: 11.89 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.006949, allocations: 16.64 kB / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.006952, allocations: 0 / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.006954, allocations: 0 / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.006956, allocations: 0 / 353.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004082/0.007364, allocations: 285.7 kB / 353.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.007367, allocations: 0 / 353.7 MB, free: 11.56 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.007404, allocations: 11.88 kB / 353.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.007408, allocations: 3.984 kB / 353.7 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.879e-06/0.007412, allocations: 4.031 kB / 353.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.007415, allocations: 4 kB / 353.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.007416, allocations: 0 / 353.7 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.007537, allocations: 207.6 kB / 353.9 MB, free: 11.31 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.007552, allocations: 15.84 kB / 353.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.007563, allocations: 0 / 353.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.747e-05/0.007621, allocations: 0 / 353.9 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.007647, allocations: 7.984 kB / 354 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.007651, allocations: 0 / 354 MB, free: 11.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.955e-05/0.00773, allocations: 159.1 kB / 354.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of sort global known variables: time 2.71e-07/0.007731, allocations: 3.938 kB / 354.1 MB, free: 11.13 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002526/0.007983, allocations: 12 kB / 354.1 MB, free: 11.12 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 8.941e-05/0.008073, allocations: 95.19 kB / 354.2 MB, free: 11.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 7.996e-05/0.008153, allocations: 27.67 kB / 354.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.008154, allocations: 0 / 354.2 MB, free: 10.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.243e-05/0.008177, allocations: 19.62 kB / 354.3 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.008482, allocations: 19.53 kB / 354.3 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005065/0.008988, allocations: 218.5 kB / 354.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.935e-05/0.009027, allocations: 59.34 kB / 354.6 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.737e-05/0.009065, allocations: 8.859 kB / 354.6 MB, free: 10.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.009131, allocations: 86.19 kB / 354.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of SimCode: time 7.61e-07/0.009132, allocations: 0 / 354.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of Templates: time 0.002883/0.01201, allocations: 0.6725 MB / 355.3 MB, free: 9.859 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.731238393113017]