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.0009276/0.0009276, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008987/0.0008987, allocations: 171 kB / 25.61 MB, free: 8.582 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.8678/0.8678, allocations: 177.1 MB / 206.1 MB, free: 4.473 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.08357/0.08357, allocations: 19.73 MB / 282.3 MB, free: 12.25 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.322e-06/1.322e-06, allocations: 0 / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.266e-05/1.399e-05, allocations: 6.578 kB / 359.2 MB, free: 44.16 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.003046/0.00306, allocations: 2.194 MB / 361.4 MB, free: 42.46 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008755/0.003936, allocations: 0.6109 MB / 362 MB, free: 41.93 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.117e-05/0.004027, allocations: 4 kB / 362 MB, free: 41.92 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001045/0.004131, allocations: 28.97 kB / 362 MB, free: 41.9 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001593/0.004291, allocations: 77.03 kB / 362.1 MB, free: 41.84 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001158/0.004406, allocations: 55.11 kB / 362.1 MB, free: 41.8 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.004575, allocations: 259.6 kB / 362.4 MB, free: 41.57 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.004675, allocations: 32.66 kB / 362.4 MB, free: 41.55 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.004833, allocations: 150.2 kB / 362.6 MB, free: 41.43 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.004934, allocations: 80.2 kB / 362.7 MB, free: 41.38 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.004953, allocations: 12 kB / 362.7 MB, free: 41.36 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4e-05/0.004993, allocations: 25.19 kB / 362.7 MB, free: 41.34 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.005019, allocations: 39.5 kB / 362.7 MB, free: 41.31 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.326e-05/0.005062, allocations: 71.16 kB / 362.8 MB, free: 41.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.005207, allocations: 151.1 kB / 362.9 MB, free: 41.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.033e-06/0.005209, allocations: 4 kB / 363 MB, free: 41.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00521, allocations: 1.406 kB / 363 MB, free: 41.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.005213, allocations: 0 / 363 MB, free: 41.11 MB / 314.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.0004296/0.005643, allocations: 0.549 MB / 363.5 MB, free: 40.53 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.645e-05/0.005669, allocations: 8.031 kB / 363.5 MB, free: 40.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.267e-05/0.005742, allocations: 43.91 kB / 363.6 MB, free: 40.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.005887, allocations: 203.6 kB / 363.8 MB, free: 40.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.798e-06/0.005896, allocations: 12.36 kB / 363.8 MB, free: 40.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.136e-05/0.005918, allocations: 16.38 kB / 363.8 MB, free: 40.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.006042, allocations: 142.2 kB / 363.9 MB, free: 40.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.016e-06/0.006051, allocations: 192 / 363.9 MB, free: 40.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.00606, allocations: 4.375 kB / 363.9 MB, free: 40.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.006065, allocations: 8.438 kB / 363.9 MB, free: 40.06 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.338e-05/0.006129, allocations: 49.3 kB / 364 MB, free: 40.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.006552, allocations: 0.5454 MB / 364.5 MB, free: 39.44 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.208e-05/0.006644, allocations: 80.12 kB / 364.6 MB, free: 39.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.298e-05/0.006677, allocations: 40.48 kB / 364.6 MB, free: 39.31 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.196e-06/0.006685, allocations: 3.938 kB / 364.6 MB, free: 39.3 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.232e-05/0.006697, allocations: 38.36 kB / 364.7 MB, free: 39.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=16): time 1.092e-06/0.006699, allocations: 0 / 364.7 MB, free: 39.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.0003713/0.00707, allocations: 365.1 kB / 365 MB, free: 38.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.483e-05/0.007085, allocations: 51.41 kB / 365.1 MB, free: 38.81 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.884e-05/0.007174, allocations: 276.1 kB / 365.4 MB, free: 38.53 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.007181, allocations: 25.7 kB / 365.4 MB, free: 38.5 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.317e-05/0.007224, allocations: 187.2 kB / 365.6 MB, free: 38.31 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.267e-05/0.007247, allocations: 67.88 kB / 365.6 MB, free: 38.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.007288, allocations: 49.56 kB / 365.7 MB, free: 38.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.75e-05/0.007325, allocations: 0.504 MB / 366.2 MB, free: 37.67 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.282e-05/0.007348, allocations: 15.98 kB / 366.2 MB, free: 37.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.581e-05/0.007384, allocations: 68.38 kB / 366.3 MB, free: 37.58 MB / 314.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.0002186/0.007603, allocations: 156 kB / 366.4 MB, free: 37.42 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007604, allocations: 0 / 366.4 MB, free: 37.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00011/0.007714, allocations: 138.7 kB / 366.6 MB, free: 37.28 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.007723, allocations: 8 kB / 366.6 MB, free: 37.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.007727, allocations: 0 / 366.6 MB, free: 37.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.232e-06/0.007733, allocations: 0 / 366.6 MB, free: 37.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.007851, allocations: 65.3 kB / 366.6 MB, free: 37.21 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.007855, allocations: 10.12 kB / 366.6 MB, free: 37.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.537e-05/0.00791, allocations: 4 kB / 366.6 MB, free: 37.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.007916, allocations: 5.562 kB / 366.7 MB, free: 37.2 MB / 314.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 4.77e-05/0.007964, allocations: 164.5 kB / 366.8 MB, free: 37.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.007992, allocations: 31.86 kB / 366.8 MB, free: 36.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.997e-05/0.008022, allocations: 27.7 kB / 366.9 MB, free: 36.96 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.008023, allocations: 4 kB / 366.9 MB, free: 36.96 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.008025, allocations: 0 / 366.9 MB, free: 36.96 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.008028, allocations: 3.938 kB / 366.9 MB, free: 36.95 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002587/0.008287, allocations: 422.3 kB / 367.3 MB, free: 36.51 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.008287, allocations: 0 / 367.3 MB, free: 36.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001227/0.00841, allocations: 47.97 kB / 367.3 MB, free: 36.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.008412, allocations: 0 / 367.3 MB, free: 36.46 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.00842, allocations: 8 kB / 367.3 MB, free: 36.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.008421, allocations: 3.938 kB / 367.3 MB, free: 36.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.008422, allocations: 3.938 kB / 367.4 MB, free: 36.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001441/0.008566, allocations: 297 kB / 367.6 MB, free: 36.14 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.008601, allocations: 31.83 kB / 367.7 MB, free: 36.11 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.008619, allocations: 7.938 kB / 367.7 MB, free: 36.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.37e-05/0.008682, allocations: 12 kB / 367.7 MB, free: 36.09 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.644e-05/0.008709, allocations: 19.91 kB / 367.7 MB, free: 36.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.008713, allocations: 0 / 367.7 MB, free: 36.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.008759, allocations: 185.1 kB / 367.9 MB, free: 35.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008759, allocations: 0 / 367.9 MB, free: 35.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001615/0.00892, allocations: 40 kB / 367.9 MB, free: 35.85 MB / 314.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 4.622e-05/0.008966, allocations: 103.1 kB / 368 MB, free: 35.74 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.009068, allocations: 93.66 kB / 368.1 MB, free: 35.65 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.42e-07/0.009069, allocations: 4.062 kB / 368.1 MB, free: 35.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.529e-05/0.009104, allocations: 47.59 kB / 368.2 MB, free: 35.59 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.009326, allocations: 37.3 kB / 368.2 MB, free: 35.56 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006713/0.009997, allocations: 0.507 MB / 368.7 MB, free: 35.03 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.592e-05/0.01002, allocations: 75.98 kB / 368.8 MB, free: 34.93 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.954e-05/0.01007, allocations: 26.61 kB / 368.8 MB, free: 34.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.645e-05/0.01015, allocations: 98.19 kB / 368.9 MB, free: 34.81 MB / 314.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01015, allocations: 0 / 368.9 MB, free: 34.81 MB / 314.7 MB Notification: Performance of Templates: time 0.003192/0.01334, allocations: 2.281 MB / 371.2 MB, free: 32.61 MB / 314.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.740286950021982]