Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.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.001689/0.001689, allocations: 111.2 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.002163/0.002163, allocations: 192.8 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.533/1.533, 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.05872/0.05872, allocations: 8.236 MB / 315.3 MB, free: 392 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.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 68.12 kB / 439.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1499, allocations: 54.4 MB / 494.1 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo): time 0.003425/0.1533, allocations: 1.789 MB / 495.9 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002924/0.1562, allocations: 1.586 MB / 497.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1564, allocations: 8 kB / 497.5 MB, free: 2.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005069/0.1569, allocations: 135.2 kB / 497.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004625/0.1573, allocations: 155.1 kB / 497.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.1596, allocations: 1.072 MB / 498.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005609/0.1602, allocations: 286.7 kB / 499.1 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.1604, allocations: 60.89 kB / 499.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000137/0.1605, allocations: 115.5 kB / 499.3 MB, free: 500 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000197/0.1607, allocations: 139.4 kB / 499.5 MB, free: 360 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.368e-05/0.1608, allocations: 24 kB / 499.5 MB, free: 336 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005493/0.1613, allocations: 247.8 kB / 499.7 MB, free: 88 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.1614, allocations: 59.7 kB / 499.8 MB, free: 28 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001953/0.1616, allocations: 135.5 kB / 499.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007759/0.1624, allocations: 462.2 kB / 0.4886 GB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1624, allocations: 0 / 0.4886 GB, free: 15.44 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1624, allocations: 0 / 0.4886 GB, free: 15.44 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.401e-05/0.1624, allocations: 0 / 0.4886 GB, free: 15.44 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.004529/0.1669, allocations: 1.047 MB / 0.4897 GB, free: 14.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/0.167, allocations: 15.89 kB / 0.4897 GB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1671, allocations: 32.75 kB / 0.4897 GB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003637/0.1675, allocations: 202.1 kB / 0.4899 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.1675, allocations: 20.75 kB / 0.4899 GB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.1675, allocations: 24.38 kB / 0.4899 GB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006564/0.1682, allocations: 352 kB / 0.4903 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1682, allocations: 4.172 kB / 0.4903 GB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.482e-05/0.1683, allocations: 15.94 kB / 0.4903 GB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.1683, allocations: 4 kB / 0.4903 GB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005142/0.1688, allocations: 303.3 kB / 0.4906 GB, free: 13.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.1709, allocations: 1.326 MB / 0.4919 GB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008934/0.1718, allocations: 346.7 kB / 0.4922 GB, free: 11.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.172, allocations: 157.3 kB / 0.4924 GB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008314/0.1728, allocations: 0.5937 MB / 0.4929 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.1729, allocations: 34.73 kB / 0.493 GB, free: 10.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=28): time 1.483e-06/0.1729, allocations: 4 kB / 0.493 GB, free: 10.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=28): time 0.003779/0.1767, allocations: 0.9859 MB / 0.4939 GB, free: 9.734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.773e-05/0.1768, allocations: 106.8 kB / 0.494 GB, free: 9.605 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002669/0.177, allocations: 224.8 kB / 0.4943 GB, free: 9.375 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.1771, allocations: 37.7 kB / 0.4943 GB, free: 9.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1772, allocations: 156.7 kB / 0.4944 GB, free: 9.172 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.948e-05/0.1773, allocations: 103.1 kB / 0.4945 GB, free: 9.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.1775, allocations: 86.11 kB / 0.4946 GB, free: 8.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001894/0.1777, allocations: 330.8 kB / 0.4949 GB, free: 8.648 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003257/0.178, allocations: 196.8 kB / 0.4951 GB, free: 8.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.1784, allocations: 267.1 kB / 0.4954 GB, free: 8.168 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/0.1792, allocations: 477 kB / 0.4958 GB, free: 7.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/0.1792, allocations: 3.938 kB / 0.4958 GB, free: 7.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.002202/0.1814, allocations: 0.8143 MB / 0.4966 GB, free: 6.852 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.1814, allocations: 8 kB / 0.4966 GB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.1814, allocations: 0 / 0.4966 GB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.1838, allocations: 421.2 kB / 0.497 GB, free: 6.426 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.1843, allocations: 75.89 kB / 0.4971 GB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008717/0.193, allocations: 3.816 MB / 0.5008 GB, free: 2.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.1937, allocations: 39.72 kB / 0.5009 GB, free: 2.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.266e-05/0.1937, allocations: 16 kB / 0.5009 GB, free: 2.254 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (42): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003197/0.1941, allocations: 157.7 kB / 0.501 GB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1942, allocations: 23.95 kB / 0.5011 GB, free: 2.066 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003262/0.1974, allocations: 0.736 MB / 0.5018 GB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.1974, allocations: 4 kB / 0.5018 GB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.1974, allocations: 4 kB / 0.5018 GB, free: 1.309 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.1974, allocations: 3.984 kB / 0.5018 GB, free: 1.305 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008497/0.1983, allocations: 380.3 kB / 0.5022 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.1983, allocations: 7.938 kB / 0.5022 GB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002889/0.1986, allocations: 43.92 kB / 0.5022 GB, free: 0.8398 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002977/0.2016, allocations: 405.3 kB / 0.5026 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.583e-05/0.2016, allocations: 11.98 kB / 0.5026 GB, free: 436 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008504/0.2101, allocations: 3.809 MB / 0.5063 GB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.2101, allocations: 3.938 kB / 0.5063 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003767/0.2139, allocations: 0.7668 MB / 0.5071 GB, free: 11.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.214, allocations: 35.69 kB / 0.5071 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.2141, allocations: 4 kB / 0.5071 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000484/0.2146, allocations: 27.08 kB / 0.5071 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.2147, allocations: 27.95 kB / 0.5072 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.362e-05/0.2148, allocations: 4 kB / 0.5072 GB, free: 11.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002839/0.2151, allocations: 164.5 kB / 0.5073 GB, free: 11.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2151, allocations: 0 / 0.5073 GB, free: 11.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009987/0.216, allocations: 119.9 kB / 0.5074 GB, free: 11.22 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003247/0.2164, allocations: 123.2 kB / 0.5076 GB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003112/0.2195, allocations: 0.7241 MB / 0.5083 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.537e-06/0.2195, allocations: 4 kB / 0.5083 GB, free: 10.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.2215, allocations: 0.5013 MB / 0.5088 GB, free: 9.812 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000556/0.2221, allocations: 20.44 kB / 0.5088 GB, free: 9.793 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.2242, allocations: 0.5698 MB / 0.5093 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.2248, allocations: 0.7532 MB / 0.5101 GB, free: 8.418 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002265/0.225, allocations: 34.25 kB / 0.5101 GB, free: 8.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001134/0.2251, allocations: 27.44 kB / 0.5101 GB, free: 8.359 MB / 382.1 MB Notification: Performance of SimCode: time 8.52e-07/0.2251, allocations: 0 / 0.5101 GB, free: 8.359 MB / 382.1 MB Notification: Performance of Templates: time 0.02361/0.2487, allocations: 6.689 MB / 0.5167 GB, free: 1.695 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.22158261295408] Failed to read output from testmodel.py, exit status != 0: 0.25932941772043705 0.49781426100000004 0.332815509 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2a290397b0>