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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, 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.348/1.348, allocations: 222.9 MB / 240.3 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.000986/0.0009862, allocations: 100.9 kB / 290.6 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04997/0.04997, allocations: 8.089 MB / 348.8 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009906/0.0009907, allocations: 66.14 kB / 411.1 MB, free: 57.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0907/0.09171, allocations: 51.52 MB / 462.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003129/0.09487, allocations: 1.688 MB / 464.3 MB, free: 4.367 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001214/0.09612, allocations: 0.6548 MB / 464.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.09625, allocations: 0 / 464.9 MB, free: 3.711 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.09645, allocations: 119.7 kB / 465.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.09676, allocations: 135.7 kB / 465.2 MB, free: 3.461 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004/0.09717, allocations: 87.83 kB / 465.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000244/0.09742, allocations: 199.5 kB / 465.5 MB, free: 3.18 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.93e-05/0.09753, allocations: 20.97 kB / 465.5 MB, free: 3.156 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.09769, allocations: 103.7 kB / 465.6 MB, free: 3.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.09792, allocations: 191.5 kB / 465.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.09796, allocations: 8 kB / 465.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001441/0.09811, allocations: 79.92 kB / 465.9 MB, free: 2.781 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.09822, allocations: 107.6 kB / 466 MB, free: 2.676 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00011/0.09834, allocations: 135 kB / 466.1 MB, free: 2.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.09863, allocations: 307.1 kB / 466.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.09864, allocations: 0 / 466.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09865, allocations: 0 / 466.4 MB, free: 2.242 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.826e-06/0.09867, allocations: 0 / 466.4 MB, free: 2.242 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.0008787/0.09955, allocations: 0.6996 MB / 467.1 MB, free: 1.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.0996, allocations: 8.031 kB / 467.1 MB, free: 1.473 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.0997, allocations: 52.38 kB / 467.2 MB, free: 1.422 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.1001, allocations: 378 kB / 467.5 MB, free: 1.012 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.1002, allocations: 8.375 kB / 467.5 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.617e-05/0.1002, allocations: 4.375 kB / 467.5 MB, free: 1 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003417/0.1006, allocations: 177.5 kB / 467.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.1006, allocations: 0 / 467.7 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1006, allocations: 4 kB / 467.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.1006, allocations: 0 / 467.7 MB, free: 0.8164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.1008, allocations: 111.9 kB / 467.8 MB, free: 0.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.1015, allocations: 0.5004 MB / 468.3 MB, free: 160 kB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/0.1018, allocations: 162.5 kB / 468.5 MB, free: 15.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.102, allocations: 152.8 kB / 468.6 MB, free: 15.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.102, allocations: 4 kB / 468.6 MB, free: 15.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006155/0.1027, allocations: 370.7 kB / 469 MB, free: 15.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.943e-06/0.1027, allocations: 0 / 469 MB, free: 15.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.00112/0.1038, allocations: 0.5667 MB / 469.6 MB, free: 14.84 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/0.104, allocations: 217.6 kB / 469.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007015/0.1047, allocations: 0.5565 MB / 470.3 MB, free: 14.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.14e-05/0.1047, allocations: 33.7 kB / 470.4 MB, free: 13.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001794/0.1049, allocations: 200 kB / 470.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/0.105, allocations: 43.58 kB / 470.6 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/0.1051, allocations: 41.7 kB / 470.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1053, allocations: 366.7 kB / 471 MB, free: 13.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.1054, allocations: 91.97 kB / 471.1 MB, free: 13.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1056, allocations: 113.6 kB / 471.2 MB, free: 13.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007151/0.1063, allocations: 0.6111 MB / 471.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1063, allocations: 4 kB / 471.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004864/0.1068, allocations: 420.3 kB / 472.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.8e-05/0.1069, allocations: 79.41 kB / 472.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.1069, allocations: 0 / 472.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1069, allocations: 0 / 472.3 MB, free: 11.93 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.57e-05/0.107, allocations: 11.94 kB / 472.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.107, allocations: 0 / 472.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.1073, allocations: 51.83 kB / 472.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.1074, allocations: 8 kB / 472.4 MB, free: 11.86 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.0003365/0.1077, allocations: 288.6 kB / 472.7 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.98e-05/0.1078, allocations: 47.44 kB / 472.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.958e-05/0.1079, allocations: 51.91 kB / 472.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1079, allocations: 4 kB / 472.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.1079, allocations: 0 / 472.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1079, allocations: 4 kB / 472.8 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003814/0.1083, allocations: 345.3 kB / 473.1 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.1083, allocations: 4 kB / 473.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.48e-05/0.1084, allocations: 0 / 473.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.1084, allocations: 4 kB / 473.1 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.1084, allocations: 11.98 kB / 473.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1084, allocations: 3.938 kB / 473.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.639e-06/0.1084, allocations: 0 / 473.1 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001431/0.1099, allocations: 1.339 MB / 474.5 MB, free: 9.625 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.1101, allocations: 148.6 kB / 474.6 MB, free: 9.461 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.1102, allocations: 12 kB / 474.6 MB, free: 9.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.1104, allocations: 47.88 kB / 474.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.342e-05/0.1105, allocations: 23.97 kB / 474.7 MB, free: 9.379 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.1106, allocations: 16 kB / 474.7 MB, free: 9.363 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004419/0.111, allocations: 411 kB / 475.1 MB, free: 8.965 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.111, allocations: 0 / 475.1 MB, free: 8.965 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004144/0.1115, allocations: 80.12 kB / 475.2 MB, free: 8.887 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.0002271/0.1117, allocations: 139.6 kB / 475.3 MB, free: 8.742 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005845/0.1123, allocations: 478.6 kB / 475.8 MB, free: 8.25 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1123, allocations: 0 / 475.8 MB, free: 8.25 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004883/0.1128, allocations: 450.7 kB / 476.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.1131, allocations: 37.91 kB / 476.3 MB, free: 7.742 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.1146, allocations: 0.9534 MB / 477.2 MB, free: 6.75 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.1151, allocations: 0.8075 MB / 478 MB, free: 5.914 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000114/0.1152, allocations: 42.08 kB / 478.1 MB, free: 5.875 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.579e-05/0.1153, allocations: 19.44 kB / 478.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1153, allocations: 0 / 478.1 MB, free: 5.855 MB / 314.7 MB Notification: Performance of Templates: time 0.008425/0.1237, allocations: 3.936 MB / 482 MB, free: 1.949 MB / 314.7 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)