Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.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.001026/0.001026, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001461/0.002488, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001056/0.001056, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002067/0.003123, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9467/0.9467, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/1.054, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.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.09017/0.09017, allocations: 19.79 MB / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01273/0.1029, allocations: 7.561 MB / 271.5 MB, free: 3.344 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.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 272.8 MB, free: 2.066 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.517e-05/1.666e-05, allocations: 2.312 kB / 272.8 MB, free: 2.062 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical1): time 0.1306/0.1306, allocations: 2.146 MB / 274.9 MB, free: 1.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.000863/0.1315, allocations: 0.5969 MB / 275.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.107e-05/0.1315, allocations: 5.312 kB / 275.5 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 7.114e-05/0.1316, allocations: 23.31 kB / 275.6 MB, free: 1.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001263/0.1317, allocations: 75.28 kB / 275.6 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.1318, allocations: 46.28 kB / 275.7 MB, free: 1.559 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.132, allocations: 221 kB / 275.9 MB, free: 1.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.1e-05/0.1321, allocations: 26.92 kB / 275.9 MB, free: 1.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002229/0.1324, allocations: 154.2 kB / 276.1 MB, free: 1.469 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.1325, allocations: 62.61 kB / 276.1 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.497e-05/0.1325, allocations: 13.09 kB / 276.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.977e-05/0.1326, allocations: 13.66 kB / 276.2 MB, free: 1.461 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.1326, allocations: 26.12 kB / 276.2 MB, free: 1.453 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.422e-05/0.1326, allocations: 48.41 kB / 276.2 MB, free: 1.445 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.1328, allocations: 119.5 kB / 276.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.1328, allocations: 0 / 276.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1328, allocations: 1.125 kB / 276.4 MB, free: 1.426 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.1328, allocations: 4.531 kB / 276.4 MB, free: 1.422 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.000479/0.1333, allocations: 437.1 kB / 276.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/0.1333, allocations: 8.562 kB / 276.8 MB, free: 1.121 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.446e-05/0.1334, allocations: 101.8 kB / 276.9 MB, free: 1.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.1336, allocations: 172 kB / 277.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1336, allocations: 9.078 kB / 277.1 MB, free: 0.875 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.672e-05/0.1336, allocations: 19.08 kB / 277.1 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1338, allocations: 119.2 kB / 277.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1338, allocations: 192 / 277.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.1338, allocations: 4.938 kB / 277.2 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.1338, allocations: 7.984 kB / 277.2 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.894e-05/0.1339, allocations: 44.67 kB / 277.3 MB, free: 0.793 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003415/0.1342, allocations: 338.5 kB / 277.6 MB, free: 0.5508 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1343, allocations: 69.31 kB / 277.7 MB, free: 0.5273 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.632e-05/0.1344, allocations: 24.77 kB / 277.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.1344, allocations: 2.312 kB / 277.7 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.1344, allocations: 39.27 kB / 277.7 MB, free: 488 kB / 266.7 MB Notification: Performance of pre-optimization done (n=11): time 8.01e-07/0.1344, allocations: 1.125 kB / 277.7 MB, free: 488 kB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.00038/0.1348, allocations: 275.8 kB / 278 MB, free: 312 kB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.753e-05/0.1348, allocations: 53.53 kB / 278.1 MB, free: 248 kB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.1349, allocations: 193.5 kB / 278.2 MB, free: 132 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-06/0.1349, allocations: 30.42 kB / 278.3 MB, free: 100 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.091e-05/0.1349, allocations: 116.1 kB / 278.4 MB, free: 0 / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.457e-05/0.135, allocations: 45.08 kB / 278.4 MB, free: 15.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-05/0.135, allocations: 35.12 kB / 278.5 MB, free: 15.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.394e-05/0.1351, allocations: 335.8 kB / 278.8 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.913e-05/0.1351, allocations: 15.09 kB / 278.8 MB, free: 15.63 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.392e-05/0.1352, allocations: 34.33 kB / 278.8 MB, free: 15.61 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.449e-05/0.1352, allocations: 64.3 kB / 278.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1352, allocations: 1.125 kB / 278.9 MB, free: 15.58 MB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001005/0.1353, allocations: 86.36 kB / 279 MB, free: 15.54 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.1353, allocations: 5.125 kB / 279 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1353, allocations: 1.031 kB / 279 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.1353, allocations: 3.625 kB / 279 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.1355, allocations: 45.03 kB / 279 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1355, allocations: 1.656 kB / 279 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.692e-05/0.1355, allocations: 13.59 kB / 279.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.1355, allocations: 2.188 kB / 279.1 MB, free: 15.54 MB / 282.7 MB 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 (16): * Single equations (assignments): 16 * 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 6.177e-05/0.1356, allocations: 116.6 kB / 279.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.1356, allocations: 15.98 kB / 279.2 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.092e-05/0.1356, allocations: 21.52 kB / 279.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.1356, allocations: 5.156 kB / 279.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.1356, allocations: 0.7969 kB / 279.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.1357, allocations: 4.828 kB / 279.2 MB, free: 15.41 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.1359, allocations: 264.3 kB / 279.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1359, allocations: 1.125 kB / 279.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001155/0.136, allocations: 35.02 kB / 279.5 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.136e-05/0.1361, allocations: 19.55 kB / 279.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1361, allocations: 1.062 kB / 279.5 MB, free: 15.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1361, allocations: 12.62 kB / 279.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1361, allocations: 0 / 279.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1361, allocations: 1.062 kB / 279.5 MB, free: 15.2 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.1362, allocations: 191.5 kB / 279.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.614e-05/0.1362, allocations: 5.812 kB / 279.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.066e-05/0.1363, allocations: 6.891 kB / 279.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.228e-05/0.1363, allocations: 5.75 kB / 279.7 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1363, allocations: 2.828 kB / 279.8 MB, free: 15.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.596e-05/0.1364, allocations: 68.41 kB / 279.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.1364, allocations: 0 / 279.8 MB, free: 15.05 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000139/0.1365, allocations: 31.62 kB / 279.8 MB, free: 15.05 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 (12): * Single equations (assignments): 12 * 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 7.119e-05/0.1366, allocations: 77.19 kB / 279.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.949e-05/0.1367, allocations: 58.55 kB / 280 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.1367, allocations: 3.406 kB / 280 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 4.741e-05/0.1367, allocations: 35.58 kB / 280 MB, free: 14.96 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/0.137, allocations: 274 kB / 280.3 MB, free: 14.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.1393, allocations: 399.1 kB / 280.7 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.778e-05/0.1393, allocations: 73.5 kB / 280.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.083e-05/0.1394, allocations: 15.22 kB / 280.8 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.1395, allocations: 78.44 kB / 280.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.1395, allocations: 0 / 280.8 MB, free: 14.34 MB / 282.7 MB Notification: Performance of Templates: time 0.003923/0.1434, allocations: 1.819 MB / 282.7 MB, free: 14.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6061785873025656]