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/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/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.006782/0.006782, allocations: 88.56 kB / 15.91 MB, free: 6.301 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.001536/0.001536, allocations: 200.2 kB / 16.83 MB, free: 6.234 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.199/1.199, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.1416/0.1416, allocations: 8.084 MB / 298.7 MB, free: 2.062 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000974/0.000974, allocations: 59.91 kB / 361 MB, free: 13.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09089/0.09188, allocations: 51.51 MB / 412.5 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.002655/0.09459, allocations: 1.691 MB / 414.2 MB, free: 8.449 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001085/0.09569, allocations: 0.6509 MB / 414.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.553e-05/0.0958, allocations: 0 / 414.9 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001368/0.09596, allocations: 27.84 kB / 414.9 MB, free: 7.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001344/0.0961, allocations: 35.83 kB / 414.9 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.09639, allocations: 91.83 kB / 415 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.09655, allocations: 151.6 kB / 415.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.636e-05/0.09664, allocations: 9.125 kB / 415.2 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.966e-05/0.09675, allocations: 75.69 kB / 415.3 MB, free: 7.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001314/0.09688, allocations: 75.72 kB / 415.3 MB, free: 7.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.81e-05/0.09692, allocations: 8 kB / 415.3 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.09705, allocations: 83.86 kB / 415.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.449e-05/0.09712, allocations: 23.91 kB / 415.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.183e-05/0.09721, allocations: 67.64 kB / 415.5 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000211/0.09743, allocations: 183.7 kB / 415.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.09744, allocations: 0 / 415.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09745, allocations: 0 / 415.7 MB, free: 6.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.09746, allocations: 0 / 415.7 MB, free: 6.98 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.000613/0.09807, allocations: 0.4992 MB / 416.2 MB, free: 6.422 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.09811, allocations: 8.031 kB / 416.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.587e-05/0.09817, allocations: 20.75 kB / 416.2 MB, free: 6.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002258/0.09841, allocations: 224 kB / 416.4 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.09843, allocations: 4.375 kB / 416.4 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.671e-05/0.09846, allocations: 8.375 kB / 416.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.09877, allocations: 137.5 kB / 416.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.09879, allocations: 0 / 416.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.09882, allocations: 7.984 kB / 416.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.09883, allocations: 0 / 416.6 MB, free: 5.977 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000189/0.09902, allocations: 71.89 kB / 416.7 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.09958, allocations: 404.5 kB / 417.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002239/0.09981, allocations: 114.5 kB / 417.2 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001946/0.1, allocations: 104.9 kB / 417.3 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.1, allocations: 0 / 417.3 MB, free: 5.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004631/0.1005, allocations: 319.8 kB / 417.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.1005, allocations: 0 / 417.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007595/0.1013, allocations: 391 kB / 418 MB, free: 4.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.668e-05/0.1014, allocations: 221.6 kB / 418.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.1016, allocations: 206.3 kB / 418.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1016, allocations: 29.7 kB / 418.4 MB, free: 3.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.1017, allocations: 104.1 kB / 418.5 MB, free: 3.863 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.1017, allocations: 39.59 kB / 418.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.033e-05/0.1018, allocations: 41.7 kB / 418.6 MB, free: 3.777 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1019, allocations: 334.8 kB / 418.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.357e-05/0.102, allocations: 47.98 kB / 419 MB, free: 3.395 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.1021, allocations: 74.7 kB / 419 MB, free: 3.316 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004786/0.1026, allocations: 469.2 kB / 419.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1026, allocations: 0 / 419.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003239/0.1029, allocations: 264.9 kB / 419.8 MB, free: 2.531 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.267e-05/0.103, allocations: 75.31 kB / 419.8 MB, free: 2.445 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.103, allocations: 4.031 kB / 419.8 MB, free: 2.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.103, allocations: 4 kB / 419.8 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.1031, allocations: 8 kB / 419.8 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1031, allocations: 3.938 kB / 419.9 MB, free: 2.426 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002484/0.1033, allocations: 39.95 kB / 419.9 MB, free: 2.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1034, allocations: 8 kB / 419.9 MB, free: 2.379 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.000238/0.1036, allocations: 230.5 kB / 420.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.1037, allocations: 19.81 kB / 420.1 MB, free: 2.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.629e-05/0.1037, allocations: 17.86 kB / 420.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1037, allocations: 0 / 420.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1037, allocations: 0 / 420.2 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1037, allocations: 4 kB / 420.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.1039, allocations: 265.3 kB / 420.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1039, allocations: 0 / 420.4 MB, free: 1.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.122e-05/0.104, allocations: 4 kB / 420.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.104, allocations: 0 / 420.4 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.512e-05/0.104, allocations: 8 kB / 420.4 MB, free: 1.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.104, allocations: 4 kB / 420.4 MB, free: 1.766 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.104, allocations: 3.984 kB / 420.4 MB, free: 1.762 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.1046, allocations: 406 kB / 420.8 MB, free: 1.336 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.1047, allocations: 121 kB / 421 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.417e-05/0.1048, allocations: 16 kB / 421 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002443/0.105, allocations: 43.94 kB / 421 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.59e-05/0.1051, allocations: 23.97 kB / 421 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.1051, allocations: 11.98 kB / 421.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1053, allocations: 143.2 kB / 421.2 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1053, allocations: 4 kB / 421.2 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.1055, allocations: 64.12 kB / 421.3 MB, free: 0.8984 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.0001732/0.1057, allocations: 139.5 kB / 421.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000482/0.1062, allocations: 394.5 kB / 421.8 MB, free: 352 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.1062, allocations: 4 kB / 421.8 MB, free: 348 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.1066, allocations: 406.8 kB / 422.2 MB, free: 15.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.1068, allocations: 19.94 kB / 422.2 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005591/0.1074, allocations: 345.8 kB / 422.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.1077, allocations: 0.7202 MB / 423.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.575e-05/0.1077, allocations: 8.422 kB / 423.3 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.326e-05/0.1077, allocations: 11.44 kB / 423.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1077, allocations: 0 / 423.3 MB, free: 14.76 MB / 366.1 MB Notification: Performance of Templates: time 0.004928/0.1127, allocations: 2.758 MB / 426 MB, free: 12.02 MB / 366.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)