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/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/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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004067/0.004067, allocations: 88.67 kB / 15.91 MB, free: 6.301 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.0009823/0.0009823, allocations: 199.3 kB / 16.83 MB, free: 6.234 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.219/1.219, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1359/0.1359, allocations: 8.088 MB / 298.7 MB, free: 2.039 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009676/0.0009676, allocations: 55.92 kB / 361 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08099/0.08197, allocations: 51.52 MB / 412.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002478/0.08448, allocations: 1.687 MB / 414.2 MB, free: 8.453 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009247/0.08542, allocations: 0.6548 MB / 414.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.596e-05/0.08547, allocations: 3.938 kB / 414.9 MB, free: 7.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.08565, allocations: 119.8 kB / 415 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001851/0.08584, allocations: 139.7 kB / 415.1 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002476/0.0861, allocations: 83.83 kB / 415.2 MB, free: 7.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.08627, allocations: 203.5 kB / 415.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.023e-05/0.08635, allocations: 5.125 kB / 415.4 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.08647, allocations: 103.7 kB / 415.5 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001969/0.08668, allocations: 187.6 kB / 415.7 MB, free: 6.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.116e-05/0.08671, allocations: 8 kB / 415.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.08684, allocations: 83.86 kB / 415.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.72e-05/0.08694, allocations: 111.6 kB / 415.9 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001165/0.08706, allocations: 123.1 kB / 416 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.08734, allocations: 315.1 kB / 416.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.08735, allocations: 0 / 416.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.08736, allocations: 0 / 416.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.08737, allocations: 4 kB / 416.3 MB, free: 6.336 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.0007788/0.08816, allocations: 0.6958 MB / 417 MB, free: 5.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.901e-05/0.08819, allocations: 12.03 kB / 417 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.515e-05/0.08827, allocations: 40.47 kB / 417.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003729/0.08865, allocations: 385.9 kB / 417.5 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.08867, allocations: 8.359 kB / 417.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/0.0887, allocations: 4.375 kB / 417.5 MB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003235/0.08903, allocations: 180.2 kB / 417.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.08905, allocations: 4 kB / 417.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.08908, allocations: 4 kB / 417.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.08908, allocations: 0 / 417.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.0893, allocations: 111.9 kB / 417.8 MB, free: 4.801 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000625/0.08993, allocations: 0.5004 MB / 418.3 MB, free: 4.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002448/0.09019, allocations: 158.5 kB / 418.4 MB, free: 4.086 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002215/0.09042, allocations: 148.8 kB / 418.6 MB, free: 3.938 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.939e-06/0.09044, allocations: 4 kB / 418.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004535/0.0909, allocations: 360.9 kB / 418.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 2.545e-06/0.09091, allocations: 0 / 418.9 MB, free: 3.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009047/0.09182, allocations: 0.584 MB / 419.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/0.09194, allocations: 221.6 kB / 419.7 MB, free: 2.672 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005556/0.0925, allocations: 0.5565 MB / 420.3 MB, free: 2.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.496e-05/0.09253, allocations: 33.69 kB / 420.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.09267, allocations: 192.1 kB / 420.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.407e-05/0.09272, allocations: 39.59 kB / 420.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/0.09279, allocations: 41.61 kB / 420.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.09294, allocations: 366.7 kB / 420.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/0.09306, allocations: 91.97 kB / 421 MB, free: 1.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/0.09321, allocations: 122.7 kB / 421.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.0938, allocations: 0.6144 MB / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.09381, allocations: 0 / 421.8 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000409/0.09423, allocations: 412.5 kB / 422.2 MB, free: 116 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/0.09429, allocations: 75.38 kB / 422.2 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.0943, allocations: 4 kB / 422.2 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.09431, allocations: 0 / 422.2 MB, free: 24 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.09438, allocations: 8 kB / 422.3 MB, free: 16 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.09439, allocations: 4.016 kB / 422.3 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.09468, allocations: 60.05 kB / 422.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.09471, allocations: 11.98 kB / 422.3 MB, free: 15.94 MB / 366.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.0002541/0.09496, allocations: 287.2 kB / 422.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.673e-05/0.09503, allocations: 51.28 kB / 422.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.809e-05/0.09508, allocations: 47.91 kB / 422.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.09509, allocations: 0 / 422.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.0951, allocations: 0 / 422.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.0951, allocations: 0 / 422.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.09535, allocations: 341.4 kB / 423 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.09536, allocations: 0 / 423 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.09539, allocations: 4.047 kB / 423 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.09539, allocations: 3.984 kB / 423 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.09542, allocations: 15.98 kB / 423.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.09543, allocations: 4 kB / 423.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.09544, allocations: 0 / 423.1 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007106/0.09615, allocations: 0.5375 MB / 423.6 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/0.09632, allocations: 148.6 kB / 423.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.54e-05/0.09639, allocations: 19.94 kB / 423.8 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.09666, allocations: 47.94 kB / 423.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.09675, allocations: 23.97 kB / 423.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.09679, allocations: 15.98 kB / 423.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004291/0.09722, allocations: 411.1 kB / 424.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.09723, allocations: 0 / 424.3 MB, free: 13.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002806/0.09752, allocations: 76 kB / 424.3 MB, free: 13.83 MB / 366.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.0001693/0.09769, allocations: 147.5 kB / 424.5 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004892/0.09819, allocations: 482.4 kB / 424.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.0982, allocations: 0 / 424.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000409/0.09862, allocations: 454.7 kB / 425.4 MB, free: 12.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/0.09891, allocations: 29.97 kB / 425.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001086/0.1, allocations: 0.7982 MB / 426.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/0.1004, allocations: 0.8153 MB / 427 MB, free: 11.01 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.189e-05/0.1005, allocations: 37.94 kB / 427.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.919e-05/0.1005, allocations: 15.44 kB / 427.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1005, allocations: 0 / 427.1 MB, free: 10.96 MB / 366.1 MB Notification: Performance of Templates: time 0.006708/0.1073, allocations: 3.71 MB / 430.8 MB, free: 7.27 MB / 366.1 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)