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.001622/0.001622, allocations: 113 kB / 17.17 MB, free: 5.887 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.001979/0.001979, allocations: 208 kB / 20.14 MB, free: 2.934 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.511/1.511, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.0394/0.0394, allocations: 6.13 MB / 315.7 MB, free: 1.203 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation1,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 52.16 kB / 439.2 MB, free: 40.84 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0987/0.1002, allocations: 54.98 MB / 494.2 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002235/0.1025, allocations: 1.655 MB / 495.8 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008975/0.1034, allocations: 0.6584 MB / 496.5 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.849e-05/0.1034, allocations: 4 kB / 496.5 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001625/0.1036, allocations: 119.7 kB / 496.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000207/0.1038, allocations: 143.6 kB / 496.8 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003294/0.1041, allocations: 115.7 kB / 496.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1043, allocations: 223.5 kB / 497.1 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.008e-05/0.1044, allocations: 17.11 kB / 497.1 MB, free: 7.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.1045, allocations: 119.7 kB / 497.2 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1047, allocations: 207.5 kB / 497.4 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.1047, allocations: 16 kB / 497.5 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001142/0.1048, allocations: 87.91 kB / 497.5 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.465e-05/0.1049, allocations: 99.67 kB / 497.6 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.127e-05/0.105, allocations: 142.9 kB / 497.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1053, allocations: 322.9 kB / 498.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1053, allocations: 0 / 498.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1053, allocations: 0 / 498.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.1053, allocations: 0 / 498.1 MB, free: 6.621 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.0007304/0.106, allocations: 0.719 MB / 498.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.1061, allocations: 8.031 kB / 498.8 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.154e-05/0.1061, allocations: 38.75 kB / 498.9 MB, free: 5.785 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.312e-05/0.1062, allocations: 48.66 kB / 498.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/0.1065, allocations: 378.4 kB / 499.3 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.1066, allocations: 12.31 kB / 499.3 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.1066, allocations: 12.12 kB / 499.3 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.1069, allocations: 173.5 kB / 499.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.1069, allocations: 0 / 499.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.1069, allocations: 4 kB / 499.5 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.1069, allocations: 4 kB / 499.5 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.1071, allocations: 107.9 kB / 499.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005583/0.1077, allocations: 0.4927 MB / 0.4884 GB, free: 4.473 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002061/0.1079, allocations: 122.5 kB / 0.4885 GB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001831/0.1081, allocations: 116.8 kB / 0.4886 GB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.1081, allocations: 0 / 0.4886 GB, free: 4.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003422/0.1084, allocations: 371.7 kB / 0.4889 GB, free: 3.82 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.263e-06/0.1084, allocations: 0 / 0.4889 GB, free: 3.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008163/0.1092, allocations: 0.5734 MB / 0.4895 GB, free: 3.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.229e-05/0.1093, allocations: 221.6 kB / 0.4897 GB, free: 2.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.1098, allocations: 0.5642 MB / 0.4903 GB, free: 2.387 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1098, allocations: 33.7 kB / 0.4903 GB, free: 2.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1099, allocations: 196.1 kB / 0.4905 GB, free: 2.152 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/0.1099, allocations: 43.78 kB / 0.4905 GB, free: 2.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.923e-05/0.11, allocations: 41.7 kB / 0.4906 GB, free: 2.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.705e-05/0.1101, allocations: 366.7 kB / 0.4909 GB, free: 1.695 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.568e-05/0.1102, allocations: 91.97 kB / 0.491 GB, free: 1.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1103, allocations: 113.7 kB / 0.4911 GB, free: 1.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004729/0.1107, allocations: 0.6105 MB / 0.4917 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1107, allocations: 0 / 0.4917 GB, free: 0.8281 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003413/0.1111, allocations: 435.8 kB / 0.4921 GB, free: 396 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.599e-05/0.1111, allocations: 75.42 kB / 0.4922 GB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1111, allocations: 0 / 0.4922 GB, free: 308 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.1111, allocations: 0 / 0.4922 GB, free: 308 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.1112, allocations: 8 kB / 0.4922 GB, free: 300 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1112, allocations: 0 / 0.4922 GB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.1115, allocations: 51.89 kB / 0.4922 GB, free: 248 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.1115, allocations: 16 kB / 0.4923 GB, free: 232 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.0002572/0.1117, allocations: 282.2 kB / 0.4925 GB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.683e-05/0.1118, allocations: 51.72 kB / 0.4926 GB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.365e-05/0.1119, allocations: 43.92 kB / 0.4926 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1119, allocations: 4.031 kB / 0.4926 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1119, allocations: 0 / 0.4926 GB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1119, allocations: 8 kB / 0.4926 GB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.1122, allocations: 345.3 kB / 0.493 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.1122, allocations: 0 / 0.493 GB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.1122, allocations: 4 kB / 0.493 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1122, allocations: 0 / 0.493 GB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.015e-05/0.1123, allocations: 15.98 kB / 0.493 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1123, allocations: 0 / 0.493 GB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.1123, allocations: 3.938 kB / 0.493 GB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008405/0.1131, allocations: 0.5419 MB / 0.4935 GB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001822/0.1133, allocations: 152.8 kB / 0.4937 GB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.1133, allocations: 16 kB / 0.4937 GB, free: 14.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003052/0.1137, allocations: 43.95 kB / 0.4937 GB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.954e-05/0.1137, allocations: 31.84 kB / 0.4937 GB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.463e-05/0.1138, allocations: 11.98 kB / 0.4938 GB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000477/0.1142, allocations: 411.1 kB / 0.4941 GB, free: 14.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1142, allocations: 4 kB / 0.4942 GB, free: 14.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003212/0.1146, allocations: 79.88 kB / 0.4942 GB, free: 14.1 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.001266/0.1158, allocations: 1.107 MB / 0.4953 GB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005918/0.1164, allocations: 386.6 kB / 0.4957 GB, free: 12.55 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1164, allocations: 4 kB / 0.4957 GB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003701/0.1168, allocations: 258.7 kB / 0.4959 GB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.1171, allocations: 36.78 kB / 0.496 GB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006031/0.1231, allocations: 4.902 MB / 0.5008 GB, free: 7.238 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004412/0.1236, allocations: 0.8072 MB / 0.5015 GB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.766e-05/0.1237, allocations: 45.88 kB / 0.5016 GB, free: 6.359 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.1238, allocations: 115.4 kB / 0.5017 GB, free: 6.246 MB / 366.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1238, allocations: 0 / 0.5017 GB, free: 6.246 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03015/0.154, allocations: 8.269 MB / 0.5098 GB, free: 14.05 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.982/9.136, allocations: 8.531 kB / 0.5098 GB, free: 14.05 MB / 382.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.VoltageRegulation1_res.csv --start-time 0 --stop-time 350 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.14 PowerSysPro_PowerSysPro_Tests_VoltageRegulation1.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation1.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.98885918900487] Failed to read output from testmodel.py, exit status != 0: 9.209874195992597 9.231553807 9.122420397 Calling exit ...