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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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) 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) Running command: translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") translateModel(PowerSysPro.Tests.VoltageRegulation1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 181.2 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 221.5 MB / 230 MB, free: 3.18 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009926/0.0009924, allocations: 98.92 kB / 280.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04738/0.04738, allocations: 8.097 MB / 339.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.46e-05/1.491e-05, allocations: 3.984 kB / 398.5 MB, free: 67.67 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 52.52 MB / 451 MB, free: 15.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4046/0.5165, allocations: 77.9 MB / 0.5165 GB, free: 88 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002327/0.5168, allocations: 61.2 kB / 0.5165 GB, free: 60 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.5306, allocations: 4.556 MB / 0.521 GB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.5306, allocations: 0 / 0.521 GB, free: 12.11 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.848e-05/0.5307, allocations: 4 kB / 0.521 GB, free: 12.1 MB / 346.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.0007897/0.5315, allocations: 0.6074 MB / 0.5216 GB, free: 11.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5315, allocations: 11.98 kB / 0.5216 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.5317, allocations: 39.53 kB / 0.5216 GB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.5323, allocations: 382.6 kB / 0.522 GB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.5324, allocations: 4 kB / 0.522 GB, free: 11.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.813e-05/0.5324, allocations: 8 kB / 0.522 GB, free: 11.01 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002257/0.5326, allocations: 122.6 kB / 0.5221 GB, free: 10.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.5329, allocations: 200.2 kB / 0.5223 GB, free: 10.75 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.533, allocations: 4 kB / 0.5223 GB, free: 10.74 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.602e-05/0.533, allocations: 7.953 kB / 0.5223 GB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.533, allocations: 4 kB / 0.5223 GB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000778/0.5338, allocations: 499 kB / 0.5228 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.534, allocations: 177.8 kB / 0.523 GB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/0.5343, allocations: 160 kB / 0.5231 GB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.5343, allocations: 4 kB / 0.5231 GB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.5347, allocations: 393.8 kB / 0.5235 GB, free: 9.645 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.184e-06/0.5347, allocations: 4 kB / 0.5235 GB, free: 9.641 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001067/0.5358, allocations: 465.6 kB / 0.524 GB, free: 9.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.5359, allocations: 221.5 kB / 0.5242 GB, free: 8.992 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006311/0.5366, allocations: 0.4893 MB / 0.5246 GB, free: 8.574 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.377e-05/0.5366, allocations: 29.7 kB / 0.5247 GB, free: 8.539 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/0.5368, allocations: 197.2 kB / 0.5249 GB, free: 8.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.116e-05/0.5369, allocations: 43.81 kB / 0.5249 GB, free: 8.383 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.5369, allocations: 4 kB / 0.5249 GB, free: 8.379 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.537, allocations: 358.1 kB / 0.5253 GB, free: 8.035 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.5372, allocations: 122.2 kB / 0.5254 GB, free: 7.945 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.5374, allocations: 141.9 kB / 0.5255 GB, free: 7.836 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/0.5376, allocations: 122.7 kB / 0.5256 GB, free: 7.742 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.5376, allocations: 7.938 kB / 0.5256 GB, free: 7.734 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007586/0.5384, allocations: 461.8 kB / 0.5261 GB, free: 7.348 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.5385, allocations: 72.45 kB / 0.5261 GB, free: 7.27 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5385, allocations: 3.938 kB / 0.5261 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.5385, allocations: 0 / 0.5261 GB, free: 7.266 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.473e-05/0.5386, allocations: 15.92 kB / 0.5262 GB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.5386, allocations: 0 / 0.5262 GB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003032/0.5389, allocations: 51.88 kB / 0.5262 GB, free: 7.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.947e-05/0.539, allocations: 15.95 kB / 0.5262 GB, free: 7.188 MB / 346.7 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = false ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$PRE.tapChanger.tap,tapChanger.tap,$PRE.tapChanger.abnormalUTime,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,$PRE.tapChanger.furtherTapChangeTimeout,tapChanger.furtherTapChangeTimeout) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002706/0.5393, allocations: 205.3 kB / 0.5264 GB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.755e-05/0.5394, allocations: 43.53 kB / 0.5265 GB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.562e-05/0.5395, allocations: 47.39 kB / 0.5265 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.5395, allocations: 0 / 0.5265 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.5395, allocations: 0 / 0.5265 GB, free: 6.895 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.5395, allocations: 3.984 kB / 0.5265 GB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003219/0.5398, allocations: 335.4 kB / 0.5268 GB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5398, allocations: 0 / 0.5268 GB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.55e-05/0.5399, allocations: 4 kB / 0.5268 GB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.5399, allocations: 0 / 0.5268 GB, free: 6.57 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.5399, allocations: 15.61 kB / 0.5268 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.5399, allocations: 0 / 0.5268 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.5399, allocations: 0 / 0.5268 GB, free: 6.559 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009324/0.5409, allocations: 0.5367 MB / 0.5274 GB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002052/0.5411, allocations: 176.1 kB / 0.5275 GB, free: 5.914 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.991e-05/0.5412, allocations: 12 kB / 0.5275 GB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002949/0.5415, allocations: 59.91 kB / 0.5276 GB, free: 5.844 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/0.5416, allocations: 23.66 kB / 0.5276 GB, free: 5.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-05/0.5416, allocations: 27.92 kB / 0.5277 GB, free: 5.805 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004026/0.542, allocations: 395.2 kB / 0.528 GB, free: 5.488 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.542, allocations: 0 / 0.528 GB, free: 5.488 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003464/0.5424, allocations: 76.12 kB / 0.5281 GB, free: 5.414 MB / 346.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002496/0.5426, allocations: 144.6 kB / 0.5282 GB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004472/0.5431, allocations: 432.6 kB / 0.5287 GB, free: 4.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.5431, allocations: 8 kB / 0.5287 GB, free: 4.945 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.5434, allocations: 438.8 kB / 0.5291 GB, free: 4.672 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.5437, allocations: 30.47 kB / 0.5291 GB, free: 4.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009019/0.5446, allocations: 0.5491 MB / 0.5296 GB, free: 4.125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004231/0.545, allocations: 0.8183 MB / 0.5304 GB, free: 3.289 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.5452, allocations: 42.06 kB / 0.5305 GB, free: 3.246 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.551e-05/0.5452, allocations: 19.44 kB / 0.5305 GB, free: 3.227 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5452, allocations: 0 / 0.5305 GB, free: 3.227 MB / 346.7 MB Notification: Performance of Templates: time 0.00759/0.5528, allocations: 3.221 MB / 0.5337 GB, free: 44 kB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.makefile (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=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)