Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.0009527/0.0009527, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001391/0.002344, 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.000854/0.000854, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009264/0.00178, 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.892/0.892, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07606/0.968, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.08076/0.08076, allocations: 19.78 MB / 263.9 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.01114/0.09191, allocations: 7.569 MB / 271.5 MB, free: 3.34 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 272.8 MB, free: 2.055 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.809e-06/1.176e-05, allocations: 2.312 kB / 272.8 MB, free: 2.051 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.1278/0.1278, allocations: 2.698 MB / 275.5 MB, free: 1.473 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009344/0.1287, allocations: 0.7561 MB / 276.3 MB, free: 1.418 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001144/0.1288, allocations: 9.375 kB / 276.3 MB, free: 1.414 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.083e-05/0.1289, allocations: 47.02 kB / 276.3 MB, free: 1.383 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1291, allocations: 134 kB / 276.4 MB, free: 1.336 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.1292, allocations: 83.77 kB / 276.5 MB, free: 1.332 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.1295, allocations: 411.6 kB / 276.9 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.1296, allocations: 64.25 kB / 277 MB, free: 1.211 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.1299, allocations: 290.2 kB / 277.3 MB, free: 1.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.1301, allocations: 119.6 kB / 277.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.623e-05/0.1301, allocations: 26.19 kB / 277.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.923e-05/0.1302, allocations: 28.2 kB / 277.4 MB, free: 1.152 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.49e-05/0.1302, allocations: 52.72 kB / 277.5 MB, free: 1.137 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.527e-05/0.1303, allocations: 90.66 kB / 277.6 MB, free: 1.125 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.1305, allocations: 212.9 kB / 277.8 MB, free: 1.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.1305, allocations: 5.609 kB / 277.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1305, allocations: 0 / 277.8 MB, free: 1.082 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.1305, allocations: 0.9688 kB / 277.8 MB, free: 1.082 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0006003/0.1311, allocations: 0.6415 MB / 278.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.566e-05/0.1312, allocations: 9.531 kB / 278.4 MB, free: 0.7031 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.1313, allocations: 121.5 kB / 278.6 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.1315, allocations: 225.1 kB / 278.8 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.1315, allocations: 18.12 kB / 278.8 MB, free: 444 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.262e-05/0.1315, allocations: 28.52 kB / 278.8 MB, free: 440 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1317, allocations: 208.5 kB / 279 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.1317, allocations: 1.188 kB / 279 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1317, allocations: 12.91 kB / 279.1 MB, free: 356 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1317, allocations: 10.23 kB / 279.1 MB, free: 352 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.1318, allocations: 76.78 kB / 279.1 MB, free: 344 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004944/0.1323, allocations: 0.5506 MB / 279.7 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1324, allocations: 110.6 kB / 279.8 MB, free: 15.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.05e-05/0.1325, allocations: 52.89 kB / 279.8 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.52e-05/0.1325, allocations: 5.25 kB / 279.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.791e-05/0.1325, allocations: 37.59 kB / 279.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of pre-optimization done (n=25): time 9.21e-07/0.1325, allocations: 3.875 kB / 279.9 MB, free: 15.9 MB / 282.7 MB Notification: Performance of matching and sorting (n=27): time 0.0005509/0.1331, allocations: 428.9 kB / 280.3 MB, free: 15.72 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.44e-05/0.1331, allocations: 58.95 kB / 280.4 MB, free: 15.66 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.1333, allocations: 268.1 kB / 280.6 MB, free: 15.53 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.1333, allocations: 30.83 kB / 280.7 MB, free: 15.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.1333, allocations: 154.3 kB / 280.8 MB, free: 15.38 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.1334, allocations: 101.6 kB / 280.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/0.1334, allocations: 61.88 kB / 281 MB, free: 15.28 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.8e-05/0.1335, allocations: 354.1 kB / 281.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.381e-05/0.1336, allocations: 23.19 kB / 281.3 MB, free: 14.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.489e-05/0.1336, allocations: 65.36 kB / 281.4 MB, free: 14.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.1337, allocations: 118.3 kB / 281.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1337, allocations: 0 / 281.5 MB, free: 14.87 MB / 282.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002541/0.134, allocations: 190.3 kB / 281.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.134, allocations: 6.281 kB / 281.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.134, allocations: 0 / 281.7 MB, free: 14.81 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001783/0.1342, allocations: 58.58 kB / 281.8 MB, free: 14.8 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002316/0.1344, allocations: 93.52 kB / 281.9 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001186/0.1356, allocations: 2.527 MB / 284.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.245e-05/0.1357, allocations: 10.34 kB / 284.4 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.1357, allocations: 4.406 kB / 284.4 MB, free: 12.38 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 (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.086e-05/0.1357, allocations: 130.6 kB / 284.5 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.485e-05/0.1358, allocations: 28.66 kB / 284.6 MB, free: 12.24 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.1359, allocations: 160.5 kB / 284.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.1359, allocations: 3.438 kB / 284.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.1359, allocations: 0.5625 kB / 284.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1359, allocations: 5.344 kB / 284.7 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005032/0.1364, allocations: 368.4 kB / 285.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1364, allocations: 0 / 285.1 MB, free: 11.94 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002642/0.1367, allocations: 82.48 kB / 285.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.249e-05/0.1368, allocations: 37.16 kB / 285.2 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.1368, allocations: 10.66 kB / 285.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.1368, allocations: 6.906 kB / 285.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1368, allocations: 1.031 kB / 285.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1368, allocations: 0.6562 kB / 285.2 MB, free: 11.9 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.137, allocations: 281.5 kB / 285.5 MB, free: 11.74 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1371, allocations: 11.38 kB / 285.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.397e-05/0.1371, allocations: 9.406 kB / 285.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.1372, allocations: 16.84 kB / 285.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.1372, allocations: 6.875 kB / 285.5 MB, free: 11.73 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.273e-05/0.1373, allocations: 109.6 kB / 285.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1373, allocations: 0 / 285.6 MB, free: 11.69 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001737/0.1374, allocations: 69.81 kB / 285.7 MB, free: 11.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.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 (28): * Single equations (assignments): 28 * 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 6.417e-05/0.1375, allocations: 82.36 kB / 285.8 MB, free: 11.61 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003361/0.1378, allocations: 295 kB / 286.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.1378, allocations: 5.656 kB / 286.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.1379, allocations: 84.31 kB / 286.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/0.1383, allocations: 481.9 kB / 286.6 MB, free: 10.96 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.1418, allocations: 0.6593 MB / 287.3 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.072e-05/0.1419, allocations: 99.42 kB / 287.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 8.932e-05/0.142, allocations: 40.17 kB / 287.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001324/0.1421, allocations: 105.9 kB / 287.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1421, allocations: 1.156 kB / 287.5 MB, free: 10.43 MB / 282.7 MB Notification: Performance of Templates: time 0.005823/0.1479, allocations: 4.151 MB / 291.7 MB, free: 9.176 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=240 -lv LOG_STATS > ThermoPower_4.0.0-dev_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6205360535532236]