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.001292/0.001292, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001416/0.001416, allocations: 165.4 kB / 24.56 MB, free: 16 kB / 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 0.8641/0.8641, allocations: 177.1 MB / 205 MB, free: 5.273 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.07991/0.07991, allocations: 19.73 MB / 281.2 MB, free: 9.105 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.052e-06/1.052e-06, allocations: 0 / 357.9 MB, free: 6.621 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.412e-05/1.517e-05, allocations: 8.781 kB / 357.9 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.001969/0.001984, allocations: 2.111 MB / 360.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006404/0.002625, allocations: 0.5843 MB / 360.6 MB, free: 3.895 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.652e-05/0.002701, allocations: 3.938 kB / 360.6 MB, free: 3.891 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.002809, allocations: 27.67 kB / 360.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001602/0.002969, allocations: 63.48 kB / 360.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001156/0.003085, allocations: 47.88 kB / 360.8 MB, free: 3.754 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.00327, allocations: 219 kB / 361 MB, free: 3.539 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.968e-05/0.00337, allocations: 24.58 kB / 361 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001605/0.00353, allocations: 127.6 kB / 361.1 MB, free: 3.395 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.643e-05/0.003627, allocations: 63.8 kB / 361.2 MB, free: 3.332 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.003648, allocations: 12 kB / 361.2 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.173e-05/0.00369, allocations: 15.94 kB / 361.2 MB, free: 3.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.236e-05/0.003712, allocations: 35.83 kB / 361.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.519e-05/0.003757, allocations: 59.78 kB / 361.3 MB, free: 3.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.003915, allocations: 127.5 kB / 361.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003917, allocations: 0 / 361.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.003918, allocations: 0 / 361.4 MB, free: 3.086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.003921, allocations: 0 / 361.4 MB, free: 3.086 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.0005068/0.004428, allocations: 0.5113 MB / 362 MB, free: 2.539 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.004459, allocations: 15.97 kB / 362 MB, free: 2.523 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.689e-05/0.004536, allocations: 32.8 kB / 362 MB, free: 2.492 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.00472, allocations: 189.3 kB / 362.2 MB, free: 2.277 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.004731, allocations: 8.375 kB / 362.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.004755, allocations: 16.33 kB / 362.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001566/0.004912, allocations: 126.2 kB / 362.3 MB, free: 2.113 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.004922, allocations: 4.188 kB / 362.3 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.004933, allocations: 4.375 kB / 362.3 MB, free: 2.105 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.004941, allocations: 7.938 kB / 362.4 MB, free: 2.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.31e-05/0.005024, allocations: 47.89 kB / 362.4 MB, free: 2.051 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004749/0.005499, allocations: 0.5334 MB / 362.9 MB, free: 1.477 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.005663, allocations: 83.09 kB / 363 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.092e-05/0.005704, allocations: 35.66 kB / 363.1 MB, free: 1.344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.917e-06/0.005713, allocations: 4 kB / 363.1 MB, free: 1.34 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.005732, allocations: 37.61 kB / 363.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.172e-06/0.005733, allocations: 0 / 363.1 MB, free: 1.293 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004694/0.006203, allocations: 321.1 kB / 363.4 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.464e-05/0.006227, allocations: 63.33 kB / 363.5 MB, free: 0.8672 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.006364, allocations: 249.9 kB / 363.7 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.006374, allocations: 25.7 kB / 363.7 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.006469, allocations: 183 kB / 363.9 MB, free: 396 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.376e-05/0.006493, allocations: 47.59 kB / 364 MB, free: 348 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.62e-05/0.006529, allocations: 35.36 kB / 364 MB, free: 304 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.006634, allocations: 0.4962 MB / 364.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.964e-05/0.006663, allocations: 19.98 kB / 364.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.075e-05/0.006704, allocations: 47.05 kB / 364.6 MB, free: 15.71 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.784e-05/0.006782, allocations: 82.61 kB / 364.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.006783, allocations: 4 kB / 364.6 MB, free: 15.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001725/0.006955, allocations: 113.5 kB / 364.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.006966, allocations: 8 kB / 364.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.00697, allocations: 0 / 364.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.006981, allocations: 0 / 364.8 MB, free: 15.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.825e-05/0.007069, allocations: 31.98 kB / 364.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.007074, allocations: 3.938 kB / 364.8 MB, free: 15.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.931e-05/0.007123, allocations: 7.953 kB / 364.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.007131, allocations: 8 kB / 364.8 MB, free: 15.44 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 6.476e-05/0.007196, allocations: 168.6 kB / 365 MB, free: 15.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.492e-05/0.007221, allocations: 19.89 kB / 365 MB, free: 15.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.662e-05/0.007247, allocations: 17.47 kB / 365 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.007249, allocations: 4 kB / 365 MB, free: 15.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.007253, allocations: 3.938 kB / 365 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007255, allocations: 0 / 365 MB, free: 15.21 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002809/0.007536, allocations: 398.2 kB / 365.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.007537, allocations: 0 / 365.4 MB, free: 14.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-05/0.007625, allocations: 31.98 kB / 365.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.007627, allocations: 0 / 365.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.007636, allocations: 7.938 kB / 365.4 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.007638, allocations: 3.984 kB / 365.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.007638, allocations: 0 / 365.5 MB, free: 14.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001708/0.007809, allocations: 278.2 kB / 365.7 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.296e-05/0.007842, allocations: 23.83 kB / 365.7 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.007859, allocations: 4 kB / 365.8 MB, free: 14.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.385e-05/0.007913, allocations: 4 kB / 365.8 MB, free: 14.42 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.007939, allocations: 7.984 kB / 365.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.007944, allocations: 7.984 kB / 365.8 MB, free: 14.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.051e-05/0.008024, allocations: 180.3 kB / 365.9 MB, free: 14.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008024, allocations: 4 kB / 366 MB, free: 14.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001659/0.00819, allocations: 32 kB / 366 MB, free: 14.2 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 5.768e-05/0.008248, allocations: 103.2 kB / 366.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001133/0.008361, allocations: 71.64 kB / 366.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.008362, allocations: 0 / 366.2 MB, free: 14.01 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.779e-05/0.0084, allocations: 43.55 kB / 366.2 MB, free: 13.96 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.008632, allocations: 40.53 kB / 366.2 MB, free: 13.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009021/0.009534, allocations: 458.5 kB / 366.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.836e-05/0.009573, allocations: 75.83 kB / 366.8 MB, free: 13.36 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.963e-05/0.009612, allocations: 17.48 kB / 366.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.009645, allocations: 16.5 kB / 366.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of SimCode: time 4.4e-07/0.009646, allocations: 0 / 366.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Templates: time 0.002997/0.01264, allocations: 1.658 MB / 368.4 MB, free: 11.69 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.5099706281907856]