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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 80.12 kB / 20.55 MB, free: 1.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 168.5 kB / 23.8 MB, free: 4.434 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 177.2 MB / 204.2 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03546/0.03546, allocations: 4.491 MB / 265 MB, free: 12.17 MB / 254.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001622/0.001622, allocations: 39.94 kB / 390.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09937, allocations: 54.99 MB / 445.6 MB, free: 6.797 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002863/0.1022, allocations: 1.63 MB / 447.2 MB, free: 5.152 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1034, allocations: 0.608 MB / 447.8 MB, free: 4.543 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.1035, allocations: 3.938 kB / 447.8 MB, free: 4.539 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001426/0.1036, allocations: 23.89 kB / 447.8 MB, free: 4.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.1038, allocations: 47.7 kB / 447.9 MB, free: 4.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003603/0.1042, allocations: 107.7 kB / 448 MB, free: 4.363 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002707/0.1044, allocations: 175.6 kB / 448.2 MB, free: 4.191 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.404e-05/0.1045, allocations: 17.3 kB / 448.2 MB, free: 4.172 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001201/0.1046, allocations: 75.77 kB / 448.2 MB, free: 4.098 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001902/0.1048, allocations: 83.7 kB / 448.3 MB, free: 4.016 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.1049, allocations: 12 kB / 448.3 MB, free: 4.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.105, allocations: 87.91 kB / 448.4 MB, free: 3.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.724e-05/0.1051, allocations: 31.8 kB / 448.5 MB, free: 3.887 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001065/0.1052, allocations: 51.78 kB / 448.5 MB, free: 3.836 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.1055, allocations: 195.4 kB / 448.7 MB, free: 3.645 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.1055, allocations: 4 kB / 448.7 MB, free: 3.641 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1055, allocations: 0 / 448.7 MB, free: 3.641 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.1055, allocations: 0 / 448.7 MB, free: 3.641 MB / 414.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.0006915/0.1062, allocations: 440.8 kB / 449.1 MB, free: 3.168 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1062, allocations: 8.031 kB / 449.1 MB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.1063, allocations: 16.84 kB / 449.2 MB, free: 3.145 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003146/0.1066, allocations: 178.2 kB / 449.3 MB, free: 2.945 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1066, allocations: 4.375 kB / 449.3 MB, free: 2.941 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/0.1066, allocations: 4.375 kB / 449.3 MB, free: 2.938 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.1071, allocations: 256.3 kB / 449.6 MB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1071, allocations: 0 / 449.6 MB, free: 2.656 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.1071, allocations: 7.984 kB / 449.6 MB, free: 2.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.1071, allocations: 4 kB / 449.6 MB, free: 2.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002579/0.1074, allocations: 135.3 kB / 449.7 MB, free: 2.5 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000579/0.1079, allocations: 312.3 kB / 450 MB, free: 2.164 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002848/0.1082, allocations: 137.9 kB / 450.2 MB, free: 2.008 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.1085, allocations: 140.2 kB / 450.3 MB, free: 1.855 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.383e-05/0.1085, allocations: 3.984 kB / 450.3 MB, free: 1.852 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005605/0.1091, allocations: 442.6 kB / 450.7 MB, free: 1.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=19): time 1.322e-06/0.1091, allocations: 4 kB / 450.8 MB, free: 1.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=19): time 0.001017/0.1101, allocations: 0.5223 MB / 451.3 MB, free: 0.7852 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.1102, allocations: 221.6 kB / 451.5 MB, free: 0.5195 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.1104, allocations: 191 kB / 451.7 MB, free: 332 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.1105, allocations: 33.7 kB / 451.7 MB, free: 292 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.1105, allocations: 108.1 kB / 451.8 MB, free: 180 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.384e-05/0.1106, allocations: 51.72 kB / 451.9 MB, free: 128 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.751e-05/0.1107, allocations: 37.7 kB / 451.9 MB, free: 84 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001792/0.1109, allocations: 330.8 kB / 452.2 MB, free: 15.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.111, allocations: 115.4 kB / 452.3 MB, free: 15.62 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.1112, allocations: 170.8 kB / 452.5 MB, free: 15.43 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006261/0.1118, allocations: 473 kB / 453 MB, free: 14.92 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1118, allocations: 0 / 453 MB, free: 14.92 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004601/0.1123, allocations: 354.3 kB / 453.3 MB, free: 14.55 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.293e-05/0.1124, allocations: 67.39 kB / 453.4 MB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1124, allocations: 4 kB / 453.4 MB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.1124, allocations: 0 / 453.4 MB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.1124, allocations: 11.98 kB / 453.4 MB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1125, allocations: 4.062 kB / 453.4 MB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.1127, allocations: 51.88 kB / 453.5 MB, free: 14.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.1128, allocations: 12 kB / 453.5 MB, free: 14.39 MB / 430.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.0002567/0.113, allocations: 223 kB / 453.7 MB, free: 14.15 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.406e-05/0.1131, allocations: 19.91 kB / 453.7 MB, free: 14.13 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.693e-05/0.1131, allocations: 21.8 kB / 453.7 MB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.1131, allocations: 0 / 453.7 MB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1131, allocations: 7.938 kB / 453.7 MB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1131, allocations: 0 / 453.7 MB, free: 14.11 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.1133, allocations: 169.2 kB / 453.9 MB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1133, allocations: 0 / 453.9 MB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.192e-05/0.1133, allocations: 4 kB / 453.9 MB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1133, allocations: 0 / 453.9 MB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.1133, allocations: 4 kB / 453.9 MB, free: 13.91 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.1133, allocations: 7.938 kB / 453.9 MB, free: 13.9 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1133, allocations: 3.984 kB / 453.9 MB, free: 13.89 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008001/0.1141, allocations: 479.5 kB / 454.4 MB, free: 13.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1143, allocations: 43.95 kB / 454.4 MB, free: 13.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.824e-05/0.1143, allocations: 19.98 kB / 454.4 MB, free: 13.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.1146, allocations: 43.94 kB / 454.5 MB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.013e-05/0.1147, allocations: 23.97 kB / 454.5 MB, free: 13.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.202e-05/0.1147, allocations: 15.98 kB / 454.5 MB, free: 13.24 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001458/0.1148, allocations: 147.5 kB / 454.7 MB, free: 13.09 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1148, allocations: 4 kB / 454.7 MB, free: 13.09 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1151, allocations: 63.94 kB / 454.7 MB, free: 13.03 MB / 430.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.0001955/0.1153, allocations: 139.5 kB / 454.9 MB, free: 12.88 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006532/0.116, allocations: 445.3 kB / 455.3 MB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.116, allocations: 0 / 455.3 MB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004014/0.1164, allocations: 286.1 kB / 455.6 MB, free: 12.08 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.1166, allocations: 27.92 kB / 455.6 MB, free: 12.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007154/0.1174, allocations: 375.4 kB / 456 MB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00011/0.1175, allocations: 117 kB / 456.1 MB, free: 11.51 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 3.774e-05/0.1175, allocations: 8.5 kB / 456.1 MB, free: 11.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.964e-05/0.1175, allocations: 16.5 kB / 456.1 MB, free: 11.48 MB / 430.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1175, allocations: 0 / 456.1 MB, free: 11.48 MB / 430.1 MB Notification: Performance of Templates: time 0.007436/0.125, allocations: 3.449 MB / 459.6 MB, free: 8.066 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.414627964957617] Failed to read output from testmodel.py, exit status != 0: 0.1338425880530849 0.148228254 0.039717289 Calling exit ...