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.001101/0.001101, allocations: 84.22 kB / 20.98 MB, free: 3.566 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.001154/0.001154, allocations: 165 kB / 24.29 MB, free: 268 kB / 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 0.9684/0.9684, allocations: 177.1 MB / 204.6 MB, free: 5.648 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.05135/0.05135, allocations: 4.492 MB / 265.6 MB, free: 8.641 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.973e-06/1.973e-06, allocations: 0 / 336.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.875e-05, allocations: 2.312 kB / 336.4 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.00228/0.002299, allocations: 1.71 MB / 338.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009644/0.003263, allocations: 0.6194 MB / 338.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.336e-05/0.003337, allocations: 0 / 338.8 MB, free: 11.3 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00021/0.003547, allocations: 123.7 kB / 338.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002256/0.003772, allocations: 147.4 kB / 339 MB, free: 11.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003593/0.004132, allocations: 115.7 kB / 339.1 MB, free: 10.92 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000222/0.004354, allocations: 219.5 kB / 339.4 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.926e-05/0.004443, allocations: 15.33 kB / 339.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.004606, allocations: 139.7 kB / 339.5 MB, free: 10.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002293/0.004835, allocations: 199.7 kB / 339.7 MB, free: 10.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.004867, allocations: 12 kB / 339.7 MB, free: 10.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001286/0.004995, allocations: 87.91 kB / 339.8 MB, free: 10.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.591e-05/0.005091, allocations: 99.69 kB / 339.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.434e-05/0.005186, allocations: 79.72 kB / 340 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003168/0.005503, allocations: 299 kB / 340.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.103e-06/0.005505, allocations: 0 / 340.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005505, allocations: 0 / 340.3 MB, free: 9.789 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.47e-06/0.005511, allocations: 4 kB / 340.3 MB, free: 9.785 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.0007475/0.006258, allocations: 0.7514 MB / 341 MB, free: 8.984 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.006295, allocations: 8.031 kB / 341 MB, free: 8.977 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.291e-05/0.006388, allocations: 52.66 kB / 341.1 MB, free: 8.926 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.006717, allocations: 270.7 kB / 341.3 MB, free: 8.633 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.006741, allocations: 16.31 kB / 341.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.006765, allocations: 8.375 kB / 341.4 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002748/0.00704, allocations: 229.7 kB / 341.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.007048, allocations: 192 / 341.6 MB, free: 8.352 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.836e-05/0.007066, allocations: 7.938 kB / 341.6 MB, free: 8.344 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.687e-06/0.007075, allocations: 4 kB / 341.6 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.007188, allocations: 95.38 kB / 341.7 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000566/0.007754, allocations: 467.6 kB / 342.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001264/0.007881, allocations: 114.4 kB / 342.3 MB, free: 7.605 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.007984, allocations: 107.1 kB / 342.4 MB, free: 7.484 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.704e-06/0.007991, allocations: 3.938 kB / 342.4 MB, free: 7.48 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002736/0.008265, allocations: 420.2 kB / 342.8 MB, free: 7 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.008266, allocations: 4 kB / 342.8 MB, free: 6.996 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005714/0.008838, allocations: 461.9 kB / 343.2 MB, free: 6.504 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/0.008893, allocations: 221.6 kB / 343.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004607/0.009354, allocations: 0.5104 MB / 344 MB, free: 5.715 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.009373, allocations: 29.7 kB / 344 MB, free: 5.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000138/0.009511, allocations: 258.8 kB / 344.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.009554, allocations: 47.77 kB / 344.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.009616, allocations: 43.36 kB / 344.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.25e-05/0.009709, allocations: 0.5469 MB / 344.9 MB, free: 4.766 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.555e-05/0.009794, allocations: 95.38 kB / 345 MB, free: 4.66 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.88e-05/0.009893, allocations: 150.9 kB / 345.1 MB, free: 4.488 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.01011, allocations: 300.8 kB / 345.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.01012, allocations: 0 / 345.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003212/0.01044, allocations: 332 kB / 345.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.7e-05/0.01047, allocations: 71.39 kB / 345.8 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01048, allocations: 0 / 345.8 MB, free: 3.719 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.01049, allocations: 3.984 kB / 345.8 MB, free: 3.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.591e-05/0.01057, allocations: 12 kB / 345.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.229e-06/0.01058, allocations: 0 / 345.8 MB, free: 3.703 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.01076, allocations: 39.89 kB / 345.9 MB, free: 3.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.01078, allocations: 4 kB / 345.9 MB, free: 3.66 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.0001741/0.01095, allocations: 253.7 kB / 346.1 MB, free: 3.391 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.431e-05/0.01103, allocations: 67.66 kB / 346.2 MB, free: 3.324 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.01107, allocations: 35.84 kB / 346.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01107, allocations: 0 / 346.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01107, allocations: 0 / 346.2 MB, free: 3.285 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.01107, allocations: 4 kB / 346.2 MB, free: 3.281 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.0113, allocations: 296.4 kB / 346.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.0113, allocations: 0 / 346.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.835e-05/0.01133, allocations: 4 kB / 346.5 MB, free: 2.953 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01133, allocations: 3.938 kB / 346.5 MB, free: 2.949 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.522e-05/0.01136, allocations: 19.97 kB / 346.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.01136, allocations: 0 / 346.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.01136, allocations: 3.938 kB / 346.5 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004719/0.01183, allocations: 445.9 kB / 347 MB, free: 2.445 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001382/0.01197, allocations: 75.61 kB / 347.1 MB, free: 2.371 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.601e-05/0.01204, allocations: 16 kB / 347.1 MB, free: 2.355 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.01221, allocations: 31.97 kB / 347.1 MB, free: 2.324 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.0123, allocations: 23.97 kB / 347.1 MB, free: 2.301 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.01233, allocations: 11.98 kB / 347.1 MB, free: 2.289 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002753/0.0126, allocations: 323 kB / 347.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.0126, allocations: 0 / 347.5 MB, free: 1.977 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.0129, allocations: 83.92 kB / 347.5 MB, free: 1.895 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.0001746/0.01307, allocations: 139.2 kB / 347.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003661/0.01344, allocations: 393.1 kB / 348.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.01344, allocations: 0 / 348.1 MB, free: 1.309 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/0.01363, allocations: 265.8 kB / 348.3 MB, free: 1.008 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.01392, allocations: 46.09 kB / 348.4 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009856/0.01491, allocations: 0.6638 MB / 349 MB, free: 264 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.691e-05/0.01497, allocations: 112.2 kB / 349.1 MB, free: 132 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.666e-05/0.01504, allocations: 29.94 kB / 349.2 MB, free: 100 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.01509, allocations: 24.44 kB / 349.2 MB, free: 72 kB / 266.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01509, allocations: 0 / 349.2 MB, free: 72 kB / 266.7 MB Notification: Performance of Templates: time 0.01115/0.02624, allocations: 4.466 MB / 353.7 MB, free: 11.64 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.9111347708385438]