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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 81.95 kB / 21.48 MB, free: 3.02 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 164.3 kB / 24.87 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.003/1.003, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.03935/0.03935, allocations: 4.495 MB / 266.3 MB, free: 8.395 MB / 250.7 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") translateModel(PowerSysPro.Tests.VoltageRegulation2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.VoltageRegulation2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 337.7 MB, free: 14.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.455e-05, allocations: 2.312 kB / 337.7 MB, free: 14.1 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002314/0.002338, allocations: 1.695 MB / 339.4 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009446/0.003283, allocations: 0.6155 MB / 340 MB, free: 11.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.003361, allocations: 4 kB / 340 MB, free: 11.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.003511, allocations: 23.84 kB / 340 MB, free: 11.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.003667, allocations: 43.75 kB / 340.1 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003714/0.004039, allocations: 115.7 kB / 340.2 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001978/0.004237, allocations: 183.5 kB / 340.3 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.523e-05/0.004312, allocations: 5.906 kB / 340.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.004442, allocations: 107.7 kB / 340.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000131/0.004573, allocations: 75.78 kB / 340.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.004598, allocations: 12 kB / 340.5 MB, free: 11.21 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.004711, allocations: 79.92 kB / 340.6 MB, free: 11.14 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.67e-05/0.004768, allocations: 19.92 kB / 340.6 MB, free: 11.12 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.648e-05/0.004835, allocations: 59.83 kB / 340.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002269/0.005062, allocations: 191.5 kB / 340.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.005065, allocations: 0 / 340.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.005066, allocations: 0 / 340.9 MB, free: 10.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.00507, allocations: 0 / 340.9 MB, free: 10.87 MB / 314.7 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.0005134/0.005584, allocations: 0.5304 MB / 341.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.005615, allocations: 8.031 kB / 341.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.00567, allocations: 24.84 kB / 341.4 MB, free: 10.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001968/0.005866, allocations: 164.4 kB / 341.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.005886, allocations: 8.375 kB / 341.6 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.005901, allocations: 4.375 kB / 341.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.006127, allocations: 229.6 kB / 341.8 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.006135, allocations: 192 / 341.8 MB, free: 9.805 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.00615, allocations: 7.938 kB / 341.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.006157, allocations: 0 / 341.9 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.294e-05/0.006229, allocations: 91.38 kB / 341.9 MB, free: 9.695 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.006581, allocations: 316.2 kB / 342.3 MB, free: 9.359 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.174e-05/0.006672, allocations: 118.4 kB / 342.4 MB, free: 9.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.793e-05/0.00674, allocations: 103.1 kB / 342.5 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.006747, allocations: 0 / 342.5 MB, free: 9.102 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002468/0.006993, allocations: 414.9 kB / 342.9 MB, free: 8.629 MB / 314.7 MB Notification: Performance of pre-optimization done (n=19): time 1.213e-06/0.006995, allocations: 0 / 342.9 MB, free: 8.629 MB / 314.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003771/0.007372, allocations: 419.5 kB / 343.3 MB, free: 8.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.00745, allocations: 221.6 kB / 343.5 MB, free: 7.91 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.007573, allocations: 229.8 kB / 343.7 MB, free: 7.668 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.007592, allocations: 33.7 kB / 343.8 MB, free: 7.629 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.007653, allocations: 158.6 kB / 343.9 MB, free: 7.469 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.03e-05/0.007693, allocations: 43.78 kB / 344 MB, free: 7.426 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.007745, allocations: 51.33 kB / 344 MB, free: 7.367 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.007868, allocations: 0.504 MB / 344.5 MB, free: 6.852 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.007926, allocations: 87.39 kB / 344.6 MB, free: 6.754 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.699e-05/0.008023, allocations: 147.3 kB / 344.7 MB, free: 6.586 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001622/0.008186, allocations: 277.8 kB / 345 MB, free: 6.273 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.008187, allocations: 4 kB / 345 MB, free: 6.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002203/0.008407, allocations: 302.5 kB / 345.3 MB, free: 5.945 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.008451, allocations: 67.39 kB / 345.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.008455, allocations: 0 / 345.4 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.008465, allocations: 4 kB / 345.4 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.008522, allocations: 24.02 kB / 345.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.106e-06/0.008525, allocations: 0 / 345.4 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.008642, allocations: 27.97 kB / 345.4 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.2e-05/0.008654, allocations: 4 kB / 345.4 MB, free: 5.809 MB / 314.7 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.0001764/0.008831, allocations: 259.1 kB / 345.7 MB, free: 5.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.144e-05/0.008872, allocations: 39.8 kB / 345.7 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.006e-05/0.008892, allocations: 17.8 kB / 345.7 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.008894, allocations: 0 / 345.7 MB, free: 5.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.008897, allocations: 4 kB / 345.7 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008899, allocations: 0 / 345.7 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.00902, allocations: 157.1 kB / 345.9 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.009021, allocations: 0 / 345.9 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.009038, allocations: 4 kB / 345.9 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.009041, allocations: 0 / 345.9 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.626e-05/0.009057, allocations: 11.98 kB / 345.9 MB, free: 5.281 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.009059, allocations: 3.938 kB / 345.9 MB, free: 5.277 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.00906, allocations: 4 kB / 345.9 MB, free: 5.273 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003356/0.009396, allocations: 413.3 kB / 346.3 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.704e-05/0.009463, allocations: 39.81 kB / 346.4 MB, free: 4.785 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.695e-05/0.0095, allocations: 11.98 kB / 346.4 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.009601, allocations: 31.92 kB / 346.4 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.084e-05/0.009662, allocations: 23.97 kB / 346.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.009685, allocations: 15.98 kB / 346.4 MB, free: 4.703 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.048e-05/0.009755, allocations: 160.1 kB / 346.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009755, allocations: 0 / 346.6 MB, free: 4.547 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002066/0.009962, allocations: 75.92 kB / 346.7 MB, free: 4.473 MB / 314.7 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.0001615/0.01012, allocations: 135.8 kB / 346.8 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002765/0.0104, allocations: 369.1 kB / 347.2 MB, free: 3.918 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.0104, allocations: 0 / 347.2 MB, free: 3.918 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001432/0.01054, allocations: 265.8 kB / 347.4 MB, free: 3.617 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.01073, allocations: 35.98 kB / 347.5 MB, free: 3.582 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005607/0.01129, allocations: 358.1 kB / 347.8 MB, free: 3.188 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.381e-05/0.01134, allocations: 83.25 kB / 347.9 MB, free: 3.086 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.065e-05/0.01137, allocations: 8.484 kB / 347.9 MB, free: 3.078 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001742/0.01154, allocations: 142.1 kB / 348 MB, free: 2.938 MB / 314.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01154, allocations: 0 / 348 MB, free: 2.938 MB / 314.7 MB Notification: Performance of Templates: time 0.005413/0.01696, allocations: 3.765 MB / 351.8 MB, free: 15.21 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.811342288274318]