Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.001372/0.001372, allocations: 80.41 kB / 22.21 MB, free: 2.285 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.001355/0.001355, allocations: 168 kB / 25.61 MB, free: 8.539 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.8606/0.8606, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/package.mo): time 0.09014/0.09014, allocations: 19.73 MB / 282.3 MB, free: 12.26 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 4.0.0-dev/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(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 359.2 MB, free: 44.18 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.555e-05/1.693e-05, allocations: 5.375 kB / 359.2 MB, free: 44.17 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002124/0.00214, allocations: 2.294 MB / 361.5 MB, free: 42.38 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006828/0.002823, allocations: 0.6382 MB / 362.1 MB, free: 41.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.82e-05/0.002921, allocations: 7.938 kB / 362.1 MB, free: 41.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001085/0.00303, allocations: 33 kB / 362.1 MB, free: 41.79 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001649/0.003195, allocations: 86.78 kB / 362.2 MB, free: 41.72 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000116/0.003311, allocations: 62.41 kB / 362.3 MB, free: 41.68 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.003493, allocations: 279.4 kB / 362.6 MB, free: 41.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.003601, allocations: 54.17 kB / 362.6 MB, free: 41.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001783/0.003779, allocations: 170 kB / 362.8 MB, free: 41.26 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.003888, allocations: 81.78 kB / 362.9 MB, free: 41.2 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.00391, allocations: 23.94 kB / 362.9 MB, free: 41.18 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.142e-05/0.003952, allocations: 21.78 kB / 362.9 MB, free: 41.16 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.724e-05/0.003979, allocations: 40.3 kB / 362.9 MB, free: 41.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.483e-05/0.004024, allocations: 91.69 kB / 363 MB, free: 41.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.004172, allocations: 155.3 kB / 363.2 MB, free: 40.88 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004174, allocations: 3.984 kB / 363.2 MB, free: 40.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004175, allocations: 1.312 kB / 363.2 MB, free: 40.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.004178, allocations: 4 kB / 363.2 MB, free: 40.88 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0004435/0.004622, allocations: 0.5877 MB / 363.8 MB, free: 40.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.617e-05/0.004648, allocations: 8.656 kB / 363.8 MB, free: 40.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/0.004726, allocations: 44.75 kB / 363.8 MB, free: 40.2 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.004877, allocations: 206.9 kB / 364 MB, free: 39.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.004888, allocations: 13.94 kB / 364.1 MB, free: 39.97 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.004911, allocations: 20.33 kB / 364.1 MB, free: 39.95 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.005043, allocations: 146 kB / 364.2 MB, free: 39.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.005053, allocations: 4.672 kB / 364.2 MB, free: 39.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.005064, allocations: 11.03 kB / 364.2 MB, free: 39.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.00507, allocations: 7.938 kB / 364.2 MB, free: 39.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.902e-05/0.005149, allocations: 62.7 kB / 364.3 MB, free: 39.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004041/0.005553, allocations: 0.5666 MB / 364.9 MB, free: 39.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.751e-05/0.005651, allocations: 93.27 kB / 365 MB, free: 39.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.382e-05/0.005684, allocations: 35.66 kB / 365 MB, free: 38.97 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.005697, allocations: 5.25 kB / 365 MB, free: 38.97 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.00571, allocations: 41.39 kB / 365 MB, free: 38.92 MB / 314.7 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.005711, allocations: 0 / 365 MB, free: 38.92 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003771/0.006088, allocations: 362.2 kB / 365.4 MB, free: 38.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.848e-05/0.006107, allocations: 55.41 kB / 365.4 MB, free: 38.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.483e-05/0.006202, allocations: 276.2 kB / 365.7 MB, free: 38.18 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.973e-06/0.006209, allocations: 25.7 kB / 365.7 MB, free: 38.15 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.913e-05/0.006258, allocations: 195.3 kB / 365.9 MB, free: 37.96 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.006281, allocations: 71.38 kB / 366 MB, free: 37.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.006319, allocations: 43.34 kB / 366 MB, free: 37.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.088e-05/0.00636, allocations: 0.5079 MB / 366.6 MB, free: 37.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.31e-05/0.006383, allocations: 17.67 kB / 366.6 MB, free: 37.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.006418, allocations: 48.75 kB / 366.6 MB, free: 37.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.343e-05/0.006481, allocations: 80.09 kB / 366.7 MB, free: 37.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.006482, allocations: 3.938 kB / 366.7 MB, free: 37.16 MB / 314.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001158/0.006598, allocations: 139.4 kB / 366.8 MB, free: 37.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.006608, allocations: 8.688 kB / 366.8 MB, free: 37.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.006612, allocations: 0 / 366.8 MB, free: 37.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.00662, allocations: 5.812 kB / 366.9 MB, free: 37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.006814, allocations: 63.89 kB / 366.9 MB, free: 36.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004386/0.007253, allocations: 1.835 MB / 368.7 MB, free: 35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.007313, allocations: 4.938 kB / 368.8 MB, free: 34.99 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.007321, allocations: 8 kB / 368.8 MB, free: 34.98 MB / 314.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/0.007371, allocations: 173.2 kB / 368.9 MB, free: 34.8 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/0.0074, allocations: 31.86 kB / 369 MB, free: 34.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001037/0.007504, allocations: 138.9 kB / 369.1 MB, free: 34.63 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.007505, allocations: 4.188 kB / 369.1 MB, free: 34.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.81e-07/0.007506, allocations: 4 kB / 369.1 MB, free: 34.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.007509, allocations: 0 / 369.1 MB, free: 34.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/0.007766, allocations: 409.9 kB / 369.5 MB, free: 34.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007767, allocations: 0 / 369.5 MB, free: 34.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.00788, allocations: 43.92 kB / 369.5 MB, free: 34.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.007883, allocations: 7.984 kB / 369.6 MB, free: 34.14 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.00789, allocations: 0 / 369.6 MB, free: 34.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.007891, allocations: 0 / 369.6 MB, free: 34.14 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.007892, allocations: 0 / 369.6 MB, free: 34.14 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.00803, allocations: 323.7 kB / 369.9 MB, free: 33.81 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.008067, allocations: 39.81 kB / 369.9 MB, free: 33.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.008083, allocations: 4 kB / 369.9 MB, free: 33.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.537e-05/0.008148, allocations: 4 kB / 369.9 MB, free: 33.76 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.008177, allocations: 19.91 kB / 369.9 MB, free: 33.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-06/0.008183, allocations: 4 kB / 369.9 MB, free: 33.74 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.824e-05/0.008231, allocations: 189.1 kB / 370.1 MB, free: 33.55 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008231, allocations: 0 / 370.1 MB, free: 33.55 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001665/0.008397, allocations: 44 kB / 370.2 MB, free: 33.51 MB / 314.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: 0 () * 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 5.552e-05/0.008453, allocations: 95.25 kB / 370.3 MB, free: 33.41 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000198/0.008651, allocations: 114.8 kB / 370.4 MB, free: 33.29 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.008652, allocations: 0 / 370.4 MB, free: 33.29 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.024e-05/0.008693, allocations: 57.73 kB / 370.4 MB, free: 33.23 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.008916, allocations: 46.06 kB / 370.5 MB, free: 33.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007608/0.009677, allocations: 0.5801 MB / 371.1 MB, free: 32.59 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.009707, allocations: 84.55 kB / 371.1 MB, free: 32.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 5.997e-05/0.009767, allocations: 27.17 kB / 371.2 MB, free: 32.46 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.925e-05/0.009856, allocations: 106.2 kB / 371.3 MB, free: 32.36 MB / 314.7 MB Notification: Performance of SimCode: time 5.61e-07/0.009856, allocations: 0 / 371.3 MB, free: 32.36 MB / 314.7 MB Notification: Performance of Templates: time 0.003962/0.01382, allocations: 2.675 MB / 373.9 MB, free: 29.74 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7477224110625684]