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.0009063/0.0009063, allocations: 82.64 kB / 21.48 MB, free: 3.02 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.001006/0.001006, allocations: 167.9 kB / 24.88 MB, free: 8.887 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 0.9489/0.9489, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.02211/0.02211, allocations: 4.488 MB / 266.4 MB, free: 8.41 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.283e-06/1.283e-06, allocations: 0 / 337.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.057e-06/1.034e-05, allocations: 2.312 kB / 337.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.00165/0.001661, allocations: 1.698 MB / 339.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.002631, allocations: 0.6233 MB / 340 MB, free: 10.7 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.452e-05/0.002706, allocations: 3.938 kB / 340 MB, free: 10.69 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.002891, allocations: 115.8 kB / 340.1 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001954/0.003086, allocations: 147.4 kB / 340.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003158/0.003402, allocations: 107.7 kB / 340.4 MB, free: 10.33 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002086/0.00361, allocations: 231.4 kB / 340.6 MB, free: 10.1 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.288e-05/0.003683, allocations: 19.33 kB / 340.6 MB, free: 10.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001416/0.003825, allocations: 135.7 kB / 340.8 MB, free: 9.949 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001946/0.00402, allocations: 203.7 kB / 340.9 MB, free: 9.75 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.709e-05/0.004047, allocations: 12 kB / 341 MB, free: 9.738 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001196/0.004166, allocations: 79.88 kB / 341 MB, free: 9.66 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.932e-05/0.004256, allocations: 111.6 kB / 341.1 MB, free: 9.551 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.58e-05/0.004331, allocations: 79.7 kB / 341.2 MB, free: 9.473 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002545/0.004586, allocations: 291.1 kB / 341.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.004588, allocations: 0 / 341.5 MB, free: 9.188 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.004588, allocations: 3.938 kB / 341.5 MB, free: 9.184 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.004593, allocations: 0 / 341.5 MB, free: 9.184 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.0006207/0.005213, allocations: 0.7436 MB / 342.3 MB, free: 8.391 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.005248, allocations: 8.031 kB / 342.3 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.005317, allocations: 48.66 kB / 342.3 MB, free: 8.336 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002351/0.005552, allocations: 266.7 kB / 342.6 MB, free: 8.047 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.005569, allocations: 4.375 kB / 342.6 MB, free: 8.043 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.69e-05/0.005586, allocations: 8.375 kB / 342.6 MB, free: 8.035 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.005781, allocations: 225.7 kB / 342.8 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/0.00579, allocations: 192 / 342.8 MB, free: 7.781 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.005805, allocations: 11.92 kB / 342.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.005811, allocations: 0 / 342.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.83e-05/0.005879, allocations: 95.31 kB / 342.9 MB, free: 7.664 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003897/0.006269, allocations: 380.2 kB / 343.3 MB, free: 7.266 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.006352, allocations: 114.4 kB / 343.4 MB, free: 7.129 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.13e-05/0.006413, allocations: 103.1 kB / 343.5 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.501e-06/0.006419, allocations: 0 / 343.5 MB, free: 7.012 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001971/0.006616, allocations: 414.8 kB / 343.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.006617, allocations: 0 / 343.9 MB, free: 6.539 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003868/0.007004, allocations: 443.5 kB / 344.3 MB, free: 6.062 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.007057, allocations: 221.6 kB / 344.5 MB, free: 5.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000301/0.007358, allocations: 0.4946 MB / 345 MB, free: 5.289 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.007372, allocations: 25.7 kB / 345.1 MB, free: 5.258 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001079/0.00748, allocations: 262.8 kB / 345.3 MB, free: 4.996 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.551e-05/0.007515, allocations: 39.81 kB / 345.4 MB, free: 4.957 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.00757, allocations: 47.34 kB / 345.4 MB, free: 4.902 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.007654, allocations: 0.5508 MB / 346 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.007703, allocations: 87.39 kB / 346 MB, free: 4.242 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.735e-05/0.007771, allocations: 148.4 kB / 346.2 MB, free: 4.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.007921, allocations: 281.7 kB / 346.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.007923, allocations: 0 / 346.5 MB, free: 3.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002384/0.008161, allocations: 324 kB / 346.8 MB, free: 3.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.17e-05/0.008193, allocations: 70.36 kB / 346.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.008196, allocations: 0 / 346.9 MB, free: 3.332 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.008207, allocations: 4 kB / 346.9 MB, free: 3.328 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.008264, allocations: 19.95 kB / 346.9 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.008267, allocations: 4 kB / 346.9 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.008404, allocations: 35.86 kB / 346.9 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.008417, allocations: 7.938 kB / 346.9 MB, free: 3.262 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.0001544/0.008572, allocations: 257.1 kB / 347.2 MB, free: 2.988 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.008632, allocations: 71.59 kB / 347.2 MB, free: 2.918 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.616e-05/0.008668, allocations: 35.84 kB / 347.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.00867, allocations: 0 / 347.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.008671, allocations: 0 / 347.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.008674, allocations: 0 / 347.3 MB, free: 2.879 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.008835, allocations: 217.1 kB / 347.5 MB, free: 2.641 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.008837, allocations: 4 kB / 347.5 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.348e-05/0.00885, allocations: 0 / 347.5 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.008852, allocations: 0 / 347.5 MB, free: 2.637 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.008869, allocations: 15.98 kB / 347.5 MB, free: 2.621 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.008871, allocations: 3.938 kB / 347.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.008872, allocations: 4 kB / 347.5 MB, free: 2.613 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/0.009206, allocations: 433.7 kB / 347.9 MB, free: 2.145 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.449e-05/0.0093, allocations: 63.77 kB / 348 MB, free: 2.082 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.031e-05/0.00935, allocations: 19.98 kB / 348 MB, free: 2.062 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.009472, allocations: 31.91 kB / 348.1 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.003e-05/0.009532, allocations: 19.97 kB / 348.1 MB, free: 2.012 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/0.009554, allocations: 15.94 kB / 348.1 MB, free: 1.996 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001708/0.009725, allocations: 307 kB / 348.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009725, allocations: 0 / 348.4 MB, free: 1.699 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002577/0.009982, allocations: 79.94 kB / 348.5 MB, free: 1.621 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.0001386/0.01012, allocations: 139.8 kB / 348.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002405/0.01036, allocations: 369.2 kB / 349 MB, free: 1.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.01036, allocations: 7.938 kB / 349 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000128/0.01049, allocations: 265.8 kB / 349.2 MB, free: 0.75 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.01072, allocations: 41.95 kB / 349.3 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007418/0.01146, allocations: 0.6483 MB / 349.9 MB, free: 20 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.66e-05/0.01156, allocations: 112.2 kB / 350 MB, free: 15.89 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.841e-05/0.01161, allocations: 25.94 kB / 350.1 MB, free: 15.86 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.01182, allocations: 146.2 kB / 350.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01182, allocations: 0 / 350.2 MB, free: 15.72 MB / 282.7 MB Notification: Performance of Templates: time 0.007768/0.01959, allocations: 4.839 MB / 355 MB, free: 10.92 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.726375987753272]