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/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 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.001002/0.001002, allocations: 84.19 kB / 15.75 MB, free: 416 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 173.2 kB / 16.62 MB, free: 6.891 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.506/1.506, allocations: 223.3 MB / 240.7 MB, free: 5.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2112/0.2112, allocations: 8.09 MB / 299.8 MB, free: 2.957 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 8 kB / 362.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1417/0.1422, allocations: 52.51 MB / 415.4 MB, free: 8.711 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002265/0.1445, allocations: 1.329 MB / 416.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001259/0.1458, allocations: 0.5735 MB / 417.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.146, allocations: 3.938 kB / 417.3 MB, free: 6.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001671/0.1461, allocations: 15.97 kB / 417.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.1464, allocations: 39.77 kB / 417.3 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006317/0.1471, allocations: 79.89 kB / 417.4 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000236/0.1473, allocations: 139.5 kB / 417.5 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001284/0.1475, allocations: 13.12 kB / 417.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.1477, allocations: 71.75 kB / 417.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.1478, allocations: 67.78 kB / 417.7 MB, free: 6.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.1479, allocations: 8 kB / 417.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.148, allocations: 75.86 kB / 417.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.193e-05/0.1481, allocations: 19.92 kB / 417.8 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.223e-05/0.1482, allocations: 49.64 kB / 417.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1484, allocations: 128 kB / 418 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1484, allocations: 0 / 418 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.901e-06/0.1484, allocations: 4 kB / 418 MB, free: 6.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.1484, allocations: 7.938 kB / 418 MB, free: 6.078 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.0008595/0.1493, allocations: 472.2 kB / 418.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/0.1493, allocations: 11.97 kB / 418.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.1494, allocations: 27.75 kB / 418.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003272/0.1498, allocations: 222.8 kB / 418.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1498, allocations: 4 kB / 418.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.1498, allocations: 8 kB / 418.7 MB, free: 5.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.1502, allocations: 133.6 kB / 418.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.1502, allocations: 0 / 418.8 MB, free: 5.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.1502, allocations: 4 kB / 418.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.972e-06/0.1503, allocations: 0 / 418.8 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.1505, allocations: 75.84 kB / 418.9 MB, free: 5.035 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000767/0.1512, allocations: 400.7 kB / 419.3 MB, free: 4.594 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.1515, allocations: 114.5 kB / 419.4 MB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002259/0.1518, allocations: 109 kB / 419.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.651e-05/0.1518, allocations: 0 / 419.5 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/0.1525, allocations: 335.6 kB / 419.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.1525, allocations: 0 / 419.9 MB, free: 3.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009454/0.1535, allocations: 384.7 kB / 420.2 MB, free: 3.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001997/0.1537, allocations: 225.6 kB / 420.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002591/0.1539, allocations: 198.3 kB / 420.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.746e-05/0.154, allocations: 33.7 kB / 420.7 MB, free: 3.086 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1541, allocations: 108.1 kB / 420.8 MB, free: 2.977 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.024e-05/0.1542, allocations: 43.58 kB / 420.8 MB, free: 2.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.1542, allocations: 8 kB / 420.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.1544, allocations: 326.8 kB / 421.2 MB, free: 2.598 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.1545, allocations: 55.97 kB / 421.2 MB, free: 2.543 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1547, allocations: 69.69 kB / 421.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001478/0.1548, allocations: 105.6 kB / 421.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1549, allocations: 0 / 421.4 MB, free: 2.355 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004849/0.1553, allocations: 272.7 kB / 421.6 MB, free: 2.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.1555, allocations: 75.38 kB / 421.7 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.1555, allocations: 4.078 kB / 421.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1555, allocations: 3.984 kB / 421.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.1556, allocations: 8 kB / 421.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1556, allocations: 3.953 kB / 421.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000289/0.1559, allocations: 66.09 kB / 421.8 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.532e-05/0.156, allocations: 4 kB / 421.8 MB, free: 1.898 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003354/0.1563, allocations: 225 kB / 422 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.1564, allocations: 19.81 kB / 422 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.992e-05/0.1564, allocations: 21.86 kB / 422.1 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.1564, allocations: 4 kB / 422.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.1564, allocations: 0 / 422.1 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.1564, allocations: 7.891 kB / 422.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.1567, allocations: 257.4 kB / 422.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.1567, allocations: 0 / 422.3 MB, free: 1.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.868e-05/0.1568, allocations: 4 kB / 422.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1568, allocations: 0 / 422.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.027e-05/0.1568, allocations: 11.98 kB / 422.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.1568, allocations: 7.984 kB / 422.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1568, allocations: 0 / 422.4 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006622/0.1575, allocations: 396.1 kB / 422.7 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001961/0.1577, allocations: 120.8 kB / 422.9 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.99e-05/0.1578, allocations: 16 kB / 422.9 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.158, allocations: 51.95 kB / 422.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/0.1581, allocations: 27.91 kB / 423 MB, free: 0.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.1582, allocations: 11.98 kB / 423 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001403/0.1583, allocations: 147.2 kB / 423.1 MB, free: 480 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1583, allocations: 0 / 423.1 MB, free: 480 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003149/0.1586, allocations: 64 kB / 423.2 MB, free: 416 kB / 350.1 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 (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.0002478/0.1589, allocations: 131.8 kB / 423.3 MB, free: 276 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006225/0.1595, allocations: 386.7 kB / 423.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1595, allocations: 4 kB / 423.7 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004402/0.16, allocations: 414.7 kB / 424.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.1604, allocations: 27.94 kB / 424.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007176/0.1611, allocations: 342 kB / 424.4 MB, free: 15.05 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.1614, allocations: 0.7199 MB / 425.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.659e-05/0.1615, allocations: 12.55 kB / 425.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.738e-05/0.1615, allocations: 19.44 kB / 425.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 8.32e-07/0.1615, allocations: 0 / 425.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Templates: time 0.007463/0.169, allocations: 2.661 MB / 427.9 MB, free: 11.62 MB / 366.1 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: