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.000949/0.000949, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001396/0.002345, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.001095/0.001095, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001493/0.002588, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 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.8919/0.8919, allocations: 177.2 MB / 189.7 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07457/0.9665, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.02394/0.02394, allocations: 4.472 MB / 248.6 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003131/0.02707, allocations: 2.085 MB / 250.7 MB, free: 8.199 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 7.01e-07/7.01e-07, allocations: 0 / 252 MB, free: 6.953 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.594e-06/8.295e-06, allocations: 6.312 kB / 252 MB, free: 6.945 MB / 250.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.001643/0.001651, allocations: 1.741 MB / 253.7 MB, free: 5.195 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006554/0.002307, allocations: 0.6272 MB / 254.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.564e-05/0.002342, allocations: 0 / 254.3 MB, free: 4.566 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.109e-05/0.002393, allocations: 23.84 kB / 254.3 MB, free: 4.543 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.129e-05/0.002465, allocations: 51.7 kB / 254.4 MB, free: 4.492 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.002691, allocations: 99.67 kB / 254.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001406/0.002832, allocations: 179.5 kB / 254.7 MB, free: 4.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.571e-05/0.002867, allocations: 17.91 kB / 254.7 MB, free: 4.203 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.002978, allocations: 123.8 kB / 254.8 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.648e-05/0.003064, allocations: 63.84 kB / 254.9 MB, free: 4.02 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.003084, allocations: 12 kB / 254.9 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.003191, allocations: 99.92 kB / 255 MB, free: 3.91 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.261e-05/0.003224, allocations: 19.92 kB / 255 MB, free: 3.891 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.088e-05/0.003265, allocations: 39.81 kB / 255 MB, free: 3.852 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.003416, allocations: 155.6 kB / 255.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.003422, allocations: 0 / 255.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.1e-07/0.003422, allocations: 0 / 255.2 MB, free: 3.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.003427, allocations: 0 / 255.2 MB, free: 3.699 MB / 250.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.0004136/0.003841, allocations: 439.1 kB / 255.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 1.812e-05/0.003859, allocations: 8.031 kB / 255.6 MB, free: 3.227 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.174e-05/0.003891, allocations: 20.92 kB / 255.6 MB, free: 3.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.004014, allocations: 161.5 kB / 255.8 MB, free: 3.023 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.004024, allocations: 8.359 kB / 255.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.004037, allocations: 4.375 kB / 255.8 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001524/0.004189, allocations: 236.4 kB / 256 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.407e-06/0.004193, allocations: 192 / 256 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.739e-06/0.004202, allocations: 7.938 kB / 256.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-06/0.004204, allocations: 0 / 256.1 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.788e-05/0.004262, allocations: 91.39 kB / 256.1 MB, free: 2.637 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.004456, allocations: 207 kB / 256.3 MB, free: 2.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.621e-05/0.004533, allocations: 157.9 kB / 256.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.05e-05/0.004593, allocations: 100.3 kB / 256.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.226e-06/0.004596, allocations: 0 / 256.6 MB, free: 2.129 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.004798, allocations: 429.1 kB / 257 MB, free: 1.641 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 6.81e-07/0.004799, allocations: 0 / 257 MB, free: 1.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003534/0.005152, allocations: 390.6 kB / 257.4 MB, free: 1.219 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.005236, allocations: 293 kB / 257.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.898e-05/0.005315, allocations: 166.5 kB / 257.9 MB, free: 0.6953 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.005332, allocations: 41.64 kB / 257.9 MB, free: 0.6484 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.711e-05/0.005359, allocations: 92.11 kB / 258 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.005389, allocations: 47.75 kB / 258 MB, free: 0.5078 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.77e-05/0.005427, allocations: 37.69 kB / 258.1 MB, free: 476 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.302e-05/0.00549, allocations: 326.8 kB / 258.4 MB, free: 140 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.258e-05/0.005542, allocations: 102.1 kB / 258.5 MB, free: 24 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.42e-05/0.005616, allocations: 142 kB / 258.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.005764, allocations: 301.8 kB / 258.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.005765, allocations: 0 / 258.9 MB, free: 15.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000137/0.005902, allocations: 254.5 kB / 259.2 MB, free: 15.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.973e-05/0.005941, allocations: 75.31 kB / 259.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-06/0.005944, allocations: 4.031 kB / 259.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.253e-06/0.005951, allocations: 8.031 kB / 259.3 MB, free: 15.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.795e-05/0.005989, allocations: 15.94 kB / 259.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-06/0.00599, allocations: 0 / 259.3 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.378e-05/0.006084, allocations: 31.92 kB / 259.3 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.006093, allocations: 8 kB / 259.3 MB, free: 15.1 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.0001269/0.00622, allocations: 211.2 kB / 259.5 MB, free: 14.86 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.107e-05/0.006251, allocations: 31.92 kB / 259.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.516e-05/0.006266, allocations: 17.8 kB / 259.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.31e-07/0.006267, allocations: 3.938 kB / 259.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.006268, allocations: 3.938 kB / 259.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-06/0.00627, allocations: 0 / 259.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.744e-05/0.006347, allocations: 105.8 kB / 259.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.006348, allocations: 0 / 259.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.916e-06/0.006357, allocations: 4 kB / 259.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.865e-05/0.006406, allocations: 35.88 kB / 259.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.006407, allocations: 0 / 259.7 MB, free: 14.65 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.00642, allocations: 11.94 kB / 259.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006421, allocations: 0 / 259.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.006421, allocations: 0 / 259.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.006633, allocations: 361.3 kB / 260.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.051e-05/0.006663, allocations: 12 kB / 260.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.998e-05/0.006743, allocations: 31.91 kB / 260.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.123e-05/0.006785, allocations: 23.97 kB / 260.1 MB, free: 14.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.0068, allocations: 15.98 kB / 260.2 MB, free: 14.16 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.342e-05/0.006834, allocations: 45.75 kB / 260.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006834, allocations: 0 / 260.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001456/0.006979, allocations: 67.94 kB / 260.3 MB, free: 14.04 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.0001087/0.007088, allocations: 128.9 kB / 260.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004714/0.007559, allocations: 382.3 kB / 260.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/0.007564, allocations: 4 kB / 260.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.007698, allocations: 273.6 kB / 261 MB, free: 13.17 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.007811, allocations: 85.84 kB / 261.1 MB, free: 13.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000782/0.008593, allocations: 366.2 kB / 261.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.146e-05/0.008625, allocations: 75.31 kB / 261.6 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.504e-05/0.00865, allocations: 12.48 kB / 261.6 MB, free: 12.58 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001429/0.008793, allocations: 119.3 kB / 261.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of SimCode: time 4.01e-07/0.008793, allocations: 0 / 261.7 MB, free: 12.46 MB / 266.7 MB Notification: Performance of Templates: time 0.004237/0.01303, allocations: 3.693 MB / 265.4 MB, free: 8.809 MB / 266.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.2297780634835362]