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.001511/0.001512, allocations: 180.7 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.36/1.36, allocations: 223.2 MB / 239.7 MB, free: 1.781 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.0008443/0.0008444, allocations: 88.86 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.04886/0.04886, allocations: 8.107 MB / 350.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003071, allocations: 7.438 kB / 413.1 MB, free: 89.71 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 52.53 MB / 465.6 MB, free: 42.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3633/0.4663, allocations: 78.3 MB / 0.5312 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002237/0.4666, allocations: 59.86 kB / 0.5312 GB, free: 16.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01201/0.4786, allocations: 4.606 MB / 0.5357 GB, free: 32.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4787, allocations: 0 / 0.5357 GB, free: 32.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.4787, allocations: 3.875 kB / 0.5357 GB, free: 32.11 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.0006984/0.4794, allocations: 0.6891 MB / 0.5364 GB, free: 31.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.4794, allocations: 8.672 kB / 0.5364 GB, free: 31.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.4795, allocations: 42.86 kB / 0.5364 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/0.4801, allocations: 381.5 kB / 0.5368 GB, free: 31.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.4801, allocations: 8.516 kB / 0.5368 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.733e-05/0.4801, allocations: 3.781 kB / 0.5368 GB, free: 31.25 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003917/0.4805, allocations: 227.5 kB / 0.537 GB, free: 31.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.4805, allocations: 4 kB / 0.537 GB, free: 31.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.4806, allocations: 3.969 kB / 0.537 GB, free: 31.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.4806, allocations: 3.953 kB / 0.537 GB, free: 31.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002553/0.4808, allocations: 146.4 kB / 0.5372 GB, free: 31.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007237/0.4816, allocations: 0.5267 MB / 0.5377 GB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002714/0.4819, allocations: 197.1 kB / 0.5379 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.4819, allocations: 0 / 0.5379 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004555/0.4823, allocations: 412.4 kB / 0.5383 GB, free: 30.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.4824, allocations: 0 / 0.5383 GB, free: 30.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.001311/0.4837, allocations: 0.8752 MB / 0.5391 GB, free: 30.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.447e-05/0.4838, allocations: 227 kB / 0.5393 GB, free: 30.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.4842, allocations: 0.5099 MB / 0.5398 GB, free: 30.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.4843, allocations: 33.42 kB / 0.5399 GB, free: 30 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.4844, allocations: 190.2 kB / 0.5401 GB, free: 29.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.288e-05/0.4844, allocations: 46.64 kB / 0.5401 GB, free: 29.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.4845, allocations: 3.875 kB / 0.5401 GB, free: 29.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.865e-05/0.4845, allocations: 360 kB / 0.5404 GB, free: 29.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.4847, allocations: 129.5 kB / 0.5406 GB, free: 29.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.4849, allocations: 147.8 kB / 0.5407 GB, free: 29.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.485, allocations: 193.7 kB / 0.5409 GB, free: 29.49 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.4851, allocations: 0 / 0.5409 GB, free: 29.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006134/0.4857, allocations: 0.5219 MB / 0.5414 GB, free: 29.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.791e-05/0.4857, allocations: 80.52 kB / 0.5415 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4857, allocations: 0 / 0.5415 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.684e-05/0.4858, allocations: 0 / 0.5415 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.4858, allocations: 7.688 kB / 0.5415 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.266e-06/0.4859, allocations: 7.797 kB / 0.5415 GB, free: 29.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.4861, allocations: 50.08 kB / 0.5415 GB, free: 29.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.153e-05/0.4861, allocations: 16.34 kB / 0.5416 GB, free: 29.29 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.0003069/0.4865, allocations: 284.1 kB / 0.5418 GB, free: 29.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/0.4865, allocations: 50.17 kB / 0.5419 GB, free: 29.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.505e-05/0.4866, allocations: 45.72 kB / 0.5419 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.4866, allocations: 8.031 kB / 0.5419 GB, free: 29.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.4866, allocations: 3.938 kB / 0.5419 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4866, allocations: 4.75 kB / 0.5419 GB, free: 29.06 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.4869, allocations: 364.6 kB / 0.5423 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4869, allocations: 0 / 0.5423 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.102e-05/0.487, allocations: 3.625 kB / 0.5423 GB, free: 28.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.487, allocations: 3.938 kB / 0.5423 GB, free: 28.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.539e-05/0.487, allocations: 15.53 kB / 0.5423 GB, free: 28.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.487, allocations: 3.938 kB / 0.5423 GB, free: 28.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.487, allocations: 0 / 0.5423 GB, free: 28.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.4881, allocations: 0.6517 MB / 0.543 GB, free: 28.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.4884, allocations: 174.4 kB / 0.5431 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.856e-05/0.4884, allocations: 11.88 kB / 0.5431 GB, free: 28.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002606/0.4887, allocations: 57.53 kB / 0.5432 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.398e-05/0.4888, allocations: 26.73 kB / 0.5432 GB, free: 28.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-05/0.4889, allocations: 19.11 kB / 0.5432 GB, free: 28.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004204/0.4893, allocations: 418.8 kB / 0.5436 GB, free: 28.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4893, allocations: 0 / 0.5436 GB, free: 28.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003357/0.4896, allocations: 78.06 kB / 0.5437 GB, free: 28.5 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.0002049/0.4898, allocations: 143.4 kB / 0.5438 GB, free: 28.4 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.4904, allocations: 469.4 kB / 0.5443 GB, free: 28.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4904, allocations: 7.938 kB / 0.5443 GB, free: 28.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003866/0.4908, allocations: 453.5 kB / 0.5447 GB, free: 28.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.491, allocations: 31.55 kB / 0.5448 GB, free: 28.14 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000989/0.492, allocations: 0.765 MB / 0.5455 GB, free: 27.81 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.4924, allocations: 0.8151 MB / 0.5463 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.613e-05/0.4925, allocations: 42.78 kB / 0.5463 GB, free: 27.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.4926, allocations: 19.19 kB / 0.5464 GB, free: 27.1 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.4926, allocations: 0 / 0.5464 GB, free: 27.1 MB / 378.7 MB Notification: Performance of Templates: time 0.006527/0.4991, allocations: 3.573 MB / 0.5498 GB, free: 26.79 MB / 378.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)