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.0008653/0.0008653, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001471/0.001471, allocations: 161 kB / 24.56 MB, free: 12 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 0.7929/0.7929, allocations: 158.6 MB / 186.4 MB, free: 2.895 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.1671/0.1671, allocations: 36.35 MB / 275.1 MB, free: 10.64 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 1.763e-06/1.763e-06, allocations: 0 / 353.8 MB, free: 3.453 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.739e-05/1.916e-05, allocations: 2.312 kB / 353.8 MB, free: 3.449 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.00289/0.002909, allocations: 2.098 MB / 355.9 MB, free: 1.332 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.00393, allocations: 0.5852 MB / 356.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.004044, allocations: 0 / 356.5 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.004188, allocations: 31.73 kB / 356.5 MB, free: 0.707 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.004422, allocations: 71.41 kB / 356.6 MB, free: 0.6367 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001579/0.00458, allocations: 35.94 kB / 356.6 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002335/0.004814, allocations: 226.8 kB / 356.8 MB, free: 388 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.004947, allocations: 32.44 kB / 356.9 MB, free: 356 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001711/0.005118, allocations: 115.6 kB / 357 MB, free: 240 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.005248, allocations: 63.8 kB / 357 MB, free: 176 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.005279, allocations: 16 kB / 357 MB, free: 160 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.005338, allocations: 16 kB / 357.1 MB, free: 144 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.005369, allocations: 35.83 kB / 357.1 MB, free: 108 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.854e-05/0.005428, allocations: 51.86 kB / 357.1 MB, free: 56 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.005672, allocations: 131.4 kB / 357.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.005674, allocations: 0 / 357.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.61e-07/0.005675, allocations: 0 / 357.3 MB, free: 15.93 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.00568, allocations: 3.938 kB / 357.3 MB, free: 15.92 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0007052/0.006385, allocations: 0.5152 MB / 357.8 MB, free: 15.37 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.006422, allocations: 8.031 kB / 357.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.006537, allocations: 32.8 kB / 357.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000268/0.006805, allocations: 193.2 kB / 358 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.006819, allocations: 8.375 kB / 358 MB, free: 15.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.006851, allocations: 16.36 kB / 358 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002244/0.007075, allocations: 126.2 kB / 358.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.007088, allocations: 192 / 358.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.0071, allocations: 4.375 kB / 358.2 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.00711, allocations: 11.94 kB / 358.2 MB, free: 14.93 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001168/0.007227, allocations: 51.83 kB / 358.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006654/0.007893, allocations: 0.5295 MB / 358.8 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.008121, allocations: 94.94 kB / 358.9 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.876e-05/0.00818, allocations: 27.67 kB / 358.9 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.888e-06/0.00819, allocations: 4 kB / 358.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.551e-05/0.008215, allocations: 37.39 kB / 358.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.302e-06/0.008217, allocations: 4 kB / 358.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006483/0.008865, allocations: 330 kB / 359.2 MB, free: 13.76 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.008897, allocations: 55.34 kB / 359.3 MB, free: 13.7 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.009114, allocations: 253.6 kB / 359.6 MB, free: 13.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.009129, allocations: 25.7 kB / 359.6 MB, free: 13.4 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.898e-05/0.009228, allocations: 179.1 kB / 359.8 MB, free: 13.21 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.819e-05/0.009267, allocations: 47.58 kB / 359.8 MB, free: 13.17 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.009322, allocations: 39.31 kB / 359.8 MB, free: 13.12 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.009465, allocations: 0.5001 MB / 360.3 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.383e-05/0.009509, allocations: 11.98 kB / 360.3 MB, free: 12.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.318e-05/0.009572, allocations: 51.05 kB / 360.4 MB, free: 12.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/0.009697, allocations: 86.61 kB / 360.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.009699, allocations: 0 / 360.5 MB, free: 12.44 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001943/0.009893, allocations: 113.5 kB / 360.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.009909, allocations: 7.984 kB / 360.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.009914, allocations: 0 / 360.6 MB, free: 12.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.009929, allocations: 4 kB / 360.6 MB, free: 12.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.01008, allocations: 35.98 kB / 360.6 MB, free: 12.28 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01009, allocations: 7.938 kB / 360.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.104e-05/0.01017, allocations: 0 / 360.6 MB, free: 12.27 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.01018, allocations: 8 kB / 360.7 MB, free: 12.26 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 8.823e-05/0.01027, allocations: 160.6 kB / 360.8 MB, free: 12.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.562e-05/0.01031, allocations: 19.91 kB / 360.8 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.01035, allocations: 25.45 kB / 360.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.01036, allocations: 7.922 kB / 360.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.01036, allocations: 3.938 kB / 360.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01036, allocations: 0 / 360.9 MB, free: 12.04 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004476/0.01081, allocations: 397.3 kB / 361.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.01081, allocations: 0 / 361.3 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.01097, allocations: 31.98 kB / 361.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.01097, allocations: 3.938 kB / 361.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01098, allocations: 3.938 kB / 361.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.01099, allocations: 4 kB / 361.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01099, allocations: 0 / 361.3 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.01126, allocations: 267.8 kB / 361.6 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.994e-05/0.01132, allocations: 27.83 kB / 361.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/0.01135, allocations: 4 kB / 361.6 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.01146, allocations: 7.953 kB / 361.6 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.0115, allocations: 7.984 kB / 361.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.348e-06/0.01151, allocations: 8 kB / 361.6 MB, free: 11.23 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.01163, allocations: 180.5 kB / 361.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01163, allocations: 0 / 361.8 MB, free: 11.05 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002809/0.01191, allocations: 28 kB / 361.8 MB, free: 11.02 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.196e-05/0.01199, allocations: 99.19 kB / 361.9 MB, free: 10.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.01215, allocations: 67.59 kB / 362 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01215, allocations: 0 / 362 MB, free: 10.85 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.656e-05/0.01221, allocations: 35.8 kB / 362 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.01259, allocations: 47.89 kB / 362.1 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001212/0.01381, allocations: 461.4 kB / 362.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.742e-05/0.01386, allocations: 71.83 kB / 362.6 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.219e-05/0.01393, allocations: 13.48 kB / 362.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.01398, allocations: 16.5 kB / 362.6 MB, free: 10.17 MB / 298.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01398, allocations: 4 kB / 362.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of Templates: time 0.004578/0.01856, allocations: 1.656 MB / 364.3 MB, free: 8.52 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.645087445154786]