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.001473/0.001473, allocations: 118.1 kB / 17.14 MB, free: 5.914 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.001736/0.001736, allocations: 194 kB / 18.07 MB, free: 4.996 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.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04556/0.04556, allocations: 8.094 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002276/0.002276, allocations: 67.91 kB / 415.1 MB, free: 21.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/0.08959, allocations: 51.52 MB / 466.6 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002741/0.09237, allocations: 1.635 MB / 468.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001159/0.09356, allocations: 0.6158 MB / 468.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.323e-05/0.09366, allocations: 0 / 468.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001377/0.09384, allocations: 23.84 kB / 468.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.09403, allocations: 43.75 kB / 469 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004715/0.09451, allocations: 123.7 kB / 469.1 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.09478, allocations: 187.4 kB / 469.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.53e-05/0.09488, allocations: 13.12 kB / 469.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.09502, allocations: 79.73 kB / 469.4 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000182/0.09522, allocations: 87.66 kB / 469.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.754e-05/0.09526, allocations: 12 kB / 469.5 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.09543, allocations: 87.92 kB / 469.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.09551, allocations: 23.91 kB / 469.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.612e-05/0.09561, allocations: 71.64 kB / 469.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002537/0.09587, allocations: 191.4 kB / 469.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.09588, allocations: 0 / 469.8 MB, free: 15.01 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.09589, allocations: 4 kB / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.5e-06/0.0959, allocations: 0 / 469.8 MB, free: 15 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.000674/0.09658, allocations: 0.4982 MB / 470.3 MB, free: 14.45 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.09663, allocations: 11.89 kB / 470.3 MB, free: 14.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.0967, allocations: 20.75 kB / 470.4 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000302/0.097, allocations: 224 kB / 470.6 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.09703, allocations: 4.375 kB / 470.6 MB, free: 14.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.09707, allocations: 8.375 kB / 470.6 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003362/0.09741, allocations: 133.5 kB / 470.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.09743, allocations: 7.938 kB / 470.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/0.09745, allocations: 4 kB / 470.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.09746, allocations: 0 / 470.7 MB, free: 14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.09768, allocations: 67.95 kB / 470.8 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006069/0.09829, allocations: 392.5 kB / 471.2 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002514/0.09856, allocations: 118.5 kB / 471.3 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002159/0.09879, allocations: 112.9 kB / 471.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.09881, allocations: 0 / 471.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004208/0.09923, allocations: 319.7 kB / 471.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.703e-06/0.09925, allocations: 0 / 471.7 MB, free: 12.9 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008187/0.1001, allocations: 383.5 kB / 472.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.4e-05/0.1002, allocations: 221.6 kB / 472.3 MB, free: 12.25 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1004, allocations: 207.5 kB / 472.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.1004, allocations: 37.64 kB / 472.5 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.104e-05/0.1005, allocations: 104.1 kB / 472.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.628e-05/0.1005, allocations: 39.59 kB / 472.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.1006, allocations: 45.62 kB / 472.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1007, allocations: 330.8 kB / 473.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.366e-05/0.1008, allocations: 47.98 kB / 473.1 MB, free: 11.42 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/0.1009, allocations: 77.69 kB / 473.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.1014, allocations: 453.1 kB / 473.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1014, allocations: 0 / 473.6 MB, free: 10.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003473/0.1018, allocations: 272.8 kB / 473.9 MB, free: 10.56 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.1019, allocations: 71.38 kB / 474 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.1019, allocations: 3.938 kB / 474 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1019, allocations: 0 / 474 MB, free: 10.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.726e-05/0.102, allocations: 8 kB / 474 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.102, allocations: 4 kB / 474 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002745/0.1023, allocations: 47.94 kB / 474 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.1023, allocations: 7.984 kB / 474 MB, free: 10.41 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.0002457/0.1025, allocations: 232.8 kB / 474.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.1026, allocations: 23.81 kB / 474.3 MB, free: 10.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.145e-05/0.1026, allocations: 17.86 kB / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1026, allocations: 0 / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1026, allocations: 0 / 474.3 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.1028, allocations: 120.9 kB / 474.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.981e-05/0.1028, allocations: 12 kB / 474.4 MB, free: 9.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.1031, allocations: 47.89 kB / 474.5 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.718e-05/0.1032, allocations: 27.97 kB / 474.5 MB, free: 9.887 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006888/0.1039, allocations: 0.5363 MB / 475 MB, free: 9.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006845/0.1046, allocations: 0.5292 MB / 475.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003335/0.105, allocations: 279.9 kB / 475.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001194/0.1051, allocations: 151.5 kB / 476 MB, free: 8.328 MB / 350.1 MB Notification: Performance of Backend: time 1.753e-06/0.1051, allocations: 0 / 476 MB, free: 8.328 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006712/0.1058, allocations: 413 kB / 476.4 MB, free: 7.895 MB / 350.1 MB Notification: Performance of SimCode: time 0.0006849/0.1065, allocations: 0.8201 MB / 477.2 MB, free: 7 MB / 350.1 MB Notification: Performance of Templates: time 0.006285/0.1128, allocations: 3.29 MB / 480.5 MB, free: 3.738 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)