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-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.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.001902/0.001902, allocations: 106.1 kB / 17.07 MB, free: 5.68 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.002274/0.002274, allocations: 196 kB / 18.01 MB, free: 5.02 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.414/1.414, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04622/0.04622, allocations: 8.095 MB / 300 MB, free: 6.648 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 63.91 kB / 363.2 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.2569, allocations: 51.51 MB / 414.7 MB, free: 25.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002478/0.2595, allocations: 1.618 MB / 416.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009665/0.2604, allocations: 0.6141 MB / 416.9 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.638e-05/0.2605, allocations: 4 kB / 416.9 MB, free: 23.19 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.2607, allocations: 115.7 kB / 417 MB, free: 23.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002111/0.2609, allocations: 143.6 kB / 417.2 MB, free: 22.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003665/0.2613, allocations: 123.6 kB / 417.3 MB, free: 22.81 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002178/0.2615, allocations: 243.4 kB / 417.5 MB, free: 22.57 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.452e-05/0.2616, allocations: 24.97 kB / 417.6 MB, free: 22.55 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.2618, allocations: 119.7 kB / 417.7 MB, free: 22.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/0.262, allocations: 191.6 kB / 417.9 MB, free: 22.24 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.262, allocations: 12 kB / 417.9 MB, free: 22.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.2621, allocations: 79.94 kB / 417.9 MB, free: 22.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.698e-05/0.2622, allocations: 111.5 kB / 418.1 MB, free: 22.04 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.2623, allocations: 135.1 kB / 418.2 MB, free: 21.91 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000288/0.2626, allocations: 328.7 kB / 418.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2626, allocations: 0 / 418.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.2627, allocations: 0 / 418.5 MB, free: 21.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.803e-06/0.2627, allocations: 0 / 418.5 MB, free: 21.59 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.0007787/0.2634, allocations: 0.6994 MB / 419.2 MB, free: 20.83 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2635, allocations: 11.89 kB / 419.2 MB, free: 20.82 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.21e-05/0.2636, allocations: 44.38 kB / 419.3 MB, free: 20.78 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004369/0.264, allocations: 386.1 kB / 419.6 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.264, allocations: 4.375 kB / 419.6 MB, free: 20.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.2641, allocations: 4.375 kB / 419.6 MB, free: 20.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.2644, allocations: 177.5 kB / 419.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.2644, allocations: 0 / 419.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.2644, allocations: 4 kB / 419.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2644, allocations: 0 / 419.8 MB, free: 20.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.2646, allocations: 115.9 kB / 419.9 MB, free: 20.05 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006152/0.2652, allocations: 0.5004 MB / 420.4 MB, free: 19.5 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.2655, allocations: 158.5 kB / 420.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001889/0.2657, allocations: 148.8 kB / 420.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.2657, allocations: 0 / 420.7 MB, free: 19.19 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003373/0.266, allocations: 367.7 kB / 421.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=19): time 1.423e-06/0.266, allocations: 7.938 kB / 421.1 MB, free: 18.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007938/0.2668, allocations: 0.5627 MB / 421.7 MB, free: 18.2 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.835e-05/0.2669, allocations: 221.6 kB / 421.9 MB, free: 17.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004424/0.2674, allocations: 0.5604 MB / 422.4 MB, free: 17.36 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.979e-05/0.2674, allocations: 33.7 kB / 422.5 MB, free: 17.32 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.2675, allocations: 196.1 kB / 422.7 MB, free: 17.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.787e-05/0.2675, allocations: 43.5 kB / 422.7 MB, free: 17.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.044e-05/0.2676, allocations: 41.7 kB / 422.8 MB, free: 17.04 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.997e-05/0.2677, allocations: 362.7 kB / 423.1 MB, free: 16.68 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.381e-05/0.2678, allocations: 91.95 kB / 423.2 MB, free: 16.59 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.2679, allocations: 113.7 kB / 423.3 MB, free: 16.47 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004709/0.2684, allocations: 0.618 MB / 423.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2684, allocations: 3.938 kB / 423.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003447/0.2687, allocations: 424.4 kB / 424.3 MB, free: 15.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.932e-05/0.2688, allocations: 75.42 kB / 424.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2688, allocations: 0 / 424.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.2688, allocations: 0 / 424.4 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.505e-05/0.2689, allocations: 11.98 kB / 424.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.04e-06/0.2689, allocations: 0 / 424.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002498/0.2692, allocations: 47.8 kB / 424.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.899e-05/0.2692, allocations: 12 kB / 424.5 MB, free: 15.21 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.0002453/0.2694, allocations: 294.9 kB / 424.8 MB, free: 14.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.2695, allocations: 47.44 kB / 424.8 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.555e-05/0.2695, allocations: 47.92 kB / 424.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.2695, allocations: 4 kB / 424.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2696, allocations: 0 / 424.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2696, allocations: 7.984 kB / 424.9 MB, free: 14.8 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002049/0.2698, allocations: 345.3 kB / 425.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2698, allocations: 3.984 kB / 425.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.849e-05/0.2698, allocations: 0 / 425.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.2698, allocations: 0 / 425.2 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.387e-05/0.2698, allocations: 12 kB / 425.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2698, allocations: 0 / 425.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2699, allocations: 0 / 425.2 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.2705, allocations: 0.5426 MB / 425.8 MB, free: 13.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.2707, allocations: 144.6 kB / 425.9 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.048e-05/0.2707, allocations: 16 kB / 425.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002445/0.271, allocations: 47.94 kB / 426 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.956e-05/0.2711, allocations: 23.97 kB / 426 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.2711, allocations: 15.98 kB / 426 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003408/0.2714, allocations: 407.1 kB / 426.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2715, allocations: 4 kB / 426.4 MB, free: 13.16 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002683/0.2717, allocations: 80.11 kB / 426.5 MB, free: 13.08 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.0001673/0.2719, allocations: 147.5 kB / 426.6 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004722/0.2724, allocations: 470.6 kB / 427.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2724, allocations: 4 kB / 427.1 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003307/0.2727, allocations: 450.7 kB / 427.5 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002617/0.273, allocations: 34.23 kB / 427.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008411/0.2739, allocations: 0.7145 MB / 428.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002463/0.2741, allocations: 0.8189 MB / 429.1 MB, free: 10.35 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.838e-05/0.2742, allocations: 37.94 kB / 429.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.711e-05/0.2742, allocations: 19.44 kB / 429.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2742, allocations: 4 kB / 429.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of Templates: time 0.006778/0.281, allocations: 4.166 MB / 433.3 MB, free: 6.152 MB / 302.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 -s cvode -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)