Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.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.00182/0.00182, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.001877/0.001877, allocations: 165.3 kB / 24.27 MB, free: 160 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 1.534/1.534, allocations: 177.1 MB / 204.6 MB, free: 5.613 MB / 186.7 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.1489/0.1489, allocations: 19.73 MB / 280.8 MB, free: 9.305 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.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 357.2 MB, free: 6.996 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.774e-05/1.89e-05, allocations: 10.25 kB / 357.2 MB, free: 6.984 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.003706/0.003724, allocations: 2.277 MB / 359.5 MB, free: 4.691 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001224/0.004948, allocations: 0.6388 MB / 360.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.005058, allocations: 4 kB / 360.1 MB, free: 4.043 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001345/0.005192, allocations: 27.66 kB / 360.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.005451, allocations: 95.19 kB / 360.2 MB, free: 3.922 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001685/0.00562, allocations: 59.86 kB / 360.3 MB, free: 3.863 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.005994, allocations: 286.6 kB / 360.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.006136, allocations: 52.89 kB / 360.6 MB, free: 3.531 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/0.006435, allocations: 167.5 kB / 360.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001829/0.006617, allocations: 87.7 kB / 360.9 MB, free: 3.281 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.006659, allocations: 16 kB / 360.9 MB, free: 3.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.174e-05/0.00673, allocations: 23.94 kB / 360.9 MB, free: 3.242 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.006788, allocations: 47.77 kB / 361 MB, free: 3.195 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.006898, allocations: 79.77 kB / 361 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.007233, allocations: 215.3 kB / 361.3 MB, free: 2.906 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.007234, allocations: 3.938 kB / 361.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.007235, allocations: 0 / 361.3 MB, free: 2.902 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.00724, allocations: 8 kB / 361.3 MB, free: 2.895 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001055/0.008295, allocations: 0.5887 MB / 361.9 MB, free: 2.27 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.008328, allocations: 8.031 kB / 361.9 MB, free: 2.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001256/0.008453, allocations: 40.75 kB / 361.9 MB, free: 2.223 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.008791, allocations: 215.6 kB / 362.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/0.008817, allocations: 20.31 kB / 362.1 MB, free: 1.969 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.282e-05/0.00886, allocations: 20.33 kB / 362.2 MB, free: 1.949 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.009216, allocations: 177 kB / 362.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.00923, allocations: 192 / 362.3 MB, free: 1.762 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.009254, allocations: 12.38 kB / 362.3 MB, free: 1.75 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.009265, allocations: 7.938 kB / 362.3 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.009551, allocations: 104.5 kB / 362.4 MB, free: 1.641 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.01066, allocations: 0.6504 MB / 363.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.01094, allocations: 135 kB / 363.2 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001493/0.01109, allocations: 67.66 kB / 363.3 MB, free: 0.7344 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.534e-05/0.01111, allocations: 4 kB / 363.3 MB, free: 0.7305 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.01115, allocations: 37.38 kB / 363.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.142e-06/0.01115, allocations: 0 / 363.3 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.001091/0.01224, allocations: 491.9 kB / 363.8 MB, free: 172 kB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.01229, allocations: 55.41 kB / 363.9 MB, free: 104 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.01265, allocations: 320.2 kB / 364.2 MB, free: 15.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.01269, allocations: 33.7 kB / 364.2 MB, free: 15.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/0.01294, allocations: 195.3 kB / 364.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/0.01301, allocations: 75.39 kB / 364.5 MB, free: 15.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.0131, allocations: 51.36 kB / 364.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002821/0.01338, allocations: 0.5079 MB / 365 MB, free: 14.89 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.01351, allocations: 43.98 kB / 365.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.01367, allocations: 83.28 kB / 365.2 MB, free: 14.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.01395, allocations: 143.4 kB / 365.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01395, allocations: 0 / 365.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003889/0.01434, allocations: 197.2 kB / 365.5 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.01435, allocations: 8 kB / 365.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.01436, allocations: 0 / 365.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.01437, allocations: 0 / 365.5 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003874/0.01476, allocations: 67.89 kB / 365.6 MB, free: 14.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.01639, allocations: 1.874 MB / 367.4 MB, free: 12.34 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.01652, allocations: 11.98 kB / 367.5 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01654, allocations: 4 kB / 367.5 MB, free: 12.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (24): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001665/0.0167, allocations: 184.5 kB / 367.6 MB, free: 12.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.875e-05/0.01676, allocations: 32.02 kB / 367.7 MB, free: 12.1 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003863/0.01715, allocations: 179.7 kB / 367.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01715, allocations: 0 / 367.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.12e-07/0.01715, allocations: 0 / 367.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01716, allocations: 3.984 kB / 367.8 MB, free: 11.91 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.01816, allocations: 0.5196 MB / 368.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.01816, allocations: 0 / 368.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.01839, allocations: 39.97 kB / 368.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.01839, allocations: 0 / 368.4 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.808e-05/0.01841, allocations: 12 kB / 368.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01841, allocations: 0 / 368.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.01841, allocations: 0 / 368.4 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005752/0.01899, allocations: 395.4 kB / 368.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.686e-05/0.01907, allocations: 35.78 kB / 368.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.0191, allocations: 4 kB / 368.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.01924, allocations: 8 kB / 368.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.579e-05/0.0193, allocations: 19.84 kB / 368.9 MB, free: 10.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01931, allocations: 8 kB / 368.9 MB, free: 10.82 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002143/0.01953, allocations: 221.1 kB / 369.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01953, allocations: 0 / 369.1 MB, free: 10.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.01981, allocations: 48 kB / 369.1 MB, free: 10.56 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (generator.phi,generator.omega_m,generator.omega_e_filt,grid.port.theta) * 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 (19): * Single equations (assignments): 19 * 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.000113/0.01993, allocations: 95.19 kB / 369.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005162/0.02044, allocations: 176.3 kB / 369.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.02044, allocations: 64 / 369.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000161/0.0206, allocations: 82.69 kB / 369.5 MB, free: 10.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.02098, allocations: 44.16 kB / 369.5 MB, free: 10.16 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.02213, allocations: 0.5785 MB / 370.1 MB, free: 9.547 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001573/0.02229, allocations: 143.1 kB / 370.2 MB, free: 9.383 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.156e-05/0.02238, allocations: 25.62 kB / 370.3 MB, free: 9.359 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.084e-05/0.02245, allocations: 20.5 kB / 370.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02245, allocations: 4 kB / 370.3 MB, free: 9.336 MB / 298.7 MB Notification: Performance of Templates: time 0.006791/0.02924, allocations: 2.459 MB / 372.8 MB, free: 6.906 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical4.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.409417196060531]