Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.0008942/0.0008942, 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.00093/0.00093, allocations: 163 kB / 24.99 MB, free: 8.758 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.813/0.813, allocations: 158.6 MB / 186.8 MB, free: 2.855 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.1594/0.1594, allocations: 36.34 MB / 275.4 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.024e-06/2.024e-06, allocations: 0 / 353.8 MB, free: 3.797 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.375e-05/2.578e-05, allocations: 9.969 kB / 353.8 MB, free: 3.789 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002018/0.002044, allocations: 2.082 MB / 355.8 MB, free: 1.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000673/0.002717, allocations: 0.5891 MB / 356.4 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.002804, allocations: 4 kB / 356.4 MB, free: 1.086 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.002919, allocations: 27.72 kB / 356.5 MB, free: 1.059 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.003085, allocations: 67.41 kB / 356.5 MB, free: 0.9922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001143/0.003199, allocations: 43.88 kB / 356.6 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.003367, allocations: 218.9 kB / 356.8 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003481, allocations: 32.44 kB / 356.8 MB, free: 0.7031 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001273/0.003608, allocations: 119.6 kB / 356.9 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.959e-05/0.003708, allocations: 67.8 kB / 357 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.195e-05/0.00373, allocations: 12 kB / 357 MB, free: 0.5078 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.7e-05/0.003777, allocations: 16 kB / 357 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.0038, allocations: 27.86 kB / 357.1 MB, free: 476 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.246e-05/0.003843, allocations: 59.83 kB / 357.1 MB, free: 416 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001664/0.004009, allocations: 127.4 kB / 357.2 MB, free: 288 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.345e-06/0.004012, allocations: 0 / 357.2 MB, free: 288 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.004013, allocations: 3.938 kB / 357.2 MB, free: 284 kB / 282.7 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.004017, allocations: 0 / 357.2 MB, free: 284 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0005555/0.004572, allocations: 0.523 MB / 357.8 MB, free: 15.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.004608, allocations: 8.031 kB / 357.8 MB, free: 15.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.201e-05/0.0047, allocations: 28.8 kB / 357.8 MB, free: 15.68 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002085/0.004909, allocations: 185.2 kB / 358 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.004922, allocations: 12.38 kB / 358 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.00495, allocations: 12.38 kB / 358 MB, free: 15.45 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.005128, allocations: 130.2 kB / 358.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.005138, allocations: 4.188 kB / 358.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.005152, allocations: 4.375 kB / 358.1 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.005161, allocations: 7.938 kB / 358.2 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.536e-05/0.005256, allocations: 59.83 kB / 358.2 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005441/0.0058, allocations: 0.5256 MB / 358.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.005994, allocations: 83 kB / 358.8 MB, free: 14.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.006039, allocations: 31.67 kB / 358.8 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.006049, allocations: 4 kB / 358.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.006069, allocations: 45.33 kB / 358.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.006071, allocations: 224 / 358.9 MB, free: 14.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005221/0.006593, allocations: 325.1 kB / 359.2 MB, free: 14.12 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.006622, allocations: 59.34 kB / 359.3 MB, free: 14.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001533/0.006775, allocations: 253.6 kB / 359.5 MB, free: 13.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.006786, allocations: 29.7 kB / 359.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.006861, allocations: 175.1 kB / 359.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.006889, allocations: 51.56 kB / 359.8 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.13e-05/0.00693, allocations: 39.31 kB / 359.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.007042, allocations: 0.4962 MB / 360.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.375e-05/0.007076, allocations: 23.98 kB / 360.3 MB, free: 12.94 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.57e-05/0.007121, allocations: 51.05 kB / 360.4 MB, free: 12.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.52e-05/0.007207, allocations: 74.98 kB / 360.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.007207, allocations: 0 / 360.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001366/0.007344, allocations: 113.5 kB / 360.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.007356, allocations: 4 kB / 360.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.007361, allocations: 0 / 360.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.007373, allocations: 0 / 360.6 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.007473, allocations: 43.97 kB / 360.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.007481, allocations: 7.938 kB / 360.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.322e-05/0.007534, allocations: 4 kB / 360.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.00754, allocations: 4 kB / 360.6 MB, free: 12.61 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 (16): * Single equations (assignments): 16 * 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 prepare postOptimizeDAE: time 7.025e-05/0.007611, allocations: 160.6 kB / 360.8 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.007636, allocations: 15.91 kB / 360.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.007673, allocations: 29.45 kB / 360.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.007674, allocations: 0 / 360.8 MB, free: 12.4 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.007678, allocations: 3.938 kB / 360.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.007681, allocations: 4 kB / 360.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/0.008008, allocations: 401.2 kB / 361.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.008009, allocations: 0 / 361.2 MB, free: 11.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.507e-05/0.008104, allocations: 27.98 kB / 361.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.008106, allocations: 0 / 361.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.008116, allocations: 3.938 kB / 361.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.008118, allocations: 0 / 361.3 MB, free: 11.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.00812, allocations: 4 kB / 361.3 MB, free: 11.92 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.00833, allocations: 279.7 kB / 361.5 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.927e-05/0.00837, allocations: 23.83 kB / 361.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.007e-05/0.00839, allocations: 8 kB / 361.6 MB, free: 11.6 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.00845, allocations: 3.953 kB / 361.6 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.008484, allocations: 11.98 kB / 361.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.008489, allocations: 4 kB / 361.6 MB, free: 11.58 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.833e-05/0.008577, allocations: 176.5 kB / 361.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008577, allocations: 0 / 361.8 MB, free: 11.41 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001728/0.00875, allocations: 32 kB / 361.8 MB, free: 11.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (generator.phi,generator.omega_m,generator.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 (12): * Single equations (assignments): 12 * 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.178e-05/0.008832, allocations: 99.17 kB / 361.9 MB, free: 11.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.008954, allocations: 64.75 kB / 361.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.008955, allocations: 4.125 kB / 362 MB, free: 11.2 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.164e-05/0.008997, allocations: 43.55 kB / 362 MB, free: 11.15 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.009265, allocations: 36.19 kB / 362 MB, free: 11.12 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009169/0.01018, allocations: 457.5 kB / 362.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.204e-05/0.01022, allocations: 75.77 kB / 362.6 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.01027, allocations: 21.47 kB / 362.6 MB, free: 10.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.01031, allocations: 20.5 kB / 362.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of SimCode: time 1.032e-06/0.01031, allocations: 0 / 362.6 MB, free: 10.51 MB / 298.7 MB Notification: Performance of Templates: time 0.003386/0.0137, allocations: 1.589 MB / 364.2 MB, free: 8.938 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.715974021004513]