Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.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.00085/0.00085, 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.0008305/0.0008305, allocations: 161.4 kB / 24.55 MB, free: 20 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.8459/0.8459, allocations: 177.1 MB / 205 MB, free: 5.617 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.07929/0.07929, allocations: 19.74 MB / 281.2 MB, free: 9.246 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.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 357.9 MB, free: 6.617 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037e-05/1.155e-05, allocations: 2.312 kB / 357.9 MB, free: 6.613 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002014/0.002026, allocations: 2.219 MB / 360.2 MB, free: 4.379 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006655/0.002691, allocations: 0.6038 MB / 360.8 MB, free: 3.77 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.29e-05/0.002774, allocations: 7.938 kB / 360.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.002882, allocations: 35.66 kB / 360.8 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001729/0.003055, allocations: 79.33 kB / 360.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.003172, allocations: 43.94 kB / 360.9 MB, free: 3.605 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002255/0.003397, allocations: 262.7 kB / 361.2 MB, free: 3.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.003506, allocations: 36.58 kB / 361.2 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.003672, allocations: 147.6 kB / 361.4 MB, free: 3.172 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.003777, allocations: 83.72 kB / 361.5 MB, free: 3.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.003802, allocations: 16 kB / 361.5 MB, free: 3.074 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.532e-05/0.003847, allocations: 19.94 kB / 361.5 MB, free: 3.055 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.713e-05/0.003874, allocations: 43.83 kB / 361.5 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.085e-05/0.003925, allocations: 71.77 kB / 361.6 MB, free: 2.941 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.004097, allocations: 147.3 kB / 361.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.533e-06/0.004099, allocations: 0 / 361.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.0041, allocations: 0 / 361.7 MB, free: 2.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.004103, allocations: 0 / 361.7 MB, free: 2.797 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005948/0.004698, allocations: 0.5463 MB / 362.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.941e-05/0.004727, allocations: 8.031 kB / 362.3 MB, free: 2.207 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.4e-05/0.004811, allocations: 40.75 kB / 362.3 MB, free: 2.168 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001954/0.005006, allocations: 211.6 kB / 362.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.005019, allocations: 12.36 kB / 362.6 MB, free: 1.926 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.005044, allocations: 20.38 kB / 362.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.005219, allocations: 142.3 kB / 362.7 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.00523, allocations: 8.172 kB / 362.7 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.005242, allocations: 4.375 kB / 362.7 MB, free: 1.738 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.00525, allocations: 7.938 kB / 362.7 MB, free: 1.73 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.502e-05/0.005345, allocations: 51.89 kB / 362.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005106/0.005856, allocations: 0.5686 MB / 363.4 MB, free: 1.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001328/0.005989, allocations: 94.98 kB / 363.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.559e-05/0.006044, allocations: 47.7 kB / 363.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.006055, allocations: 8 kB / 363.5 MB, free: 0.9062 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.006072, allocations: 33.39 kB / 363.5 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.052e-06/0.006073, allocations: 3.938 kB / 363.5 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0006502/0.006724, allocations: 408.5 kB / 363.9 MB, free: 436 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.156e-05/0.006745, allocations: 55.34 kB / 364 MB, free: 368 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.006893, allocations: 272.3 kB / 364.3 MB, free: 80 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.006904, allocations: 29.7 kB / 364.3 MB, free: 44 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.006985, allocations: 191.1 kB / 364.5 MB, free: 15.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.184e-05/0.007017, allocations: 63.44 kB / 364.5 MB, free: 15.79 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.00706, allocations: 43.36 kB / 364.6 MB, free: 15.74 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.007159, allocations: 0.5001 MB / 365.1 MB, free: 15.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.153e-05/0.007201, allocations: 31.97 kB / 365.1 MB, free: 15.2 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.278e-05/0.007254, allocations: 57.28 kB / 365.2 MB, free: 15.13 MB / 298.7 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: grid.f = grid.fnom (0.15915494309189535 * generator.omega_e_nom = grid.fnom) Notification: Performance of analyzeInitialSystem (initialization): time 0.0003116/0.007565, allocations: 194.2 kB / 365.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.007567, allocations: 4 kB / 365.4 MB, free: 14.93 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000152/0.007719, allocations: 145.4 kB / 365.5 MB, free: 14.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.00773, allocations: 8 kB / 365.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.007734, allocations: 4.031 kB / 365.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.007745, allocations: 0 / 365.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.007879, allocations: 63.84 kB / 365.6 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.007884, allocations: 4 kB / 365.6 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.776e-05/0.007942, allocations: 11.98 kB / 365.6 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.007949, allocations: 4 kB / 365.6 MB, free: 14.69 MB / 298.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: grid.f = grid.fnom. 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 (23): * Single equations (assignments): 23 * 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.9e-05/0.008018, allocations: 164.5 kB / 365.8 MB, free: 14.52 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.008047, allocations: 31.8 kB / 365.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.187e-05/0.008079, allocations: 30.11 kB / 365.8 MB, free: 14.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.008081, allocations: 4 kB / 365.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.008085, allocations: 3.938 kB / 365.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008087, allocations: 0 / 365.8 MB, free: 14.44 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003497/0.008437, allocations: 445.3 kB / 366.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.008438, allocations: 0 / 366.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.008575, allocations: 55.91 kB / 366.3 MB, free: 13.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.008578, allocations: 3.938 kB / 366.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.008587, allocations: 0 / 366.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.008589, allocations: 4 kB / 366.3 MB, free: 13.9 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.008589, allocations: 4 kB / 366.3 MB, free: 13.89 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002187/0.008808, allocations: 322.4 kB / 366.6 MB, free: 13.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.008848, allocations: 31.77 kB / 366.7 MB, free: 13.53 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.008868, allocations: 8 kB / 366.7 MB, free: 13.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.435e-05/0.008932, allocations: 11.94 kB / 366.7 MB, free: 13.51 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.167e-05/0.008964, allocations: 12.08 kB / 366.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.391e-06/0.008969, allocations: 3.984 kB / 366.7 MB, free: 13.5 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.88e-05/0.009058, allocations: 197.1 kB / 366.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009058, allocations: 4 kB / 366.9 MB, free: 13.3 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001627/0.009221, allocations: 36 kB / 366.9 MB, free: 13.27 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 (18): * Single equations (assignments): 18 * 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.787e-05/0.009279, allocations: 107.2 kB / 367 MB, free: 13.15 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001524/0.009431, allocations: 99.47 kB / 367.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.312e-06/0.009432, allocations: 0 / 367.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002712/0.009704, allocations: 51.61 kB / 367.2 MB, free: 13 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.009933, allocations: 41.72 kB / 367.2 MB, free: 12.96 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008214/0.01075, allocations: 0.4962 MB / 367.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.236e-05/0.0108, allocations: 87.97 kB / 367.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.053e-05/0.01085, allocations: 17.62 kB / 367.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.534e-05/0.01089, allocations: 20.5 kB / 367.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01089, allocations: 0 / 367.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of Templates: time 0.003496/0.01439, allocations: 2.164 MB / 370 MB, free: 10.15 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.4503825358115137]