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: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",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.001147/0.001147, allocations: 181.7 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.537/1.537, 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.001011/0.001011, allocations: 97.77 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.05819/0.05819, allocations: 8.098 MB / 345.1 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.356e-05/4.379e-05, allocations: 0 / 405.5 MB, free: 61.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 52.52 MB / 458.1 MB, free: 9.359 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4449/0.5569, allocations: 78.5 MB / 0.524 GB, free: 7.453 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001872/0.5571, allocations: 53.23 kB / 0.524 GB, free: 7.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.5702, allocations: 4.6 MB / 0.5285 GB, free: 3.398 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5702, allocations: 0 / 0.5285 GB, free: 3.398 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.92e-05/0.5702, allocations: 4 kB / 0.5285 GB, free: 3.395 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.0009535/0.5712, allocations: 0.5909 MB / 0.5291 GB, free: 2.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.443e-05/0.5713, allocations: 16.02 kB / 0.5291 GB, free: 2.754 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001029/0.5714, allocations: 38.52 kB / 0.5292 GB, free: 2.707 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.5716, allocations: 39.53 kB / 0.5292 GB, free: 2.668 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007478/0.5723, allocations: 381.6 kB / 0.5296 GB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.26e-05/0.5724, allocations: 8 kB / 0.5296 GB, free: 2.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.5724, allocations: 8 kB / 0.5296 GB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.5728, allocations: 202 kB / 0.5298 GB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5728, allocations: 0 / 0.5298 GB, free: 2.094 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.797e-05/0.5728, allocations: 4 kB / 0.5298 GB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.5728, allocations: 3.953 kB / 0.5298 GB, free: 2.086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.5731, allocations: 136.2 kB / 0.5299 GB, free: 1.98 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.5741, allocations: 0.5251 MB / 0.5304 GB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003018/0.5745, allocations: 177.4 kB / 0.5306 GB, free: 1.344 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.5747, allocations: 164.4 kB / 0.5308 GB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.36e-05/0.5748, allocations: 0 / 0.5308 GB, free: 1.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005183/0.5753, allocations: 402 kB / 0.5311 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 2.224e-06/0.5753, allocations: 0 / 0.5311 GB, free: 0.8438 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.001164/0.5765, allocations: 0.5335 MB / 0.5317 GB, free: 384 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001383/0.5766, allocations: 225.1 kB / 0.5319 GB, free: 112 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.5774, allocations: 0.5054 MB / 0.5324 GB, free: 15.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.636e-05/0.5775, allocations: 33.14 kB / 0.5324 GB, free: 15.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.5777, allocations: 190.8 kB / 0.5326 GB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.721e-05/0.5778, allocations: 36.86 kB / 0.5326 GB, free: 15.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.835e-05/0.5778, allocations: 4.562 kB / 0.5326 GB, free: 15.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.578, allocations: 361 kB / 0.533 GB, free: 15.14 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.5783, allocations: 129.9 kB / 0.5331 GB, free: 15.04 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.5786, allocations: 147.6 kB / 0.5332 GB, free: 14.92 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/0.5788, allocations: 188 kB / 0.5334 GB, free: 14.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5789, allocations: 0 / 0.5334 GB, free: 14.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000972/0.5798, allocations: 0.5221 MB / 0.5339 GB, free: 14.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.493e-05/0.5799, allocations: 70.2 kB / 0.534 GB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.58, allocations: 7.922 kB / 0.534 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.58, allocations: 0 / 0.534 GB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.5801, allocations: 11.98 kB / 0.534 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.5801, allocations: 7.984 kB / 0.534 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.5805, allocations: 50.81 kB / 0.5341 GB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.338e-05/0.5805, allocations: 15.98 kB / 0.5341 GB, free: 14.13 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.0002792/0.5808, allocations: 209.8 kB / 0.5343 GB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.604e-05/0.5809, allocations: 43.53 kB / 0.5343 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.114e-05/0.581, allocations: 42.64 kB / 0.5344 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.581, allocations: 7.938 kB / 0.5344 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.581, allocations: 3.984 kB / 0.5344 GB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.581, allocations: 3.953 kB / 0.5344 GB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000411/0.5814, allocations: 359.1 kB / 0.5347 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.5815, allocations: 0 / 0.5347 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.036e-05/0.5815, allocations: 11.98 kB / 0.5347 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.5815, allocations: 0 / 0.5347 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.885e-05/0.5816, allocations: 11.31 kB / 0.5347 GB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5816, allocations: 4 kB / 0.5347 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5816, allocations: 0 / 0.5347 GB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/0.5828, allocations: 0.615 MB / 0.5353 GB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.5831, allocations: 176 kB / 0.5355 GB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.199e-05/0.5833, allocations: 11.44 kB / 0.5355 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003538/0.5836, allocations: 55.95 kB / 0.5356 GB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.5837, allocations: 25.95 kB / 0.5356 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/0.5838, allocations: 22.98 kB / 0.5356 GB, free: 12.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005547/0.5843, allocations: 408.7 kB / 0.536 GB, free: 12.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5844, allocations: 4 kB / 0.536 GB, free: 12.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004202/0.5848, allocations: 87.16 kB / 0.5361 GB, free: 12.21 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.001263/0.5861, allocations: 1.082 MB / 0.5371 GB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004917/0.5866, allocations: 452.8 kB / 0.5376 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5866, allocations: 0 / 0.5376 GB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.5869, allocations: 435.7 kB / 0.538 GB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002373/0.5872, allocations: 35.92 kB / 0.538 GB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.5884, allocations: 0.6639 MB / 0.5387 GB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004184/0.5888, allocations: 0.814 MB / 0.5395 GB, free: 9.051 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.5889, allocations: 46.03 kB / 0.5395 GB, free: 9.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.589, allocations: 108.1 kB / 0.5396 GB, free: 8.977 MB / 362.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5891, allocations: 3.938 kB / 0.5396 GB, free: 8.973 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.6136, allocations: 7.224 MB / 0.5467 GB, free: 1.875 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001894/0.6138, allocations: 129.6 kB / 0.5468 GB, free: 1.656 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.168/2.781, allocations: 4.062 kB / 0.5468 GB, free: 1.652 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation1_fmu --startTime=0 --stopTime=350 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)