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.001072/0.001071, allocations: 114.5 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.001093/0.001093, allocations: 199 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.35/1.35, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1-master/package.mo): time 0.04801/0.04801, allocations: 8.094 MB / 300 MB, free: 6.637 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 59.91 kB / 415.1 MB, free: 21.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09895, allocations: 51.51 MB / 466.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.003077/0.1021, allocations: 1.64 MB / 468.3 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.1033, allocations: 0.6197 MB / 468.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.979e-05/0.1034, allocations: 0 / 468.9 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001981/0.1036, allocations: 115.8 kB / 469 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002891/0.1039, allocations: 151.5 kB / 469.2 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004327/0.1044, allocations: 111.5 kB / 469.3 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.1047, allocations: 235.4 kB / 469.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.686e-05/0.1048, allocations: 13.12 kB / 469.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001898/0.105, allocations: 123.6 kB / 469.6 MB, free: 15.19 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.1053, allocations: 191.5 kB / 469.8 MB, free: 15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.591e-05/0.1053, allocations: 12 kB / 469.8 MB, free: 14.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1055, allocations: 95.84 kB / 469.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1056, allocations: 103.7 kB / 470 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1058, allocations: 135 kB / 470.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003981/0.1062, allocations: 322.9 kB / 470.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1062, allocations: 0 / 470.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1062, allocations: 0 / 470.5 MB, free: 14.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1062, 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.001091/0.1073, allocations: 0.6996 MB / 471.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1074, allocations: 15.89 kB / 471.2 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.504e-05/0.1075, allocations: 44.47 kB / 471.2 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004944/0.108, allocations: 377.9 kB / 471.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.108, allocations: 8.375 kB / 471.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.653e-05/0.108, allocations: 4.375 kB / 471.6 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.1084, allocations: 181.5 kB / 471.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1084, allocations: 0 / 471.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/0.1084, allocations: 4 kB / 471.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1085, allocations: 0 / 471.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002216/0.1087, allocations: 115.9 kB / 471.9 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007432/0.1094, allocations: 0.5005 MB / 472.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1097, allocations: 162.5 kB / 472.6 MB, free: 12.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002307/0.11, allocations: 148.8 kB / 472.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.11, allocations: 0 / 472.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004911/0.1105, allocations: 382.3 kB / 473.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.1105, allocations: 0 / 473.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0009304/0.1114, allocations: 0.5628 MB / 473.6 MB, free: 10.93 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1116, allocations: 221.6 kB / 473.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005881/0.1121, allocations: 0.5565 MB / 474.4 MB, free: 10.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.1122, allocations: 29.7 kB / 474.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.1124, allocations: 196.1 kB / 474.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.1124, allocations: 47.44 kB / 474.7 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.1125, allocations: 41.7 kB / 474.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1126, allocations: 358.7 kB / 475.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.1128, allocations: 91.97 kB / 475.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.1129, allocations: 125.6 kB / 475.3 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006673/0.1136, allocations: 0.6119 MB / 475.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1136, allocations: 0 / 475.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004489/0.114, allocations: 416.5 kB / 476.3 MB, free: 8.109 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.1141, allocations: 71.42 kB / 476.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1141, allocations: 0 / 476.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1141, allocations: 0 / 476.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.854e-05/0.1142, allocations: 11.94 kB / 476.4 MB, free: 8.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1142, allocations: 4 kB / 476.4 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002881/0.1145, allocations: 63.92 kB / 476.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.1145, allocations: 4 kB / 476.5 MB, free: 7.945 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.0003016/0.1149, allocations: 288.2 kB / 476.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.1149, allocations: 43.53 kB / 476.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.593e-05/0.115, allocations: 43.92 kB / 476.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.115, allocations: 0 / 476.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.115, allocations: 3.938 kB / 476.8 MB, free: 7.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.115, allocations: 7.938 kB / 476.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.1153, allocations: 353.2 kB / 477.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1153, allocations: 0 / 477.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.1153, allocations: 7.984 kB / 477.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1154, allocations: 0 / 477.2 MB, free: 7.148 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.29e-05/0.1154, allocations: 8 kB / 477.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1154, allocations: 0 / 477.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1154, allocations: 0 / 477.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008411/0.1162, allocations: 0.5487 MB / 477.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001622/0.1164, allocations: 152.5 kB / 477.9 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.1165, allocations: 12 kB / 477.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002722/0.1168, allocations: 43.94 kB / 477.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.1169, allocations: 19.98 kB / 478 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.1169, allocations: 15.98 kB / 478 MB, free: 6.305 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004175/0.1173, allocations: 407.1 kB / 478.4 MB, free: 5.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1173, allocations: 4 kB / 478.4 MB, free: 5.902 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000299/0.1176, allocations: 79.98 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.000191/0.1178, allocations: 147.7 kB / 478.6 MB, free: 5.672 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005664/0.1184, allocations: 474.5 kB / 479.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1184, allocations: 0 / 479.1 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004275/0.1189, allocations: 450.7 kB / 479.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002749/0.1191, allocations: 33.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.001065/0.1202, 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.0003758/0.1206, allocations: 0.815 MB / 481.1 MB, free: 3.051 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.359e-05/0.1207, allocations: 23.38 kB / 481.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1207, allocations: 0 / 481.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of Templates: time 0.007287/0.128, allocations: 4.311 MB / 485.4 MB, free: 14.73 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)