Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OnePerfectLine.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.001365/0.001365, allocations: 118.1 kB / 19.74 MB, free: 2.137 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.001597/0.001597, allocations: 188.6 kB / 23.02 MB, free: 4.953 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.522/1.522, allocations: 225.6 MB / 251.8 MB, free: 13.04 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.08684/0.08684, allocations: 8.248 MB / 315.3 MB, free: 476 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.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") translateModel(PowerSysPro.Tests.OnePerfectLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OnePerfectLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 59.91 kB / 439.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/0.1437, allocations: 54.39 MB / 494.1 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.OnePerfectLine): time 0.003473/0.1472, allocations: 1.289 MB / 495.4 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1492, allocations: 1.267 MB / 496.7 MB, free: 3.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.433e-05/0.1493, allocations: 4 kB / 496.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004018/0.1497, allocations: 103.5 kB / 496.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.1499, allocations: 51.62 kB / 496.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.1513, allocations: 0.7501 MB / 497.6 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003338/0.1517, allocations: 135.4 kB / 497.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.1519, allocations: 49.66 kB / 497.7 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.369e-05/0.1519, allocations: 59.78 kB / 497.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001435/0.1521, allocations: 67.75 kB / 497.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.098e-05/0.1521, allocations: 12 kB / 497.9 MB, free: 2.004 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003237/0.1524, allocations: 139.8 kB / 498 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.594e-05/0.1525, allocations: 35.78 kB / 498 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.85e-05/0.1526, allocations: 71.67 kB / 498.1 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004405/0.153, allocations: 255.1 kB / 498.4 MB, free: 1.512 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.153, allocations: 4 kB / 498.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.153, allocations: 0 / 498.4 MB, free: 1.508 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.153, allocations: 0 / 498.4 MB, free: 1.508 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001388/0.1544, allocations: 0.4934 MB / 498.9 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1545, allocations: 15.89 kB / 498.9 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.404e-05/0.1545, allocations: 8.891 kB / 498.9 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1547, allocations: 150.3 kB / 499 MB, free: 0.7852 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1548, allocations: 8.375 kB / 499 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.1548, allocations: 12.38 kB / 499.1 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003366/0.1551, allocations: 158.1 kB / 499.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1551, allocations: 192 / 499.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.761e-05/0.1552, allocations: 15.94 kB / 499.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1552, allocations: 0 / 499.2 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.1554, allocations: 120 kB / 499.3 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009687/0.1564, allocations: 499.3 kB / 499.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008662/0.1572, allocations: 142.5 kB / 500 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.096e-05/0.1573, allocations: 44.83 kB / 0.4883 GB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/0.1574, allocations: 7.938 kB / 0.4883 GB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.1575, allocations: 34.56 kB / 0.4883 GB, free: 15.7 MB / 366.1 MB Notification: Performance of pre-optimization done (n=9): time 1.092e-06/0.1575, allocations: 0 / 0.4883 GB, free: 15.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.001277/0.1587, allocations: 278.4 kB / 0.4886 GB, free: 15.41 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.728e-05/0.1588, allocations: 55.41 kB / 0.4887 GB, free: 15.35 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.159, allocations: 135.4 kB / 0.4888 GB, free: 15.21 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.159, allocations: 29.7 kB / 0.4888 GB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.1591, allocations: 128.2 kB / 0.4889 GB, free: 15.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.171e-05/0.1591, allocations: 31.73 kB / 0.489 GB, free: 15.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.1592, allocations: 25.72 kB / 0.489 GB, free: 14.98 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1594, allocations: 322.8 kB / 0.4893 GB, free: 14.66 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001043/0.1595, allocations: 40.36 kB / 0.4893 GB, free: 14.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.1596, allocations: 61.64 kB / 0.4894 GB, free: 14.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.1598, allocations: 105.7 kB / 0.4895 GB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1598, allocations: 0 / 0.4895 GB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005605/0.1604, allocations: 210.2 kB / 0.4897 GB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1604, allocations: 8.031 kB / 0.4897 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.1604, allocations: 0 / 0.4897 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004923/0.1609, allocations: 76.77 kB / 0.4898 GB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.171e-05/0.161, allocations: 19.94 kB / 0.4898 GB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.1633, allocations: 1.541 MB / 0.4913 GB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.721e-05/0.1634, allocations: 7.938 kB / 0.4913 GB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.473e-05/0.1634, allocations: 4.031 kB / 0.4913 GB, free: 12.45 MB / 366.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.1636, allocations: 125.8 kB / 0.4914 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.1636, allocations: 7.953 kB / 0.4914 GB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006236/0.1643, allocations: 214.8 kB / 0.4916 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1643, allocations: 0 / 0.4916 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.1643, allocations: 4 kB / 0.4916 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.1643, allocations: 3.984 kB / 0.4917 GB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000272/0.1645, allocations: 196.6 kB / 0.4918 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.1645, allocations: 0 / 0.4918 GB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.782e-05/0.1646, allocations: 12 kB / 0.4919 GB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004329/0.165, allocations: 80.7 kB / 0.4919 GB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.165, allocations: 4 kB / 0.4919 GB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002181/0.1672, allocations: 1.526 MB / 0.4934 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.1672, allocations: 4 kB / 0.4934 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000645/0.1679, allocations: 284.1 kB / 0.4937 GB, free: 9.809 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.849e-05/0.1679, allocations: 8.031 kB / 0.4937 GB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.1679, allocations: 4 kB / 0.4937 GB, free: 9.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.168, allocations: 7.984 kB / 0.4937 GB, free: 9.789 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.168, allocations: 15.97 kB / 0.4937 GB, free: 9.773 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1681, allocations: 4 kB / 0.4937 GB, free: 9.77 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001761/0.1682, allocations: 98.78 kB / 0.4938 GB, free: 9.676 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1682, allocations: 4 kB / 0.4938 GB, free: 9.672 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000393/0.1686, allocations: 47.89 kB / 0.4939 GB, free: 9.625 MB / 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 (8): * Single equations (assignments): 7 * 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): 1 system {(2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002385/0.1689, allocations: 123.1 kB / 0.494 GB, free: 9.496 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007923/0.1697, allocations: 246.8 kB / 0.4942 GB, free: 9.242 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1697, allocations: 4.062 kB / 0.4942 GB, free: 9.238 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004403/0.1701, allocations: 202.7 kB / 0.4944 GB, free: 9.027 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.1704, allocations: 9.562 kB / 0.4944 GB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008103/0.1712, allocations: 289.8 kB / 0.4947 GB, free: 8.707 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000444/0.1716, allocations: 0.7119 MB / 0.4954 GB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.294e-05/0.1717, allocations: 8.609 kB / 0.4954 GB, free: 7.957 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.1717, allocations: 11.44 kB / 0.4954 GB, free: 7.945 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1717, allocations: 4 kB / 0.4954 GB, free: 7.941 MB / 366.1 MB Notification: Performance of Templates: time 0.006872/0.1786, allocations: 2.074 MB / 0.4975 GB, free: 5.871 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OnePerfectLine.sim & ./PowerSysPro_PowerSysPro.Tests.OnePerfectLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OnePerfectLine.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8159507336094975] Failed to read output from testmodel.py, exit status != 0: 0.1875109151005745 0.211145518 0.052642327 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f2ebcead7b0>