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.0009458/0.0009458, allocations: 181 kB / 8.045 MB, free: 1.016 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.5 MB / 230 MB, free: 3.191 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.0008476/0.0008477, allocations: 87.86 kB / 280.9 MB, free: 1.168 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05129/0.05129, allocations: 8.103 MB / 339.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.414e-05/1.416e-05, allocations: 0 / 398.5 MB, free: 67.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 52.52 MB / 451 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3891/0.4937, allocations: 77.89 MB / 0.5165 GB, free: 68 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002358/0.494, allocations: 53.05 kB / 0.5165 GB, free: 44 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0113/0.5053, allocations: 3.599 MB / 0.52 GB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.5053, allocations: 0 / 0.52 GB, free: 12.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.5053, allocations: 4 kB / 0.52 GB, free: 12.97 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.000506/0.5059, allocations: 455 kB / 0.5205 GB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.5059, allocations: 11.98 kB / 0.5205 GB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.835e-05/0.506, allocations: 23.7 kB / 0.5205 GB, free: 12.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.5063, allocations: 241.5 kB / 0.5207 GB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/0.5064, allocations: 0 / 0.5207 GB, free: 12.19 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.353e-05/0.5064, allocations: 8 kB / 0.5208 GB, free: 12.18 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001315/0.5065, allocations: 49.23 kB / 0.5208 GB, free: 12.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.5067, allocations: 111.9 kB / 0.5209 GB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.5068, allocations: 3.938 kB / 0.5209 GB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.5068, allocations: 7.953 kB / 0.5209 GB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.5068, allocations: 0 / 0.5209 GB, free: 12.04 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.5073, allocations: 342.5 kB / 0.5212 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.5074, allocations: 99.69 kB / 0.5213 GB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.5076, allocations: 85.17 kB / 0.5214 GB, free: 11.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-06/0.5076, allocations: 4 kB / 0.5214 GB, free: 11.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003151/0.5079, allocations: 310.5 kB / 0.5217 GB, free: 11.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 1.503e-06/0.5079, allocations: 4.844 kB / 0.5217 GB, free: 11.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004831/0.5084, allocations: 208.8 kB / 0.5219 GB, free: 11.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.5086, allocations: 216.9 kB / 0.5221 GB, free: 10.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.5087, allocations: 177.4 kB / 0.5223 GB, free: 10.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.5088, allocations: 32.89 kB / 0.5223 GB, free: 10.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.016e-05/0.5089, allocations: 101.6 kB / 0.5224 GB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.028e-05/0.5089, allocations: 42.84 kB / 0.5225 GB, free: 10.53 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.898e-06/0.5089, allocations: 0 / 0.5225 GB, free: 10.53 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5091, allocations: 337.7 kB / 0.5228 GB, free: 10.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.02e-05/0.5092, allocations: 50.61 kB / 0.5228 GB, free: 10.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.304e-05/0.5093, allocations: 69.91 kB / 0.5229 GB, free: 10.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.5094, allocations: 49.41 kB / 0.523 GB, free: 10.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5094, allocations: 3.938 kB / 0.523 GB, free: 10.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003425/0.5098, allocations: 211.4 kB / 0.5232 GB, free: 9.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.178e-05/0.5098, allocations: 76.19 kB / 0.5232 GB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.5099, allocations: 48 / 0.5232 GB, free: 9.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.5099, allocations: 3.984 kB / 0.5232 GB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.382e-05/0.51, allocations: 16.03 kB / 0.5233 GB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.51, allocations: 0 / 0.5233 GB, free: 9.809 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002477/0.5102, allocations: 47.86 kB / 0.5233 GB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.5103, allocations: 11.06 kB / 0.5233 GB, free: 9.754 MB / 346.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.0002174/0.5105, allocations: 202.3 kB / 0.5235 GB, free: 9.539 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.415e-05/0.5106, allocations: 23.8 kB / 0.5235 GB, free: 9.516 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.5106, allocations: 16.97 kB / 0.5235 GB, free: 9.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.5106, allocations: 4 kB / 0.5235 GB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.5106, allocations: 0 / 0.5235 GB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.5106, allocations: 0 / 0.5235 GB, free: 9.504 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002036/0.5108, allocations: 239.5 kB / 0.5238 GB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.5109, allocations: 0 / 0.5238 GB, free: 9.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.28e-05/0.5109, allocations: 4 kB / 0.5238 GB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.5109, allocations: 0 / 0.5238 GB, free: 9.254 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.571e-05/0.5109, allocations: 11.42 kB / 0.5238 GB, free: 9.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5109, allocations: 4 kB / 0.5238 GB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5109, allocations: 0 / 0.5238 GB, free: 9.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.5114, allocations: 279.8 kB / 0.5241 GB, free: 9.012 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.5115, allocations: 127.8 kB / 0.5242 GB, free: 8.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.5116, allocations: 15.38 kB / 0.5242 GB, free: 8.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.5119, allocations: 55.89 kB / 0.5242 GB, free: 8.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.202e-05/0.512, allocations: 22.41 kB / 0.5243 GB, free: 8.793 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-05/0.512, allocations: 15.61 kB / 0.5243 GB, free: 8.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.5121, allocations: 144.3 kB / 0.5244 GB, free: 8.656 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5121, allocations: 0 / 0.5244 GB, free: 8.656 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000301/0.5124, allocations: 74.98 kB / 0.5245 GB, free: 8.586 MB / 346.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.000229/0.5127, allocations: 148.4 kB / 0.5246 GB, free: 8.434 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003906/0.5131, allocations: 349 kB / 0.525 GB, free: 8.188 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5131, allocations: 3.938 kB / 0.525 GB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.5134, allocations: 385.1 kB / 0.5253 GB, free: 7.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.5136, allocations: 15.5 kB / 0.5254 GB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004943/0.5141, allocations: 219.7 kB / 0.5256 GB, free: 7.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.5144, allocations: 0.7199 MB / 0.5263 GB, free: 6.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.572e-05/0.5144, allocations: 8.562 kB / 0.5263 GB, free: 6.984 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.5145, allocations: 11.44 kB / 0.5263 GB, free: 6.973 MB / 346.7 MB Notification: Performance of SimCode: time 2.8e-07/0.5145, allocations: 4 kB / 0.5263 GB, free: 6.969 MB / 346.7 MB Notification: Performance of Templates: time 0.005688/0.5202, allocations: 2.515 MB / 0.5287 GB, free: 4.492 MB / 346.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)