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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001426/0.001426, allocations: 104.2 kB / 16.45 MB, free: 6.445 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.001045/0.001045, allocations: 186.4 kB / 17.39 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.424/1.424, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05194/0.05194, allocations: 8.096 MB / 299.3 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 63.91 kB / 414.4 MB, free: 21.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/0.09558, allocations: 51.51 MB / 466 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002517/0.09813, allocations: 1.636 MB / 467.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.09915, allocations: 0.6235 MB / 468.2 MB, free: 56 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.242e-05/0.09924, allocations: 0 / 468.2 MB, free: 56 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.09944, allocations: 119.8 kB / 468.3 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.09968, allocations: 139.5 kB / 468.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003683/0.1001, allocations: 111.7 kB / 468.6 MB, free: 15.69 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002743/0.1003, allocations: 243.5 kB / 468.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.964e-05/0.1004, allocations: 9.125 kB / 468.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.1006, allocations: 123.6 kB / 468.9 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.1008, allocations: 195.6 kB / 469.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.713e-05/0.1009, allocations: 15.94 kB / 469.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001397/0.101, allocations: 83.94 kB / 469.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001133/0.1011, allocations: 103.7 kB / 469.3 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.1013, allocations: 139 kB / 469.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003505/0.1016, allocations: 322.9 kB / 469.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1016, allocations: 0 / 469.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.1016, allocations: 0 / 469.8 MB, free: 14.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1017, allocations: 4 kB / 469.8 MB, free: 14.48 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.0009077/0.1026, allocations: 0.6996 MB / 470.5 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1026, allocations: 16.02 kB / 470.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/0.1027, allocations: 40.47 kB / 470.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004744/0.1032, allocations: 377.9 kB / 470.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.1032, allocations: 8.375 kB / 470.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.372e-05/0.1032, allocations: 8.359 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003429/0.1036, allocations: 173.5 kB / 471.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.1036, allocations: 0 / 471.1 MB, free: 13.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.1036, allocations: 15.98 kB / 471.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.1037, allocations: 0 / 471.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.1039, allocations: 107.9 kB / 471.2 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008445/0.1048, allocations: 0.4966 MB / 471.7 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/0.105, allocations: 166.4 kB / 471.9 MB, free: 12.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.1053, allocations: 156.7 kB / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.1053, allocations: 0 / 472 MB, free: 12.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004637/0.1058, allocations: 366.4 kB / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.413e-06/0.1058, allocations: 0 / 472.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001005/0.1068, allocations: 0.5705 MB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.107, allocations: 221.6 kB / 473.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/0.1076, allocations: 0.5604 MB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.045e-05/0.1077, allocations: 37.64 kB / 473.8 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.1078, allocations: 192.1 kB / 474 MB, free: 10 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/0.1079, allocations: 43.45 kB / 474 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.412e-05/0.108, allocations: 37.7 kB / 474 MB, free: 9.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1082, allocations: 358.7 kB / 474.4 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001233/0.1083, allocations: 95.95 kB / 474.5 MB, free: 9.465 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.1084, allocations: 117.7 kB / 474.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007038/0.1092, allocations: 0.6235 MB / 475.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1092, allocations: 0 / 475.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004842/0.1097, allocations: 416.5 kB / 475.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.511e-05/0.1097, allocations: 67.39 kB / 475.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.1097, allocations: 0 / 475.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1098, allocations: 0 / 475.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.1098, allocations: 19.98 kB / 475.7 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.1099, allocations: 4 kB / 475.7 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002747/0.1101, allocations: 51.94 kB / 475.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.1102, allocations: 4 kB / 475.8 MB, free: 8.09 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.0003034/0.1105, allocations: 296.3 kB / 476.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-05/0.1105, allocations: 47.53 kB / 476.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.953e-05/0.1106, allocations: 47.91 kB / 476.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1106, allocations: 0 / 476.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.1106, allocations: 0 / 476.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.1106, allocations: 0 / 476.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.1109, allocations: 353.2 kB / 476.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1109, allocations: 0 / 476.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.13e-05/0.1109, allocations: 4 kB / 476.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.111, allocations: 0 / 476.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.111, allocations: 11.98 kB / 476.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.111, allocations: 0 / 476.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.111, allocations: 4 kB / 476.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007597/0.1118, allocations: 0.5409 MB / 477.1 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.112, allocations: 148.5 kB / 477.2 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.467e-05/0.112, allocations: 16 kB / 477.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.1123, allocations: 47.94 kB / 477.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.16e-05/0.1124, allocations: 27.95 kB / 477.3 MB, free: 6.453 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.1125, allocations: 15.94 kB / 477.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004226/0.1129, allocations: 411 kB / 477.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1129, allocations: 0 / 477.7 MB, free: 6.035 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.1132, allocations: 76 kB / 477.8 MB, free: 5.961 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.0002155/0.1134, allocations: 143.8 kB / 477.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006113/0.114, allocations: 474.5 kB / 478.4 MB, free: 5.324 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1141, allocations: 7.938 kB / 478.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004394/0.1145, allocations: 450.7 kB / 478.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.1148, allocations: 29.97 kB / 478.9 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.1159, allocations: 0.7106 MB / 479.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.1163, allocations: 0.8072 MB / 480.4 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.425e-05/0.1164, allocations: 41.94 kB / 480.4 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.1165, allocations: 27.36 kB / 480.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1165, allocations: 0 / 480.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of Templates: time 0.008409/0.1249, allocations: 4.187 MB / 484.6 MB, free: 15.02 MB / 366.1 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)