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.001334/0.00134, allocations: 172.1 kB / 16.8 MB, free: 5.031 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.416/1.416, allocations: 223.3 MB / 240.8 MB, free: 11.71 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.0009218/0.0009218, allocations: 96.86 kB / 292 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06156/0.06156, allocations: 8.095 MB / 351.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005171/0.0005173, allocations: 8.719 kB / 414.4 MB, free: 57.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1209, allocations: 52.52 MB / 466.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4193/0.5403, allocations: 78.33 MB / 0.5324 GB, free: 7.117 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.5406, allocations: 57.33 kB / 0.5325 GB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01913/0.5597, allocations: 4.611 MB / 0.537 GB, free: 3.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5598, allocations: 0 / 0.537 GB, free: 3.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.134e-05/0.5598, allocations: 8 kB / 0.537 GB, free: 3.031 MB / 346.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.0009966/0.5608, allocations: 0.6791 MB / 0.5377 GB, free: 2.316 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5608, allocations: 8.031 kB / 0.5377 GB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.561, allocations: 44.47 kB / 0.5377 GB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007278/0.5617, allocations: 399.4 kB / 0.5381 GB, free: 1.855 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.5617, allocations: 4.375 kB / 0.5381 GB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.5618, allocations: 8.375 kB / 0.5381 GB, free: 1.844 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005994/0.5624, allocations: 223.4 kB / 0.5383 GB, free: 1.656 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.5624, allocations: 7.938 kB / 0.5383 GB, free: 1.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.5625, allocations: 4 kB / 0.5383 GB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.5625, allocations: 0 / 0.5383 GB, free: 1.645 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.5629, allocations: 152.6 kB / 0.5385 GB, free: 1.523 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.564, allocations: 0.5181 MB / 0.539 GB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004966/0.5645, allocations: 200 kB / 0.5392 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000443/0.565, allocations: 185.5 kB / 0.5393 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.187e-05/0.565, allocations: 0 / 0.5393 GB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007453/0.5657, allocations: 425.1 kB / 0.5398 GB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.394e-06/0.5658, allocations: 0 / 0.5398 GB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.002273/0.568, allocations: 0.7134 MB / 0.5404 GB, free: 15.71 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/0.5682, allocations: 224 kB / 0.5407 GB, free: 15.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.5693, allocations: 0.5629 MB / 0.5412 GB, free: 14.97 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.818e-05/0.5694, allocations: 33.7 kB / 0.5412 GB, free: 14.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.5696, allocations: 190.7 kB / 0.5414 GB, free: 14.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.5697, allocations: 47.2 kB / 0.5415 GB, free: 14.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.5697, allocations: 3.875 kB / 0.5415 GB, free: 14.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.5699, allocations: 359.5 kB / 0.5418 GB, free: 14.43 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.5702, allocations: 129.1 kB / 0.5419 GB, free: 14.34 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003194/0.5706, allocations: 156.2 kB / 0.5421 GB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.5721, allocations: 0.7902 MB / 0.5429 GB, free: 13.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.5721, allocations: 3.938 kB / 0.5429 GB, free: 13.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001294/0.5734, allocations: 0.5271 MB / 0.5434 GB, free: 13.03 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.5735, allocations: 66.33 kB / 0.5434 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.5735, allocations: 4 kB / 0.5434 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5736, allocations: 0 / 0.5434 GB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.5737, allocations: 15.92 kB / 0.5435 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.5737, allocations: 0 / 0.5435 GB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004189/0.5741, allocations: 51.95 kB / 0.5435 GB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/0.5742, allocations: 14.75 kB / 0.5435 GB, free: 12.87 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: 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.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "Current tap position" type: Integer 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.furtherTapChangeTimeout,$PRE.tapChanger.tap,$PRE.tapChanger.abnormalUTime,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,tapChanger.tap,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,tapChanger.furtherTapChangeTimeout) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004856/0.5747, allocations: 288.6 kB / 0.5438 GB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.5748, allocations: 55.44 kB / 0.5439 GB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.074e-05/0.5749, allocations: 48.39 kB / 0.5439 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.5749, allocations: 0 / 0.5439 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.575, allocations: 0 / 0.5439 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.575, allocations: 0 / 0.5439 GB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004704/0.5754, allocations: 367.9 kB / 0.5442 GB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.5755, allocations: 7.938 kB / 0.5443 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.744e-05/0.5755, allocations: 0 / 0.5443 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.5755, allocations: 3.984 kB / 0.5443 GB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.394e-05/0.5756, allocations: 15.44 kB / 0.5443 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.5756, allocations: 4 kB / 0.5443 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.5756, allocations: 0 / 0.5443 GB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001916/0.5775, allocations: 0.6604 MB / 0.5449 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/0.5779, allocations: 170.9 kB / 0.5451 GB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.578, allocations: 11.44 kB / 0.5451 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004307/0.5785, allocations: 58.89 kB / 0.5452 GB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5786, allocations: 22.16 kB / 0.5452 GB, free: 11.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.215e-05/0.5787, allocations: 23.67 kB / 0.5452 GB, free: 11.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000742/0.5794, allocations: 412.5 kB / 0.5456 GB, free: 10.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.5795, allocations: 0 / 0.5456 GB, free: 10.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005655/0.58, allocations: 83.81 kB / 0.5457 GB, free: 10.84 MB / 362.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002864/0.5803, allocations: 146.9 kB / 0.5458 GB, free: 10.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008995/0.5812, allocations: 475.2 kB / 0.5463 GB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.5813, allocations: 0 / 0.5463 GB, free: 10.33 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006654/0.5819, allocations: 454.6 kB / 0.5467 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004523/0.5824, allocations: 37.59 kB / 0.5467 GB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001706/0.5841, allocations: 0.7693 MB / 0.5475 GB, free: 9.266 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000585/0.5847, allocations: 0.8109 MB / 0.5483 GB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001452/0.5849, allocations: 41.92 kB / 0.5483 GB, free: 8.395 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.385e-05/0.585, allocations: 19.44 kB / 0.5483 GB, free: 8.375 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.585, allocations: 0 / 0.5483 GB, free: 8.375 MB / 362.7 MB Notification: Performance of Templates: time 0.01168/0.5967, allocations: 3.585 MB / 0.5518 GB, free: 4.836 MB / 362.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)