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.001395/0.001395, allocations: 79.19 kB / 21.27 MB, free: 388 kB / 14.72 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.001642/0.001642, allocations: 163.7 kB / 24.53 MB, free: 3.59 MB / 14.72 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.714/1.714, allocations: 177.2 MB / 204.9 MB, free: 9.262 MB / 190.1 MB " [Timeout remaining time 178] 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.1622/0.1622, allocations: 19.71 MB / 281 MB, free: 13.05 MB / 270.1 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: ThermoPower requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 71.91 kB / 417.6 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4803/0.4827, allocations: 60.46 MB / 478.1 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical2): time 0.004081/0.4868, allocations: 2.101 MB / 480.2 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.4881, allocations: 0.5993 MB / 480.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.4883, allocations: 6.5 kB / 480.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.4884, allocations: 25.03 kB / 480.8 MB, free: 13.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002874/0.4887, allocations: 75.81 kB / 480.9 MB, free: 13.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001714/0.4889, allocations: 47.12 kB / 480.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003658/0.4892, allocations: 252.2 kB / 481.2 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.4894, allocations: 31.77 kB / 481.2 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.4897, allocations: 156.5 kB / 481.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001893/0.4899, allocations: 93.58 kB / 481.4 MB, free: 13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.4899, allocations: 16.03 kB / 481.4 MB, free: 13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.212e-05/0.49, allocations: 16.62 kB / 481.5 MB, free: 13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.226e-05/0.49, allocations: 41.12 kB / 481.5 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.4901, allocations: 87.27 kB / 481.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003164/0.4905, allocations: 202.7 kB / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.4905, allocations: 5.625 kB / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4905, allocations: 0 / 481.8 MB, free: 12.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4905, allocations: 4 kB / 481.8 MB, free: 12.77 MB / 382.1 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.000992/0.4915, allocations: 468.3 kB / 482.2 MB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.4915, allocations: 9.281 kB / 482.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.4916, allocations: 26.27 kB / 482.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.492, allocations: 200.4 kB / 482.5 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.967e-05/0.492, allocations: 17.38 kB / 482.5 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.516e-05/0.4921, allocations: 22 kB / 482.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007402/0.4995, allocations: 153.7 kB / 482.7 MB, free: 12.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.4995, allocations: 3.984 kB / 482.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.4995, allocations: 5.688 kB / 482.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4995, allocations: 3.094 kB / 482.7 MB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002543/0.5021, allocations: 98.59 kB / 482.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002219/0.5043, allocations: 491.7 kB / 483.3 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000309/0.5046, allocations: 121.4 kB / 483.4 MB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001715/0.5048, allocations: 65.88 kB / 483.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.278e-05/0.5048, allocations: 3.25 kB / 483.4 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.5048, allocations: 35.81 kB / 483.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 2.014e-06/0.5048, allocations: 0 / 483.5 MB, free: 11.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001289/0.5061, allocations: 0.5018 MB / 484 MB, free: 11.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.5062, allocations: 53.56 kB / 484 MB, free: 10.99 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.5065, allocations: 221.8 kB / 484.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.5065, allocations: 30.8 kB / 484.3 MB, free: 10.79 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/0.5066, allocations: 139.2 kB / 484.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.5067, allocations: 67.05 kB / 484.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.5068, allocations: 39.08 kB / 484.5 MB, free: 10.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.5069, allocations: 332.5 kB / 484.8 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.5071, allocations: 55.25 kB / 484.9 MB, free: 10.21 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001806/0.5073, allocations: 79.05 kB / 485 MB, free: 10.16 MB / 382.1 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.001349/0.5086, allocations: 347 kB / 485.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5086, allocations: 1.188 kB / 485.3 MB, free: 9.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000453/0.5091, allocations: 185.3 kB / 485.5 MB, free: 9.891 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.5091, allocations: 12.88 kB / 485.5 MB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.5091, allocations: 9.203 kB / 485.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5091, allocations: 2.156 kB / 485.5 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.5095, allocations: 60.72 kB / 485.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.5095, allocations: 1.219 kB / 485.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001517/0.5096, allocations: 5.625 kB / 485.6 MB, free: 9.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.026e-05/0.5096, allocations: 12.38 kB / 485.6 MB, free: 9.855 MB / 382.1 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 0.0001516/0.5098, allocations: 142.2 kB / 485.7 MB, free: 9.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.346e-05/0.5099, allocations: 25.77 kB / 485.8 MB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.532e-05/0.5099, allocations: 31.33 kB / 485.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5099, allocations: 2.312 kB / 485.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.5099, allocations: 0 / 485.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.5099, allocations: 1.188 kB / 485.8 MB, free: 9.672 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/0.5108, allocations: 449 kB / 486.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5108, allocations: 0 / 486.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.5111, allocations: 52.25 kB / 486.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5111, allocations: 0 / 486.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.5112, allocations: 5.25 kB / 486.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5112, allocations: 1.125 kB / 486.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.5112, allocations: 1.094 kB / 486.3 MB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006305/0.5118, allocations: 337.4 kB / 486.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005111/0.5123, allocations: 31.89 kB / 486.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.5125, allocations: 1.188 kB / 486.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/0.5127, allocations: 15.98 kB / 486.7 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005507/0.5182, allocations: 8.531 kB / 486.7 MB, free: 9.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002555/0.5208, allocations: 11.38 kB / 486.7 MB, free: 9.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.521, allocations: 165.6 kB / 486.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.521, allocations: 1.031 kB / 486.9 MB, free: 8.891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003851/0.5214, allocations: 38.66 kB / 486.9 MB, free: 8.887 MB / 382.1 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 0.0001171/0.5215, allocations: 98.11 kB / 487 MB, free: 8.793 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004093/0.5219, allocations: 128.5 kB / 487.1 MB, free: 8.742 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5219, allocations: 5.25 kB / 487.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001722/0.5221, allocations: 72.97 kB / 487.2 MB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004703/0.5225, allocations: 43.05 kB / 487.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.5238, allocations: 0.5677 MB / 487.8 MB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.524, allocations: 137.8 kB / 487.9 MB, free: 8.055 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.5241, allocations: 21.64 kB / 488 MB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.859e-05/0.5241, allocations: 24.44 kB / 488 MB, free: 8.012 MB / 382.1 MB Notification: Performance of SimCode: time 8.11e-07/0.5241, allocations: 0 / 488 MB, free: 8.012 MB / 382.1 MB Notification: Performance of Templates: time 0.006677/0.5308, allocations: 2.055 MB / 490 MB, free: 5.98 MB / 382.1 MB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.636899232980795] Failed to read output from testmodel.py, exit status != 0: 0.5574396459851414 0.5849515639999999 0.09061230899999995 Calling exit ...