Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_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.0009014/0.0009014, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009642/0.0009642, allocations: 168.8 kB / 24.82 MB, free: 9.27 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.9344/0.9344, allocations: 158.6 MB / 186.7 MB, free: 2.797 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.1825/0.1825, allocations: 36.35 MB / 275.4 MB, free: 10.47 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 354.2 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.065e-05/2.232e-05, allocations: 2.312 kB / 354.2 MB, free: 3.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002615/0.002637, allocations: 2.63 MB / 356.9 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001136/0.003773, allocations: 0.7293 MB / 357.6 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001669/0.00394, allocations: 7.938 kB / 357.6 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.004082, allocations: 43.45 kB / 357.7 MB, free: 15.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000264/0.004346, allocations: 130.8 kB / 357.8 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000191/0.004537, allocations: 87.81 kB / 357.9 MB, free: 15.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003245/0.004862, allocations: 417.8 kB / 358.3 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.005, allocations: 57.58 kB / 358.3 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.005234, allocations: 231.3 kB / 358.6 MB, free: 14.81 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001536/0.005388, allocations: 119.6 kB / 358.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.393e-05/0.005422, allocations: 24 kB / 358.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.975e-05/0.005492, allocations: 32 kB / 358.7 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.308e-05/0.005535, allocations: 71.61 kB / 358.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.548e-05/0.00561, allocations: 111.7 kB / 358.9 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002449/0.005855, allocations: 235 kB / 359.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.005859, allocations: 0 / 359.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.00586, allocations: 0 / 359.1 MB, free: 14.23 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.005864, allocations: 0 / 359.1 MB, free: 14.23 MB / 298.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.0007721/0.006636, allocations: 0.698 MB / 359.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.006676, allocations: 8.031 kB / 359.8 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.006791, allocations: 68.66 kB / 359.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002382/0.007029, allocations: 260.4 kB / 360.2 MB, free: 13.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.007043, allocations: 16.81 kB / 360.2 MB, free: 13.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.007078, allocations: 28.33 kB / 360.2 MB, free: 13.1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002247/0.007302, allocations: 213.3 kB / 360.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.007315, allocations: 4.188 kB / 360.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.007327, allocations: 8.375 kB / 360.4 MB, free: 12.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.007336, allocations: 11.94 kB / 360.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.007444, allocations: 85.34 kB / 360.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006733/0.008117, allocations: 0.7813 MB / 361.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.008267, allocations: 137.2 kB / 361.4 MB, free: 11.8 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.807e-05/0.008325, allocations: 59.66 kB / 361.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.008346, allocations: 7.938 kB / 361.5 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.008369, allocations: 37.83 kB / 361.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.243e-06/0.00837, allocations: 0 / 361.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.0006027/0.008973, allocations: 469.4 kB / 362 MB, free: 11.19 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.009003, allocations: 55.41 kB / 362.1 MB, free: 11.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.009186, allocations: 322.2 kB / 362.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.009202, allocations: 29.7 kB / 362.4 MB, free: 10.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.009313, allocations: 235.4 kB / 362.6 MB, free: 10.52 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.009364, allocations: 107.1 kB / 362.7 MB, free: 10.41 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.598e-05/0.00942, allocations: 63.33 kB / 362.8 MB, free: 10.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.009545, allocations: 0.5156 MB / 363.3 MB, free: 9.812 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.808e-05/0.009583, allocations: 31.83 kB / 363.3 MB, free: 9.781 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.962e-05/0.009643, allocations: 83.06 kB / 363.4 MB, free: 9.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.009747, allocations: 112.7 kB / 363.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.009748, allocations: 0 / 363.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000271/0.01002, allocations: 242 kB / 363.8 MB, free: 9.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.01003, allocations: 4 kB / 363.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01004, allocations: 0 / 363.8 MB, free: 9.316 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002016/0.01024, allocations: 59.62 kB / 363.8 MB, free: 9.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.01042, allocations: 79.86 kB / 363.9 MB, free: 9.176 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/0.01201, allocations: 3.678 MB / 367.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.636e-05/0.0121, allocations: 15.94 kB / 367.6 MB, free: 5.258 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.01211, allocations: 8 kB / 367.6 MB, free: 5.25 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 0.0001023/0.01221, allocations: 172.5 kB / 367.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.924e-05/0.01225, allocations: 43.77 kB / 367.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000164/0.01241, allocations: 182.6 kB / 368 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01242, allocations: 8.031 kB / 368 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.01242, allocations: 3.938 kB / 368 MB, free: 4.828 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01242, allocations: 3.984 kB / 368 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.01284, allocations: 499 kB / 368.5 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.01284, allocations: 4 kB / 368.5 MB, free: 4.297 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.013, allocations: 67.91 kB / 368.6 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.013, allocations: 4 kB / 368.6 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.01301, allocations: 7.938 kB / 368.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.01301, allocations: 0 / 368.6 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01301, allocations: 4 kB / 368.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.01326, allocations: 384.5 kB / 369 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.666e-05/0.01332, allocations: 47.77 kB / 369 MB, free: 3.773 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.044e-05/0.01334, allocations: 7.938 kB / 369 MB, free: 3.766 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.01342, allocations: 8 kB / 369 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.01346, allocations: 19.97 kB / 369 MB, free: 3.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.01346, allocations: 7.984 kB / 369.1 MB, free: 3.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001006/0.01356, allocations: 222.9 kB / 369.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01356, allocations: 0 / 369.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.01377, allocations: 68 kB / 369.3 MB, free: 3.445 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 8.9e-05/0.01386, allocations: 107.1 kB / 369.4 MB, free: 3.328 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003997/0.01426, allocations: 337.2 kB / 369.8 MB, free: 2.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01426, allocations: 4 kB / 369.8 MB, free: 2.969 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.907e-05/0.01433, allocations: 75.98 kB / 369.9 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.01461, allocations: 65.19 kB / 369.9 MB, free: 2.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.01573, allocations: 0.7835 MB / 370.7 MB, free: 2.012 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.753e-05/0.0158, allocations: 104.9 kB / 370.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 8.356e-05/0.01588, allocations: 30.97 kB / 370.8 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.01601, allocations: 126.2 kB / 371 MB, free: 1.734 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.01601, allocations: 0 / 371 MB, free: 1.734 MB / 298.7 MB Notification: Performance of Templates: time 0.005799/0.02181, allocations: 3.889 MB / 374.8 MB, free: 13.87 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8708990276791155]