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.001134/0.001134, allocations: 105.5 kB / 16.98 MB, free: 6.137 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.001294/0.001293, allocations: 191.4 kB / 17.91 MB, free: 5.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.374/1.374, allocations: 222.9 MB / 241.6 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.05451/0.05451, allocations: 8.09 MB / 299.9 MB, free: 6.707 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002182/0.002182, allocations: 59.91 kB / 362.4 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2528, allocations: 51.52 MB / 413.9 MB, free: 25.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002826/0.2557, allocations: 1.629 MB / 415.5 MB, free: 23.95 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.2567, allocations: 0.6141 MB / 416.2 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.694e-05/0.2568, allocations: 0 / 416.2 MB, free: 23.33 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001294/0.2569, allocations: 23.84 kB / 416.2 MB, free: 23.31 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.2571, allocations: 43.77 kB / 416.2 MB, free: 23.27 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003995/0.2575, allocations: 111.7 kB / 416.3 MB, free: 23.16 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002188/0.2578, allocations: 191.6 kB / 416.5 MB, free: 22.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.2579, allocations: 12.98 kB / 416.5 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.215e-05/0.258, allocations: 75.77 kB / 416.6 MB, free: 22.88 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001452/0.2581, allocations: 91.62 kB / 416.7 MB, free: 22.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.246e-05/0.2582, allocations: 12 kB / 416.7 MB, free: 22.78 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001325/0.2583, allocations: 87.94 kB / 416.8 MB, free: 22.69 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.98e-05/0.2584, allocations: 23.91 kB / 416.8 MB, free: 22.67 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.336e-05/0.2585, allocations: 67.66 kB / 416.9 MB, free: 22.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002311/0.2587, allocations: 189.5 kB / 417.1 MB, free: 22.42 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.2587, allocations: 3.984 kB / 417.1 MB, free: 22.41 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2587, allocations: 0 / 417.1 MB, free: 22.41 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.2587, allocations: 0 / 417.1 MB, free: 22.41 MB / 302.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.0006313/0.2594, allocations: 0.4904 MB / 417.6 MB, free: 21.86 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.2594, allocations: 15.89 kB / 417.6 MB, free: 21.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.2595, allocations: 16.75 kB / 417.6 MB, free: 21.83 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.2597, allocations: 235.9 kB / 417.8 MB, free: 21.56 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2597, allocations: 8.375 kB / 417.8 MB, free: 21.55 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.2598, allocations: 8.375 kB / 417.8 MB, free: 21.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003073/0.2601, allocations: 133.5 kB / 418 MB, free: 21.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.2601, allocations: 0 / 418 MB, free: 21.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2e-05/0.2601, allocations: 7.938 kB / 418 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.2601, allocations: 4 kB / 418 MB, free: 21.4 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001847/0.2603, allocations: 71.83 kB / 418 MB, free: 21.33 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005028/0.2608, allocations: 388.5 kB / 418.4 MB, free: 20.9 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002006/0.2611, allocations: 118.5 kB / 418.5 MB, free: 20.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.2613, allocations: 108.9 kB / 418.6 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.2613, allocations: 0 / 418.6 MB, free: 20.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004155/0.2617, allocations: 324.2 kB / 419 MB, free: 20.3 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.2617, allocations: 4 kB / 419 MB, free: 20.3 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007179/0.2625, allocations: 391.3 kB / 419.4 MB, free: 19.9 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.208e-05/0.2625, allocations: 217.6 kB / 419.6 MB, free: 19.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.2627, allocations: 202.8 kB / 419.8 MB, free: 19.43 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.2627, allocations: 29.7 kB / 419.8 MB, free: 19.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.214e-05/0.2628, allocations: 108.1 kB / 419.9 MB, free: 19.29 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.2628, allocations: 35.52 kB / 419.9 MB, free: 19.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.559e-05/0.2629, allocations: 37.7 kB / 420 MB, free: 19.21 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.703e-05/0.2629, allocations: 330.8 kB / 420.3 MB, free: 18.88 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.677e-05/0.263, allocations: 55.97 kB / 420.3 MB, free: 18.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.489e-05/0.2631, allocations: 80.06 kB / 420.4 MB, free: 18.74 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004019/0.2635, allocations: 455.8 kB / 420.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.2635, allocations: 0 / 420.9 MB, free: 18.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002696/0.2638, allocations: 272.7 kB / 421.1 MB, free: 17.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.062e-05/0.2638, allocations: 75.38 kB / 421.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.2639, allocations: 0 / 421.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2639, allocations: 0 / 421.2 MB, free: 17.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.35e-05/0.2639, allocations: 11.94 kB / 421.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.264, allocations: 0 / 421.2 MB, free: 17.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002393/0.2642, allocations: 48.06 kB / 421.3 MB, free: 17.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.2642, allocations: 11.98 kB / 421.3 MB, free: 17.8 MB / 302.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.0001886/0.2644, allocations: 223.9 kB / 421.5 MB, free: 17.56 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.635e-05/0.2645, allocations: 15.91 kB / 421.5 MB, free: 17.55 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.546e-05/0.2645, allocations: 21.86 kB / 421.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.2645, allocations: 0 / 421.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2645, allocations: 0 / 421.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2645, allocations: 0 / 421.5 MB, free: 17.52 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.2647, allocations: 269.3 kB / 421.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.2647, allocations: 0 / 421.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.804e-05/0.2647, allocations: 3.938 kB / 421.8 MB, free: 17.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.2647, allocations: 4 kB / 421.8 MB, free: 17.2 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.2647, allocations: 11.98 kB / 421.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2647, allocations: 0 / 421.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2647, allocations: 4 kB / 421.8 MB, free: 17.19 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000545/0.2653, allocations: 395.2 kB / 422.2 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.984e-05/0.2654, allocations: 128.8 kB / 422.3 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.2654, allocations: 12 kB / 422.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002441/0.2657, allocations: 43.95 kB / 422.4 MB, free: 16.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.111e-05/0.2658, allocations: 27.95 kB / 422.4 MB, free: 16.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.606e-05/0.2658, allocations: 15.98 kB / 422.4 MB, free: 16.53 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.777e-05/0.2659, allocations: 148.2 kB / 422.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2659, allocations: 0 / 422.6 MB, free: 16.39 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.2662, allocations: 64.12 kB / 422.6 MB, free: 16.32 MB / 302.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.0001781/0.2663, allocations: 147.5 kB / 422.8 MB, free: 16.17 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.2668, allocations: 390.6 kB / 423.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2668, allocations: 0 / 423.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003247/0.2671, allocations: 406.8 kB / 423.6 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.2674, allocations: 24.45 kB / 423.6 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005806/0.268, allocations: 349.7 kB / 423.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001782/0.2682, allocations: 0.7199 MB / 424.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.2682, allocations: 15.44 kB / 424.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2682, allocations: 4 kB / 424.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of Templates: time 0.003586/0.2718, allocations: 2.382 MB / 427 MB, free: 11.82 MB / 302.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)