Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.0009168/0.0009168, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.0009834/0.0009834, allocations: 174.5 kB / 24.92 MB, free: 9.188 MB / 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.8311/0.8311, allocations: 158.6 MB / 186.8 MB, free: 2.77 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.1722/0.1722, allocations: 36.34 MB / 275.4 MB, free: 10.55 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 305.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.151e-05/1.307e-05, allocations: 3.078 kB / 305.2 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002361/0.002374, allocations: 2.185 MB / 307.4 MB, free: 12.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008315/0.003205, allocations: 0.6252 MB / 308 MB, free: 12.22 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.651e-05/0.003302, allocations: 6.188 kB / 308 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.003408, allocations: 25.14 kB / 308 MB, free: 12.2 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001753/0.003583, allocations: 84.59 kB / 308.1 MB, free: 12.14 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.00371, allocations: 46.95 kB / 308.1 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.003916, allocations: 254.6 kB / 308.4 MB, free: 11.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.004022, allocations: 43 kB / 308.4 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001835/0.004206, allocations: 152.2 kB / 308.6 MB, free: 11.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.004325, allocations: 75.27 kB / 308.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.491e-05/0.00435, allocations: 14.84 kB / 308.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.015e-05/0.0044, allocations: 18.67 kB / 308.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.004431, allocations: 40.61 kB / 308.7 MB, free: 11.84 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.004485, allocations: 71.88 kB / 308.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.004663, allocations: 143.3 kB / 308.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.004665, allocations: 1.25 kB / 308.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.004666, allocations: 0 / 308.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.004671, allocations: 4 kB / 308.9 MB, free: 11.74 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004332/0.005104, allocations: 445.3 kB / 309.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.024e-05/0.005134, allocations: 9.891 kB / 309.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.29e-05/0.005217, allocations: 31.58 kB / 309.4 MB, free: 11.38 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.00537, allocations: 180.8 kB / 309.6 MB, free: 11.22 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.005382, allocations: 20.16 kB / 309.6 MB, free: 11.21 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.651e-05/0.005408, allocations: 19.06 kB / 309.6 MB, free: 11.2 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.005552, allocations: 134.3 kB / 309.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.00556, allocations: 192 / 309.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.00557, allocations: 6.125 kB / 309.8 MB, free: 11.12 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.005576, allocations: 7.188 kB / 309.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.539e-05/0.005651, allocations: 46.27 kB / 309.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.00603, allocations: 372 kB / 310.2 MB, free: 10.82 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.78e-05/0.006128, allocations: 76.62 kB / 310.3 MB, free: 10.79 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.719e-05/0.006165, allocations: 32.69 kB / 310.3 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.055e-05/0.006176, allocations: 7.344 kB / 310.3 MB, free: 10.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.006189, allocations: 37.23 kB / 310.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 8.92e-07/0.00619, allocations: 0 / 310.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004447/0.006634, allocations: 339 kB / 310.7 MB, free: 10.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.048e-05/0.006655, allocations: 55.09 kB / 310.7 MB, free: 10.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.006768, allocations: 217.2 kB / 310.9 MB, free: 10.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.006777, allocations: 30.67 kB / 311 MB, free: 10.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.006811, allocations: 126.2 kB / 311.1 MB, free: 10.18 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.661e-05/0.006837, allocations: 68.42 kB / 311.2 MB, free: 10.12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.006875, allocations: 37.66 kB / 311.2 MB, free: 10.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.39e-05/0.006909, allocations: 335 kB / 311.5 MB, free: 9.773 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.006935, allocations: 20.86 kB / 311.5 MB, free: 9.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.703e-05/0.006982, allocations: 52 kB / 311.6 MB, free: 9.734 MB / 282.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0002349/0.007217, allocations: 155.9 kB / 311.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.007218, allocations: 0 / 311.7 MB, free: 9.691 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001095/0.007327, allocations: 109.9 kB / 311.8 MB, free: 9.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/0.007337, allocations: 9.344 kB / 311.9 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.007342, allocations: 1.781 kB / 311.9 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.007353, allocations: 2.344 kB / 311.9 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001214/0.007475, allocations: 52.5 kB / 311.9 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.007479, allocations: 2.922 kB / 311.9 MB, free: 9.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.484e-05/0.007533, allocations: 17.75 kB / 311.9 MB, free: 9.633 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.00754, allocations: 10.62 kB / 311.9 MB, free: 9.629 MB / 282.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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 5.2e-05/0.007592, allocations: 122.6 kB / 312.1 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.699e-05/0.007619, allocations: 15.5 kB / 312.1 MB, free: 9.504 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/0.007649, allocations: 29.62 kB / 312.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.007652, allocations: 2.625 kB / 312.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.345e-06/0.007654, allocations: 0 / 312.1 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.007659, allocations: 6.609 kB / 312.1 MB, free: 9.477 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002753/0.007934, allocations: 302.8 kB / 312.4 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007935, allocations: 0 / 312.4 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.008061, allocations: 49.25 kB / 312.5 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.008064, allocations: 2.359 kB / 312.5 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.413e-06/0.008071, allocations: 5.094 kB / 312.5 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.008073, allocations: 9.281 kB / 312.5 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008074, allocations: 0 / 312.5 MB, free: 9.246 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001542/0.008228, allocations: 224.7 kB / 312.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.008264, allocations: 21.97 kB / 312.7 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.008281, allocations: 6.547 kB / 312.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.754e-05/0.008338, allocations: 10.36 kB / 312.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.00837, allocations: 11.83 kB / 312.7 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.008375, allocations: 5.375 kB / 312.7 MB, free: 9.074 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.021e-05/0.008425, allocations: 77.2 kB / 312.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.008425, allocations: 0 / 312.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001506/0.008575, allocations: 42.44 kB / 312.9 MB, free: 9.039 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.omega_e_filt) * 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 (18): * Single equations (assignments): 18 * 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.677e-05/0.008632, allocations: 76.83 kB / 312.9 MB, free: 8.965 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001154/0.008748, allocations: 84.56 kB / 313 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.008751, allocations: 2.5 kB / 313 MB, free: 8.941 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.066e-05/0.008792, allocations: 40.27 kB / 313.1 MB, free: 8.93 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.008978, allocations: 46.12 kB / 313.1 MB, free: 8.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007035/0.009682, allocations: 474.3 kB / 313.6 MB, free: 8.602 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.679e-05/0.009719, allocations: 79.83 kB / 313.7 MB, free: 8.531 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.451e-05/0.009773, allocations: 17.19 kB / 313.7 MB, free: 8.531 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.37e-05/0.009857, allocations: 83.25 kB / 313.7 MB, free: 8.48 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.009857, allocations: 0 / 313.7 MB, free: 8.48 MB / 282.7 MB Notification: Performance of Templates: time 0.003772/0.01363, allocations: 2.18 MB / 315.9 MB, free: 7.852 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7813221449032426]