Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.001322/0.001322, allocations: 81.97 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.001425/0.001425, allocations: 164.9 kB / 25.61 MB, free: 8.902 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.9151/0.9151, allocations: 177.1 MB / 206 MB, free: 4.5 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.09437/0.09437, allocations: 19.73 MB / 282.3 MB, free: 12.27 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.042e-06/1.042e-06, allocations: 0 / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.756e-05/1.861e-05, allocations: 3.578 kB / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002391/0.002409, allocations: 2.64 MB / 361.8 MB, free: 42.06 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009639/0.003373, allocations: 0.7301 MB / 362.6 MB, free: 41.42 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.003518, allocations: 4 kB / 362.6 MB, free: 41.42 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.003643, allocations: 47.31 kB / 362.6 MB, free: 41.38 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.003877, allocations: 131.2 kB / 362.7 MB, free: 41.28 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001704/0.004047, allocations: 81.3 kB / 362.8 MB, free: 41.22 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002807/0.004328, allocations: 416.9 kB / 363.2 MB, free: 40.86 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.004453, allocations: 63.84 kB / 363.3 MB, free: 40.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.00468, allocations: 235.3 kB / 363.5 MB, free: 40.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.004803, allocations: 121.6 kB / 363.6 MB, free: 40.45 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.702e-05/0.00483, allocations: 24 kB / 363.6 MB, free: 40.43 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.04e-05/0.00488, allocations: 31.98 kB / 363.7 MB, free: 40.4 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.087e-05/0.004911, allocations: 71.67 kB / 363.8 MB, free: 40.33 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.955e-05/0.00497, allocations: 112.2 kB / 363.9 MB, free: 40.22 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.005155, allocations: 233.7 kB / 364.1 MB, free: 39.99 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.005157, allocations: 0 / 364.1 MB, free: 39.99 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005157, allocations: 4 kB / 364.1 MB, free: 39.99 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.005162, allocations: 0 / 364.1 MB, free: 39.99 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005489/0.00571, allocations: 0.6983 MB / 364.8 MB, free: 39.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.657e-05/0.005737, allocations: 12.03 kB / 364.8 MB, free: 39.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.672e-05/0.005824, allocations: 56.7 kB / 364.9 MB, free: 39.19 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.006016, allocations: 256.4 kB / 365.1 MB, free: 38.91 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.006028, allocations: 17.47 kB / 365.1 MB, free: 38.9 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.006057, allocations: 34.08 kB / 365.2 MB, free: 38.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.006233, allocations: 201.3 kB / 365.4 MB, free: 38.65 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.006245, allocations: 5.031 kB / 365.4 MB, free: 38.65 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.006259, allocations: 12.38 kB / 365.4 MB, free: 38.64 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.006265, allocations: 13.44 kB / 365.4 MB, free: 38.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.649e-05/0.006362, allocations: 89.34 kB / 365.5 MB, free: 38.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005416/0.006903, allocations: 0.7855 MB / 366.3 MB, free: 37.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.007019, allocations: 127 kB / 366.4 MB, free: 37.58 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.64e-05/0.007065, allocations: 59.39 kB / 366.4 MB, free: 37.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.519e-05/0.00708, allocations: 4 kB / 366.4 MB, free: 37.52 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.007094, allocations: 41.89 kB / 366.5 MB, free: 37.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 1.183e-06/0.007095, allocations: 0.8438 kB / 366.5 MB, free: 37.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005024/0.007597, allocations: 456.3 kB / 366.9 MB, free: 36.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.852e-05/0.007616, allocations: 63.39 kB / 367 MB, free: 36.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.007744, allocations: 330.1 kB / 367.3 MB, free: 36.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.007e-06/0.007753, allocations: 33.64 kB / 367.3 MB, free: 36.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.007814, allocations: 227.5 kB / 367.6 MB, free: 36.3 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.368e-05/0.007848, allocations: 108.1 kB / 367.7 MB, free: 36.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.601e-05/0.007894, allocations: 67.28 kB / 367.7 MB, free: 36.12 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.007938, allocations: 0.5156 MB / 368.3 MB, free: 35.6 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.322e-05/0.007971, allocations: 30.55 kB / 368.3 MB, free: 35.57 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.516e-05/0.008016, allocations: 80.48 kB / 368.4 MB, free: 35.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.921e-05/0.008105, allocations: 122.4 kB / 368.5 MB, free: 35.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.008106, allocations: 0 / 368.5 MB, free: 35.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002428/0.008349, allocations: 229.5 kB / 368.7 MB, free: 35.12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.008359, allocations: 4 kB / 368.7 MB, free: 35.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.008363, allocations: 0 / 368.7 MB, free: 35.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001911/0.008554, allocations: 65.81 kB / 368.8 MB, free: 35.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.008736, allocations: 76.02 kB / 368.9 MB, free: 34.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009582/0.009694, allocations: 3.687 MB / 372.5 MB, free: 31.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.887e-05/0.009783, allocations: 8 kB / 372.5 MB, free: 31.06 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.858e-06/0.009793, allocations: 15.98 kB / 372.6 MB, free: 31.04 MB / 314.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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 6.773e-05/0.00986, allocations: 164.6 kB / 372.7 MB, free: 30.87 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.009897, allocations: 43.75 kB / 372.8 MB, free: 30.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001402/0.01004, allocations: 173.7 kB / 372.9 MB, free: 30.65 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.01004, allocations: 8.031 kB / 372.9 MB, free: 30.64 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.61e-07/0.01004, allocations: 3.938 kB / 372.9 MB, free: 30.64 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.01004, allocations: 3.984 kB / 373 MB, free: 30.64 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.01039, allocations: 0.4945 MB / 373.4 MB, free: 30.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.01039, allocations: 0 / 373.4 MB, free: 30.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.01055, allocations: 64.09 kB / 373.5 MB, free: 30.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01055, allocations: 0 / 373.5 MB, free: 30.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.01056, allocations: 15.94 kB / 373.5 MB, free: 30.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.01056, allocations: 0 / 373.5 MB, free: 30.03 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.01057, allocations: 3.984 kB / 373.5 MB, free: 30.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.01075, allocations: 376.6 kB / 373.9 MB, free: 29.64 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.137e-05/0.0108, allocations: 50.08 kB / 373.9 MB, free: 29.59 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.01082, allocations: 7.938 kB / 374 MB, free: 29.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.773e-05/0.01091, allocations: 11.94 kB / 374 MB, free: 29.57 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.01094, allocations: 19.95 kB / 374 MB, free: 29.55 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.164e-06/0.01095, allocations: 8 kB / 374 MB, free: 29.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.959e-05/0.01102, allocations: 218.9 kB / 374.2 MB, free: 29.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01102, allocations: 0 / 374.2 MB, free: 29.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000216/0.01124, allocations: 72 kB / 374.3 MB, free: 29.26 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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.035e-05/0.0113, allocations: 107.2 kB / 374.4 MB, free: 29.14 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.01162, allocations: 349.4 kB / 374.7 MB, free: 28.78 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.01163, allocations: 0 / 374.7 MB, free: 28.78 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.733e-05/0.01168, allocations: 80.03 kB / 374.8 MB, free: 28.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.01195, allocations: 62.14 kB / 374.9 MB, free: 28.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009428/0.0129, allocations: 0.7859 MB / 375.6 MB, free: 27.85 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.747e-05/0.01294, allocations: 100.9 kB / 375.7 MB, free: 27.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.314e-05/0.01302, allocations: 33.22 kB / 375.8 MB, free: 27.7 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.01313, allocations: 126.2 kB / 375.9 MB, free: 27.57 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01313, allocations: 0 / 375.9 MB, free: 27.57 MB / 314.7 MB Notification: Performance of Templates: time 0.004915/0.01805, allocations: 4 MB / 379.9 MB, free: 23.65 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8776697060093284]