Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.001458/0.001458, allocations: 100.4 kB / 20.49 MB, free: 1.344 MB / 14.72 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.001626/0.001626, allocations: 202.3 kB / 23.78 MB, free: 4.5 MB / 14.72 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.406/1.406, allocations: 230.6 MB / 257.5 MB, free: 7.746 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03777/0.03777, allocations: 6.135 MB / 320.1 MB, free: 12.74 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/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(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 51.84 kB / 445.7 MB, free: 4.586 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1024, allocations: 55.04 MB / 0.489 GB, free: 13.45 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.MediumNetworks.Network): time 0.004764/0.1072, allocations: 3.245 MB / 0.4921 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003199/0.1104, allocations: 1.937 MB / 0.494 GB, free: 8.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001973/0.1106, allocations: 12 kB / 0.494 GB, free: 8.234 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000543/0.1111, allocations: 214.6 kB / 0.4943 GB, free: 8.023 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008003/0.1119, allocations: 381.6 kB / 0.4946 GB, free: 7.648 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002417/0.1143, allocations: 1.223 MB / 0.4958 GB, free: 6.426 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009471/0.1153, allocations: 0.7581 MB / 0.4966 GB, free: 5.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002838/0.1156, allocations: 158.1 kB / 0.4967 GB, free: 5.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003511/0.1159, allocations: 342.6 kB / 0.497 GB, free: 5.168 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004807/0.1164, allocations: 366.3 kB / 0.4974 GB, free: 4.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001145/0.1165, allocations: 64 kB / 0.4974 GB, free: 4.746 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005874/0.1171, allocations: 287.8 kB / 0.4977 GB, free: 4.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001543/0.1173, allocations: 159.4 kB / 0.4979 GB, free: 4.309 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003123/0.1176, allocations: 302.5 kB / 0.4982 GB, free: 4.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001055/0.1186, allocations: 0.9456 MB / 0.4991 GB, free: 3.062 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1186, allocations: 0 / 0.4991 GB, free: 3.062 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1186, allocations: 4 kB / 0.4991 GB, free: 3.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.1186, allocations: 0 / 0.4991 GB, free: 3.059 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.008107/0.1267, allocations: 2.072 MB / 0.5011 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1268, allocations: 12.03 kB / 0.5011 GB, free: 0.9375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001764/0.127, allocations: 84.47 kB / 0.5012 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000699/0.1277, allocations: 424.2 kB / 0.5016 GB, free: 424 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.1277, allocations: 45.38 kB / 0.5016 GB, free: 380 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.1278, allocations: 60.38 kB / 0.5017 GB, free: 320 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.1294, allocations: 1.285 MB / 0.503 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1294, allocations: 192 / 0.503 GB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-05/0.1295, allocations: 31.92 kB / 0.503 GB, free: 14.87 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.248e-05/0.1295, allocations: 12 kB / 0.503 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.1307, allocations: 0.8044 MB / 0.5038 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003823/0.1345, allocations: 1.884 MB / 0.5056 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.1362, allocations: 0.9533 MB / 0.5066 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007922/0.1369, allocations: 0.5219 MB / 0.5071 GB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.374e-05/0.137, allocations: 16.98 kB / 0.5071 GB, free: 10.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.293e-05/0.1371, allocations: 47.56 kB / 0.5071 GB, free: 10.59 MB / 382.1 MB Notification: Performance of pre-optimization done (n=89): time 3.447e-06/0.1371, allocations: 0 / 0.5071 GB, free: 10.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=89): time 0.01463/0.1517, allocations: 3.858 MB / 0.5109 GB, free: 6.723 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.674e-05/0.1518, allocations: 111.8 kB / 0.511 GB, free: 6.59 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006106/0.1524, allocations: 433.7 kB / 0.5114 GB, free: 6.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000139/0.1526, allocations: 53.64 kB / 0.5115 GB, free: 6.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.1528, allocations: 229.8 kB / 0.5117 GB, free: 5.871 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002986/0.153, allocations: 321.2 kB / 0.512 GB, free: 5.555 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.1534, allocations: 182.6 kB / 0.5122 GB, free: 5.371 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.1536, allocations: 366.7 kB / 0.5125 GB, free: 5.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008483/0.1544, allocations: 0.5486 MB / 0.5131 GB, free: 4.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/0.1554, allocations: 0.6726 MB / 0.5137 GB, free: 3.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001966/0.1573, allocations: 1.224 MB / 0.5149 GB, free: 2.539 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1573, allocations: 0 / 0.5149 GB, free: 2.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.006245/0.1636, allocations: 2.355 MB / 0.5172 GB, free: 172 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.1636, allocations: 4 kB / 0.5172 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.1636, allocations: 0 / 0.5172 GB, free: 168 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2074/0.371, allocations: 1.686 MB / 0.5189 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.3716, allocations: 148.1 kB / 0.519 GB, free: 29.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.3845, allocations: 7 MB / 0.5258 GB, free: 27.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007824/0.3853, allocations: 92.91 kB / 0.5259 GB, free: 27.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.3853, allocations: 37.8 kB / 0.526 GB, free: 27.5 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0002774/0.3856, allocations: 198.4 kB / 0.5261 GB, free: 27.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3857, allocations: 67.61 kB / 0.5262 GB, free: 27.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005746/0.3915, allocations: 2.296 MB / 0.5285 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.3915, allocations: 10.59 kB / 0.5285 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.3915, allocations: 0 / 0.5285 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.3915, allocations: 6.188 kB / 0.5285 GB, free: 26.45 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006675/0.3982, allocations: 2.968 MB / 0.5314 GB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3982, allocations: 1.094 kB / 0.5314 GB, free: 25.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000361/0.3986, allocations: 113.8 kB / 0.5315 GB, free: 25.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006108/0.4047, allocations: 1.493 MB / 0.5329 GB, free: 24.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.456e-05/0.4048, allocations: 24.64 kB / 0.533 GB, free: 24.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01191/0.4167, allocations: 6.895 MB / 0.5397 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.4167, allocations: 1.375 kB / 0.5397 GB, free: 20.7 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005461/0.4221, allocations: 2.245 MB / 0.5419 GB, free: 19.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001584/0.4223, allocations: 85.95 kB / 0.542 GB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.777e-05/0.4224, allocations: 16.38 kB / 0.542 GB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.423, allocations: 59.25 kB / 0.542 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/0.4233, allocations: 76.86 kB / 0.5421 GB, free: 19.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.4233, allocations: 36.19 kB / 0.5421 GB, free: 19.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003254/0.4237, allocations: 290.2 kB / 0.5424 GB, free: 19.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4237, allocations: 1.25 kB / 0.5424 GB, free: 19.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009977/0.4247, allocations: 335.1 kB / 0.5427 GB, free: 19.49 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(18,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002148/0.4249, allocations: 144.5 kB / 0.5429 GB, free: 19.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00398/0.4288, allocations: 1.867 MB / 0.5447 GB, free: 18.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.4289, allocations: 0 / 0.5447 GB, free: 18.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00291/0.4318, allocations: 1.23 MB / 0.5459 GB, free: 18.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.4323, allocations: 94.16 kB / 0.546 GB, free: 18.01 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.4345, allocations: 1.47 MB / 0.5474 GB, free: 17.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000227/0.4348, allocations: 319.3 kB / 0.5477 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.4349, allocations: 67.97 kB / 0.5478 GB, free: 17.09 MB / 382.1 MB Notification: Performance of SimCode: time 1.182e-06/0.4349, allocations: 0 / 0.5478 GB, free: 17.09 MB / 382.1 MB Notification: Performance of Templates: time 0.01336/0.4483, allocations: 14.47 MB / 0.5619 GB, free: 3.035 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.519071886315942] Failed to read output from testmodel.py, exit status != 0: 0.4555064709857106 0.46954547999999996 0.34791456299999995 Calling exit ...