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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 119.9 kB / 17.89 MB, free: 5.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 211.1 kB / 20.84 MB, free: 2.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo): time 0.04341/0.04341, allocations: 6.133 MB / 316.4 MB, free: 1.113 MB / 238.1 MB " [Timeout remaining time 180] Using package PowerSysPro with version 2.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.1.3/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001616/0.001616, allocations: 45.31 kB / 439.9 MB, free: 40.71 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09854/0.1002, allocations: 54.99 MB / 494.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002386/0.1025, allocations: 1.659 MB / 496.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009827/0.1035, allocations: 0.6546 MB / 497.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.1036, allocations: 4 kB / 497.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001848/0.1038, allocations: 123.7 kB / 497.3 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.104, allocations: 139.6 kB / 497.5 MB, free: 7.922 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003735/0.1044, allocations: 107.7 kB / 497.6 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.1046, allocations: 223.5 kB / 497.8 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.138e-05/0.1047, allocations: 13.09 kB / 497.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1048, allocations: 115.7 kB / 497.9 MB, free: 7.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.105, allocations: 227.4 kB / 498.2 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.131e-05/0.105, allocations: 12 kB / 498.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.1052, allocations: 83.94 kB / 498.2 MB, free: 7.152 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001003/0.1053, allocations: 103.7 kB / 498.3 MB, free: 7.051 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.1054, allocations: 135 kB / 498.5 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003099/0.1057, allocations: 322.9 kB / 498.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.1057, allocations: 0 / 498.8 MB, free: 6.602 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1057, allocations: 7.938 kB / 498.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1057, allocations: 0 / 498.8 MB, free: 6.594 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.0007979/0.1065, allocations: 0.719 MB / 499.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.1065, allocations: 12.03 kB / 499.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.831e-05/0.1066, allocations: 192 / 499.5 MB, free: 5.801 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.163e-05/0.1066, allocations: 38.75 kB / 499.6 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.942e-05/0.1067, allocations: 44.66 kB / 499.6 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000384/0.1071, allocations: 382.4 kB / 500 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1071, allocations: 8.375 kB / 500 MB, free: 5.289 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.1071, allocations: 11.94 kB / 0.4883 GB, free: 5.277 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.1074, allocations: 177.5 kB / 0.4885 GB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.1074, allocations: 0 / 0.4885 GB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.1074, allocations: 0 / 0.4885 GB, free: 5.098 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1075, allocations: 4 kB / 0.4885 GB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002101/0.1077, allocations: 111.9 kB / 0.4886 GB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006291/0.1083, allocations: 0.4927 MB / 0.489 GB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.1085, allocations: 118.5 kB / 0.4892 GB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001894/0.1087, allocations: 124.8 kB / 0.4893 GB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.1087, allocations: 0 / 0.4893 GB, free: 4.191 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003601/0.1091, allocations: 370.4 kB / 0.4896 GB, free: 3.789 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.1091, allocations: 0 / 0.4896 GB, free: 3.789 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008719/0.1099, allocations: 0.5669 MB / 0.4902 GB, free: 3.203 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.11, allocations: 217.6 kB / 0.4904 GB, free: 2.941 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.1104, allocations: 0.5681 MB / 0.4909 GB, free: 2.359 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/0.1105, allocations: 37.69 kB / 0.491 GB, free: 2.316 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.716e-05/0.1105, allocations: 192.1 kB / 0.4912 GB, free: 2.125 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/0.1106, allocations: 47.77 kB / 0.4912 GB, free: 2.078 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.025e-05/0.1107, allocations: 37.7 kB / 0.4913 GB, free: 2.035 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.691e-05/0.1107, allocations: 370.7 kB / 0.4916 GB, free: 1.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.742e-05/0.1108, allocations: 87.97 kB / 0.4917 GB, free: 1.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1109, allocations: 117.6 kB / 0.4918 GB, free: 1.457 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004892/0.1114, allocations: 0.6105 MB / 0.4924 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1114, allocations: 0 / 0.4924 GB, free: 0.7969 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003729/0.1118, allocations: 432.5 kB / 0.4928 GB, free: 364 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.917e-05/0.1118, allocations: 77.41 kB / 0.4929 GB, free: 276 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1118, allocations: 4.031 kB / 0.4929 GB, free: 272 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.1118, allocations: 0 / 0.4929 GB, free: 272 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.43e-05/0.1119, allocations: 8 kB / 0.4929 GB, free: 264 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1119, allocations: 0 / 0.4929 GB, free: 264 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.1123, allocations: 47.91 kB / 0.4929 GB, free: 216 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.1123, allocations: 11.94 kB / 0.493 GB, free: 204 kB / 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.0003757/0.1127, allocations: 280.6 kB / 0.4932 GB, free: 15.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.894e-05/0.1128, allocations: 47.72 kB / 0.4933 GB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.122e-05/0.1129, allocations: 51.91 kB / 0.4933 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1129, allocations: 0 / 0.4933 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.1129, allocations: 0 / 0.4933 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1129, allocations: 4 kB / 0.4933 GB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003474/0.1132, allocations: 349.3 kB / 0.4937 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1132, allocations: 0 / 0.4937 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.57e-05/0.1132, allocations: 7.938 kB / 0.4937 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.1132, allocations: 0 / 0.4937 GB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/0.1133, allocations: 19.92 kB / 0.4937 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1133, allocations: 0 / 0.4937 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1133, allocations: 0 / 0.4937 GB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008677/0.1141, allocations: 0.5376 MB / 0.4942 GB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/0.1143, allocations: 152.8 kB / 0.4943 GB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/0.1144, allocations: 20 kB / 0.4944 GB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.1147, allocations: 39.95 kB / 0.4944 GB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.506e-05/0.1148, allocations: 23.97 kB / 0.4944 GB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.625e-05/0.1148, allocations: 15.98 kB / 0.4944 GB, free: 14.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004956/0.1153, allocations: 415 kB / 0.4948 GB, free: 14.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1153, allocations: 0 / 0.4948 GB, free: 14.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003314/0.1157, allocations: 79.94 kB / 0.4949 GB, free: 14.07 MB / 366.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.001397/0.1171, allocations: 1.111 MB / 0.496 GB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006634/0.1177, allocations: 386.6 kB / 0.4964 GB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1177, allocations: 3.938 kB / 0.4964 GB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003853/0.1181, allocations: 258.7 kB / 0.4966 GB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003283/0.1184, allocations: 42.3 kB / 0.4967 GB, free: 12.2 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.1245, allocations: 4.908 MB / 0.5015 GB, free: 7.203 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.125, allocations: 0.8111 MB / 0.5022 GB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001254/0.1251, allocations: 45.92 kB / 0.5023 GB, free: 6.32 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.1253, allocations: 115.4 kB / 0.5024 GB, free: 6.207 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1253, allocations: 0 / 0.5024 GB, free: 6.207 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.1518, allocations: 8.296 MB / 0.5105 GB, free: 14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.51/9.662, allocations: 15.06 kB / 0.5105 GB, free: 13.98 MB / 382.1 MB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PowerSysPro_PowerSysPro_Tests_VoltageRegulation1_fmu --startTime=0 --stopTime=350 --stepSize=0.14 --timeout=50 --tolerance=1e-06 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.417404756008182] Failed to read output from testmodel.py, exit status != 0: 9.793686639983207 9.809715872 9.70097557 Calling exit ...