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.0009372/0.0009372, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001491/0.001491, allocations: 174.4 kB / 24.92 MB, free: 8.723 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 0.9585/0.9585, allocations: 177.1 MB / 205.3 MB, free: 5.07 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.08873/0.08873, allocations: 19.74 MB / 281.6 MB, free: 9.008 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.523e-06/1.523e-06, allocations: 0 / 305.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.408e-05/1.56e-05, allocations: 2.312 kB / 305.2 MB, free: 13.01 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.002566/0.002581, allocations: 2.205 MB / 307.4 MB, free: 11.53 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.003583, allocations: 0.6217 MB / 308 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.761e-05/0.003681, allocations: 4 kB / 308 MB, free: 11.07 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001225/0.003803, allocations: 26.34 kB / 308 MB, free: 11.05 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.003999, allocations: 80.98 kB / 308.1 MB, free: 10.99 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001464/0.004145, allocations: 59.28 kB / 308.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.004386, allocations: 253.7 kB / 308.4 MB, free: 10.72 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.0045, allocations: 48.55 kB / 308.4 MB, free: 10.68 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002026/0.004703, allocations: 149 kB / 308.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.004817, allocations: 74.69 kB / 308.7 MB, free: 10.51 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.548e-05/0.004843, allocations: 16 kB / 308.7 MB, free: 10.5 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.303e-05/0.004886, allocations: 16 kB / 308.7 MB, free: 10.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.293e-05/0.004918, allocations: 39.69 kB / 308.7 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.441e-05/0.004973, allocations: 71.81 kB / 308.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.005179, allocations: 147 kB / 308.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.005181, allocations: 0 / 308.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.005182, allocations: 0.6094 kB / 308.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.005185, allocations: 4 kB / 309 MB, free: 10.27 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.0004897/0.005675, allocations: 444.8 kB / 309.4 MB, free: 9.836 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.00571, allocations: 8.031 kB / 309.4 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.391e-05/0.005794, allocations: 27.69 kB / 309.4 MB, free: 9.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.005983, allocations: 190 kB / 309.6 MB, free: 9.605 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.005998, allocations: 17.06 kB / 309.6 MB, free: 9.59 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.006027, allocations: 16.38 kB / 309.6 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.006202, allocations: 141.6 kB / 309.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.006213, allocations: 0.8438 kB / 309.8 MB, free: 9.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.006224, allocations: 4.375 kB / 309.8 MB, free: 9.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.006231, allocations: 7.938 kB / 309.8 MB, free: 9.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.505e-05/0.006316, allocations: 40.2 kB / 309.8 MB, free: 9.402 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004649/0.006781, allocations: 375.9 kB / 310.2 MB, free: 9.039 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.006887, allocations: 74.72 kB / 310.3 MB, free: 8.965 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/0.006925, allocations: 31.95 kB / 310.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.006935, allocations: 4 kB / 310.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.945e-05/0.006955, allocations: 31.17 kB / 310.3 MB, free: 8.891 MB / 282.7 MB Notification: Performance of pre-optimization done (n=16): time 1.633e-06/0.006957, allocations: 0 / 310.3 MB, free: 8.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0005137/0.00747, allocations: 339.7 kB / 310.7 MB, free: 8.559 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.007503, allocations: 55.41 kB / 310.7 MB, free: 8.492 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.007634, allocations: 213 kB / 310.9 MB, free: 8.273 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.007649, allocations: 29.7 kB / 311 MB, free: 8.238 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.007703, allocations: 120.4 kB / 311.1 MB, free: 8.117 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.00774, allocations: 67.42 kB / 311.1 MB, free: 8.051 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.933e-05/0.007789, allocations: 45.64 kB / 311.2 MB, free: 8 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.69e-05/0.007876, allocations: 334.8 kB / 311.5 MB, free: 7.664 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.406e-05/0.0079, allocations: 16 kB / 311.5 MB, free: 7.648 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.524e-05/0.007945, allocations: 49.38 kB / 311.6 MB, free: 7.594 MB / 282.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.0002573/0.008203, allocations: 153.6 kB / 311.7 MB, free: 7.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.008204, allocations: 0 / 311.7 MB, free: 7.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001193/0.008323, allocations: 115.2 kB / 311.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.008336, allocations: 6.344 kB / 311.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.00834, allocations: 0 / 311.8 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.008355, allocations: 4 kB / 311.9 MB, free: 7.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.008478, allocations: 59.94 kB / 311.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.008482, allocations: 0 / 311.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.656e-05/0.008539, allocations: 19.95 kB / 311.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.008547, allocations: 4 kB / 311.9 MB, free: 7.23 MB / 282.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 7.571e-05/0.008622, allocations: 122.4 kB / 312.1 MB, free: 7.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.008647, allocations: 15.98 kB / 312.1 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.642e-05/0.008683, allocations: 30.11 kB / 312.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.008685, allocations: 0 / 312.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.008686, allocations: 0 / 312.1 MB, free: 7.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.008691, allocations: 3.938 kB / 312.1 MB, free: 7.047 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.008985, allocations: 314.5 kB / 312.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.008986, allocations: 0 / 312.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.009111, allocations: 43.98 kB / 312.5 MB, free: 6.672 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.009114, allocations: 3.984 kB / 312.5 MB, free: 6.668 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.009125, allocations: 12 kB / 312.5 MB, free: 6.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.009128, allocations: 3.938 kB / 312.5 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.009129, allocations: 0 / 312.5 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001732/0.009302, allocations: 221.5 kB / 312.7 MB, free: 6.422 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.009339, allocations: 19.86 kB / 312.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.00936, allocations: 11.94 kB / 312.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.864e-05/0.009419, allocations: 11.92 kB / 312.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.009449, allocations: 11.98 kB / 312.7 MB, free: 6.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.009454, allocations: 4 kB / 312.7 MB, free: 6.363 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.511e-05/0.00951, allocations: 74.78 kB / 312.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00951, allocations: 0 / 312.8 MB, free: 6.289 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001575/0.009667, allocations: 40 kB / 312.9 MB, free: 6.25 MB / 282.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 9.341e-05/0.009761, allocations: 80.41 kB / 312.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.009886, allocations: 80.7 kB / 313 MB, free: 6.078 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.00989, allocations: 0 / 313 MB, free: 6.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.68e-05/0.009937, allocations: 44.77 kB / 313.1 MB, free: 6.031 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001988/0.01014, allocations: 39.78 kB / 313.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008202/0.01096, allocations: 481.3 kB / 313.6 MB, free: 5.5 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.812e-05/0.011, allocations: 75.98 kB / 313.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.923e-05/0.01106, allocations: 21.62 kB / 313.7 MB, free: 5.387 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.012e-05/0.01115, allocations: 79.38 kB / 313.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of SimCode: time 4.51e-07/0.01115, allocations: 0 / 313.7 MB, free: 5.309 MB / 282.7 MB Notification: Performance of Templates: time 0.003647/0.0148, allocations: 2.176 MB / 315.9 MB, free: 3.184 MB / 282.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.699052610900253]