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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 186.9 kB / 16.68 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.371/1.371, allocations: 222.9 MB / 240.4 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001001, allocations: 110.7 kB / 290.6 MB, free: 10.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05109/0.05109, allocations: 8.094 MB / 348.8 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009964/0.0009965, allocations: 50.45 kB / 411.1 MB, free: 57.61 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09949/0.1005, allocations: 51.53 MB / 462.6 MB, free: 6.074 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002269/0.1028, allocations: 1.676 MB / 464.3 MB, free: 4.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009156/0.1038, allocations: 0.6509 MB / 464.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.628e-05/0.1038, allocations: 0 / 464.9 MB, free: 3.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.104, allocations: 23.91 kB / 465 MB, free: 3.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1041, allocations: 39.77 kB / 465 MB, free: 3.668 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.1044, allocations: 87.89 kB / 465.1 MB, free: 3.582 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1045, allocations: 155.5 kB / 465.2 MB, free: 3.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.39e-05/0.1046, allocations: 12.98 kB / 465.3 MB, free: 3.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.1047, allocations: 71.75 kB / 465.3 MB, free: 3.344 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001168/0.1048, allocations: 75.72 kB / 465.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.1048, allocations: 12 kB / 465.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.1049, allocations: 75.92 kB / 465.5 MB, free: 3.184 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.088e-05/0.105, allocations: 23.91 kB / 465.5 MB, free: 3.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.823e-05/0.1051, allocations: 71.58 kB / 465.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1053, allocations: 183.7 kB / 465.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.1053, allocations: 0 / 465.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1053, allocations: 0 / 465.8 MB, free: 2.91 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1053, allocations: 0 / 465.8 MB, free: 2.91 MB / 298.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.0005733/0.1059, allocations: 0.4982 MB / 466.3 MB, free: 2.352 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.1059, allocations: 8.031 kB / 466.3 MB, free: 2.344 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.057e-05/0.106, allocations: 20.75 kB / 466.3 MB, free: 2.324 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002011/0.1062, allocations: 231.9 kB / 466.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.1062, allocations: 8.312 kB / 466.5 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.1062, allocations: 4.375 kB / 466.5 MB, free: 2.047 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002717/0.1065, allocations: 137.5 kB / 466.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.1065, allocations: 0 / 466.7 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.839e-05/0.1065, allocations: 8 kB / 466.7 MB, free: 1.898 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.1066, allocations: 7.984 kB / 466.7 MB, free: 1.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.1067, allocations: 71.89 kB / 466.7 MB, free: 1.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00048/0.1072, allocations: 384.7 kB / 467.1 MB, free: 1.395 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/0.1074, allocations: 126.5 kB / 467.2 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.1076, allocations: 108.9 kB / 467.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.1076, allocations: 0 / 467.3 MB, free: 1.152 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003558/0.108, allocations: 326.4 kB / 467.7 MB, free: 0.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.108, allocations: 0 / 467.7 MB, free: 0.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006694/0.1087, allocations: 380.7 kB / 468 MB, free: 412 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.1087, allocations: 221.6 kB / 468.3 MB, free: 140 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001673/0.1089, allocations: 199.8 kB / 468.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.109, allocations: 37.7 kB / 468.5 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.835e-05/0.109, allocations: 100.1 kB / 468.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.1091, allocations: 47.5 kB / 468.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.1091, allocations: 37.7 kB / 468.7 MB, free: 15.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1093, allocations: 334.8 kB / 469 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.507e-05/0.1094, allocations: 47.98 kB / 469 MB, free: 15.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.826e-05/0.1095, allocations: 73.69 kB / 469.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004738/0.11, allocations: 465 kB / 469.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.11, allocations: 0 / 469.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003177/0.1103, allocations: 272.3 kB / 469.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.1104, allocations: 67.39 kB / 469.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.1104, allocations: 7.984 kB / 469.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1104, allocations: 0 / 469.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.1105, allocations: 8 kB / 469.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.1105, allocations: 0 / 469.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002532/0.1107, allocations: 55.86 kB / 470 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.1108, allocations: 8 kB / 470 MB, free: 14.3 MB / 314.7 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.0002229/0.111, allocations: 236 kB / 470.2 MB, free: 14.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.792e-05/0.111, allocations: 19.81 kB / 470.2 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.1111, allocations: 21.8 kB / 470.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.1111, allocations: 0 / 470.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.1111, allocations: 0 / 470.2 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1111, allocations: 4 kB / 470.3 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002046/0.1113, allocations: 261.3 kB / 470.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1113, allocations: 0 / 470.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/0.1114, allocations: 4 kB / 470.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1114, allocations: 0 / 470.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.932e-05/0.1114, allocations: 12 kB / 470.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1114, allocations: 3.938 kB / 470.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.1114, allocations: 3.984 kB / 470.5 MB, free: 13.67 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.1125, allocations: 1.059 MB / 471.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.1126, allocations: 113 kB / 471.7 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.206e-05/0.1127, allocations: 15.98 kB / 471.7 MB, free: 12.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.1129, allocations: 51.98 kB / 471.8 MB, free: 12.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.962e-05/0.113, allocations: 23.95 kB / 471.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.952e-05/0.1131, allocations: 11.98 kB / 471.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000111/0.1132, allocations: 147.2 kB / 471.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1132, allocations: 0 / 471.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.1135, allocations: 68.03 kB / 472 MB, free: 12.1 MB / 314.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) * 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.0001908/0.1137, allocations: 139.6 kB / 472.1 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005037/0.1143, allocations: 386.7 kB / 472.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.1143, allocations: 0 / 472.5 MB, free: 11.55 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003984/0.1147, allocations: 410.7 kB / 472.9 MB, free: 11.13 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1149, allocations: 23.98 kB / 473 MB, free: 11.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006609/0.1156, allocations: 0.4928 MB / 473.4 MB, free: 10.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1158, allocations: 0.724 MB / 474.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.578e-05/0.1159, allocations: 12.42 kB / 474.2 MB, free: 9.809 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.1159, allocations: 11.44 kB / 474.2 MB, free: 9.797 MB / 314.7 MB Notification: Performance of SimCode: time 3.4e-07/0.1159, allocations: 4 kB / 474.2 MB, free: 9.793 MB / 314.7 MB Notification: Performance of Templates: time 0.005298/0.1212, allocations: 2.937 MB / 477.1 MB, free: 6.875 MB / 314.7 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)