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.001444/0.001444, allocations: 181.9 kB / 13.23 MB, free: 2.086 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.259/1.259, allocations: 221.4 MB / 235.1 MB, free: 14.38 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.000918/0.000918, allocations: 99.09 kB / 286.1 MB, free: 12.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04278/0.04278, allocations: 8.104 MB / 345.1 MB, free: 1.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.841e-05/2.843e-05, allocations: 4 kB / 405.5 MB, free: 61.98 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07332/0.07337, allocations: 52.51 MB / 458 MB, free: 9.469 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.297/0.3704, allocations: 78.5 MB / 0.5239 GB, free: 7.445 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001719/0.3706, allocations: 52.86 kB / 0.5239 GB, free: 7.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01274/0.3834, allocations: 4.594 MB / 0.5284 GB, free: 3.395 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3834, allocations: 0 / 0.5284 GB, free: 3.395 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.3834, allocations: 4 kB / 0.5284 GB, free: 3.391 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.0004861/0.3839, allocations: 0.5995 MB / 0.529 GB, free: 2.758 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.384, allocations: 11.97 kB / 0.529 GB, free: 2.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.758e-05/0.3841, allocations: 47.48 kB / 0.5291 GB, free: 2.699 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005148/0.3846, allocations: 374.6 kB / 0.5294 GB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3846, allocations: 4 kB / 0.5294 GB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.245e-05/0.3846, allocations: 8 kB / 0.5294 GB, free: 2.301 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003066/0.385, allocations: 202.9 kB / 0.5296 GB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.385, allocations: 0 / 0.5296 GB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.455e-05/0.385, allocations: 7.562 kB / 0.5296 GB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.571e-06/0.385, allocations: 3.953 kB / 0.5296 GB, free: 2.125 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000204/0.3852, allocations: 137.2 kB / 0.5298 GB, free: 2.016 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.3859, allocations: 0.5251 MB / 0.5303 GB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3862, allocations: 176.6 kB / 0.5305 GB, free: 1.379 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001972/0.3864, allocations: 166.7 kB / 0.5306 GB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.3864, allocations: 0 / 0.5306 GB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003879/0.3868, allocations: 402.9 kB / 0.531 GB, free: 0.8789 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.3868, allocations: 4 kB / 0.531 GB, free: 0.875 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009164/0.3877, allocations: 0.5237 MB / 0.5315 GB, free: 424 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.3878, allocations: 224.9 kB / 0.5317 GB, free: 152 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.3884, allocations: 0.5081 MB / 0.5322 GB, free: 15.71 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.3884, allocations: 32.64 kB / 0.5323 GB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.3886, allocations: 186.4 kB / 0.5324 GB, free: 15.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.732e-05/0.3886, allocations: 45.7 kB / 0.5325 GB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.388e-05/0.3886, allocations: 4 kB / 0.5325 GB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3888, allocations: 366 kB / 0.5328 GB, free: 15.17 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.389, allocations: 124.6 kB / 0.533 GB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002024/0.3892, allocations: 148.6 kB / 0.5331 GB, free: 14.96 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.3894, allocations: 186.7 kB / 0.5333 GB, free: 14.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3894, allocations: 0 / 0.5333 GB, free: 14.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007779/0.3902, allocations: 0.517 MB / 0.5338 GB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.743e-05/0.3902, allocations: 71.08 kB / 0.5338 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3903, allocations: 0 / 0.5338 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.3903, allocations: 0 / 0.5338 GB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/0.3904, allocations: 12.83 kB / 0.5339 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.3904, allocations: 4.062 kB / 0.5339 GB, free: 14.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.3906, allocations: 60.55 kB / 0.5339 GB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.3907, allocations: 19.06 kB / 0.5339 GB, free: 14.17 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.furtherTapChangeTimeout:DISCRETE(start = tapChanger.nextTapChangeTimeout unit = "s" fixed = false protected = true ) "Time lag between the first change and the following tap" type: Real tapChanger.abnormalUTime:DISCRETE(unit = "s" fixed = false protected = true ) "Time when the signal U went out its normal range" type: Real tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = false ) "Current tap position" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,voltage.a,voltage.b,voltage.last,$PRE.voltage.nextEvent,voltage.nextEvent,voltage.nextEventScaled,$PRE.tapChanger.tap,tapChanger.tap,$PRE.tapChanger.abnormalUTime,tapChanger.abnormalUTime,tapChanger.normalU,tapChanger.decreaseEvent,tapChanger.increaseEvent,$PRE.tapChanger.furtherTapChangeTimeout,tapChanger.furtherTapChangeTimeout) * Number of discrete 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.000205/0.3909, allocations: 212.1 kB / 0.5341 GB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.366e-05/0.391, allocations: 47.53 kB / 0.5342 GB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.087e-05/0.3911, allocations: 45.14 kB / 0.5342 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3911, allocations: 0 / 0.5342 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3911, allocations: 3.938 kB / 0.5342 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3911, allocations: 0 / 0.5342 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002921/0.3914, allocations: 372.2 kB / 0.5346 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3914, allocations: 0 / 0.5346 GB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.109e-05/0.3914, allocations: 4 kB / 0.5346 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3914, allocations: 0 / 0.5346 GB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.3915, allocations: 15.98 kB / 0.5346 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3915, allocations: 0 / 0.5346 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3915, allocations: 0 / 0.5346 GB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009409/0.3924, allocations: 0.6208 MB / 0.5352 GB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002446/0.3927, allocations: 175.8 kB / 0.5354 GB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.814e-05/0.3928, allocations: 15.56 kB / 0.5354 GB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002871/0.393, allocations: 51.95 kB / 0.5354 GB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.904e-05/0.3931, allocations: 22.97 kB / 0.5355 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.353e-05/0.3932, allocations: 23.92 kB / 0.5355 GB, free: 12.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004/0.3936, allocations: 412 kB / 0.5359 GB, free: 12.32 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3936, allocations: 0 / 0.5359 GB, free: 12.32 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.3939, allocations: 76.12 kB / 0.536 GB, free: 12.25 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) * 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.0002434/0.3942, allocations: 145.6 kB / 0.5361 GB, free: 12.11 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004561/0.3946, allocations: 455.9 kB / 0.5365 GB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3946, allocations: 0 / 0.5365 GB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003167/0.395, allocations: 438.6 kB / 0.5369 GB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001993/0.3952, allocations: 33.16 kB / 0.537 GB, free: 11.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007837/0.396, allocations: 0.5515 MB / 0.5375 GB, free: 10.94 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.3963, allocations: 0.8217 MB / 0.5383 GB, free: 10.1 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.613e-05/0.3964, allocations: 38.19 kB / 0.5384 GB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.763e-05/0.3964, allocations: 19.44 kB / 0.5384 GB, free: 10.04 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.3964, allocations: 4 kB / 0.5384 GB, free: 10.04 MB / 362.7 MB Notification: Performance of Templates: time 0.006712/0.4032, allocations: 3.574 MB / 0.5419 GB, free: 6.504 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)