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.001411/0.001411, allocations: 106.4 kB / 16.45 MB, free: 6.441 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.001374/0.001374, allocations: 186.4 kB / 17.38 MB, free: 5.691 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.386/1.386, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05312/0.05312, allocations: 8.108 MB / 299.3 MB, free: 6.664 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.91 kB / 414.4 MB, free: 21.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1019, allocations: 51.52 MB / 466 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.003554/0.1055, allocations: 1.635 MB / 467.6 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001153/0.1067, allocations: 0.6118 MB / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.861e-05/0.1068, allocations: 0 / 468.2 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001465/0.1069, allocations: 27.84 kB / 468.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1071, allocations: 43.75 kB / 468.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.1075, allocations: 111.4 kB / 468.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002307/0.1078, allocations: 199.5 kB / 468.6 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.956e-05/0.1079, allocations: 13.11 kB / 468.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.108, allocations: 79.67 kB / 468.7 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.1081, allocations: 79.78 kB / 468.7 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1082, allocations: 15.94 kB / 468.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1083, allocations: 87.92 kB / 468.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.1084, allocations: 23.92 kB / 468.9 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.725e-05/0.1085, allocations: 79.56 kB / 468.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002363/0.1087, allocations: 187.5 kB / 469.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.1087, allocations: 4 kB / 469.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1088, allocations: 3.938 kB / 469.1 MB, free: 15.03 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1088, allocations: 4 kB / 469.1 MB, free: 15.02 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.0006714/0.1094, allocations: 0.4904 MB / 469.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.1095, allocations: 8.031 kB / 469.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.379e-05/0.1096, allocations: 20.75 kB / 469.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003041/0.1099, allocations: 228 kB / 469.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.973e-05/0.1099, allocations: 8.375 kB / 469.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1099, allocations: 4.375 kB / 469.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.1103, allocations: 137.5 kB / 470 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.1103, allocations: 0 / 470 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.1103, allocations: 4 kB / 470 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1103, allocations: 0 / 470 MB, free: 14.03 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000212/0.1105, allocations: 71.95 kB / 470.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.1111, allocations: 388.5 kB / 470.5 MB, free: 13.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1114, allocations: 122.5 kB / 470.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002124/0.1116, allocations: 108.9 kB / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.214e-06/0.1116, allocations: 0 / 470.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.112, allocations: 322.5 kB / 471 MB, free: 12.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.363e-06/0.1121, allocations: 4 kB / 471 MB, free: 12.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0007838/0.1128, allocations: 388.6 kB / 471.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001087/0.113, allocations: 217.6 kB / 471.6 MB, free: 12.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.1132, allocations: 203.5 kB / 471.8 MB, free: 12.06 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/0.1132, allocations: 29.7 kB / 471.8 MB, free: 12.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.1133, allocations: 104.1 kB / 472 MB, free: 11.92 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.874e-05/0.1133, allocations: 47.58 kB / 472 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.324e-05/0.1134, allocations: 37.7 kB / 472 MB, free: 11.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.1135, allocations: 330.8 kB / 472.4 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001002/0.1136, allocations: 51.98 kB / 472.4 MB, free: 11.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.1137, allocations: 71.31 kB / 472.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005105/0.1143, allocations: 457.1 kB / 472.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1143, allocations: 0 / 472.9 MB, free: 10.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003241/0.1146, allocations: 268.8 kB / 473.2 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/0.1147, allocations: 71.38 kB / 473.3 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.1147, allocations: 3.938 kB / 473.3 MB, free: 10.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.1147, allocations: 8.031 kB / 473.3 MB, free: 10.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.1148, allocations: 12 kB / 473.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1148, allocations: 0 / 473.3 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.115, allocations: 47.86 kB / 473.3 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.1151, allocations: 4 kB / 473.3 MB, free: 10.44 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.0002251/0.1153, allocations: 239.9 kB / 473.6 MB, free: 10.19 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.295e-05/0.1154, allocations: 23.81 kB / 473.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.096e-05/0.1154, allocations: 17.86 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.1154, allocations: 3.938 kB / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1154, allocations: 0 / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1154, allocations: 0 / 473.6 MB, free: 10.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.1156, allocations: 265.3 kB / 473.9 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1156, allocations: 4 kB / 473.9 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.028e-05/0.1157, allocations: 4 kB / 473.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1157, allocations: 0 / 473.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.1157, allocations: 15.98 kB / 473.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.1157, allocations: 80 / 473.9 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1157, allocations: 3.984 kB / 473.9 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006207/0.1163, allocations: 398.3 kB / 474.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.1165, allocations: 116.9 kB / 474.4 MB, free: 9.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.163e-05/0.1165, allocations: 16 kB / 474.4 MB, free: 9.234 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.1168, allocations: 43.95 kB / 474.5 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.1169, allocations: 19.97 kB / 474.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.773e-05/0.1169, allocations: 15.98 kB / 474.5 MB, free: 9.156 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000124/0.117, allocations: 151.4 kB / 474.6 MB, free: 9.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.117, allocations: 3.938 kB / 474.6 MB, free: 9.004 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002579/0.1173, allocations: 72.12 kB / 474.7 MB, free: 8.934 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.0001954/0.1175, allocations: 139.5 kB / 474.8 MB, free: 8.789 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005252/0.118, allocations: 386.6 kB / 475.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.1181, allocations: 0 / 475.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005124/0.1186, allocations: 414.7 kB / 475.6 MB, free: 7.957 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.1188, allocations: 20 kB / 475.7 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005922/0.1194, allocations: 316 kB / 476 MB, free: 7.602 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.1198, allocations: 0.7199 MB / 476.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.585e-05/0.1198, allocations: 8.422 kB / 476.7 MB, free: 6.844 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.1198, allocations: 19.44 kB / 476.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1198, allocations: 0 / 476.7 MB, free: 6.824 MB / 350.1 MB Notification: Performance of Templates: time 0.006268/0.1261, allocations: 3.188 MB / 479.9 MB, free: 3.66 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)