Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.001499/0.001499, allocations: 113.8 kB / 19.74 MB, free: 2.152 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.001458/0.001458, allocations: 192 kB / 23.03 MB, free: 5.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 251.8 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06804/0.06804, allocations: 8.246 MB / 315.3 MB, free: 388 kB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 67.91 kB / 439.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1219, allocations: 54.39 MB / 494.1 MB, free: 5.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.003233/0.1251, allocations: 1.622 MB / 495.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.1274, allocations: 1.567 MB / 497.3 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.1275, allocations: 4 kB / 497.3 MB, free: 2.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003762/0.1278, allocations: 127.3 kB / 497.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.1282, allocations: 139.1 kB / 497.6 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.1304, allocations: 1.189 MB / 498.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003462/0.1307, allocations: 246.8 kB / 499 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001461/0.1309, allocations: 56.55 kB / 499.1 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.131, allocations: 99.64 kB / 499.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.1312, allocations: 123.5 kB / 499.3 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.03e-05/0.1312, allocations: 19.98 kB / 499.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004446/0.1317, allocations: 259.7 kB / 499.6 MB, free: 272 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.1317, allocations: 39.86 kB / 499.6 MB, free: 232 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001348/0.1319, allocations: 119.4 kB / 499.7 MB, free: 112 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006478/0.1325, allocations: 430.6 kB / 0.4884 GB, free: 15.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1325, allocations: 7.938 kB / 0.4884 GB, free: 15.68 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1325, allocations: 0 / 0.4884 GB, free: 15.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.1325, allocations: 0 / 0.4884 GB, free: 15.68 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003117/0.1356, allocations: 0.8442 MB / 0.4892 GB, free: 14.8 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.1357, allocations: 11.89 kB / 0.4892 GB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.442e-05/0.1358, allocations: 28.75 kB / 0.4893 GB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003068/0.1361, allocations: 198.2 kB / 0.4895 GB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.1361, allocations: 20.7 kB / 0.4895 GB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.1361, allocations: 16.38 kB / 0.4895 GB, free: 14.51 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004917/0.1366, allocations: 297.7 kB / 0.4898 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.1366, allocations: 192 / 0.4898 GB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.949e-05/0.1367, allocations: 11.94 kB / 0.4898 GB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.1367, allocations: 4 kB / 0.4898 GB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004065/0.1371, allocations: 255.8 kB / 0.49 GB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001638/0.1387, allocations: 1.109 MB / 0.4911 GB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006332/0.1393, allocations: 294.4 kB / 0.4914 GB, free: 12.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000234/0.1396, allocations: 136.8 kB / 0.4915 GB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.984e-05/0.1396, allocations: 11.98 kB / 0.4915 GB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.1397, allocations: 38.94 kB / 0.4916 GB, free: 12.22 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.473e-06/0.1397, allocations: 0 / 0.4916 GB, free: 12.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.003413/0.1431, allocations: 0.8764 MB / 0.4924 GB, free: 11.34 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.657e-05/0.1431, allocations: 85.09 kB / 0.4925 GB, free: 11.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002619/0.1434, allocations: 218.8 kB / 0.4927 GB, free: 11.01 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.12e-05/0.1434, allocations: 37.7 kB / 0.4928 GB, free: 10.96 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.1435, allocations: 128.9 kB / 0.4929 GB, free: 10.84 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.27e-05/0.1436, allocations: 91.2 kB / 0.493 GB, free: 10.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1438, allocations: 65.64 kB / 0.493 GB, free: 10.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1439, allocations: 338.8 kB / 0.4934 GB, free: 10.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.1442, allocations: 160 kB / 0.4935 GB, free: 10.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.1445, allocations: 201.6 kB / 0.4937 GB, free: 9.977 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/0.1451, allocations: 374.3 kB / 0.4941 GB, free: 9.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.1451, allocations: 0 / 0.4941 GB, free: 9.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.002002/0.1471, allocations: 0.6809 MB / 0.4947 GB, free: 8.918 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.1471, allocations: 8 kB / 0.4947 GB, free: 8.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1471, allocations: 4 kB / 0.4947 GB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0019/0.149, allocations: 372.5 kB / 0.4951 GB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002421/0.1493, allocations: 55.91 kB / 0.4952 GB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005012/0.1543, allocations: 2.648 MB / 0.4977 GB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003154/0.1546, allocations: 27.84 kB / 0.4978 GB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.1546, allocations: 15.98 kB / 0.4978 GB, free: 5.68 MB / 366.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 (31): * Single equations (assignments): 30 * 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 {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001939/0.1548, allocations: 133.8 kB / 0.4979 GB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.901e-05/0.1549, allocations: 27.8 kB / 0.4979 GB, free: 5.512 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001954/0.1568, allocations: 0.6405 MB / 0.4986 GB, free: 4.859 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.1569, allocations: 7.938 kB / 0.4986 GB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-06/0.1569, allocations: 0 / 0.4986 GB, free: 4.852 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.373e-06/0.1569, allocations: 7.984 kB / 0.4986 GB, free: 4.844 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004687/0.1573, allocations: 364.3 kB / 0.4989 GB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1573, allocations: 3.938 kB / 0.4989 GB, free: 4.441 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.1575, allocations: 31.98 kB / 0.499 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.1593, allocations: 372.4 kB / 0.4993 GB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.958e-05/0.1593, allocations: 8 kB / 0.4993 GB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004947/0.1643, allocations: 2.624 MB / 0.5019 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.1643, allocations: 0 / 0.5019 GB, free: 1.293 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.1662, allocations: 0.7112 MB / 0.5026 GB, free: 0.5625 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.1663, allocations: 23.8 kB / 0.5026 GB, free: 0.5391 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.945e-05/0.1663, allocations: 8 kB / 0.5026 GB, free: 0.5312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002746/0.1666, allocations: 19.92 kB / 0.5026 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.242e-05/0.1667, allocations: 19.95 kB / 0.5026 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.1667, allocations: 8.125 kB / 0.5027 GB, free: 496 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001739/0.1669, allocations: 155.4 kB / 0.5028 GB, free: 340 kB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1669, allocations: 0 / 0.5028 GB, free: 340 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004967/0.1674, allocations: 107.9 kB / 0.5029 GB, free: 232 kB / 366.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 (22): * Single equations (assignments): 21 * 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 {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002258/0.1676, allocations: 123.2 kB / 0.503 GB, free: 100 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001885/0.1695, allocations: 0.6231 MB / 0.5036 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1695, allocations: 0 / 0.5036 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.1708, allocations: 430.4 kB / 0.504 GB, free: 15.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003816/0.1712, allocations: 31.92 kB / 0.5041 GB, free: 14.99 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.1723, allocations: 0.5042 MB / 0.5046 GB, free: 14.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1727, allocations: 0.7447 MB / 0.5053 GB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.1728, allocations: 33.92 kB / 0.5053 GB, free: 13.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.1729, allocations: 27.42 kB / 0.5053 GB, free: 13.64 MB / 382.1 MB Notification: Performance of SimCode: time 5.91e-07/0.1729, allocations: 0 / 0.5053 GB, free: 13.64 MB / 382.1 MB Notification: Performance of Templates: time 0.01361/0.1865, allocations: 6.634 MB / 0.5118 GB, free: 7.035 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.122623478062451] Failed to read output from testmodel.py, exit status != 0: 0.19529207702726126 0.406288228 0.27052777499999997 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fd300f657b0>