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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.001471, allocations: 105.8 kB / 17.13 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001751/0.001751, allocations: 190.1 kB / 18.06 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.048/0.048, allocations: 8.092 MB / 300 MB, free: 6.613 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 63.89 kB / 415.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08165/0.08286, allocations: 51.51 MB / 466.6 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002488/0.08539, allocations: 1.636 MB / 468.3 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009732/0.08637, allocations: 0.6157 MB / 468.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.52e-05/0.08644, allocations: 0 / 468.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.08658, allocations: 19.86 kB / 468.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001479/0.08674, allocations: 43.75 kB / 469 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003553/0.0871, allocations: 111.7 kB / 469.1 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002161/0.08733, allocations: 195.5 kB / 469.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.006e-05/0.08741, allocations: 17.11 kB / 469.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.08752, allocations: 79.69 kB / 469.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.08767, allocations: 75.78 kB / 469.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.193e-05/0.08771, allocations: 15.94 kB / 469.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.08786, allocations: 91.92 kB / 469.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.353e-05/0.08793, allocations: 23.91 kB / 469.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.849e-05/0.08802, allocations: 75.58 kB / 469.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.08827, allocations: 187.5 kB / 469.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.08829, allocations: 0 / 469.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.516e-06/0.08829, allocations: 4 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.0883, allocations: 0 / 469.8 MB, free: 14.98 MB / 350.1 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.0006579/0.08897, allocations: 0.4904 MB / 470.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.08902, allocations: 15.89 kB / 470.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.08908, allocations: 16.75 kB / 470.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002962/0.08939, allocations: 240 kB / 470.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.08941, allocations: 4.375 kB / 470.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.644e-05/0.08944, allocations: 8.312 kB / 470.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003166/0.08977, allocations: 133.5 kB / 470.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.08979, allocations: 3.984 kB / 470.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.08981, allocations: 4 kB / 470.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.08982, allocations: 0 / 470.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002037/0.09003, allocations: 67.95 kB / 470.8 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.09059, allocations: 384.5 kB / 471.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.09083, allocations: 122.5 kB / 471.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002105/0.09105, allocations: 108.9 kB / 471.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.677e-06/0.09107, allocations: 0 / 471.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003894/0.09146, allocations: 330.3 kB / 471.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.09148, allocations: 0 / 471.7 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007891/0.09227, allocations: 384.7 kB / 472.1 MB, free: 12.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.277e-05/0.09237, allocations: 221.6 kB / 472.3 MB, free: 12.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.09256, allocations: 203.5 kB / 472.5 MB, free: 12.01 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.09259, allocations: 33.7 kB / 472.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.559e-05/0.09265, allocations: 104.1 kB / 472.6 MB, free: 11.87 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.297e-05/0.09271, allocations: 47.58 kB / 472.7 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.09278, allocations: 37.7 kB / 472.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001065/0.09289, allocations: 330.8 kB / 473 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.827e-05/0.09298, allocations: 51.97 kB / 473.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.0931, allocations: 73.69 kB / 473.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.09359, allocations: 450.7 kB / 473.6 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.0936, allocations: 4 kB / 473.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000335/0.09394, allocations: 276.8 kB / 473.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.09401, allocations: 67.38 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.09402, allocations: 3.938 kB / 474 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.09403, allocations: 0 / 474 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.142e-05/0.0941, allocations: 12 kB / 474 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.09411, allocations: 4.078 kB / 474 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002606/0.09438, allocations: 47.86 kB / 474 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.09441, allocations: 11.97 kB / 474 MB, free: 10.38 MB / 350.1 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.0002188/0.09463, allocations: 224.6 kB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.299e-05/0.09468, allocations: 27.75 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.09472, allocations: 17.86 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.09473, allocations: 4 kB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.09473, allocations: 0 / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.09485, allocations: 120.9 kB / 474.4 MB, free: 9.949 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.512e-05/0.09491, allocations: 15.98 kB / 474.4 MB, free: 9.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.09518, allocations: 51.88 kB / 474.5 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.405e-05/0.09526, allocations: 19.98 kB / 474.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006669/0.09594, allocations: 0.5365 MB / 475 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006611/0.09661, allocations: 0.5369 MB / 475.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003203/0.09694, allocations: 279.9 kB / 475.8 MB, free: 8.445 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001146/0.09706, allocations: 147.5 kB / 476 MB, free: 8.301 MB / 350.1 MB Notification: Performance of Backend: time 2.2e-07/0.09707, allocations: 0 / 476 MB, free: 8.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006291/0.09771, allocations: 401.1 kB / 476.4 MB, free: 7.879 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006261/0.09834, allocations: 0.8356 MB / 477.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of Templates: time 0.005925/0.1043, allocations: 3.27 MB / 480.5 MB, free: 3.727 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)