Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009118/0.0009118, allocations: 80.31 kB / 22.21 MB, free: 2.289 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.0009125/0.0009125, allocations: 162.5 kB / 25.61 MB, free: 8.461 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.8534/0.8534, allocations: 158.6 MB / 187.5 MB, free: 2.777 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.1924/0.1924, allocations: 36.34 MB / 276.2 MB, free: 14.36 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 355 MB, free: 62.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/2e-05, allocations: 3.156 kB / 355 MB, free: 62.56 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.003012/0.003032, allocations: 2.072 MB / 357.1 MB, free: 61.6 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.004064, allocations: 0.5842 MB / 357.7 MB, free: 61.21 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.004194, allocations: 4.969 kB / 357.7 MB, free: 61.2 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001213/0.004315, allocations: 23.33 kB / 357.7 MB, free: 61.19 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.00452, allocations: 70.77 kB / 357.8 MB, free: 61.14 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.004664, allocations: 47.58 kB / 357.8 MB, free: 61.11 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.004925, allocations: 216.2 kB / 358 MB, free: 61 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.005041, allocations: 26.73 kB / 358.1 MB, free: 60.99 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002102/0.005252, allocations: 123.4 kB / 358.2 MB, free: 60.94 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.005382, allocations: 66.91 kB / 358.3 MB, free: 60.91 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.005411, allocations: 11.38 kB / 358.3 MB, free: 60.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.772e-05/0.005469, allocations: 16.02 kB / 358.3 MB, free: 60.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.305e-05/0.005502, allocations: 33.31 kB / 358.3 MB, free: 60.89 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.715e-05/0.005559, allocations: 57.73 kB / 358.4 MB, free: 60.87 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002152/0.005774, allocations: 124.6 kB / 358.5 MB, free: 60.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.005777, allocations: 0.5156 kB / 358.5 MB, free: 60.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.005778, allocations: 0 / 358.5 MB, free: 60.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.005783, allocations: 0 / 358.5 MB, free: 60.81 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.0005411/0.006324, allocations: 0.5207 MB / 359 MB, free: 60.34 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.00636, allocations: 11.19 kB / 359 MB, free: 60.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.006456, allocations: 32.22 kB / 359.1 MB, free: 60.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/0.006651, allocations: 186 kB / 359.2 MB, free: 60.15 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/0.006663, allocations: 9.375 kB / 359.2 MB, free: 60.15 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.006694, allocations: 13.33 kB / 359.3 MB, free: 60.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.00686, allocations: 121.5 kB / 359.4 MB, free: 60.06 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.006871, allocations: 4.188 kB / 359.4 MB, free: 60.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.006882, allocations: 6.734 kB / 359.4 MB, free: 60.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.00689, allocations: 7.25 kB / 359.4 MB, free: 60.05 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.338e-05/0.006973, allocations: 43.52 kB / 359.4 MB, free: 60.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004456/0.007419, allocations: 0.4947 MB / 359.9 MB, free: 59.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.007584, allocations: 86.81 kB / 360 MB, free: 59.56 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/0.007619, allocations: 24.98 kB / 360 MB, free: 59.55 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.007628, allocations: 7.281 kB / 360.1 MB, free: 59.55 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.00765, allocations: 42.8 kB / 360.1 MB, free: 59.5 MB / 330.7 MB Notification: Performance of pre-optimization done (n=11): time 1.523e-06/0.007652, allocations: 0 / 360.1 MB, free: 59.5 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.000417/0.008069, allocations: 283.6 kB / 360.4 MB, free: 59.29 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/0.008091, allocations: 56.84 kB / 360.4 MB, free: 59.22 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.008225, allocations: 251.6 kB / 360.7 MB, free: 59.03 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.315e-06/0.008233, allocations: 27.3 kB / 360.7 MB, free: 59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.086e-05/0.008294, allocations: 185.8 kB / 360.9 MB, free: 58.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.349e-05/0.008318, allocations: 39.75 kB / 360.9 MB, free: 58.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.266e-05/0.00836, allocations: 40.38 kB / 361 MB, free: 58.75 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.008409, allocations: 0.5011 MB / 361.5 MB, free: 58.25 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.497e-05/0.008434, allocations: 12.98 kB / 361.5 MB, free: 58.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.006e-05/0.008474, allocations: 53.47 kB / 361.5 MB, free: 58.21 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.131e-05/0.008545, allocations: 67.25 kB / 361.6 MB, free: 58.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.008547, allocations: 1.031 kB / 361.6 MB, free: 58.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001462/0.008693, allocations: 105.9 kB / 361.7 MB, free: 58.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.008706, allocations: 4.438 kB / 361.7 MB, free: 58.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008712, allocations: 1.797 kB / 361.7 MB, free: 58.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.008723, allocations: 6.344 kB / 361.7 MB, free: 58.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.00884, allocations: 35.52 kB / 361.7 MB, free: 58.1 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.008843, allocations: 1.188 kB / 361.7 MB, free: 58.1 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.019e-05/0.008913, allocations: 11.36 kB / 361.8 MB, free: 58.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.008921, allocations: 5.016 kB / 361.8 MB, free: 58.09 MB / 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 5.5e-05/0.008976, allocations: 159.5 kB / 361.9 MB, free: 57.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.652e-05/0.009012, allocations: 26.3 kB / 361.9 MB, free: 57.91 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.661e-05/0.009049, allocations: 24.58 kB / 362 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.009052, allocations: 2.219 kB / 362 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.009054, allocations: 4 kB / 362 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.009059, allocations: 4.5 kB / 362 MB, free: 57.89 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003074/0.009366, allocations: 358 kB / 362.3 MB, free: 57.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.009368, allocations: 0.7969 kB / 362.3 MB, free: 57.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.009482, allocations: 29.92 kB / 362.4 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.009485, allocations: 1.188 kB / 362.4 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-06/0.009493, allocations: 1.062 kB / 362.4 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.009495, allocations: 1.656 kB / 362.4 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.009497, allocations: 3.938 kB / 362.4 MB, free: 57.58 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.009675, allocations: 266.3 kB / 362.6 MB, free: 57.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.153e-05/0.009716, allocations: 25.72 kB / 362.6 MB, free: 57.35 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.009737, allocations: 1.797 kB / 362.6 MB, free: 57.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.41e-05/0.009821, allocations: 11.44 kB / 362.7 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.925e-05/0.00985, allocations: 7.609 kB / 362.7 MB, free: 57.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.009857, allocations: 1.5 kB / 362.7 MB, free: 57.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.099e-05/0.009938, allocations: 175.9 kB / 362.8 MB, free: 57.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009938, allocations: 0 / 362.8 MB, free: 57.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002554/0.01019, allocations: 31.56 kB / 362.9 MB, free: 57.21 MB / 330.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 7.132e-05/0.01026, allocations: 94.98 kB / 363 MB, free: 57.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.01038, allocations: 65.58 kB / 363 MB, free: 57.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01038, allocations: 1.062 kB / 363 MB, free: 57.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 4.181e-05/0.01043, allocations: 34.97 kB / 363.1 MB, free: 57.08 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003486/0.01078, allocations: 36 kB / 363.1 MB, free: 57.07 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009277/0.0117, allocations: 463.4 kB / 363.5 MB, free: 56.75 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.793e-05/0.01175, allocations: 76.11 kB / 363.6 MB, free: 56.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.452e-05/0.01182, allocations: 17.67 kB / 363.6 MB, free: 56.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.786e-05/0.0119, allocations: 93.8 kB / 363.7 MB, free: 56.61 MB / 330.7 MB Notification: Performance of SimCode: time 7.92e-07/0.0119, allocations: 0 / 363.7 MB, free: 56.61 MB / 330.7 MB Notification: Performance of Templates: time 0.01059/0.02249, allocations: 1.745 MB / 365.5 MB, free: 56.37 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8464925661683083]