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/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.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.001375/0.001374, allocations: 106.9 kB / 16.31 MB, free: 5.879 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.001275/0.001275, allocations: 191.2 kB / 17.24 MB, free: 5.539 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.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05387/0.05387, allocations: 8.094 MB / 299.2 MB, free: 6.719 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 59.91 kB / 361.7 MB, free: 8.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2582, allocations: 51.51 MB / 413.2 MB, free: 25.75 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002868/0.2612, allocations: 1.626 MB / 414.9 MB, free: 24.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001008/0.2622, allocations: 0.6136 MB / 415.5 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.2623, allocations: 0 / 415.5 MB, free: 23.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001712/0.2625, allocations: 23.84 kB / 415.5 MB, free: 23.47 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2627, allocations: 43.77 kB / 415.5 MB, free: 23.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.2631, allocations: 107.7 kB / 415.6 MB, free: 23.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002348/0.2634, allocations: 187.6 kB / 415.8 MB, free: 23.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001399/0.2635, allocations: 28.89 kB / 415.9 MB, free: 23.11 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.2636, allocations: 75.75 kB / 415.9 MB, free: 23.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001622/0.2638, allocations: 83.66 kB / 416 MB, free: 22.95 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.207e-05/0.2638, allocations: 12 kB / 416 MB, free: 22.94 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001239/0.264, allocations: 87.92 kB / 416.1 MB, free: 22.86 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.954e-05/0.264, allocations: 23.91 kB / 416.1 MB, free: 22.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.742e-05/0.2641, allocations: 75.66 kB / 416.2 MB, free: 22.76 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.2643, allocations: 185.6 kB / 416.4 MB, free: 22.58 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.2644, allocations: 0 / 416.4 MB, free: 22.58 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2644, allocations: 4 kB / 416.4 MB, free: 22.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.2644, allocations: 0 / 416.4 MB, free: 22.57 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.0006133/0.265, allocations: 0.4904 MB / 416.9 MB, free: 22.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.265, allocations: 15.97 kB / 416.9 MB, free: 22.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.346e-05/0.2651, allocations: 20.73 kB / 416.9 MB, free: 21.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.2653, allocations: 224 kB / 417.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.2654, allocations: 4.375 kB / 417.1 MB, free: 21.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.2654, allocations: 8.375 kB / 417.2 MB, free: 21.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003049/0.2657, allocations: 145.5 kB / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.2657, allocations: 0 / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.2658, allocations: 0 / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.2658, allocations: 3.938 kB / 417.3 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001818/0.266, allocations: 71.89 kB / 417.4 MB, free: 21.5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.2665, allocations: 388.6 kB / 417.7 MB, free: 21.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000206/0.2667, allocations: 114.5 kB / 417.9 MB, free: 20.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/0.2669, allocations: 112.9 kB / 418 MB, free: 20.83 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.2669, allocations: 0 / 418 MB, free: 20.83 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004447/0.2674, allocations: 326.4 kB / 418.3 MB, free: 20.47 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.2674, allocations: 4 kB / 418.3 MB, free: 20.47 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007522/0.2681, allocations: 380.7 kB / 418.7 MB, free: 20.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.961e-05/0.2682, allocations: 221.6 kB / 418.9 MB, free: 19.81 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.2684, allocations: 194.9 kB / 419.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.863e-05/0.2684, allocations: 29.7 kB / 419.1 MB, free: 19.58 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.463e-05/0.2685, allocations: 112.2 kB / 419.2 MB, free: 19.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.2685, allocations: 39.5 kB / 419.3 MB, free: 19.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.842e-05/0.2686, allocations: 37.7 kB / 419.3 MB, free: 19.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.396e-05/0.2687, allocations: 330.8 kB / 419.6 MB, free: 19.05 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.2687, allocations: 59.97 kB / 419.7 MB, free: 18.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.2688, allocations: 73.62 kB / 419.7 MB, free: 18.91 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003951/0.2692, allocations: 453.8 kB / 420.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.2692, allocations: 0 / 420.2 MB, free: 18.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000267/0.2695, allocations: 276.7 kB / 420.5 MB, free: 18.13 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.2696, allocations: 71.39 kB / 420.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.461e-06/0.2696, allocations: 4 kB / 420.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.2696, allocations: 0 / 420.5 MB, free: 18.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.822e-05/0.2697, allocations: 11.94 kB / 420.5 MB, free: 18.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.2697, allocations: 4.031 kB / 420.5 MB, free: 18.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.2699, allocations: 47.88 kB / 420.6 MB, free: 17.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.27, allocations: 12 kB / 420.6 MB, free: 17.97 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.0001845/0.2702, allocations: 235.9 kB / 420.8 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.815e-05/0.2702, allocations: 15.91 kB / 420.8 MB, free: 17.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.56e-05/0.2702, allocations: 13.88 kB / 420.9 MB, free: 17.69 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2702, allocations: 4 kB / 420.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2703, allocations: 3.938 kB / 420.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2703, allocations: 0 / 420.9 MB, free: 17.68 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001522/0.2704, allocations: 265.3 kB / 421.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.2704, allocations: 0 / 421.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.933e-05/0.2705, allocations: 4 kB / 421.1 MB, free: 17.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2705, allocations: 4 kB / 421.1 MB, free: 17.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.2705, allocations: 11.98 kB / 421.1 MB, free: 17.35 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2705, allocations: 0 / 421.1 MB, free: 17.35 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2705, allocations: 7.938 kB / 421.2 MB, free: 17.34 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005523/0.2711, allocations: 387.1 kB / 421.5 MB, free: 16.94 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.633e-05/0.2712, allocations: 128.8 kB / 421.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.295e-05/0.2712, allocations: 12 kB / 421.7 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2715, allocations: 47.94 kB / 421.7 MB, free: 16.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.305e-05/0.2716, allocations: 19.98 kB / 421.7 MB, free: 16.71 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.2716, allocations: 15.98 kB / 421.8 MB, free: 16.7 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.709e-05/0.2717, allocations: 148.2 kB / 421.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2717, allocations: 0 / 421.9 MB, free: 16.55 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.272, allocations: 68.12 kB / 422 MB, free: 16.49 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.0001721/0.2722, allocations: 151.5 kB / 422.1 MB, free: 16.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004449/0.2726, allocations: 390.6 kB / 422.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2726, allocations: 0 / 422.5 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.2729, allocations: 402.8 kB / 422.9 MB, free: 15.51 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.2732, allocations: 31.34 kB / 422.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000524/0.2737, allocations: 316.1 kB / 423.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.2739, allocations: 0.716 MB / 423.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.672e-05/0.2739, allocations: 8.438 kB / 423.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.408e-05/0.2739, allocations: 15.44 kB / 424 MB, free: 14.38 MB / 302.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2739, allocations: 0 / 424 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Templates: time 0.005519/0.2795, allocations: 3.184 MB / 427.1 MB, free: 11.22 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)