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.002497/0.002497, allocations: 83.69 kB / 20.25 MB, free: 4.172 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.002519/0.002519, allocations: 169.6 kB / 23.57 MB, free: 0.8555 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.556/1.556, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 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.03983/0.03983, allocations: 4.481 MB / 264.8 MB, free: 8.57 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.693e-06/1.693e-06, allocations: 0 / 335.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.941e-05/3.11e-05, allocations: 6.312 kB / 335.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003128/0.003159, allocations: 1.665 MB / 337.4 MB, free: 11.96 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.004491, allocations: 0.6233 MB / 338 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.743e-05/0.004578, allocations: 0 / 338 MB, free: 11.34 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000255/0.004833, allocations: 119.6 kB / 338.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002898/0.005123, allocations: 139.5 kB / 338.2 MB, free: 11.08 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004733/0.005597, allocations: 119.7 kB / 338.4 MB, free: 10.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.005911, allocations: 223.5 kB / 338.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.51e-05/0.006006, allocations: 7.094 kB / 338.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.006206, allocations: 151.6 kB / 338.7 MB, free: 10.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002917/0.006498, allocations: 195.7 kB / 338.9 MB, free: 10.4 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.006547, allocations: 12 kB / 338.9 MB, free: 10.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001869/0.006734, allocations: 83.91 kB / 339 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.006854, allocations: 103.7 kB / 339.1 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.006985, allocations: 71.72 kB / 339.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004614/0.007447, allocations: 355 kB / 339.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.007451, allocations: 0 / 339.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.007452, allocations: 0 / 339.5 MB, free: 9.785 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.007459, allocations: 3.938 kB / 339.5 MB, free: 9.781 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.001061/0.00852, allocations: 0.755 MB / 340.3 MB, free: 8.977 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.008569, allocations: 8.031 kB / 340.3 MB, free: 8.969 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.008697, allocations: 48.66 kB / 340.4 MB, free: 8.922 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004753/0.009172, allocations: 282.7 kB / 340.6 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.009194, allocations: 4.375 kB / 340.6 MB, free: 8.613 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.081e-05/0.009225, allocations: 12.38 kB / 340.6 MB, free: 8.602 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004171/0.009642, allocations: 245 kB / 340.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.009653, allocations: 192 / 340.9 MB, free: 8.332 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.009677, allocations: 3.938 kB / 340.9 MB, free: 8.328 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.009682, allocations: 7.938 kB / 340.9 MB, free: 8.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002639/0.009946, allocations: 119.4 kB / 341 MB, free: 8.191 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008537/0.0108, allocations: 495.6 kB / 341.5 MB, free: 7.672 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.01108, allocations: 150.4 kB / 341.6 MB, free: 7.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.01132, allocations: 139.1 kB / 341.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/0.01134, allocations: 11.94 kB / 341.8 MB, free: 7.336 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004842/0.01182, allocations: 444.2 kB / 342.2 MB, free: 6.832 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.01183, allocations: 0 / 342.2 MB, free: 6.832 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.001056/0.01288, allocations: 0.5141 MB / 342.7 MB, free: 6.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.259e-05/0.01294, allocations: 225.6 kB / 343 MB, free: 6.008 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006651/0.01361, allocations: 0.5455 MB / 343.5 MB, free: 5.449 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.01363, allocations: 29.64 kB / 343.5 MB, free: 5.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001762/0.01381, allocations: 270.8 kB / 343.8 MB, free: 5.145 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.302e-05/0.01386, allocations: 47.81 kB / 343.8 MB, free: 5.098 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-05/0.01395, allocations: 47.36 kB / 343.9 MB, free: 5.043 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.01411, allocations: 0.5587 MB / 344.5 MB, free: 4.473 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001421/0.01425, allocations: 111.4 kB / 344.6 MB, free: 4.352 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.01442, allocations: 164.5 kB / 344.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.01478, allocations: 341.6 kB / 345.1 MB, free: 3.793 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01478, allocations: 0 / 345.1 MB, free: 3.793 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005043/0.01529, allocations: 363.9 kB / 345.4 MB, free: 3.406 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.426e-05/0.01534, allocations: 75.38 kB / 345.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.01535, allocations: 0 / 345.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.319e-05/0.01537, allocations: 0 / 345.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001006/0.01547, allocations: 16 kB / 345.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.01548, allocations: 32 / 345.5 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002943/0.01577, allocations: 33.53 kB / 345.5 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.598e-05/0.0158, allocations: 8 kB / 345.5 MB, free: 3.266 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.0002585/0.01606, allocations: 275.7 kB / 345.8 MB, free: 2.977 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.01616, allocations: 63.66 kB / 345.9 MB, free: 2.914 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.062e-05/0.01622, allocations: 35.86 kB / 345.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01622, allocations: 0 / 345.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01623, allocations: 0 / 345.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01623, allocations: 0 / 345.9 MB, free: 2.875 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.01655, allocations: 308.5 kB / 346.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01655, allocations: 0 / 346.2 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.827e-05/0.01658, allocations: 4 kB / 346.2 MB, free: 2.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01658, allocations: 7.922 kB / 346.2 MB, free: 2.527 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.01662, allocations: 12 kB / 346.2 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.01662, allocations: 7.938 kB / 346.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01662, allocations: 0 / 346.2 MB, free: 2.508 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008364/0.01746, allocations: 0.4988 MB / 346.7 MB, free: 1.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.01769, allocations: 79.59 kB / 346.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.01778, allocations: 8 kB / 346.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.01807, allocations: 35.97 kB / 346.9 MB, free: 1.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.01819, allocations: 19.97 kB / 346.9 MB, free: 1.82 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-05/0.01823, allocations: 12 kB / 346.9 MB, free: 1.809 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0004216/0.01865, allocations: 343 kB / 347.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01865, allocations: 0 / 347.2 MB, free: 1.477 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004774/0.01912, allocations: 75.94 kB / 347.3 MB, free: 1.402 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.0002168/0.01934, allocations: 139.2 kB / 347.4 MB, free: 1.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006094/0.01995, allocations: 471.9 kB / 347.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.01995, allocations: 0 / 347.9 MB, free: 0.7422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003985/0.02035, allocations: 337.8 kB / 348.2 MB, free: 380 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.02077, allocations: 45.94 kB / 348.3 MB, free: 336 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.02211, allocations: 0.6679 MB / 348.9 MB, free: 15.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.0224, allocations: 188.4 kB / 349.1 MB, free: 15.41 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001034/0.02251, allocations: 29.94 kB / 349.2 MB, free: 15.38 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.559e-05/0.02258, allocations: 24.5 kB / 349.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.02258, allocations: 0 / 349.2 MB, free: 15.36 MB / 282.7 MB Notification: Performance of Templates: time 0.01477/0.03735, allocations: 4.433 MB / 353.6 MB, free: 10.96 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: 4.66921523201745]