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.00144/0.00144, allocations: 79.36 kB / 20.47 MB, free: 4.105 MB / 18.57 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.001497/0.001497, allocations: 169 kB / 23.84 MB, free: 0.7344 MB / 18.57 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.059/1.059, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.02613/0.02613, allocations: 4.487 MB / 265.2 MB, free: 8.547 MB / 250.7 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 1.503e-06/1.503e-06, allocations: 0 / 336.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.141e-05/2.291e-05, allocations: 2.312 kB / 336.4 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.00169/0.001713, allocations: 1.696 MB / 338.1 MB, free: 11.59 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007759/0.002489, allocations: 0.6271 MB / 338.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.84e-05/0.002557, allocations: 0 / 338.8 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.002709, allocations: 119.7 kB / 338.9 MB, free: 10.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001554/0.002864, allocations: 151.4 kB / 339 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.003161, allocations: 107.7 kB / 339.1 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000183/0.003344, allocations: 227.5 kB / 339.4 MB, free: 10.37 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.049e-05/0.003414, allocations: 15.33 kB / 339.4 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.003533, allocations: 147.7 kB / 339.5 MB, free: 10.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000163/0.003696, allocations: 195.7 kB / 339.7 MB, free: 10.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.003719, allocations: 12 kB / 339.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.00382, allocations: 87.86 kB / 339.8 MB, free: 9.922 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.801e-05/0.003898, allocations: 99.69 kB / 339.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.319e-05/0.003961, allocations: 79.7 kB / 340 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002209/0.004182, allocations: 299 kB / 340.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.004184, allocations: 0 / 340.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004184, allocations: 0 / 340.3 MB, free: 9.453 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.004189, allocations: 0 / 340.3 MB, free: 9.453 MB / 266.7 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.0005453/0.004734, allocations: 0.7514 MB / 341 MB, free: 8.652 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.004765, allocations: 8.031 kB / 341 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.073e-05/0.004826, allocations: 52.66 kB / 341.1 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.005032, allocations: 278.7 kB / 341.4 MB, free: 8.293 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.005047, allocations: 4.375 kB / 341.4 MB, free: 8.289 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.005063, allocations: 12.38 kB / 341.4 MB, free: 8.277 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.005247, allocations: 229.7 kB / 341.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.005253, allocations: 192 / 341.6 MB, free: 8.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.005266, allocations: 3.938 kB / 341.6 MB, free: 8.016 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.005271, allocations: 11.98 kB / 341.6 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.774e-05/0.005339, allocations: 95.38 kB / 341.7 MB, free: 7.898 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.005728, allocations: 467.6 kB / 342.2 MB, free: 7.406 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.242e-05/0.00581, allocations: 118.4 kB / 342.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.175e-05/0.005872, allocations: 103.1 kB / 342.4 MB, free: 7.148 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.005878, allocations: 3.938 kB / 342.4 MB, free: 7.145 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001784/0.006056, allocations: 420.1 kB / 342.8 MB, free: 6.664 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.302e-06/0.006058, allocations: 3.938 kB / 342.8 MB, free: 6.66 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003545/0.006412, allocations: 465.5 kB / 343.3 MB, free: 6.164 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.006455, allocations: 221.6 kB / 343.5 MB, free: 5.898 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002666/0.006721, allocations: 0.5104 MB / 344 MB, free: 5.375 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.006734, allocations: 29.7 kB / 344 MB, free: 5.34 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.941e-05/0.006813, allocations: 254.8 kB / 344.3 MB, free: 5.086 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.006844, allocations: 43.83 kB / 344.3 MB, free: 5.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.711e-05/0.006891, allocations: 43.36 kB / 344.3 MB, free: 4.992 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.451e-05/0.006956, allocations: 0.5469 MB / 344.9 MB, free: 4.434 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.237e-05/0.007008, allocations: 91.39 kB / 345 MB, free: 4.332 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.544e-05/0.007073, allocations: 159.7 kB / 345.1 MB, free: 4.152 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.007216, allocations: 297.8 kB / 345.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.007218, allocations: 0 / 345.4 MB, free: 3.82 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002019/0.00742, allocations: 334.2 kB / 345.7 MB, free: 3.465 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.00745, allocations: 74.36 kB / 345.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.007454, allocations: 0 / 345.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.007465, allocations: 0 / 345.8 MB, free: 3.383 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.376e-05/0.007529, allocations: 15.98 kB / 345.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.007533, allocations: 0 / 345.8 MB, free: 3.367 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.007643, allocations: 43.8 kB / 345.9 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.007655, allocations: 8 kB / 345.9 MB, free: 3.316 MB / 266.7 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.0001304/0.007785, allocations: 256.4 kB / 346.1 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.101e-05/0.007826, allocations: 63.66 kB / 346.2 MB, free: 2.984 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.007854, allocations: 35.84 kB / 346.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.007855, allocations: 0 / 346.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.007858, allocations: 0 / 346.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.00786, allocations: 0 / 346.2 MB, free: 2.945 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.007998, allocations: 292.5 kB / 346.5 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.008, allocations: 4 kB / 346.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.217e-05/0.008012, allocations: 4 kB / 346.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.008014, allocations: 3.938 kB / 346.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.008029, allocations: 15.98 kB / 346.5 MB, free: 2.598 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.008031, allocations: 3.938 kB / 346.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.008033, allocations: 0 / 346.6 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.008311, allocations: 445.8 kB / 347 MB, free: 2.113 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.906e-05/0.00839, allocations: 75.61 kB / 347.1 MB, free: 2.039 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.492e-05/0.008435, allocations: 16 kB / 347.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.063e-05/0.008525, allocations: 31.97 kB / 347.1 MB, free: 1.992 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.008583, allocations: 24.05 kB / 347.1 MB, free: 1.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.0086, allocations: 15.98 kB / 347.1 MB, free: 1.953 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001639/0.008764, allocations: 331 kB / 347.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.008764, allocations: 0 / 347.5 MB, free: 1.633 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001871/0.008951, allocations: 71.94 kB / 347.5 MB, free: 1.562 MB / 266.7 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.0001304/0.009082, allocations: 139.2 kB / 347.7 MB, free: 1.414 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002471/0.009329, allocations: 393.1 kB / 348.1 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.009331, allocations: 4 kB / 348.1 MB, free: 0.9727 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001242/0.009455, allocations: 273.8 kB / 348.3 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001971/0.009652, allocations: 45.91 kB / 348.4 MB, free: 0.625 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007841/0.01044, allocations: 0.6522 MB / 349 MB, free: 15.93 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.609e-05/0.01051, allocations: 116.2 kB / 349.1 MB, free: 15.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.382e-05/0.01057, allocations: 25.92 kB / 349.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.012e-05/0.01061, allocations: 24.5 kB / 349.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of SimCode: time 9.81e-07/0.01061, allocations: 0 / 349.2 MB, free: 15.74 MB / 282.7 MB Notification: Performance of Templates: time 0.006663/0.01727, allocations: 4.679 MB / 353.9 MB, free: 11.09 MB / 282.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.8303110632114112]