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.0008783/0.0008784, allocations: 171.8 kB / 16.8 MB, free: 5.004 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.342/1.342, allocations: 223.3 MB / 240.8 MB, free: 9.961 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.0007529/0.0007529, allocations: 98.5 kB / 292 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04487/0.04487, allocations: 8.1 MB / 351.2 MB, free: 15.34 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005677/0.0005677, allocations: 16.53 kB / 414.4 MB, free: 57.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1008, allocations: 52.51 MB / 466.9 MB, free: 4.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2868/0.3877, allocations: 78.33 MB / 0.5324 GB, free: 7.164 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001705/0.3879, allocations: 60.2 kB / 0.5325 GB, free: 7.133 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01045/0.3984, allocations: 3.63 MB / 0.536 GB, free: 3.992 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3984, allocations: 0 / 0.536 GB, free: 3.992 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.3984, allocations: 0 / 0.536 GB, free: 3.992 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.0004873/0.3989, allocations: 492.8 kB / 0.5365 GB, free: 3.465 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.3989, allocations: 8.031 kB / 0.5365 GB, free: 3.457 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.193e-05/0.399, allocations: 20.84 kB / 0.5365 GB, free: 3.438 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.3993, allocations: 234 kB / 0.5368 GB, free: 3.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3993, allocations: 8.125 kB / 0.5368 GB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.3993, allocations: 12.31 kB / 0.5368 GB, free: 3.164 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.3996, allocations: 142.7 kB / 0.5369 GB, free: 3.047 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3997, allocations: 7.938 kB / 0.5369 GB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.645e-05/0.3997, allocations: 0 / 0.5369 GB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.3997, allocations: 0 / 0.5369 GB, free: 3.039 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001828/0.3999, allocations: 74.27 kB / 0.537 GB, free: 2.984 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.4003, allocations: 367.9 kB / 0.5373 GB, free: 2.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.4006, allocations: 117.4 kB / 0.5374 GB, free: 2.527 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000187/0.4008, allocations: 119.1 kB / 0.5376 GB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.392e-06/0.4008, allocations: 0 / 0.5376 GB, free: 2.453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003642/0.4011, allocations: 335.4 kB / 0.5379 GB, free: 2.117 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.403e-06/0.4012, allocations: 0 / 0.5379 GB, free: 2.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007478/0.4019, allocations: 402.2 kB / 0.5383 GB, free: 1.777 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.236e-05/0.402, allocations: 221 kB / 0.5385 GB, free: 1.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.4022, allocations: 204.2 kB / 0.5387 GB, free: 1.336 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.4022, allocations: 29.7 kB / 0.5387 GB, free: 1.301 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.4023, allocations: 102.1 kB / 0.5388 GB, free: 1.211 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.126e-05/0.4023, allocations: 45.45 kB / 0.5388 GB, free: 1.172 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.845e-06/0.4023, allocations: 0 / 0.5388 GB, free: 1.172 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.4025, allocations: 336.8 kB / 0.5392 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.914e-05/0.4026, allocations: 59.22 kB / 0.5392 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000102/0.4027, allocations: 70.44 kB / 0.5393 GB, free: 0.75 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005142/0.4032, allocations: 483.8 kB / 0.5397 GB, free: 312 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.4032, allocations: 0 / 0.5397 GB, free: 312 kB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003376/0.4036, allocations: 278.3 kB / 0.54 GB, free: 68 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.4036, allocations: 70.7 kB / 0.5401 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.4036, allocations: 0 / 0.5401 GB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.4037, allocations: 4.031 kB / 0.5401 GB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.477e-05/0.4037, allocations: 11.98 kB / 0.5401 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.4038, allocations: 0 / 0.5401 GB, free: 15.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.404, allocations: 55.36 kB / 0.5401 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.404, allocations: 11.94 kB / 0.5402 GB, free: 15.91 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.0002498/0.4043, allocations: 222.5 kB / 0.5404 GB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.997e-05/0.4043, allocations: 27.81 kB / 0.5404 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.508e-05/0.4044, allocations: 13.31 kB / 0.5404 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.4044, allocations: 0 / 0.5404 GB, free: 15.65 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4044, allocations: 3.938 kB / 0.5404 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.4044, allocations: 0 / 0.5404 GB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001996/0.4046, allocations: 274.9 kB / 0.5407 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.4046, allocations: 0 / 0.5407 GB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.349e-05/0.4046, allocations: 11.92 kB / 0.5407 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4046, allocations: 0 / 0.5407 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.4047, allocations: 11.12 kB / 0.5407 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.4047, allocations: 0 / 0.5407 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.4047, allocations: 0 / 0.5407 GB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006146/0.4053, allocations: 413.9 kB / 0.5411 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.4054, allocations: 127.2 kB / 0.5412 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.076e-05/0.4055, allocations: 11.62 kB / 0.5412 GB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.4057, allocations: 55.94 kB / 0.5413 GB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.234e-05/0.4058, allocations: 22.28 kB / 0.5413 GB, free: 14.77 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.4059, allocations: 15.17 kB / 0.5413 GB, free: 14.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.406, allocations: 152.9 kB / 0.5415 GB, free: 14.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.406, allocations: 0 / 0.5415 GB, free: 14.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002853/0.4063, allocations: 72.06 kB / 0.5415 GB, free: 14.55 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.0001913/0.4065, allocations: 138.9 kB / 0.5417 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004912/0.407, allocations: 392.4 kB / 0.542 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.407, allocations: 0 / 0.542 GB, free: 14.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003734/0.4074, allocations: 410.6 kB / 0.5424 GB, free: 13.87 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4076, allocations: 34.73 kB / 0.5425 GB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006111/0.4082, allocations: 337.8 kB / 0.5428 GB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002897/0.4085, allocations: 0.7163 MB / 0.5435 GB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.272e-05/0.4086, allocations: 8.422 kB / 0.5435 GB, free: 12.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.4086, allocations: 11.44 kB / 0.5435 GB, free: 12.75 MB / 362.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4086, allocations: 0 / 0.5435 GB, free: 12.75 MB / 362.7 MB Notification: Performance of Templates: time 0.00518/0.4138, allocations: 2.688 MB / 0.5461 GB, free: 10.11 MB / 362.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)