Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.0008856/0.0008856, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001772/0.001772, allocations: 161 kB / 24.56 MB, free: 20 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.8962/0.8962, allocations: 177.1 MB / 205 MB, free: 4.793 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.08216/0.08216, allocations: 19.74 MB / 281.2 MB, free: 8.961 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.133e-06/1.133e-06, allocations: 0 / 357.9 MB, free: 7.676 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.367e-05/1.48e-05, allocations: 2.312 kB / 357.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002122/0.002137, allocations: 2.109 MB / 360 MB, free: 5.547 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007404/0.002877, allocations: 0.5881 MB / 360.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.463e-05/0.002962, allocations: 0 / 360.6 MB, free: 4.953 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001259/0.003087, allocations: 31.66 kB / 360.7 MB, free: 4.922 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001833/0.003271, allocations: 67.41 kB / 360.7 MB, free: 4.855 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001233/0.003394, allocations: 47.94 kB / 360.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001914/0.003585, allocations: 218.8 kB / 361 MB, free: 4.594 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.003693, allocations: 28.56 kB / 361 MB, free: 4.566 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.003859, allocations: 123.6 kB / 361.1 MB, free: 4.445 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.003961, allocations: 63.8 kB / 361.2 MB, free: 4.383 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.003983, allocations: 12 kB / 361.2 MB, free: 4.371 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.722e-05/0.00403, allocations: 19.92 kB / 361.2 MB, free: 4.352 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 2.247e-05/0.004053, allocations: 27.86 kB / 361.3 MB, free: 4.324 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.004111, allocations: 63.77 kB / 361.3 MB, free: 4.262 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.0043, allocations: 127.5 kB / 361.4 MB, free: 4.137 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.004302, allocations: 0 / 361.4 MB, free: 4.137 MB / 330.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004302, allocations: 0 / 361.4 MB, free: 4.137 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.416e-06/0.004306, allocations: 0 / 361.4 MB, free: 4.137 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005483/0.004854, allocations: 0.5191 MB / 362 MB, free: 3.582 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.004891, allocations: 12.03 kB / 362 MB, free: 3.57 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.004979, allocations: 32.8 kB / 362 MB, free: 3.539 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.005185, allocations: 189.2 kB / 362.2 MB, free: 3.324 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.005198, allocations: 12.36 kB / 362.2 MB, free: 3.312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.005229, allocations: 12.38 kB / 362.2 MB, free: 3.301 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.005394, allocations: 130.3 kB / 362.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.005405, allocations: 192 / 362.3 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.005417, allocations: 8.375 kB / 362.4 MB, free: 3.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.005426, allocations: 3.938 kB / 362.4 MB, free: 3.145 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.053e-05/0.005517, allocations: 55.83 kB / 362.4 MB, free: 3.09 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.006034, allocations: 0.5179 MB / 362.9 MB, free: 2.531 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001796/0.006214, allocations: 87.03 kB / 363 MB, free: 2.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.006257, allocations: 31.67 kB / 363 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.268e-06/0.006266, allocations: 224 / 363 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.006287, allocations: 41.33 kB / 363.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.006288, allocations: 0 / 363.1 MB, free: 2.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.000475/0.006763, allocations: 325.2 kB / 363.4 MB, free: 1.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.473e-05/0.006788, allocations: 59.34 kB / 363.5 MB, free: 1.922 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.006927, allocations: 253.6 kB / 363.7 MB, free: 1.656 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.006938, allocations: 25.7 kB / 363.7 MB, free: 1.625 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.29e-05/0.007011, allocations: 183 kB / 363.9 MB, free: 1.438 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.493e-05/0.007036, allocations: 47.58 kB / 364 MB, free: 1.391 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.007073, allocations: 35.38 kB / 364 MB, free: 1.348 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003193/0.007392, allocations: 0.4962 MB / 364.5 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.983e-05/0.007422, allocations: 16 kB / 364.5 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.427e-05/0.007466, allocations: 58.06 kB / 364.6 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.476e-05/0.007541, allocations: 73.94 kB / 364.6 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.007542, allocations: 8 kB / 364.6 MB, free: 0.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001219/0.007664, allocations: 113.5 kB / 364.8 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.007676, allocations: 8 kB / 364.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.007681, allocations: 0 / 364.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.007696, allocations: 0 / 364.8 MB, free: 0.543 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.426e-05/0.007791, allocations: 39.92 kB / 364.8 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.007796, allocations: 3.938 kB / 364.8 MB, free: 0.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.996e-05/0.007846, allocations: 7.984 kB / 364.8 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.007852, allocations: 4 kB / 364.8 MB, free: 500 kB / 330.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 (16): * Single equations (assignments): 16 * 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.345e-05/0.007915, allocations: 164.6 kB / 365 MB, free: 324 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.021e-05/0.007946, allocations: 23.84 kB / 365 MB, free: 300 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.007976, allocations: 17.47 kB / 365 MB, free: 284 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.007979, allocations: 4 kB / 365 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.007984, allocations: 7.922 kB / 365 MB, free: 272 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.007986, allocations: 3.938 kB / 365 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003004/0.008287, allocations: 393.4 kB / 365.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008288, allocations: 0 / 365.4 MB, free: 15.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.008374, allocations: 27.92 kB / 365.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.008375, allocations: 4 kB / 365.4 MB, free: 15.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.06e-05/0.008386, allocations: 11.94 kB / 365.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.008387, allocations: 0 / 365.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008388, allocations: 0 / 365.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001753/0.008563, allocations: 272.7 kB / 365.7 MB, free: 15.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.008598, allocations: 27.86 kB / 365.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.008615, allocations: 3.984 kB / 365.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.666e-05/0.008671, allocations: 8 kB / 365.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.808e-05/0.008699, allocations: 7.984 kB / 365.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.077e-06/0.008703, allocations: 0 / 365.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.108e-05/0.008784, allocations: 184.3 kB / 366 MB, free: 15.28 MB / 346.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008785, allocations: 4 kB / 366 MB, free: 15.28 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001736/0.008958, allocations: 32 kB / 366 MB, free: 15.25 MB / 346.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 (12): * Single equations (assignments): 12 * 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.242e-05/0.009021, allocations: 103.1 kB / 366.1 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.009133, allocations: 67.53 kB / 366.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.52e-07/0.009134, allocations: 0 / 366.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.763e-05/0.009172, allocations: 39.77 kB / 366.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00024/0.009412, allocations: 35.89 kB / 366.2 MB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000843/0.01025, allocations: 466.4 kB / 366.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.833e-05/0.01029, allocations: 75.83 kB / 366.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.304e-05/0.01034, allocations: 17.47 kB / 366.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.01037, allocations: 20.48 kB / 366.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of SimCode: time 4.41e-07/0.01037, allocations: 0 / 366.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of Templates: time 0.003041/0.01341, allocations: 1.58 MB / 368.4 MB, free: 12.82 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6142404819838703]