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.001058/0.001058, allocations: 117.7 kB / 17.13 MB, free: 5.895 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.001126/0.001127, allocations: 192.2 kB / 18.06 MB, free: 4.98 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.304/1.304, allocations: 222.9 MB / 241.8 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04604/0.04604, allocations: 8.106 MB / 300 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 63.89 kB / 415.1 MB, free: 21.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08543/0.08665, allocations: 51.51 MB / 466.6 MB, free: 2.301 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002582/0.08927, allocations: 1.636 MB / 468.3 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001017/0.09031, allocations: 0.6118 MB / 468.9 MB, free: 36 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.09038, allocations: 0 / 468.9 MB, free: 36 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001165/0.09052, allocations: 19.86 kB / 468.9 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001659/0.09069, allocations: 43.75 kB / 468.9 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.09106, allocations: 119.5 kB / 469.1 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002253/0.0913, allocations: 191.5 kB / 469.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.7e-05/0.09139, allocations: 21.09 kB / 469.3 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001094/0.09151, allocations: 79.69 kB / 469.3 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.09167, allocations: 83.72 kB / 469.4 MB, free: 15.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.496e-05/0.09171, allocations: 16 kB / 469.4 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001434/0.09186, allocations: 83.92 kB / 469.5 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.894e-05/0.09194, allocations: 27.91 kB / 469.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.316e-05/0.09203, allocations: 71.58 kB / 469.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.09227, allocations: 191.5 kB / 469.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.09228, allocations: 0 / 469.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.09229, allocations: 0 / 469.8 MB, free: 15.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.0923, allocations: 0 / 469.8 MB, free: 15.11 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.0006372/0.09294, allocations: 0.4982 MB / 470.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.09298, allocations: 11.89 kB / 470.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.857e-05/0.09305, allocations: 20.75 kB / 470.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.09331, allocations: 228 kB / 470.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.09334, allocations: 4.375 kB / 470.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/0.09337, allocations: 12.31 kB / 470.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003303/0.0937, allocations: 132.6 kB / 470.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.09372, allocations: 0 / 470.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.09375, allocations: 15.98 kB / 470.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.09376, allocations: 0 / 470.7 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.09397, allocations: 67.95 kB / 470.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005664/0.09455, allocations: 392.5 kB / 471.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.09479, allocations: 118.5 kB / 471.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/0.09501, allocations: 108.9 kB / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.09504, allocations: 0 / 471.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003985/0.09544, allocations: 323.7 kB / 471.7 MB, free: 13 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.483e-06/0.09545, allocations: 0 / 471.7 MB, free: 13 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008035/0.09626, allocations: 387.4 kB / 472.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.09638, allocations: 217.6 kB / 472.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.09656, allocations: 211.5 kB / 472.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.0966, allocations: 29.7 kB / 472.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.09666, allocations: 104.1 kB / 472.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.57e-05/0.09672, allocations: 43.58 kB / 472.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.09678, allocations: 37.7 kB / 472.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.0969, allocations: 330.8 kB / 473 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.554e-05/0.09699, allocations: 47.98 kB / 473.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.0971, allocations: 79.3 kB / 473.2 MB, free: 11.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004989/0.09761, allocations: 457.1 kB / 473.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.09762, allocations: 0 / 473.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003742/0.098, allocations: 268.8 kB / 473.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.264e-05/0.09806, allocations: 79.31 kB / 474 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.09808, allocations: 0 / 474 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.09809, allocations: 0 / 474 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.273e-05/0.09816, allocations: 8 kB / 474 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.09817, allocations: 0 / 474 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002694/0.09845, allocations: 47.86 kB / 474 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.114e-05/0.09848, allocations: 11.98 kB / 474 MB, free: 10.51 MB / 350.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.0002219/0.0987, allocations: 224.8 kB / 474.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.744e-05/0.09876, allocations: 27.84 kB / 474.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.983e-05/0.0988, allocations: 17.86 kB / 474.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.0988, allocations: 0 / 474.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.09881, allocations: 0 / 474.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.09882, allocations: 4 kB / 474.3 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.09902, allocations: 261.3 kB / 474.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.09903, allocations: 0 / 474.5 MB, free: 9.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.93e-05/0.09906, allocations: 4 kB / 474.5 MB, free: 9.902 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.09907, allocations: 3.938 kB / 474.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.0991, allocations: 15.98 kB / 474.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.0991, allocations: 0 / 474.6 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.09911, allocations: 4 kB / 474.6 MB, free: 9.879 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006519/0.09977, allocations: 402.3 kB / 475 MB, free: 9.457 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.09988, allocations: 116.9 kB / 475.1 MB, free: 9.324 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.797e-05/0.09995, allocations: 16 kB / 475.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.1002, allocations: 43.95 kB / 475.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.1003, allocations: 27.91 kB / 475.2 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.1003, allocations: 15.92 kB / 475.2 MB, free: 9.223 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1005, allocations: 151.5 kB / 475.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1005, allocations: 0 / 475.3 MB, free: 9.074 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1007, allocations: 60.12 kB / 475.4 MB, free: 9.016 MB / 350.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.0001835/0.1009, allocations: 147.5 kB / 475.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005213/0.1015, allocations: 390.6 kB / 475.9 MB, free: 8.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1015, allocations: 4 kB / 475.9 MB, free: 8.453 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004076/0.1019, allocations: 410.7 kB / 476.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002405/0.1021, allocations: 16 kB / 476.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006/0.1028, allocations: 345.7 kB / 476.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.103, allocations: 0.716 MB / 477.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.1031, allocations: 19.44 kB / 477.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1031, allocations: 0 / 477.4 MB, free: 6.875 MB / 350.1 MB Notification: Performance of Templates: time 0.004049/0.1071, allocations: 2.391 MB / 479.8 MB, free: 4.496 MB / 350.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)