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.001317/0.001321, allocations: 180.2 kB / 15.8 MB, free: 6.34 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.35/1.35, allocations: 223.2 MB / 239.7 MB, free: 1.777 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009348/0.0009347, allocations: 110.4 kB / 290.9 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05105/0.05105, allocations: 8.104 MB / 350.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003183/0.0003183, allocations: 11.31 kB / 413.1 MB, free: 89.66 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 52.53 MB / 465.6 MB, free: 42.08 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3797/0.4902, allocations: 78.3 MB / 0.5312 GB, free: 16.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.4905, allocations: 56.95 kB / 0.5312 GB, free: 16.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01358/0.504, allocations: 3.633 MB / 0.5348 GB, free: 32.28 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.5041, allocations: 0 / 0.5348 GB, free: 32.28 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.232e-05/0.5041, allocations: 3.875 kB / 0.5348 GB, free: 32.28 MB / 378.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.0006833/0.5048, allocations: 490.4 kB / 0.5352 GB, free: 31.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.022e-05/0.5049, allocations: 11.78 kB / 0.5352 GB, free: 31.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.505, allocations: 26.56 kB / 0.5353 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003538/0.5054, allocations: 228.5 kB / 0.5355 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.045e-05/0.5054, allocations: 3.875 kB / 0.5355 GB, free: 31.59 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.5054, allocations: 7.859 kB / 0.5355 GB, free: 31.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003274/0.5058, allocations: 141.1 kB / 0.5356 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.5058, allocations: 3.812 kB / 0.5356 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.2e-05/0.5058, allocations: 0 / 0.5356 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.979e-06/0.5058, allocations: 0 / 0.5356 GB, free: 31.55 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001916/0.506, allocations: 81.83 kB / 0.5357 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005215/0.5066, allocations: 364.1 kB / 0.5361 GB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002228/0.5068, allocations: 124 kB / 0.5362 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.5068, allocations: 0 / 0.5362 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003858/0.5072, allocations: 336.9 kB / 0.5365 GB, free: 31.04 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.333e-06/0.5072, allocations: 0 / 0.5365 GB, free: 31.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0008749/0.5081, allocations: 0.5515 MB / 0.537 GB, free: 30.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.91e-05/0.5082, allocations: 227.5 kB / 0.5373 GB, free: 30.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.5084, allocations: 176.7 kB / 0.5374 GB, free: 30.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.5084, allocations: 34.17 kB / 0.5375 GB, free: 30.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.5085, allocations: 102 kB / 0.5376 GB, free: 30.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.183e-05/0.5085, allocations: 46.89 kB / 0.5376 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.143e-05/0.5086, allocations: 0 / 0.5376 GB, free: 30.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.187e-05/0.5087, allocations: 327.7 kB / 0.5379 GB, free: 29.94 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001222/0.5088, allocations: 56.88 kB / 0.538 GB, free: 29.94 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.5089, allocations: 87.36 kB / 0.538 GB, free: 29.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.5091, allocations: 117.6 kB / 0.5382 GB, free: 29.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5091, allocations: 3.844 kB / 0.5382 GB, free: 29.85 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004482/0.5096, allocations: 278.2 kB / 0.5384 GB, free: 29.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.112e-05/0.5096, allocations: 68.23 kB / 0.5385 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5096, allocations: 0 / 0.5385 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.5097, allocations: 0 / 0.5385 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.896e-05/0.5098, allocations: 13.11 kB / 0.5385 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.5098, allocations: 7.891 kB / 0.5385 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003148/0.5101, allocations: 53.84 kB / 0.5386 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.5102, allocations: 4.781 kB / 0.5386 GB, free: 29.66 MB / 378.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.abnormalUTime:DISCRETE(unit = "s" fixed = true protected = true ) "Time when the signal U went out its normal range" type: Real tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "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 () * 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.0002856/0.5105, allocations: 224.4 kB / 0.5388 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.947e-05/0.5105, allocations: 19.5 kB / 0.5388 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.5106, allocations: 15.83 kB / 0.5388 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.5106, allocations: 3.906 kB / 0.5388 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.5106, allocations: 0 / 0.5388 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.5106, allocations: 4.75 kB / 0.5388 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.5109, allocations: 259.2 kB / 0.5391 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5109, allocations: 4 kB / 0.5391 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.573e-05/0.5109, allocations: 8.516 kB / 0.5391 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.511, allocations: 0 / 0.5391 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.511, allocations: 15 kB / 0.5391 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.511, allocations: 0 / 0.5391 GB, free: 29.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.511, allocations: 3.938 kB / 0.5391 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008832/0.5119, allocations: 408.5 kB / 0.5395 GB, free: 29.12 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.5121, allocations: 126.5 kB / 0.5396 GB, free: 29.01 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.525e-05/0.5122, allocations: 14.66 kB / 0.5396 GB, free: 29.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.5126, allocations: 52.8 kB / 0.5397 GB, free: 29.01 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.5127, allocations: 23.89 kB / 0.5397 GB, free: 29.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.144e-05/0.5127, allocations: 21.59 kB / 0.5397 GB, free: 29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001646/0.5129, allocations: 146.7 kB / 0.5399 GB, free: 28.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5129, allocations: 4 kB / 0.5399 GB, free: 28.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004347/0.5134, allocations: 74.97 kB / 0.5399 GB, free: 28.91 MB / 378.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.0002469/0.5136, allocations: 138.5 kB / 0.5401 GB, free: 28.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006575/0.5143, allocations: 391 kB / 0.5404 GB, free: 28.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5143, allocations: 0 / 0.5404 GB, free: 28.69 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004937/0.5148, allocations: 413.3 kB / 0.5408 GB, free: 28.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.515, allocations: 21.02 kB / 0.5409 GB, free: 28.55 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008046/0.5159, allocations: 338.7 kB / 0.5412 GB, free: 28.37 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.5162, allocations: 0.7232 MB / 0.5419 GB, free: 27.66 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.855e-05/0.5163, allocations: 10.7 kB / 0.5419 GB, free: 27.66 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.005e-05/0.5163, allocations: 12.11 kB / 0.5419 GB, free: 27.66 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5163, allocations: 0 / 0.5419 GB, free: 27.66 MB / 378.7 MB Notification: Performance of Templates: time 0.007195/0.5235, allocations: 2.655 MB / 0.5445 GB, free: 27.41 MB / 378.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)