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.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.0011/0.0011, allocations: 87.34 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.001304/0.001304, allocations: 173 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 0.9646/0.9646, allocations: 177.1 MB / 204.2 MB, free: 5.633 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.02618/0.02618, allocations: 4.484 MB / 265.2 MB, free: 8.566 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.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 1.954e-06/1.954e-06, allocations: 0 / 336.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.079e-05/2.274e-05, allocations: 2.312 kB / 336.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002331/0.002354, allocations: 1.688 MB / 338.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009971/0.003351, allocations: 0.6349 MB / 338.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.846e-05/0.003429, allocations: 0 / 338.8 MB, free: 10.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001569/0.003586, allocations: 27.84 kB / 338.8 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002018/0.003788, allocations: 39.77 kB / 338.8 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.00424, allocations: 111.7 kB / 338.9 MB, free: 10.8 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002652/0.004505, allocations: 179.5 kB / 339.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.004608, allocations: 11.38 kB / 339.1 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.004764, allocations: 103.7 kB / 339.2 MB, free: 10.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.004915, allocations: 75.83 kB / 339.3 MB, free: 10.44 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.004943, allocations: 12 kB / 339.3 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.005067, allocations: 79.94 kB / 339.4 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.005131, allocations: 31.84 kB / 339.4 MB, free: 10.32 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.558e-05/0.005187, allocations: 51.83 kB / 339.5 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.0054, allocations: 191.5 kB / 339.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.005403, allocations: 0 / 339.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.183e-06/0.005404, allocations: 0 / 339.7 MB, free: 10.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.005409, allocations: 0 / 339.7 MB, free: 10.08 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.0004737/0.005883, allocations: 0.5266 MB / 340.2 MB, free: 9.504 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.005917, allocations: 8.031 kB / 340.2 MB, free: 9.496 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.657e-05/0.005984, allocations: 32.84 kB / 340.2 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.006157, allocations: 172.8 kB / 340.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.006173, allocations: 384 / 340.4 MB, free: 9.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.006188, allocations: 8.375 kB / 340.4 MB, free: 9.262 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.006383, allocations: 236 kB / 340.6 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.006392, allocations: 192 / 340.6 MB, free: 9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.006405, allocations: 7.938 kB / 340.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.006412, allocations: 0 / 340.6 MB, free: 8.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.705e-05/0.006479, allocations: 95.38 kB / 340.7 MB, free: 8.887 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000333/0.006812, allocations: 355.6 kB / 341.1 MB, free: 8.504 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.976e-05/0.006902, allocations: 118.4 kB / 341.2 MB, free: 8.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.078e-05/0.006973, allocations: 107.1 kB / 341.3 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.006979, allocations: 3.938 kB / 341.3 MB, free: 8.238 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.00717, allocations: 428.1 kB / 341.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.232e-06/0.007172, allocations: 0 / 341.7 MB, free: 7.75 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003535/0.007525, allocations: 434 kB / 342.1 MB, free: 7.285 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.007574, allocations: 221.6 kB / 342.4 MB, free: 7.02 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.969e-05/0.007674, allocations: 229.9 kB / 342.6 MB, free: 6.777 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.007687, allocations: 37.7 kB / 342.6 MB, free: 6.734 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.822e-05/0.007725, allocations: 150.9 kB / 342.8 MB, free: 6.582 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.007755, allocations: 43.83 kB / 342.8 MB, free: 6.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-05/0.007798, allocations: 43.36 kB / 342.9 MB, free: 6.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.487e-05/0.007853, allocations: 0.5001 MB / 343.4 MB, free: 5.977 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.00791, allocations: 95.38 kB / 343.5 MB, free: 5.871 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.726e-05/0.007977, allocations: 154.8 kB / 343.6 MB, free: 5.695 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001406/0.008117, allocations: 292.8 kB / 343.9 MB, free: 5.371 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.008119, allocations: 0 / 343.9 MB, free: 5.371 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0001766/0.008295, allocations: 308.1 kB / 344.2 MB, free: 5.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/0.008323, allocations: 75.38 kB / 344.3 MB, free: 4.953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.008326, allocations: 4.031 kB / 344.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.008338, allocations: 0 / 344.3 MB, free: 4.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.89e-05/0.008397, allocations: 12 kB / 344.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.488e-06/0.008402, allocations: 0 / 344.3 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.767e-05/0.008499, allocations: 31.92 kB / 344.3 MB, free: 4.906 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.008512, allocations: 12 kB / 344.3 MB, free: 4.895 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.0001286/0.00864, allocations: 261.4 kB / 344.6 MB, free: 4.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.106e-05/0.008671, allocations: 35.84 kB / 344.6 MB, free: 4.582 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.008689, allocations: 9.812 kB / 344.6 MB, free: 4.574 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.00869, allocations: 4 kB / 344.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.008693, allocations: 0 / 344.6 MB, free: 4.57 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.008696, allocations: 4 kB / 344.6 MB, free: 4.566 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.809e-05/0.008784, allocations: 184.5 kB / 344.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.008785, allocations: 0 / 344.8 MB, free: 4.352 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.125e-05/0.008796, allocations: 4 kB / 344.8 MB, free: 4.348 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.008798, allocations: 7.938 kB / 344.8 MB, free: 4.34 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.008812, allocations: 15.92 kB / 344.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.008813, allocations: 0 / 344.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008814, allocations: 0 / 344.8 MB, free: 4.324 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002697/0.009084, allocations: 430 kB / 345.3 MB, free: 3.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.009138, allocations: 47.73 kB / 345.3 MB, free: 3.812 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.009172, allocations: 16 kB / 345.3 MB, free: 3.797 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.245e-05/0.009255, allocations: 27.97 kB / 345.3 MB, free: 3.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.009312, allocations: 15.98 kB / 345.4 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.009329, allocations: 19.98 kB / 345.4 MB, free: 3.734 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.369e-05/0.009383, allocations: 172.1 kB / 345.6 MB, free: 3.566 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009383, allocations: 0 / 345.6 MB, free: 3.566 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001656/0.009548, allocations: 67.94 kB / 345.6 MB, free: 3.5 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.0001269/0.009675, allocations: 131.2 kB / 345.7 MB, free: 3.359 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002562/0.009931, allocations: 393.2 kB / 346.1 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009933, allocations: 0 / 346.1 MB, free: 2.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.01004, allocations: 273.8 kB / 346.4 MB, free: 2.613 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001587/0.0102, allocations: 39.88 kB / 346.4 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005253/0.01073, allocations: 366.1 kB / 346.8 MB, free: 2.168 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.735e-05/0.01075, allocations: 71.52 kB / 346.9 MB, free: 2.078 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.934e-05/0.01078, allocations: 8.484 kB / 346.9 MB, free: 2.07 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/0.01081, allocations: 16.5 kB / 346.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01081, allocations: 0 / 346.9 MB, free: 2.055 MB / 266.7 MB Notification: Performance of Templates: time 0.004738/0.01555, allocations: 3.645 MB / 350.5 MB, free: 14.44 MB / 282.7 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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.7548096058890224]