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.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.001276/0.001276, allocations: 117.3 kB / 17.85 MB, free: 5.074 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.001284/0.001284, allocations: 190.1 kB / 20.79 MB, free: 2.141 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.412/1.412, allocations: 225.6 MB / 249.2 MB, free: 3.621 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04916/0.04916, allocations: 8.234 MB / 312.3 MB, free: 2.062 MB / 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-master/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.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.001898/0.001898, allocations: 67.89 kB / 435.1 MB, free: 11.33 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2595, allocations: 54.36 MB / 489.5 MB, free: 27.65 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002225/0.2617, allocations: 1.636 MB / 491.1 MB, free: 26.37 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008536/0.2626, allocations: 0.6245 MB / 491.7 MB, free: 25.88 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.2626, allocations: 0 / 491.7 MB, free: 25.88 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001006/0.2627, allocations: 23.62 kB / 491.7 MB, free: 25.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001314/0.2629, allocations: 43.66 kB / 491.8 MB, free: 25.83 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003115/0.2632, allocations: 115.8 kB / 491.9 MB, free: 25.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001863/0.2633, allocations: 177.8 kB / 492.1 MB, free: 25.65 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.382e-05/0.2634, allocations: 17.75 kB / 492.1 MB, free: 25.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.2635, allocations: 75.72 kB / 492.2 MB, free: 25.59 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.2637, allocations: 87.36 kB / 492.3 MB, free: 25.54 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.183e-05/0.2637, allocations: 12.66 kB / 492.3 MB, free: 25.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001343/0.2638, allocations: 86.08 kB / 492.3 MB, free: 25.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.183e-05/0.2639, allocations: 26.16 kB / 492.4 MB, free: 25.48 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.804e-05/0.264, allocations: 72.52 kB / 492.4 MB, free: 25.43 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.2642, allocations: 195.1 kB / 492.6 MB, free: 25.3 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2642, allocations: 4 kB / 492.6 MB, free: 25.3 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2642, allocations: 0 / 492.6 MB, free: 25.3 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.2642, allocations: 3.984 kB / 492.6 MB, free: 25.3 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.0005522/0.2648, allocations: 0.4967 MB / 493.1 MB, free: 24.79 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.193e-05/0.2648, allocations: 11.36 kB / 493.1 MB, free: 24.79 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.2649, allocations: 18.31 kB / 493.2 MB, free: 24.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.2651, allocations: 234.5 kB / 493.4 MB, free: 24.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.2651, allocations: 11.09 kB / 493.4 MB, free: 24.53 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.2651, allocations: 10.81 kB / 493.4 MB, free: 24.53 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003062/0.2654, allocations: 136 kB / 493.6 MB, free: 24.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2654, allocations: 1.094 kB / 493.6 MB, free: 24.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.2655, allocations: 2.75 kB / 493.6 MB, free: 24.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.2655, allocations: 0 / 493.6 MB, free: 24.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.2657, allocations: 68.45 kB / 493.6 MB, free: 24.41 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004804/0.2661, allocations: 391.1 kB / 494 MB, free: 24.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.2663, allocations: 78.23 kB / 494.1 MB, free: 23.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001811/0.2665, allocations: 69.98 kB / 494.1 MB, free: 23.95 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.2665, allocations: 0 / 494.1 MB, free: 23.95 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003417/0.2669, allocations: 321.4 kB / 494.5 MB, free: 23.67 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.2669, allocations: 0 / 494.5 MB, free: 23.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007805/0.2676, allocations: 393.2 kB / 494.8 MB, free: 23.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/0.2677, allocations: 216.5 kB / 495.1 MB, free: 23.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.2679, allocations: 203.8 kB / 495.3 MB, free: 23.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.901e-05/0.2679, allocations: 29.27 kB / 495.3 MB, free: 23.01 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.694e-05/0.2679, allocations: 105.5 kB / 495.4 MB, free: 22.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.2679, allocations: 42.56 kB / 495.4 MB, free: 22.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.268, allocations: 38.23 kB / 495.5 MB, free: 22.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.785e-05/0.2681, allocations: 331.3 kB / 495.8 MB, free: 22.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-05/0.2681, allocations: 59.78 kB / 495.8 MB, free: 22.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.2682, allocations: 70.7 kB / 495.9 MB, free: 22.45 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004343/0.2687, allocations: 461 kB / 496.4 MB, free: 22.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2687, allocations: 0 / 496.4 MB, free: 22.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003076/0.269, allocations: 269.5 kB / 496.6 MB, free: 21.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.269, allocations: 74.47 kB / 496.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.269, allocations: 0 / 496.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.269, allocations: 1.281 kB / 496.7 MB, free: 21.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.2691, allocations: 11.91 kB / 496.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2691, allocations: 0 / 496.7 MB, free: 21.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.2694, allocations: 53.61 kB / 496.8 MB, free: 21.81 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.2694, allocations: 9.812 kB / 496.8 MB, free: 21.8 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.000173/0.2696, allocations: 227.4 kB / 497 MB, free: 21.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.344e-05/0.2696, allocations: 20.91 kB / 497 MB, free: 21.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.44e-05/0.2696, allocations: 18.42 kB / 497 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.2696, allocations: 1.281 kB / 497 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2696, allocations: 4 kB / 497 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.2696, allocations: 1.469 kB / 497 MB, free: 21.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.2698, allocations: 263.2 kB / 497.3 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2698, allocations: 1.375 kB / 497.3 MB, free: 21.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.2698, allocations: 6.406 kB / 497.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2698, allocations: 0 / 497.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.45e-05/0.2698, allocations: 15.45 kB / 497.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2698, allocations: 0 / 497.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2698, allocations: 1.375 kB / 497.3 MB, free: 21.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000605/0.2704, allocations: 395.6 kB / 497.7 MB, free: 21.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.517e-05/0.2705, allocations: 118.8 kB / 497.8 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.38e-05/0.2706, allocations: 14.12 kB / 497.8 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.2708, allocations: 48.91 kB / 497.9 MB, free: 20.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.2709, allocations: 23.02 kB / 497.9 MB, free: 20.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.831e-05/0.2709, allocations: 15.17 kB / 497.9 MB, free: 20.85 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.994e-05/0.271, allocations: 153 kB / 498.1 MB, free: 20.74 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.271, allocations: 0 / 498.1 MB, free: 20.74 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002849/0.2713, allocations: 70.27 kB / 498.1 MB, free: 20.73 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.0001574/0.2715, allocations: 151.8 kB / 498.3 MB, free: 20.61 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004404/0.2719, allocations: 296.9 kB / 498.6 MB, free: 20.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.2719, allocations: 0 / 498.6 MB, free: 20.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002701/0.2722, allocations: 219.9 kB / 498.8 MB, free: 20.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.2724, allocations: 18.47 kB / 498.8 MB, free: 20.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005529/0.273, allocations: 344.5 kB / 499.2 MB, free: 19.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/0.2731, allocations: 0.7187 MB / 499.9 MB, free: 19.25 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.2731, allocations: 17.97 kB / 499.9 MB, free: 19.24 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2731, allocations: 0 / 499.9 MB, free: 19.24 MB / 366.1 MB Notification: Performance of Templates: time 0.003933/0.2771, allocations: 2.4 MB / 0.4905 GB, free: 18.01 MB / 366.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: 6.829306122846901] Failed to read output from testmodel.py, exit status != 0: 0.2839176820125431 0.293203468 0.026907953000000002 Calling exit ...