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.001316/0.001316, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.0009425/0.0009425, allocations: 169.5 kB / 24.82 MB, free: 9.262 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.9041/0.9041, allocations: 177.1 MB / 205.3 MB, free: 5.508 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.08575/0.08575, allocations: 19.74 MB / 281.5 MB, free: 9.113 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.192e-06/1.192e-06, allocations: 0 / 358.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.125e-05/1.244e-05, allocations: 2.312 kB / 358.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical4): time 0.002264/0.002277, allocations: 2.297 MB / 360.7 MB, free: 4.027 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008083/0.003085, allocations: 0.6388 MB / 361.3 MB, free: 3.383 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.003186, allocations: 7.938 kB / 361.4 MB, free: 3.375 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001118/0.003298, allocations: 35.59 kB / 361.4 MB, free: 3.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00018/0.003478, allocations: 79.28 kB / 361.5 MB, free: 3.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001252/0.003603, allocations: 59.91 kB / 361.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.003817, allocations: 286.6 kB / 361.8 MB, free: 2.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001116/0.003929, allocations: 48.89 kB / 361.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001903/0.004119, allocations: 171.5 kB / 362 MB, free: 2.707 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.004233, allocations: 87.69 kB / 362.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.393e-05/0.004257, allocations: 16 kB / 362.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.025e-05/0.004307, allocations: 24 kB / 362.1 MB, free: 2.582 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.949e-05/0.004336, allocations: 47.77 kB / 362.2 MB, free: 2.535 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.642e-05/0.004393, allocations: 79.77 kB / 362.3 MB, free: 2.457 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001798/0.004572, allocations: 167.3 kB / 362.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.442e-06/0.004574, allocations: 0 / 362.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.004574, allocations: 0 / 362.4 MB, free: 2.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.004578, allocations: 0 / 362.4 MB, free: 2.293 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.0005194/0.005097, allocations: 0.5772 MB / 363 MB, free: 1.68 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.005128, allocations: 12.03 kB / 363 MB, free: 1.668 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.813e-05/0.005206, allocations: 44.75 kB / 363.1 MB, free: 1.625 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.005376, allocations: 207.6 kB / 363.3 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.005387, allocations: 16.38 kB / 363.3 MB, free: 1.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.005412, allocations: 20.33 kB / 363.3 MB, free: 1.363 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.005569, allocations: 154 kB / 363.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.005577, allocations: 192 / 363.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.005587, allocations: 4.375 kB / 363.5 MB, free: 1.191 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.005594, allocations: 7.938 kB / 363.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.602e-05/0.00567, allocations: 57.22 kB / 363.5 MB, free: 1.129 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.00616, allocations: 0.5767 MB / 364.1 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.006264, allocations: 94.97 kB / 364.2 MB, free: 424 kB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.16e-05/0.006306, allocations: 43.7 kB / 364.2 MB, free: 376 kB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.00632, allocations: 4 kB / 364.2 MB, free: 372 kB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.006342, allocations: 37.39 kB / 364.3 MB, free: 324 kB / 282.7 MB Notification: Performance of pre-optimization done (n=17): time 1.062e-06/0.006343, allocations: 0 / 364.3 MB, free: 324 kB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0004296/0.006773, allocations: 360.2 kB / 364.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.32e-05/0.006796, allocations: 55.34 kB / 364.7 MB, free: 15.86 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.006933, allocations: 272.2 kB / 364.9 MB, free: 15.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.006945, allocations: 29.7 kB / 365 MB, free: 15.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.448e-05/0.00702, allocations: 195.3 kB / 365.2 MB, free: 15.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.429e-05/0.007054, allocations: 71.36 kB / 365.2 MB, free: 15.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.007099, allocations: 51.34 kB / 365.3 MB, free: 15.22 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.007213, allocations: 0.5001 MB / 365.8 MB, free: 14.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.781e-05/0.007241, allocations: 23.97 kB / 365.8 MB, free: 14.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.007281, allocations: 46.39 kB / 365.9 MB, free: 14.64 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.96e-05/0.007361, allocations: 77.77 kB / 365.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.007362, allocations: 4 kB / 365.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001229/0.007485, allocations: 137.3 kB / 366.1 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.007496, allocations: 15.97 kB / 366.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/0.0075, allocations: 0 / 366.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.007509, allocations: 0 / 366.1 MB, free: 14.39 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.007705, allocations: 67.89 kB / 366.2 MB, free: 14.33 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007004/0.008406, allocations: 1.82 MB / 368 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.887e-05/0.008465, allocations: 12.02 kB / 368 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-06/0.008473, allocations: 8 kB / 368 MB, free: 12.38 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 7.355e-05/0.008546, allocations: 172.4 kB / 368.2 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.008576, allocations: 27.86 kB / 368.2 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.008691, allocations: 131.7 kB / 368.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.008692, allocations: 4 kB / 368.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-06/0.008693, allocations: 0 / 368.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.008695, allocations: 0 / 368.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003136/0.009009, allocations: 421.7 kB / 368.7 MB, free: 11.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.00901, allocations: 8 kB / 368.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.009121, allocations: 43.92 kB / 368.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.009122, allocations: 0 / 368.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.009129, allocations: 0 / 368.8 MB, free: 11.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.009131, allocations: 8 kB / 368.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.009132, allocations: 0 / 368.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.009318, allocations: 321.8 kB / 369.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.111e-05/0.009359, allocations: 31.88 kB / 369.1 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.009374, allocations: 11.98 kB / 369.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.124e-05/0.009436, allocations: 4 kB / 369.2 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.085e-05/0.009466, allocations: 15.97 kB / 369.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.009471, allocations: 4 kB / 369.2 MB, free: 11.12 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.598e-05/0.009546, allocations: 189.1 kB / 369.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.009547, allocations: 3.938 kB / 369.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.009719, allocations: 44 kB / 369.4 MB, free: 10.89 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 5.834e-05/0.009777, allocations: 95.25 kB / 369.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002011/0.009978, allocations: 124.4 kB / 369.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-06/0.009979, allocations: 0 / 369.6 MB, free: 10.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.605e-05/0.01003, allocations: 51.55 kB / 369.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.01024, allocations: 47.92 kB / 369.7 MB, free: 10.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000836/0.01108, allocations: 0.5705 MB / 370.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.699e-05/0.01113, allocations: 84.55 kB / 370.4 MB, free: 9.855 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.511e-05/0.01119, allocations: 25.61 kB / 370.4 MB, free: 9.832 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/0.01129, allocations: 110.2 kB / 370.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of SimCode: time 5.61e-07/0.01129, allocations: 0 / 370.5 MB, free: 9.723 MB / 298.7 MB Notification: Performance of Templates: time 0.003891/0.01518, allocations: 2.599 MB / 373.1 MB, free: 7.164 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: 2.4893121058121324]