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: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001797, allocations: 179.8 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.638/1.638, allocations: 223.2 MB / 239.7 MB, free: 1.812 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.001204/0.001204, allocations: 84.55 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.07445/0.07445, allocations: 8.102 MB / 350.1 MB, free: 2.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004215/0.0004215, allocations: 6.875 kB / 413.2 MB, free: 89.65 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1324, allocations: 52.53 MB / 465.7 MB, free: 41.99 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4342/0.5666, allocations: 78.3 MB / 0.5312 GB, free: 16.8 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.567, allocations: 59.88 kB / 0.5313 GB, free: 16.8 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01101/0.578, allocations: 3.631 MB / 0.5348 GB, free: 32.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.669e-06/0.5781, allocations: 3.938 kB / 0.5348 GB, free: 32.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/0.5781, allocations: 7.875 kB / 0.5349 GB, free: 32.31 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.0006799/0.5788, allocations: 490.6 kB / 0.5353 GB, free: 31.84 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.191e-05/0.5789, allocations: 11.59 kB / 0.5353 GB, free: 31.84 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.654e-05/0.5789, allocations: 41.64 kB / 0.5354 GB, free: 31.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.077e-05/0.579, allocations: 15.61 kB / 0.5354 GB, free: 31.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.5794, allocations: 232.1 kB / 0.5356 GB, free: 31.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5794, allocations: 3.875 kB / 0.5356 GB, free: 31.58 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.745e-05/0.5794, allocations: 11.25 kB / 0.5356 GB, free: 31.58 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.5798, allocations: 147.4 kB / 0.5358 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.5798, allocations: 0 / 0.5358 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.5798, allocations: 3.906 kB / 0.5358 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.5798, allocations: 3.953 kB / 0.5358 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.58, allocations: 70.19 kB / 0.5358 GB, free: 31.54 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00054/0.5806, allocations: 359.1 kB / 0.5362 GB, free: 31.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002317/0.5808, allocations: 117.7 kB / 0.5363 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.5809, allocations: 4 kB / 0.5363 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005028/0.5814, allocations: 340.6 kB / 0.5366 GB, free: 31.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.493e-06/0.5814, allocations: 0 / 0.5366 GB, free: 31.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0009312/0.5823, allocations: 0.5512 MB / 0.5372 GB, free: 30.74 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.5824, allocations: 224 kB / 0.5374 GB, free: 30.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/0.5826, allocations: 178.8 kB / 0.5375 GB, free: 30.39 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.5827, allocations: 33.75 kB / 0.5376 GB, free: 30.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.542e-05/0.5827, allocations: 113.8 kB / 0.5377 GB, free: 30.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.5828, allocations: 42.62 kB / 0.5377 GB, free: 30.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.648e-06/0.5828, allocations: 3.938 kB / 0.5377 GB, free: 30.24 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.5829, allocations: 328 kB / 0.538 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.684e-05/0.583, allocations: 60.48 kB / 0.5381 GB, free: 29.93 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.5831, allocations: 78.66 kB / 0.5382 GB, free: 29.91 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001294/0.5833, allocations: 113.7 kB / 0.5383 GB, free: 29.85 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.5833, allocations: 4.031 kB / 0.5383 GB, free: 29.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003637/0.5837, allocations: 277.5 kB / 0.5386 GB, free: 29.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.61e-05/0.5837, allocations: 72.69 kB / 0.5386 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.5837, allocations: 0 / 0.5386 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5838, allocations: 0 / 0.5386 GB, free: 29.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.552e-05/0.5838, allocations: 13.22 kB / 0.5386 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5839, allocations: 3.953 kB / 0.5386 GB, free: 29.67 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.5841, allocations: 54.2 kB / 0.5387 GB, free: 29.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.643e-05/0.5841, allocations: 12.38 kB / 0.5387 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.0002521/0.5844, allocations: 214.4 kB / 0.5389 GB, free: 29.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.5844, allocations: 24.27 kB / 0.5389 GB, free: 29.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.5845, allocations: 18.77 kB / 0.5389 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5845, allocations: 0.6562 kB / 0.5389 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/0.5845, allocations: 0 / 0.5389 GB, free: 29.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.5845, allocations: 7.984 kB / 0.539 GB, free: 29.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.5847, allocations: 259.8 kB / 0.5392 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5848, allocations: 0 / 0.5392 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.086e-05/0.5848, allocations: 4.734 kB / 0.5392 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5848, allocations: 3.938 kB / 0.5392 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.058e-05/0.5848, allocations: 11.09 kB / 0.5392 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5848, allocations: 0 / 0.5392 GB, free: 29.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.5848, allocations: 4 kB / 0.5392 GB, free: 29.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.5855, allocations: 410.4 kB / 0.5396 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.5856, allocations: 130.9 kB / 0.5397 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.389e-05/0.5857, allocations: 15.94 kB / 0.5398 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002611/0.586, allocations: 55.38 kB / 0.5398 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.93e-05/0.5861, allocations: 23.95 kB / 0.5398 GB, free: 29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.929e-05/0.5861, allocations: 10.53 kB / 0.5398 GB, free: 29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001243/0.5862, allocations: 149.1 kB / 0.54 GB, free: 28.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5862, allocations: 0 / 0.54 GB, free: 28.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002864/0.5865, allocations: 74.67 kB / 0.5401 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.001011/0.5875, allocations: 0.9681 MB / 0.541 GB, free: 28.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000491/0.5881, allocations: 384.8 kB / 0.5414 GB, free: 28.11 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.5881, allocations: 0 / 0.5414 GB, free: 28.11 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003826/0.5885, allocations: 413.8 kB / 0.5418 GB, free: 27.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001843/0.5887, allocations: 20.16 kB / 0.5418 GB, free: 27.97 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.5903, allocations: 1.103 MB / 0.5429 GB, free: 27.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.5906, allocations: 0.7198 MB / 0.5436 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.5907, allocations: 10.09 kB / 0.5436 GB, free: 26.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.524e-05/0.5907, allocations: 38.81 kB / 0.5436 GB, free: 26.84 MB / 378.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5907, allocations: 3.938 kB / 0.5436 GB, free: 26.83 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.608, allocations: 4.218 MB / 0.5477 GB, free: 26.4 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.6082, allocations: 157 kB / 0.5479 GB, free: 26.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.837/2.445, allocations: 0 / 0.5479 GB, free: 26.16 MB / 378.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation2_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1)