Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.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.001141/0.001141, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001009/0.001009, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8135/0.8135, allocations: 158.6 MB / 186.4 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.1549/0.1549, allocations: 36.34 MB / 275.1 MB, free: 10.65 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 353.8 MB, free: 3.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.247e-05/1.375e-05, allocations: 2.312 kB / 353.8 MB, free: 3.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.001983/0.001997, allocations: 2.309 MB / 356.1 MB, free: 1.109 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008063/0.002804, allocations: 0.6358 MB / 356.7 MB, free: 476 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.002925, allocations: 7.938 kB / 356.7 MB, free: 468 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.003066, allocations: 27.66 kB / 356.8 MB, free: 440 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.00328, allocations: 91.2 kB / 356.9 MB, free: 348 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001327/0.003412, allocations: 71.89 kB / 356.9 MB, free: 276 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.003619, allocations: 294.5 kB / 357.2 MB, free: 15.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.003747, allocations: 41.61 kB / 357.3 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001661/0.003913, allocations: 171.5 kB / 357.4 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001287/0.004041, allocations: 87.7 kB / 357.5 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.544e-05/0.004077, allocations: 20 kB / 357.5 MB, free: 15.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.522e-05/0.004132, allocations: 20 kB / 357.5 MB, free: 15.65 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.004171, allocations: 51.77 kB / 357.6 MB, free: 15.6 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.252e-05/0.004233, allocations: 75.77 kB / 357.7 MB, free: 15.52 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002104/0.004444, allocations: 179.2 kB / 357.8 MB, free: 15.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.004447, allocations: 8 kB / 357.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.004448, allocations: 0 / 357.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.004454, allocations: 0 / 357.9 MB, free: 15.34 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0007158/0.00517, allocations: 0.585 MB / 358.4 MB, free: 14.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.005212, allocations: 8.031 kB / 358.4 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.005324, allocations: 52.73 kB / 358.5 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002398/0.005564, allocations: 207.6 kB / 358.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.005637, allocations: 71.95 kB / 358.8 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.076e-05/0.005668, allocations: 20.33 kB / 358.8 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.005893, allocations: 165.9 kB / 359 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.005904, allocations: 192 / 359 MB, free: 14.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.947e-05/0.005923, allocations: 15.94 kB / 359 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005932, allocations: 4 kB / 359 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.006053, allocations: 63.7 kB / 359 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.006668, allocations: 0.6151 MB / 359.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002128/0.006881, allocations: 118.9 kB / 359.8 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.349e-05/0.006944, allocations: 47.66 kB / 359.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.141e-05/0.006956, allocations: 4 kB / 359.8 MB, free: 13.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.287e-05/0.006979, allocations: 45.27 kB / 359.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of pre-optimization done (n=18): time 1.312e-06/0.00698, allocations: 0 / 359.9 MB, free: 13.17 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005802/0.00756, allocations: 416.1 kB / 360.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.007585, allocations: 51.41 kB / 360.3 MB, free: 12.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.007752, allocations: 284.3 kB / 360.6 MB, free: 12.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.007766, allocations: 29.7 kB / 360.6 MB, free: 12.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.015e-05/0.007846, allocations: 199.3 kB / 360.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.827e-05/0.007884, allocations: 71.38 kB / 360.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.987e-05/0.007934, allocations: 47.36 kB / 360.9 MB, free: 12.02 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.008049, allocations: 0.5001 MB / 361.4 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.822e-05/0.008097, allocations: 31.97 kB / 361.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.808e-05/0.008155, allocations: 51.22 kB / 361.5 MB, free: 11.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.00827, allocations: 107.1 kB / 361.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.008271, allocations: 0 / 361.6 MB, free: 11.3 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0001696/0.008441, allocations: 153.3 kB / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.008453, allocations: 8 kB / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.008458, allocations: 0 / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.008471, allocations: 0 / 361.8 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.008702, allocations: 83.88 kB / 361.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.008708, allocations: 4.031 kB / 361.9 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.366e-05/0.008772, allocations: 15.95 kB / 361.9 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.00878, allocations: 4 kB / 361.9 MB, free: 11.03 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 8.858e-05/0.008869, allocations: 168.5 kB / 362 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.008905, allocations: 27.8 kB / 362.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.488e-05/0.00895, allocations: 30.11 kB / 362.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.008951, allocations: 4 kB / 362.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.008955, allocations: 0 / 362.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.00896, allocations: 3.984 kB / 362.1 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.009372, allocations: 473.3 kB / 362.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009373, allocations: 4 kB / 362.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.009566, allocations: 55.95 kB / 362.6 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.009568, allocations: 7.938 kB / 362.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.058e-05/0.009578, allocations: 4 kB / 362.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.00958, allocations: 0 / 362.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.009581, allocations: 0 / 362.6 MB, free: 10.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002425/0.009823, allocations: 331.6 kB / 363 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.009868, allocations: 27.84 kB / 363 MB, free: 9.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.009894, allocations: 4 kB / 363 MB, free: 9.836 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.12e-05/0.009965, allocations: 15.98 kB / 363 MB, free: 9.82 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.01001, allocations: 7.984 kB / 363 MB, free: 9.812 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.01001, allocations: 8 kB / 363 MB, free: 9.805 MB / 298.7 MB Notification: Performance of sorting global known variables: time 9.717e-05/0.01011, allocations: 201.1 kB / 363.2 MB, free: 9.613 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01011, allocations: 0 / 363.2 MB, free: 9.613 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.01028, allocations: 48 kB / 363.3 MB, free: 9.566 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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 6.519e-05/0.01035, allocations: 95.19 kB / 363.4 MB, free: 9.465 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001587/0.01051, allocations: 104 kB / 363.5 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.01051, allocations: 64 / 363.5 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.256e-05/0.01057, allocations: 63.59 kB / 363.5 MB, free: 9.293 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.01082, allocations: 49.03 kB / 363.6 MB, free: 9.246 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009251/0.01175, allocations: 0.5637 MB / 364.1 MB, free: 8.652 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.643e-05/0.01179, allocations: 80.22 kB / 364.2 MB, free: 8.551 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.968e-05/0.01185, allocations: 25.92 kB / 364.2 MB, free: 8.527 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.0119, allocations: 24.5 kB / 364.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of SimCode: time 6.11e-07/0.0119, allocations: 0 / 364.3 MB, free: 8.504 MB / 298.7 MB Notification: Performance of Templates: time 0.003718/0.01562, allocations: 2.167 MB / 366.4 MB, free: 6.359 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.722839991096407]