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.001069/0.001076, allocations: 107.2 kB / 16.45 MB, free: 6.449 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.001052/0.001052, allocations: 186.4 kB / 17.38 MB, free: 5.668 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.376/1.376, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05558/0.05558, allocations: 8.116 MB / 299.3 MB, free: 6.605 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 59.91 kB / 414.4 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1274, allocations: 51.53 MB / 466 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.004042/0.1315, allocations: 1.632 MB / 467.6 MB, free: 0.5273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001522/0.1331, allocations: 0.6118 MB / 468.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001043/0.1332, allocations: 0 / 468.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001507/0.1334, allocations: 19.91 kB / 468.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002229/0.1337, allocations: 47.7 kB / 468.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005501/0.1342, allocations: 111.7 kB / 468.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003485/0.1346, allocations: 187.6 kB / 468.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1347, allocations: 21.11 kB / 468.6 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001728/0.1349, allocations: 79.69 kB / 468.7 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002137/0.1351, allocations: 79.72 kB / 468.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.1352, allocations: 19.94 kB / 468.8 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1354, allocations: 83.92 kB / 468.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.437e-05/0.1355, allocations: 27.91 kB / 468.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.1356, allocations: 67.64 kB / 468.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003551/0.136, allocations: 191.5 kB / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.136, allocations: 0 / 469.1 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.136, allocations: 4 kB / 469.1 MB, free: 14.99 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.398e-06/0.136, allocations: 3.984 kB / 469.1 MB, free: 14.99 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.0008835/0.1369, allocations: 498.2 kB / 469.6 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.137, allocations: 8.031 kB / 469.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.515e-05/0.1371, allocations: 24.69 kB / 469.7 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.1375, allocations: 232 kB / 469.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1375, allocations: 4.375 kB / 469.9 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.1376, allocations: 8.375 kB / 469.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004469/0.138, allocations: 145.2 kB / 470 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.1381, allocations: 3.984 kB / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.1381, allocations: 4 kB / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1381, allocations: 0 / 470 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002926/0.1384, allocations: 71.89 kB / 470.1 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007786/0.1392, allocations: 392.5 kB / 470.5 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003282/0.1396, allocations: 118.5 kB / 470.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002962/0.1399, allocations: 108.7 kB / 470.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.1399, allocations: 3.938 kB / 470.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000571/0.1405, allocations: 326.4 kB / 471 MB, free: 12.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.404e-06/0.1405, allocations: 0 / 471 MB, free: 12.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001146/0.1417, allocations: 384.7 kB / 471.4 MB, free: 12.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/0.1418, allocations: 217.6 kB / 471.6 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.1421, allocations: 203.5 kB / 471.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.494e-05/0.1421, allocations: 33.7 kB / 471.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.437e-05/0.1422, allocations: 100.1 kB / 472 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/0.1423, allocations: 47.58 kB / 472 MB, free: 11.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.42e-05/0.1424, allocations: 37.7 kB / 472 MB, free: 11.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.1426, allocations: 330.8 kB / 472.4 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/0.1427, allocations: 55.97 kB / 472.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.1429, allocations: 77.62 kB / 472.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006933/0.1436, allocations: 453.1 kB / 472.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.1436, allocations: 0 / 472.9 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005022/0.1441, allocations: 264.9 kB / 473.2 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.661e-05/0.1442, allocations: 75.31 kB / 473.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1442, allocations: 0 / 473.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.1442, allocations: 0 / 473.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.873e-05/0.1443, allocations: 15.94 kB / 473.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.1443, allocations: 4.031 kB / 473.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003642/0.1447, allocations: 47.84 kB / 473.3 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.1447, allocations: 8 kB / 473.3 MB, free: 10.39 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.0003027/0.1451, allocations: 232.9 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.5e-05/0.1451, allocations: 19.81 kB / 473.6 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.1452, allocations: 17.86 kB / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.1452, allocations: 0 / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1452, allocations: 0 / 473.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.1452, allocations: 4 kB / 473.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002954/0.1455, allocations: 261.3 kB / 473.9 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-06/0.1455, allocations: 4 kB / 473.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.92e-05/0.1456, allocations: 4 kB / 473.9 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.1456, allocations: 4 kB / 473.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.1456, allocations: 11.98 kB / 473.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1456, allocations: 0 / 473.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-06/0.1457, allocations: 3.938 kB / 473.9 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.1466, allocations: 402.3 kB / 474.3 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.1468, allocations: 120.9 kB / 474.4 MB, free: 9.203 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.187e-05/0.1469, allocations: 16 kB / 474.4 MB, free: 9.188 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.1473, allocations: 51.94 kB / 474.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1474, allocations: 19.98 kB / 474.5 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/0.1474, allocations: 15.92 kB / 474.5 MB, free: 9.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1476, allocations: 151.5 kB / 474.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1477, allocations: 0 / 474.7 MB, free: 8.953 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.1481, allocations: 60.12 kB / 474.7 MB, free: 8.895 MB / 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 (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.0002764/0.1484, allocations: 151.5 kB / 474.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007736/0.1492, allocations: 394.5 kB / 475.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1492, allocations: 0 / 475.2 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006056/0.1498, allocations: 406.8 kB / 475.6 MB, free: 7.906 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003316/0.1501, allocations: 16 kB / 475.7 MB, free: 7.891 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000833/0.151, allocations: 308 kB / 476 MB, free: 7.562 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003443/0.1513, allocations: 0.7277 MB / 476.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.849e-05/0.1514, allocations: 8.422 kB / 476.7 MB, free: 6.797 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.665e-05/0.1515, allocations: 15.44 kB / 476.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1515, allocations: 0 / 476.7 MB, free: 6.781 MB / 350.1 MB Notification: Performance of Templates: time 0.009601/0.1611, allocations: 3.194 MB / 479.9 MB, free: 3.609 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)