Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_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.001455/0.001455, 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.001217/0.001217, allocations: 169.2 kB / 24.82 MB, free: 8.934 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.0961/0.0961, allocations: 19.74 MB / 281.5 MB, free: 9.113 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 358.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.982e-05, allocations: 2.312 kB / 358.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.002209/0.002229, allocations: 2.099 MB / 360.5 MB, free: 4.219 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007611/0.00299, allocations: 0.5765 MB / 361.1 MB, free: 3.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.123e-05/0.003081, allocations: 7.938 kB / 361.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000105/0.003186, allocations: 23.72 kB / 361.1 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.003354, allocations: 63.48 kB / 361.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.003469, allocations: 43.88 kB / 361.2 MB, free: 3.5 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001807/0.003649, allocations: 222.9 kB / 361.4 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.477e-05/0.003744, allocations: 28.59 kB / 361.5 MB, free: 3.258 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001637/0.003908, allocations: 127.6 kB / 361.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.664e-05/0.003994, allocations: 63.73 kB / 361.7 MB, free: 3.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.004014, allocations: 12 kB / 361.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.048e-05/0.004055, allocations: 19.94 kB / 361.7 MB, free: 3.039 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.004075, allocations: 31.84 kB / 361.7 MB, free: 3.008 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.944e-05/0.004114, allocations: 59.83 kB / 361.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.004273, allocations: 123.5 kB / 361.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004275, allocations: 0 / 361.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004275, allocations: 0 / 361.9 MB, free: 2.828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004279, allocations: 4 kB / 361.9 MB, free: 2.824 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0004984/0.004777, allocations: 0.519 MB / 362.4 MB, free: 2.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.004816, allocations: 12.03 kB / 362.4 MB, free: 2.258 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.004898, allocations: 28.8 kB / 362.5 MB, free: 2.23 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.005055, allocations: 185.2 kB / 362.6 MB, free: 2.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.005066, allocations: 12.38 kB / 362.7 MB, free: 2.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.005088, allocations: 16.33 kB / 362.7 MB, free: 1.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001363/0.005225, allocations: 122.2 kB / 362.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.005233, allocations: 192 / 362.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.005242, allocations: 4.375 kB / 362.8 MB, free: 1.852 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.005247, allocations: 7.938 kB / 362.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.198e-05/0.005309, allocations: 39.89 kB / 362.8 MB, free: 1.805 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.005745, allocations: 0.495 MB / 363.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.005885, allocations: 87.02 kB / 363.4 MB, free: 1.18 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.799e-05/0.005913, allocations: 27.67 kB / 363.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-06/0.005921, allocations: 0 / 363.4 MB, free: 1.148 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.208e-05/0.005943, allocations: 45.39 kB / 363.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 9.21e-07/0.005944, allocations: 0 / 363.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003756/0.006319, allocations: 285.6 kB / 363.8 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.546e-05/0.006345, allocations: 51.41 kB / 363.8 MB, free: 0.7148 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.006471, allocations: 253.6 kB / 364.1 MB, free: 460 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.006482, allocations: 25.7 kB / 364.1 MB, free: 428 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.394e-05/0.006556, allocations: 183 kB / 364.3 MB, free: 236 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.006579, allocations: 47.56 kB / 364.3 MB, free: 188 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-05/0.006616, allocations: 39.31 kB / 364.4 MB, free: 140 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.006753, allocations: 0.504 MB / 364.9 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.754e-05/0.00677, allocations: 8 kB / 364.9 MB, free: 15.61 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.517e-05/0.006805, allocations: 47.02 kB / 364.9 MB, free: 15.55 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.028e-05/0.006866, allocations: 66.98 kB / 365 MB, free: 15.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.006867, allocations: 0 / 365 MB, free: 15.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001086/0.006975, allocations: 109.6 kB / 365.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/0.006986, allocations: 8 kB / 365.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.00699, allocations: 0 / 365.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.007001, allocations: 4 kB / 365.1 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.938e-05/0.00708, allocations: 27.98 kB / 365.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.007083, allocations: 4 kB / 365.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.00713, allocations: 7.938 kB / 365.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-06/0.007135, allocations: 4 kB / 365.1 MB, free: 15.31 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.246e-05/0.007207, allocations: 168.5 kB / 365.3 MB, free: 15.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.238e-05/0.00723, allocations: 19.91 kB / 365.3 MB, free: 15.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.00726, allocations: 17.47 kB / 365.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.007262, allocations: 4 kB / 365.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.007264, allocations: 0 / 365.3 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.00727, allocations: 11.91 kB / 365.4 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.007535, allocations: 357.9 kB / 365.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007536, allocations: 0 / 365.7 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.315e-05/0.007619, allocations: 31.98 kB / 365.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.007621, allocations: 0 / 365.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-06/0.007626, allocations: 0 / 365.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.007627, allocations: 0 / 365.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.007629, allocations: 11.94 kB / 365.8 MB, free: 14.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000164/0.007793, allocations: 271.8 kB / 366 MB, free: 14.37 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/0.007823, allocations: 19.89 kB / 366 MB, free: 14.35 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.007837, allocations: 4 kB / 366 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.007891, allocations: 7.938 kB / 366 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.007915, allocations: 7.984 kB / 366.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.257e-06/0.007918, allocations: 0 / 366.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.285e-05/0.007991, allocations: 184.2 kB / 366.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.007991, allocations: 0 / 366.2 MB, free: 14.15 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001547/0.008145, allocations: 32 kB / 366.3 MB, free: 14.12 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 6.415e-05/0.00821, allocations: 99.17 kB / 366.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.532e-05/0.008295, allocations: 67.59 kB / 366.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.008296, allocations: 0 / 366.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.008329, allocations: 39.66 kB / 366.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.008542, allocations: 41.55 kB / 366.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007529/0.009295, allocations: 470.5 kB / 367 MB, free: 13.38 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.251e-05/0.009337, allocations: 71.83 kB / 367 MB, free: 13.29 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.779e-05/0.009375, allocations: 17.48 kB / 367.1 MB, free: 13.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.525e-05/0.00945, allocations: 94.19 kB / 367.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009451, allocations: 0 / 367.1 MB, free: 13.18 MB / 298.7 MB Notification: Performance of Templates: time 0.003101/0.01255, allocations: 1.714 MB / 368.9 MB, free: 11.49 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6269764099270105]