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.0009022/0.0009022, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.0009773/0.0009773, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9805/0.9805, allocations: 177.1 MB / 205.3 MB, free: 5.645 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.0887/0.0887, allocations: 19.74 MB / 281.5 MB, free: 9.348 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.252e-06/1.252e-06, allocations: 0 / 357.9 MB, free: 6.965 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.394e-05/1.519e-05, allocations: 6.312 kB / 357.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002486/0.002502, allocations: 2.648 MB / 360.6 MB, free: 4.289 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008879/0.003389, allocations: 0.7321 MB / 361.3 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.003516, allocations: 7.938 kB / 361.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001322/0.003648, allocations: 47.52 kB / 361.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000234/0.003882, allocations: 126.9 kB / 361.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.004038, allocations: 79.88 kB / 361.6 MB, free: 3.293 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003053/0.004343, allocations: 425.8 kB / 362 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.004488, allocations: 60.75 kB / 362.1 MB, free: 2.82 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.004732, allocations: 231.3 kB / 362.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.00488, allocations: 127.6 kB / 362.4 MB, free: 2.469 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.24e-05/0.004913, allocations: 24 kB / 362.4 MB, free: 2.445 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.544e-05/0.004968, allocations: 28 kB / 362.5 MB, free: 2.418 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.915e-05/0.005007, allocations: 67.62 kB / 362.5 MB, free: 2.352 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.405e-05/0.005092, allocations: 127.6 kB / 362.6 MB, free: 2.227 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002425/0.005334, allocations: 227 kB / 362.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.023e-06/0.005336, allocations: 0 / 362.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005337, allocations: 4 kB / 362.9 MB, free: 2 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.005341, allocations: 0 / 362.9 MB, free: 2 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0007008/0.006042, allocations: 0.6903 MB / 363.6 MB, free: 1.273 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.006075, allocations: 12.03 kB / 363.6 MB, free: 1.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001075/0.006183, allocations: 56.7 kB / 363.6 MB, free: 1.207 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00028/0.006463, allocations: 268.5 kB / 363.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.006478, allocations: 16.88 kB / 363.9 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.596e-05/0.006514, allocations: 24.38 kB / 363.9 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.006775, allocations: 229.3 kB / 364.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.006788, allocations: 192 / 364.2 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.006804, allocations: 8.375 kB / 364.2 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.006816, allocations: 11.88 kB / 364.2 MB, free: 0.6172 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.00697, allocations: 98.91 kB / 364.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007774/0.007747, allocations: 0.8431 MB / 365.1 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.007926, allocations: 137.8 kB / 365.2 MB, free: 15.48 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.541e-05/0.008012, allocations: 71.66 kB / 365.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.00803, allocations: 4 kB / 365.3 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.008048, allocations: 37.39 kB / 365.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.293e-06/0.008049, allocations: 0 / 365.4 MB, free: 15.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0007585/0.008808, allocations: 0.5225 MB / 365.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.083e-05/0.008839, allocations: 63.39 kB / 365.9 MB, free: 14.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.009056, allocations: 338.3 kB / 366.3 MB, free: 14.38 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.009071, allocations: 33.69 kB / 366.3 MB, free: 14.34 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.754e-05/0.009169, allocations: 227.5 kB / 366.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.389e-05/0.009222, allocations: 103.1 kB / 366.6 MB, free: 14 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.009278, allocations: 59.36 kB / 366.7 MB, free: 13.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.009391, allocations: 0.5117 MB / 367.2 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.988e-05/0.009451, allocations: 35.97 kB / 367.2 MB, free: 13.38 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.32e-05/0.009534, allocations: 92.5 kB / 367.3 MB, free: 13.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.009743, allocations: 128.6 kB / 367.4 MB, free: 13.14 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.009744, allocations: 4 kB / 367.5 MB, free: 13.13 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000322/0.01007, allocations: 258.8 kB / 367.7 MB, free: 12.87 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01008, allocations: 8 kB / 367.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.01008, allocations: 0 / 367.7 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002373/0.01032, allocations: 67.69 kB / 367.8 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002067/0.01053, allocations: 71.89 kB / 367.8 MB, free: 12.72 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001677/0.0122, allocations: 3.735 MB / 371.6 MB, free: 8.746 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.01229, allocations: 11.95 kB / 371.6 MB, free: 8.734 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.0123, allocations: 8 kB / 371.6 MB, free: 8.727 MB / 298.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 9.531e-05/0.0124, allocations: 176.6 kB / 371.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.01e-05/0.01244, allocations: 43.69 kB / 371.8 MB, free: 8.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.01264, allocations: 205.7 kB / 372 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-06/0.01264, allocations: 0 / 372 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-06/0.01264, allocations: 0 / 372 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.01264, allocations: 3.938 kB / 372 MB, free: 8.285 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.01311, allocations: 0.5445 MB / 372.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01311, allocations: 4 kB / 372.6 MB, free: 7.695 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.01329, allocations: 63.91 kB / 372.6 MB, free: 7.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01329, allocations: 8 kB / 372.6 MB, free: 7.625 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.01331, allocations: 7.984 kB / 372.6 MB, free: 7.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.01331, allocations: 4 kB / 372.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.01331, allocations: 0 / 372.7 MB, free: 7.613 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.0136, allocations: 396.5 kB / 373 MB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.971e-05/0.01366, allocations: 43.78 kB / 373.1 MB, free: 7.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.01368, allocations: 4 kB / 373.1 MB, free: 7.156 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/0.01377, allocations: 12.19 kB / 373.1 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.334e-05/0.01381, allocations: 19.95 kB / 373.1 MB, free: 7.125 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.01382, allocations: 12 kB / 373.1 MB, free: 7.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.01395, allocations: 235 kB / 373.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01395, allocations: 0 / 373.4 MB, free: 6.887 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002253/0.01417, allocations: 72 kB / 373.4 MB, free: 6.816 MB / 298.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 7.963e-05/0.01425, allocations: 103.2 kB / 373.5 MB, free: 6.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004719/0.01472, allocations: 374.2 kB / 373.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01473, allocations: 0 / 373.9 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.564e-05/0.01481, allocations: 83.52 kB / 374 MB, free: 6.23 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002937/0.0151, allocations: 65.05 kB / 374 MB, free: 6.168 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.01629, allocations: 0.7793 MB / 374.8 MB, free: 5.355 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.318e-05/0.01636, allocations: 100.9 kB / 374.9 MB, free: 5.234 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.272e-05/0.01644, allocations: 38.94 kB / 375 MB, free: 5.195 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.815e-05/0.0165, allocations: 24.5 kB / 375 MB, free: 5.172 MB / 298.7 MB Notification: Performance of SimCode: time 7.72e-07/0.0165, allocations: 4 kB / 375 MB, free: 5.168 MB / 298.7 MB Notification: Performance of Templates: time 0.005567/0.02206, allocations: 3.647 MB / 378.6 MB, free: 1.566 MB / 298.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.7918693379033357]