Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.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.001446/0.001446, 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.001769/0.001769, allocations: 221 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.578/1.578, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.06809/0.06809, allocations: 6.135 MB / 319.3 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.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00229/0.00229, allocations: 47.91 kB / 444.9 MB, free: 4.605 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1358, allocations: 55.03 MB / 499.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.003059/0.1389, allocations: 1.624 MB / 0.4898 GB, free: 11.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1402, allocations: 0.6041 MB / 0.4904 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.1402, allocations: 0 / 0.4904 GB, free: 11.24 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1404, allocations: 27.83 kB / 0.4904 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000174/0.1406, allocations: 47.77 kB / 0.4905 GB, free: 11.16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.141, allocations: 114 kB / 0.4906 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002578/0.1412, allocations: 175.5 kB / 0.4907 GB, free: 10.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.959e-05/0.1413, allocations: 17.3 kB / 0.4907 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000128/0.1414, allocations: 75.81 kB / 0.4908 GB, free: 10.79 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000187/0.1416, allocations: 83.64 kB / 0.4909 GB, free: 10.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.1417, allocations: 16 kB / 0.4909 GB, free: 10.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.1418, allocations: 75.94 kB / 0.491 GB, free: 10.62 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/0.1419, allocations: 35.83 kB / 0.491 GB, free: 10.58 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.665e-05/0.142, allocations: 55.72 kB / 0.4911 GB, free: 10.53 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003101/0.1423, allocations: 207.2 kB / 0.4913 GB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1423, allocations: 0 / 0.4913 GB, free: 10.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1423, allocations: 0 / 0.4913 GB, free: 10.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.1423, allocations: 0 / 0.4913 GB, free: 10.32 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.0007772/0.1431, allocations: 432.9 kB / 0.4917 GB, free: 9.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1431, allocations: 12.03 kB / 0.4917 GB, free: 9.848 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.683e-05/0.1432, allocations: 16.84 kB / 0.4917 GB, free: 9.832 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.1436, allocations: 166.3 kB / 0.4919 GB, free: 9.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1436, allocations: 4.375 kB / 0.4919 GB, free: 9.641 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.185e-05/0.1436, allocations: 12.38 kB / 0.4919 GB, free: 9.629 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.144, allocations: 253.9 kB / 0.4921 GB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.144, allocations: 0 / 0.4921 GB, free: 9.352 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.504e-05/0.1441, allocations: 15.98 kB / 0.4921 GB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1441, allocations: 0 / 0.4921 GB, free: 9.336 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.1443, allocations: 131.4 kB / 0.4923 GB, free: 9.195 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.1449, allocations: 304.4 kB / 0.4926 GB, free: 8.867 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002777/0.1452, allocations: 145.9 kB / 0.4927 GB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002569/0.1455, allocations: 128.3 kB / 0.4928 GB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.1455, allocations: 7.938 kB / 0.4928 GB, free: 8.555 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005585/0.146, allocations: 450.5 kB / 0.4933 GB, free: 8.047 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.362e-06/0.146, allocations: 0 / 0.4933 GB, free: 8.047 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001029/0.1471, allocations: 0.5178 MB / 0.4938 GB, free: 7.488 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.1472, allocations: 225.5 kB / 0.494 GB, free: 7.219 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002267/0.1475, allocations: 194.3 kB / 0.4942 GB, free: 7.02 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.1475, allocations: 37.64 kB / 0.4942 GB, free: 6.977 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.57e-05/0.1476, allocations: 104.1 kB / 0.4943 GB, free: 6.871 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.1476, allocations: 43.78 kB / 0.4943 GB, free: 6.828 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.801e-05/0.1477, allocations: 37.7 kB / 0.4944 GB, free: 6.785 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.1479, allocations: 334.8 kB / 0.4947 GB, free: 6.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.148, allocations: 119.4 kB / 0.4948 GB, free: 6.32 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.1482, allocations: 172.4 kB / 0.495 GB, free: 6.129 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000622/0.1488, allocations: 469.8 kB / 0.4954 GB, free: 5.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/0.1488, allocations: 4 kB / 0.4954 GB, free: 5.617 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000475/0.1493, allocations: 364 kB / 0.4958 GB, free: 5.23 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.863e-05/0.1494, allocations: 67.39 kB / 0.4958 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1494, allocations: 0 / 0.4958 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.1494, allocations: 0 / 0.4958 GB, free: 5.152 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.547e-05/0.1495, allocations: 8 kB / 0.4958 GB, free: 5.145 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1495, allocations: 4 kB / 0.4958 GB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.1498, allocations: 51.97 kB / 0.4959 GB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.1498, allocations: 4 kB / 0.4959 GB, free: 5.086 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.0002762/0.1501, allocations: 232 kB / 0.4961 GB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/0.1501, allocations: 31.86 kB / 0.4962 GB, free: 4.809 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.809e-05/0.1501, allocations: 9.812 kB / 0.4962 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1501, allocations: 0 / 0.4962 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1501, allocations: 0 / 0.4962 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1501, allocations: 0 / 0.4962 GB, free: 4.797 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001862/0.1503, allocations: 173.1 kB / 0.4963 GB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1503, allocations: 0 / 0.4963 GB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.221e-05/0.1504, allocations: 7.938 kB / 0.4963 GB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1504, allocations: 0 / 0.4963 GB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.913e-05/0.1504, allocations: 11.98 kB / 0.4963 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1504, allocations: 0 / 0.4963 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1504, allocations: 0 / 0.4963 GB, free: 4.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007785/0.1512, allocations: 481.6 kB / 0.4968 GB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.1513, allocations: 35.88 kB / 0.4968 GB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.1513, allocations: 19.98 kB / 0.4969 GB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002646/0.1516, allocations: 39.95 kB / 0.4969 GB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.057e-05/0.1517, allocations: 27.95 kB / 0.4969 GB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.1517, allocations: 12 kB / 0.4969 GB, free: 3.934 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001425/0.1519, allocations: 152.2 kB / 0.4971 GB, free: 3.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1519, allocations: 4 kB / 0.4971 GB, free: 3.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000299/0.1522, allocations: 67.92 kB / 0.4972 GB, free: 3.715 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.0002149/0.1524, allocations: 139.5 kB / 0.4973 GB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006506/0.153, allocations: 437.5 kB / 0.4977 GB, free: 3.094 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.153, allocations: 3.938 kB / 0.4977 GB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.1534, allocations: 290.1 kB / 0.498 GB, free: 2.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002497/0.1537, allocations: 27.88 kB / 0.498 GB, free: 2.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/0.1544, allocations: 383.5 kB / 0.4984 GB, free: 2.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.1545, allocations: 113.1 kB / 0.4985 GB, free: 2.195 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.382e-05/0.1546, allocations: 12.42 kB / 0.4985 GB, free: 2.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.1546, allocations: 11.44 kB / 0.4985 GB, free: 2.172 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1546, allocations: 0 / 0.4985 GB, free: 2.172 MB / 366.1 MB Notification: Performance of Templates: time 0.007859/0.1625, allocations: 3.554 MB / 0.502 GB, free: 14.66 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile [Timeout 660] (rm -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.sim & ./PowerSysPro_PowerSysPro.Tests.VoltageRegulation2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.171762008219957] Failed to read output from testmodel.py, exit status != 0: 0.17190982401371002 0.196875128 0.049691674000000005 Calling exit ...