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.001867/0.001867, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002014/0.002014, allocations: 161.6 kB / 24.27 MB, free: 156 kB / 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 1.281/1.281, allocations: 158.6 MB / 186.1 MB, free: 2.891 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.2681/0.2681, allocations: 36.34 MB / 274.7 MB, free: 10.71 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.643e-06/1.643e-06, allocations: 3.938 kB / 353 MB, free: 3.789 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.648e-05/1.812e-05, allocations: 2.312 kB / 353.1 MB, free: 3.785 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002641/0.002659, allocations: 2.606 MB / 355.7 MB, free: 1.156 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009202/0.00358, allocations: 0.7332 MB / 356.4 MB, free: 424 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.003707, allocations: 7.938 kB / 356.4 MB, free: 416 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001337/0.003841, allocations: 47.45 kB / 356.4 MB, free: 368 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002448/0.004085, allocations: 134.8 kB / 356.6 MB, free: 232 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.004244, allocations: 79.88 kB / 356.7 MB, free: 152 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004645/0.004709, allocations: 421.7 kB / 357.1 MB, free: 15.73 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.004873, allocations: 49.72 kB / 357.1 MB, free: 15.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003454/0.005219, allocations: 227.4 kB / 357.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002445/0.005463, allocations: 127.5 kB / 357.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.005517, allocations: 24 kB / 357.5 MB, free: 15.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.831e-05/0.005606, allocations: 28 kB / 357.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.933e-05/0.005685, allocations: 71.61 kB / 357.6 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001579/0.005843, allocations: 119.7 kB / 357.7 MB, free: 15.1 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004492/0.006292, allocations: 310.8 kB / 358 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.006297, allocations: 4 kB / 358 MB, free: 14.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.006298, allocations: 0 / 358 MB, free: 14.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.006304, allocations: 0 / 358 MB, free: 14.79 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.001249/0.007552, allocations: 0.7173 MB / 358.7 MB, free: 14.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.007587, allocations: 8.031 kB / 358.7 MB, free: 14.03 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.007738, allocations: 64.66 kB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004324/0.008171, allocations: 264.5 kB / 359.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.008194, allocations: 16.88 kB / 359.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.436e-05/0.008249, allocations: 28.33 kB / 359.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.008715, allocations: 252.6 kB / 359.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.008734, allocations: 4.172 kB / 359.3 MB, free: 13.37 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.008757, allocations: 8.375 kB / 359.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.819e-06/0.008767, allocations: 7.938 kB / 359.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004082/0.009175, allocations: 161.9 kB / 359.5 MB, free: 13.2 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001369/0.01054, allocations: 0.9017 MB / 360.4 MB, free: 12.25 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003575/0.0109, allocations: 183.1 kB / 360.6 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.01111, allocations: 95.66 kB / 360.7 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.01114, allocations: 4 kB / 360.7 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.412e-05/0.01117, allocations: 41.81 kB / 360.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.243e-06/0.01117, allocations: 0 / 360.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001428/0.0126, allocations: 0.6603 MB / 361.4 MB, free: 11.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.01265, allocations: 55.41 kB / 361.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004648/0.01311, allocations: 390.3 kB / 361.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.01314, allocations: 33.7 kB / 361.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002019/0.01335, allocations: 235.5 kB / 362.1 MB, free: 10.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.01345, allocations: 111 kB / 362.2 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.01356, allocations: 71.31 kB / 362.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003187/0.01388, allocations: 0.5274 MB / 362.8 MB, free: 9.738 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.01405, allocations: 75.81 kB / 362.9 MB, free: 9.664 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.01426, allocations: 115.2 kB / 363 MB, free: 9.539 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003878/0.01465, allocations: 200.6 kB / 363.2 MB, free: 9.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.01465, allocations: 0 / 363.2 MB, free: 9.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007/0.01535, allocations: 322 kB / 363.5 MB, free: 9.008 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.01536, allocations: 8 kB / 363.5 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.01537, allocations: 0 / 363.5 MB, free: 9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003931/0.01576, allocations: 75.69 kB / 363.6 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.01613, allocations: 75.89 kB / 363.7 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003523/0.01966, allocations: 3.856 MB / 367.5 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.01983, allocations: 12.17 kB / 367.5 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.822e-05/0.01985, allocations: 12 kB / 367.5 MB, free: 4.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 0.0001998/0.02005, allocations: 188.5 kB / 367.7 MB, free: 4.531 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.813e-05/0.02013, allocations: 47.7 kB / 367.8 MB, free: 4.484 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004898/0.02062, allocations: 255 kB / 368 MB, free: 4.227 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.02063, allocations: 4 kB / 368 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.02063, allocations: 0 / 368 MB, free: 4.223 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.02063, allocations: 3.938 kB / 368 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001028/0.02166, allocations: 0.6349 MB / 368.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.02166, allocations: 0 / 368.7 MB, free: 3.543 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003228/0.02198, allocations: 67.91 kB / 368.7 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.02199, allocations: 4 kB / 368.7 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.02201, allocations: 11.98 kB / 368.7 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.02201, allocations: 0 / 368.7 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02201, allocations: 0 / 368.7 MB, free: 3.461 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007446/0.02276, allocations: 496.6 kB / 369.2 MB, free: 2.949 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001251/0.02288, allocations: 47.73 kB / 369.3 MB, free: 2.902 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.12e-05/0.02293, allocations: 11.98 kB / 369.3 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.0231, allocations: 4 kB / 369.3 MB, free: 2.887 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.02316, allocations: 15.97 kB / 369.3 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.02318, allocations: 16 kB / 369.3 MB, free: 2.855 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.02348, allocations: 270.9 kB / 369.6 MB, free: 2.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02348, allocations: 0 / 369.6 MB, free: 2.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003484/0.02382, allocations: 72 kB / 369.7 MB, free: 2.52 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 0.0001402/0.02396, allocations: 107.1 kB / 369.8 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008881/0.02485, allocations: 417.4 kB / 370.2 MB, free: 1.973 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.02485, allocations: 0 / 370.2 MB, free: 1.973 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002164/0.02507, allocations: 111.5 kB / 370.3 MB, free: 1.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004501/0.02552, allocations: 71.47 kB / 370.3 MB, free: 1.797 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.02712, allocations: 0.8107 MB / 371.2 MB, free: 0.957 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.02732, allocations: 186.8 kB / 371.3 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001149/0.02743, allocations: 34.95 kB / 371.4 MB, free: 0.7227 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.319e-05/0.02752, allocations: 28.5 kB / 371.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of SimCode: time 5.11e-07/0.02752, allocations: 0 / 371.4 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of Templates: time 0.00891/0.03643, allocations: 3.653 MB / 375.1 MB, free: 13.06 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: 4.564833329990506]