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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/PowerSysPro 2.3.1-master/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 122.5 kB / 17.13 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 192.2 kB / 18.06 MB, free: 5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 222.9 MB / 241.8 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04688/0.04688, allocations: 8.098 MB / 300 MB, free: 6.617 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 59.91 kB / 415.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09205/0.09327, allocations: 51.53 MB / 466.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.00309/0.0964, allocations: 1.632 MB / 468.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.09759, allocations: 0.6118 MB / 468.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.0977, allocations: 0 / 468.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001493/0.0979, allocations: 27.83 kB / 468.9 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.09809, allocations: 39.77 kB / 469 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.09853, allocations: 115.7 kB / 469.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002536/0.09879, allocations: 195.5 kB / 469.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.726e-05/0.09889, allocations: 13.12 kB / 469.3 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001371/0.09903, allocations: 71.77 kB / 469.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001765/0.09921, allocations: 99.62 kB / 469.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.99e-05/0.09925, allocations: 12 kB / 469.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.0994, allocations: 79.94 kB / 469.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.304e-05/0.09948, allocations: 27.91 kB / 469.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001061/0.09959, allocations: 67.66 kB / 469.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.09989, allocations: 199.4 kB / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.09991, allocations: 0 / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.09991, allocations: 0 / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.09992, allocations: 0 / 469.8 MB, free: 15 MB / 350.1 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.0007283/0.1007, allocations: 0.4943 MB / 470.3 MB, free: 14.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.1007, allocations: 15.89 kB / 470.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.4e-05/0.1008, allocations: 20.73 kB / 470.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.1011, allocations: 224 kB / 470.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.1011, allocations: 4.375 kB / 470.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.1012, allocations: 12.38 kB / 470.6 MB, free: 14.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003472/0.1015, allocations: 133.5 kB / 470.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.1015, allocations: 0 / 470.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.1016, allocations: 8 kB / 470.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1016, allocations: 0 / 470.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.1018, allocations: 71.94 kB / 470.8 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006447/0.1024, allocations: 396.5 kB / 471.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/0.1027, allocations: 110.6 kB / 471.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.1029, allocations: 112.8 kB / 471.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.103, allocations: 4 kB / 471.4 MB, free: 13.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004296/0.1034, allocations: 315.8 kB / 471.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.1034, allocations: 0 / 471.7 MB, free: 12.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008566/0.1043, allocations: 391.3 kB / 472.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.1044, allocations: 221.5 kB / 472.3 MB, free: 12.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.1046, allocations: 207.5 kB / 472.5 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.482e-05/0.1047, allocations: 29.7 kB / 472.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.368e-05/0.1047, allocations: 108.1 kB / 472.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.571e-05/0.1048, allocations: 35.59 kB / 472.7 MB, free: 11.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.724e-05/0.1049, allocations: 37.7 kB / 472.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.105, allocations: 334.8 kB / 473 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/0.1051, allocations: 51.97 kB / 473.1 MB, free: 11.41 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.1052, allocations: 73.69 kB / 473.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005268/0.1057, allocations: 457.1 kB / 473.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.1058, allocations: 0 / 473.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003647/0.1061, allocations: 276.7 kB / 473.9 MB, free: 10.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.515e-05/0.1062, allocations: 71.39 kB / 473.9 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1062, allocations: 4 kB / 474 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.1062, allocations: 0 / 474 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.774e-05/0.1063, allocations: 8 kB / 474 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.1063, allocations: 0 / 474 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.1066, allocations: 51.84 kB / 474 MB, free: 10.4 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.1066, allocations: 8 kB / 474 MB, free: 10.39 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: tapChanger.tap:DISCRETE(start = tapChanger.startTap fixed = true ) "Current tap position" type: Integer 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.tapChanger.tap,$PRE.tapChanger.furtherTapChangeTimeout,$PRE.tapChanger.abnormalUTime,tapChanger.furtherTapChangeTimeout,tapChanger.increaseEvent,tapChanger.decreaseEvent,tapChanger.normalU,tapChanger.abnormalUTime,tapChanger.tap,voltage.nextEventScaled,voltage.nextEvent,$PRE.voltage.nextEvent,voltage.last,voltage.b,voltage.a,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002286/0.1069, allocations: 228.7 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.1069, allocations: 23.81 kB / 474.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.431e-05/0.107, allocations: 13.88 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.107, allocations: 4 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.107, allocations: 0 / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-06/0.107, allocations: 0 / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.1072, allocations: 261.3 kB / 474.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.1072, allocations: 3.938 kB / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.092e-05/0.1072, allocations: 0 / 474.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.1073, allocations: 7.938 kB / 474.6 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.1073, allocations: 7.984 kB / 474.6 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.1073, allocations: 4 kB / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1073, allocations: 0 / 474.6 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006755/0.108, allocations: 402.5 kB / 475 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001108/0.1081, allocations: 120.9 kB / 475.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.1082, allocations: 12 kB / 475.1 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002887/0.1085, allocations: 47.94 kB / 475.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.936e-05/0.1085, allocations: 27.91 kB / 475.2 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.1086, allocations: 12.08 kB / 475.2 MB, free: 9.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001266/0.1087, allocations: 151.5 kB / 475.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1087, allocations: 0 / 475.3 MB, free: 8.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003092/0.109, allocations: 64.12 kB / 475.4 MB, free: 8.91 MB / 350.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001939/0.1092, allocations: 155.5 kB / 475.5 MB, free: 8.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005436/0.1098, allocations: 386.6 kB / 475.9 MB, free: 8.348 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1098, allocations: 4 kB / 475.9 MB, free: 8.344 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000436/0.1103, allocations: 406.8 kB / 476.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1105, allocations: 27.98 kB / 476.3 MB, free: 7.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006239/0.1111, allocations: 341.7 kB / 476.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.1114, allocations: 0.716 MB / 477.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.871e-05/0.1115, allocations: 15.44 kB / 477.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1115, allocations: 0 / 477.4 MB, free: 6.766 MB / 350.1 MB Notification: Performance of Templates: time 0.004421/0.1159, allocations: 2.391 MB / 479.8 MB, free: 4.391 MB / 350.1 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)