Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.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.002032/0.002032, allocations: 104.3 kB / 19.74 MB, free: 1.766 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.00291/0.00291, allocations: 224.9 kB / 23.03 MB, free: 4.621 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.564/1.564, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.06349/0.06349, allocations: 6.127 MB / 319.3 MB, free: 12.84 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.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 47.92 kB / 444.9 MB, free: 4.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.145, allocations: 55.03 MB / 499.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003041/0.148, allocations: 1.62 MB / 0.4898 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.1493, allocations: 0.6041 MB / 0.4904 GB, free: 11.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.416e-05/0.1493, allocations: 3.938 kB / 0.4904 GB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002182/0.1495, allocations: 123.7 kB / 0.4905 GB, free: 11.17 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.1498, allocations: 139.6 kB / 0.4906 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.1502, allocations: 121.8 kB / 0.4908 GB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003026/0.1505, allocations: 231.5 kB / 0.491 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.994e-05/0.1505, allocations: 9.297 kB / 0.491 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001578/0.1507, allocations: 115.8 kB / 0.4911 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.151, allocations: 207.5 kB / 0.4913 GB, free: 10.36 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.027e-05/0.151, allocations: 16 kB / 0.4913 GB, free: 10.34 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001559/0.1512, allocations: 79.92 kB / 0.4914 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.1513, allocations: 103.7 kB / 0.4915 GB, free: 10.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001297/0.1514, allocations: 107.2 kB / 0.4916 GB, free: 10.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004302/0.1519, allocations: 338.5 kB / 0.4919 GB, free: 9.727 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1519, allocations: 0 / 0.4919 GB, free: 9.727 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1519, allocations: 0 / 0.4919 GB, free: 9.727 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1519, allocations: 0 / 0.4919 GB, free: 9.727 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001027/0.1529, allocations: 0.6398 MB / 0.4925 GB, free: 9.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.153, allocations: 8.031 kB / 0.4925 GB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.229e-05/0.1531, allocations: 44.66 kB / 0.4926 GB, free: 8.992 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004988/0.1535, allocations: 320.6 kB / 0.4929 GB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.1536, allocations: 8.375 kB / 0.4929 GB, free: 8.645 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.1536, allocations: 8.375 kB / 0.4929 GB, free: 8.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.154, allocations: 297.8 kB / 0.4932 GB, free: 8.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.1541, allocations: 3.938 kB / 0.4932 GB, free: 8.312 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.827e-05/0.1541, allocations: 4 kB / 0.4932 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1541, allocations: 0 / 0.4932 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003002/0.1544, allocations: 175.3 kB / 0.4934 GB, free: 8.125 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007295/0.1551, allocations: 428.2 kB / 0.4938 GB, free: 7.676 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.1554, allocations: 185.9 kB / 0.4939 GB, free: 7.473 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.1557, allocations: 180.2 kB / 0.4941 GB, free: 7.281 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.1557, allocations: 3.938 kB / 0.4941 GB, free: 7.277 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005645/0.1563, allocations: 486.5 kB / 0.4946 GB, free: 6.734 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.1563, allocations: 0 / 0.4946 GB, free: 6.734 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001143/0.1574, allocations: 0.7129 MB / 0.4953 GB, free: 5.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000157/0.1576, allocations: 221.6 kB / 0.4955 GB, free: 5.715 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006753/0.1582, allocations: 0.5604 MB / 0.496 GB, free: 5.141 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.1583, allocations: 33.64 kB / 0.4961 GB, free: 5.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1584, allocations: 200.1 kB / 0.4963 GB, free: 4.902 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.531e-05/0.1585, allocations: 47.81 kB / 0.4963 GB, free: 4.855 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.896e-05/0.1586, allocations: 37.7 kB / 0.4963 GB, free: 4.812 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001806/0.1588, allocations: 362.7 kB / 0.4967 GB, free: 4.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001855/0.1589, allocations: 163.4 kB / 0.4968 GB, free: 4.277 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.1592, allocations: 216.4 kB / 0.4971 GB, free: 4.043 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007449/0.1599, allocations: 0.6267 MB / 0.4977 GB, free: 3.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1599, allocations: 0 / 0.4977 GB, free: 3.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005798/0.1605, allocations: 0.496 MB / 0.4982 GB, free: 2.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.514e-05/0.1606, allocations: 75.38 kB / 0.4982 GB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1606, allocations: 4.031 kB / 0.4982 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1606, allocations: 0 / 0.4982 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.457e-05/0.1606, allocations: 8 kB / 0.4982 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1607, allocations: 0 / 0.4982 GB, free: 2.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.1609, allocations: 47.91 kB / 0.4983 GB, free: 2.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.161, allocations: 8 kB / 0.4983 GB, free: 2.688 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) \"Current tap position\" type: Integer tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = \"s\" fixed = true protected = true ) \"Time lag between the first change and the following tap\" type: Real tapChanger.abnormalUTime:DISCRETE(unit = \"s\" fixed = true protected = true ) \"Time when the signal U went out its normal range\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 2 * 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.0003292/0.1613, allocations: 296 kB / 0.4986 GB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.1614, allocations: 47.72 kB / 0.4986 GB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.465e-05/0.1614, allocations: 51.84 kB / 0.4987 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1614, allocations: 0 / 0.4987 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.1614, allocations: 0 / 0.4987 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1614, allocations: 0 / 0.4987 GB, free: 2.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/0.1617, allocations: 249.1 kB / 0.4989 GB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1617, allocations: 4 kB / 0.4989 GB, free: 2.004 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.1617, allocations: 7.938 kB / 0.4989 GB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1617, allocations: 0 / 0.4989 GB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.1617, allocations: 15.98 kB / 0.4989 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1617, allocations: 0 / 0.4989 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1617, allocations: 0 / 0.4989 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009167/0.1627, allocations: 0.6107 MB / 0.4995 GB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001994/0.1629, allocations: 79.61 kB / 0.4996 GB, free: 1.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.985e-05/0.1629, allocations: 12 kB / 0.4996 GB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002854/0.1632, allocations: 51.94 kB / 0.4997 GB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.383e-05/0.1633, allocations: 19.98 kB / 0.4997 GB, free: 1.168 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.1633, allocations: 15.98 kB / 0.4997 GB, free: 1.152 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004791/0.1638, allocations: 415.1 kB / 0.5001 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1638, allocations: 0 / 0.5001 GB, free: 0.7539 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003096/0.1641, allocations: 75.92 kB / 0.5002 GB, free: 0.6797 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: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * Number of discrete states: 16 (tapChanger.tap,tapChanger.furtherTapChangeTimeout,$whenCondition4,$whenCondition3,tapChanger.abnormalUTime,$whenCondition2,$whenCondition1,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.normalU,voltage.nextEvent,voltage.last,voltage.nextEventScaled,voltage.b,voltage.a,$whenCondition5) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 2 * 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.000218/0.1643, allocations: 151.4 kB / 0.5003 GB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007171/0.1651, allocations: 0.5055 MB / 0.5008 GB, free: 15.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1651, allocations: 4 kB / 0.5008 GB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004334/0.1655, allocations: 334.1 kB / 0.5011 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.1658, allocations: 37.91 kB / 0.5012 GB, free: 15.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.1671, allocations: 0.7916 MB / 0.5019 GB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002306/0.1673, allocations: 204.2 kB / 0.5021 GB, free: 14.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.852e-05/0.1674, allocations: 42.08 kB / 0.5022 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.381e-05/0.1675, allocations: 23.42 kB / 0.5022 GB, free: 14.44 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1675, allocations: 0 / 0.5022 GB, free: 14.44 MB / 382.1 MB Notification: Performance of Templates: time 0.01115/0.1786, allocations: 4.734 MB / 0.5068 GB, free: 9.746 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.407917305827141] Failed to read output from testmodel.py, exit status != 0: 0.1876348964869976 0.407240007 0.252140746 Calling exit ...