Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 183.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 207.6 MB / 234.5 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo): time 0.3155/0.3155, allocations: 49.57 MB / 336.3 MB, free: 4.129 MB / 270.1 MB " [Timeout remaining time 179] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 3.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002432/0.002432, allocations: 71.88 kB / 476.8 MB, free: 12.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1204, allocations: 62.41 MB / 0.5266 GB, free: 13.86 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical3): time 0.004135/0.1245, allocations: 2.32 MB / 0.5288 GB, free: 11.52 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1258, allocations: 0.6554 MB / 0.5295 GB, free: 10.86 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.126, allocations: 7.938 kB / 0.5295 GB, free: 10.85 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001403/0.1261, allocations: 31.66 kB / 0.5295 GB, free: 10.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1263, allocations: 91.27 kB / 0.5296 GB, free: 10.73 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001785/0.1265, allocations: 63.86 kB / 0.5297 GB, free: 10.66 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.1269, allocations: 286.7 kB / 0.5299 GB, free: 10.38 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.127, allocations: 53.47 kB / 0.53 GB, free: 10.33 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1272, allocations: 119.5 kB / 0.5301 GB, free: 10.21 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1274, allocations: 123.3 kB / 0.5302 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.493e-05/0.1274, allocations: 16 kB / 0.5302 GB, free: 10.08 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.92e-05/0.1275, allocations: 24 kB / 0.5302 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.1276, allocations: 43.83 kB / 0.5303 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.1277, allocations: 127.3 kB / 0.5304 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003189/0.128, allocations: 226.9 kB / 0.5306 GB, free: 9.664 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.128, allocations: 4 kB / 0.5306 GB, free: 9.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.128, allocations: 0 / 0.5306 GB, free: 9.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.128, allocations: 0 / 0.5306 GB, free: 9.66 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0009578/0.129, allocations: 0.4968 MB / 0.5311 GB, free: 9.133 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.129, allocations: 16.03 kB / 0.5311 GB, free: 9.117 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/0.1291, allocations: 24.8 kB / 0.5312 GB, free: 9.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000362/0.1295, allocations: 217 kB / 0.5314 GB, free: 8.855 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.403e-05/0.1296, allocations: 42.27 kB / 0.5314 GB, free: 8.809 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.1296, allocations: 16.38 kB / 0.5314 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003571/0.13, allocations: 179 kB / 0.5316 GB, free: 8.605 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.13, allocations: 7.938 kB / 0.5316 GB, free: 8.598 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.13, allocations: 4 kB / 0.5316 GB, free: 8.594 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/0.13, allocations: 4 kB / 0.5316 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.1303, allocations: 123.9 kB / 0.5317 GB, free: 8.469 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001029/0.1313, allocations: 0.6126 MB / 0.5323 GB, free: 7.809 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.1317, allocations: 130.6 kB / 0.5324 GB, free: 7.672 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001707/0.1319, allocations: 80.86 kB / 0.5325 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.1319, allocations: 0 / 0.5325 GB, free: 7.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.1319, allocations: 38.5 kB / 0.5326 GB, free: 7.543 MB / 414.1 MB Notification: Performance of pre-optimization done (n=18): time 2.775e-06/0.1319, allocations: 7.984 kB / 0.5326 GB, free: 7.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001134/0.1331, allocations: 0.505 MB / 0.5331 GB, free: 6.996 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.1331, allocations: 59.41 kB / 0.5331 GB, free: 6.926 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.1334, allocations: 237 kB / 0.5333 GB, free: 6.684 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1334, allocations: 33.7 kB / 0.5334 GB, free: 6.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1335, allocations: 152.5 kB / 0.5335 GB, free: 6.488 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.164e-05/0.1336, allocations: 71.38 kB / 0.5336 GB, free: 6.418 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.1336, allocations: 49.64 kB / 0.5336 GB, free: 6.363 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.1338, allocations: 334.8 kB / 0.534 GB, free: 6.027 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001529/0.134, allocations: 55.97 kB / 0.534 GB, free: 5.973 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1341, allocations: 85.67 kB / 0.5341 GB, free: 5.883 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.1344, allocations: 145.4 kB / 0.5342 GB, free: 5.734 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1344, allocations: 0 / 0.5342 GB, free: 5.734 MB / 414.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004026/0.1348, allocations: 205.4 kB / 0.5344 GB, free: 5.527 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.1348, allocations: 4 kB / 0.5344 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.1348, allocations: 0 / 0.5344 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1349, allocations: 0 / 0.5344 GB, free: 5.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004275/0.1353, allocations: 79.89 kB / 0.5345 GB, free: 5.445 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1353, allocations: 3.984 kB / 0.5345 GB, free: 5.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001351/0.1354, allocations: 8 kB / 0.5345 GB, free: 5.434 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1355, allocations: 12.03 kB / 0.5345 GB, free: 5.422 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (BreakerCommand.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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.000128/0.1356, allocations: 137.7 kB / 0.5347 GB, free: 5.277 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.768e-05/0.1356, allocations: 19.86 kB / 0.5347 GB, free: 5.258 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/0.1357, allocations: 30.11 kB / 0.5347 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1357, allocations: 0 / 0.5347 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1357, allocations: 0 / 0.5347 GB, free: 5.227 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.1357, allocations: 3.984 kB / 0.5347 GB, free: 5.223 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008084/0.1365, allocations: 0.5247 MB / 0.5352 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1365, allocations: 0 / 0.5352 GB, free: 4.648 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003752/0.1369, allocations: 55.97 kB / 0.5353 GB, free: 4.594 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.1369, allocations: 4 kB / 0.5353 GB, free: 4.59 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1369, allocations: 4 kB / 0.5353 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1369, allocations: 4 kB / 0.5353 GB, free: 4.582 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1369, allocations: 3.938 kB / 0.5353 GB, free: 4.578 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005868/0.1375, allocations: 359.2 kB / 0.5356 GB, free: 4.211 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.1376, allocations: 27.89 kB / 0.5357 GB, free: 4.184 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1376, allocations: 4 kB / 0.5357 GB, free: 4.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001597/0.1378, allocations: 11.98 kB / 0.5357 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.1378, allocations: 19.91 kB / 0.5357 GB, free: 4.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.1379, allocations: 4 kB / 0.5357 GB, free: 4.145 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001804/0.138, allocations: 176.5 kB / 0.5359 GB, free: 3.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.138, allocations: 0 / 0.5359 GB, free: 3.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002915/0.1383, allocations: 40 kB / 0.5359 GB, free: 3.934 MB / 414.1 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: 1 (BreakerCommand.y) * 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.0001051/0.1384, allocations: 99.19 kB / 0.536 GB, free: 3.828 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003767/0.1388, allocations: 136.4 kB / 0.5361 GB, free: 3.695 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1388, allocations: 3.938 kB / 0.5361 GB, free: 3.691 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000168/0.139, allocations: 91.8 kB / 0.5362 GB, free: 3.602 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.1393, allocations: 32.42 kB / 0.5363 GB, free: 3.57 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.1405, allocations: 0.6524 MB / 0.5369 GB, free: 2.895 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.141, allocations: 0.7517 MB / 0.5376 GB, free: 2.117 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.267e-05/0.141, allocations: 25.94 kB / 0.5376 GB, free: 2.09 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.869e-05/0.1411, allocations: 19.44 kB / 0.5377 GB, free: 2.07 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1411, allocations: 0 / 0.5377 GB, free: 2.07 MB / 414.1 MB Notification: Performance of Templates: time 0.1944/0.3355, allocations: 2.137 MB / 0.5398 GB, free: 22.63 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical3.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.893680771812797] Failed to read output from testmodel.py, exit status != 0: 0.34327639266848564 0.35599850199999994 0.22474598199999996 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f8ea06fd7b0>