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.001264/0.001264, allocations: 116.2 kB / 17.13 MB, free: 5.965 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.001112/0.001113, allocations: 197.2 kB / 18.06 MB, free: 5.039 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.287/1.287, allocations: 222.9 MB / 241.8 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04656/0.04656, allocations: 8.098 MB / 300 MB, free: 6.633 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 63.91 kB / 415.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07784/0.07903, allocations: 51.52 MB / 466.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002609/0.08168, allocations: 1.632 MB / 468.3 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.08275, allocations: 0.6158 MB / 468.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.954e-05/0.08284, allocations: 0 / 468.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.08304, allocations: 123.7 kB / 469 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.08327, allocations: 135.6 kB / 469.1 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003998/0.08368, allocations: 123.7 kB / 469.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000291/0.08398, allocations: 235.3 kB / 469.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.592e-05/0.08408, allocations: 13.12 kB / 469.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.08425, allocations: 123.6 kB / 469.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.08453, allocations: 199.5 kB / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.08457, allocations: 12 kB / 469.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.08473, allocations: 87.92 kB / 469.9 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001061/0.08484, allocations: 91.73 kB / 470 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.08498, allocations: 142.9 kB / 470.1 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.08532, allocations: 326.9 kB / 470.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.08534, allocations: 0 / 470.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.08534, allocations: 0 / 470.5 MB, free: 14.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.767e-06/0.08536, allocations: 4 kB / 470.5 MB, free: 14.34 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.0008681/0.08623, allocations: 0.6996 MB / 471.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.08628, allocations: 15.89 kB / 471.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.643e-05/0.08637, allocations: 44.41 kB / 471.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004714/0.08685, allocations: 378 kB / 471.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.08688, allocations: 8.375 kB / 471.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.0869, allocations: 4.375 kB / 471.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003814/0.08729, allocations: 188.8 kB / 471.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.08731, allocations: 0 / 471.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.992e-05/0.08734, allocations: 4 kB / 471.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.08734, allocations: 0 / 471.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.08758, allocations: 111.9 kB / 471.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.0883, allocations: 0.5044 MB / 472.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/0.08857, allocations: 158.5 kB / 472.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.08882, allocations: 152.8 kB / 472.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-06/0.08883, allocations: 0 / 472.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000431/0.08927, allocations: 362.4 kB / 473.1 MB, free: 11.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.433e-06/0.08929, allocations: 4 kB / 473.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009826/0.09027, allocations: 0.5705 MB / 473.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.09039, allocations: 221.6 kB / 473.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005729/0.09098, allocations: 0.5565 MB / 474.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.09101, allocations: 29.7 kB / 474.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001301/0.09115, allocations: 196.1 kB / 474.6 MB, free: 9.875 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.591e-05/0.0912, allocations: 43.44 kB / 474.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.818e-05/0.09127, allocations: 37.7 kB / 474.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001312/0.09141, allocations: 366.7 kB / 475.1 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.09154, allocations: 95.95 kB / 475.2 MB, free: 9.328 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001562/0.09171, allocations: 121.7 kB / 475.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006119/0.09233, allocations: 0.608 MB / 475.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.09234, allocations: 0 / 475.9 MB, free: 8.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004623/0.09281, allocations: 420.5 kB / 476.3 MB, free: 8.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.385e-05/0.09287, allocations: 71.39 kB / 476.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.09289, allocations: 0 / 476.4 MB, free: 8.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.09291, allocations: 12.05 kB / 476.4 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.09299, allocations: 8 kB / 476.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.093, allocations: 4 kB / 476.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002973/0.09331, allocations: 51.94 kB / 476.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.094e-05/0.09334, allocations: 4 kB / 476.5 MB, free: 7.957 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.0003194/0.09366, allocations: 304.7 kB / 476.7 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.537e-05/0.09374, allocations: 43.53 kB / 476.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.0938, allocations: 47.91 kB / 476.8 MB, free: 7.555 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.09381, allocations: 3.938 kB / 476.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.09382, allocations: 3.938 kB / 476.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.09383, allocations: 0 / 476.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002986/0.09413, allocations: 349.3 kB / 477.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09414, allocations: 0 / 477.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.09417, allocations: 4 kB / 477.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.09418, allocations: 0 / 477.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.09421, allocations: 11.98 kB / 477.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.09422, allocations: 4 kB / 477.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.09423, allocations: 0 / 477.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007716/0.095, allocations: 0.5331 MB / 477.7 MB, free: 6.574 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001674/0.09518, allocations: 148.5 kB / 477.9 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.135e-05/0.09527, allocations: 20 kB / 477.9 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.09556, allocations: 51.94 kB / 478 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.44e-05/0.09567, allocations: 23.97 kB / 478 MB, free: 6.316 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.0957, allocations: 8 kB / 478 MB, free: 6.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004575/0.09617, allocations: 415 kB / 478.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.09618, allocations: 3.938 kB / 478.4 MB, free: 5.898 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003166/0.0965, allocations: 76 kB / 478.5 MB, free: 5.824 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.0001982/0.0967, allocations: 151.6 kB / 478.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006033/0.09732, allocations: 474.5 kB / 479.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.09733, allocations: 0 / 479.1 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.09778, allocations: 450.7 kB / 479.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.09807, allocations: 29.97 kB / 479.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0011/0.09918, allocations: 0.7552 MB / 480.3 MB, free: 3.895 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.09958, allocations: 0.8111 MB / 481.1 MB, free: 3.055 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.949e-05/0.09966, allocations: 23.44 kB / 481.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.09966, allocations: 0 / 481.1 MB, free: 3.031 MB / 350.1 MB Notification: Performance of Templates: time 0.006982/0.1066, allocations: 4.264 MB / 485.4 MB, free: 14.78 MB / 366.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 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1)