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.0009062/0.0009062, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001536/0.001536, allocations: 171.8 kB / 24.92 MB, free: 8.723 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.9187/0.9187, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.1179/0.1179, allocations: 19.73 MB / 281.6 MB, free: 9.02 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.924e-06/1.924e-06, allocations: 0.9375 kB / 305.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.193e-05/1.386e-05, allocations: 2.312 kB / 305.2 MB, free: 13.02 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002808/0.002822, allocations: 2.652 MB / 307.8 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009342/0.003756, allocations: 0.747 MB / 308.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001826/0.003939, allocations: 7.938 kB / 308.6 MB, free: 10.55 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.004072, allocations: 43.28 kB / 308.6 MB, free: 10.52 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002213/0.004293, allocations: 134.1 kB / 308.7 MB, free: 10.41 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001485/0.004442, allocations: 80.11 kB / 308.8 MB, free: 10.35 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000297/0.004739, allocations: 421.9 kB / 309.2 MB, free: 9.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.004882, allocations: 60.52 kB / 309.3 MB, free: 9.93 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.00515, allocations: 232.1 kB / 309.5 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001549/0.005305, allocations: 126.8 kB / 309.6 MB, free: 9.656 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.178e-05/0.005337, allocations: 27.94 kB / 309.7 MB, free: 9.629 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.151e-05/0.005389, allocations: 28 kB / 309.7 MB, free: 9.602 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.272e-05/0.005441, allocations: 68.11 kB / 309.8 MB, free: 9.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 8.173e-05/0.005523, allocations: 120.5 kB / 309.9 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002265/0.00575, allocations: 226.4 kB / 310.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.654e-06/0.005751, allocations: 0 / 310.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.71e-07/0.005752, allocations: 4 kB / 310.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.005757, allocations: 0 / 310.1 MB, free: 9.258 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.0007134/0.00647, allocations: 0.5708 MB / 310.7 MB, free: 8.672 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.006498, allocations: 8.031 kB / 310.7 MB, free: 8.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.436e-05/0.006582, allocations: 44.89 kB / 310.7 MB, free: 8.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002071/0.00679, allocations: 233.6 kB / 311 MB, free: 8.363 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.006802, allocations: 16.88 kB / 311 MB, free: 8.348 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.006836, allocations: 28.36 kB / 311 MB, free: 8.32 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.00703, allocations: 208.8 kB / 311.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.007041, allocations: 192 / 311.2 MB, free: 8.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.007055, allocations: 8.375 kB / 311.2 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.007061, allocations: 7.938 kB / 311.2 MB, free: 8.086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/0.007162, allocations: 77.44 kB / 311.3 MB, free: 8.008 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005617/0.007724, allocations: 0.5494 MB / 311.8 MB, free: 7.434 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.007852, allocations: 121.3 kB / 312 MB, free: 7.309 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.058e-05/0.007902, allocations: 48.84 kB / 312 MB, free: 7.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.007919, allocations: 4 kB / 312 MB, free: 7.254 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.007939, allocations: 38.56 kB / 312.1 MB, free: 7.207 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 1.252e-06/0.00794, allocations: 0 / 312.1 MB, free: 7.207 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005397/0.00848, allocations: 430.9 kB / 312.5 MB, free: 6.758 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.008509, allocations: 63.39 kB / 312.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.00865, allocations: 267 kB / 312.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.008663, allocations: 29.7 kB / 312.8 MB, free: 6.379 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.77e-05/0.008721, allocations: 153.3 kB / 313 MB, free: 6.223 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.008765, allocations: 103.1 kB / 313.1 MB, free: 6.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.905e-05/0.008814, allocations: 57.67 kB / 313.1 MB, free: 6.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.768e-05/0.008892, allocations: 350.7 kB / 313.5 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.005e-05/0.008922, allocations: 23.98 kB / 313.5 MB, free: 5.684 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.008974, allocations: 68.62 kB / 313.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.472e-05/0.009068, allocations: 112 kB / 313.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.00907, allocations: 0 / 313.7 MB, free: 5.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002155/0.009285, allocations: 192.1 kB / 313.9 MB, free: 5.293 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.678e-06/0.009295, allocations: 4 kB / 313.9 MB, free: 5.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.009301, allocations: 4 kB / 313.9 MB, free: 5.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001846/0.009485, allocations: 60.86 kB / 313.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.009658, allocations: 71.89 kB / 314 MB, free: 5.152 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.01099, allocations: 2.509 MB / 316.5 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.01106, allocations: 24.06 kB / 316.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.01107, allocations: 8 kB / 316.5 MB, free: 2.434 MB / 282.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 7.742e-05/0.01115, allocations: 125.8 kB / 316.7 MB, free: 2.301 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-05/0.01118, allocations: 27.97 kB / 316.7 MB, free: 2.273 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.01132, allocations: 155.3 kB / 316.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.01132, allocations: 0 / 316.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-07/0.01132, allocations: 0 / 316.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.01132, allocations: 7.922 kB / 316.8 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003259/0.01165, allocations: 375.5 kB / 317.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01165, allocations: 0 / 317.2 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.0118, allocations: 67.84 kB / 317.3 MB, free: 1.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.0118, allocations: 4 kB / 317.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.01181, allocations: 0 / 317.3 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01182, allocations: 4 kB / 317.3 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.01182, allocations: 3.938 kB / 317.3 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.012, allocations: 288.3 kB / 317.6 MB, free: 1.34 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.01205, allocations: 27.81 kB / 317.6 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.017e-05/0.01207, allocations: 8.172 kB / 317.6 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.57e-05/0.01215, allocations: 16 kB / 317.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.281e-05/0.01218, allocations: 23.91 kB / 317.6 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/0.01219, allocations: 4 kB / 317.7 MB, free: 1.262 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.012e-05/0.01226, allocations: 104.6 kB / 317.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01226, allocations: 0 / 317.8 MB, free: 1.16 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.01243, allocations: 76 kB / 317.8 MB, free: 1.086 MB / 282.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.42e-05/0.0125, allocations: 76.42 kB / 317.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003326/0.01283, allocations: 287.4 kB / 318.2 MB, free: 0.707 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.01283, allocations: 4 kB / 318.2 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.927e-05/0.01289, allocations: 69.22 kB / 318.3 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.01311, allocations: 62.02 kB / 318.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.01418, allocations: 0.6964 MB / 319 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.848e-05/0.01423, allocations: 96.94 kB / 319.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.614e-05/0.01431, allocations: 34.97 kB / 319.1 MB, free: 15.7 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.01442, allocations: 99.36 kB / 319.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01442, allocations: 0 / 319.2 MB, free: 15.61 MB / 298.7 MB Notification: Performance of Templates: time 0.005407/0.01983, allocations: 3.799 MB / 323 MB, free: 11.88 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.701697832904756]