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.001354/0.001354, allocations: 118.5 kB / 19.74 MB, free: 2.152 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.001548/0.001548, allocations: 225.2 kB / 23.05 MB, free: 4.996 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.06351/0.06351, allocations: 6.133 MB / 319.4 MB, free: 12.99 MB / 254.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.001486/0.001486, allocations: 47.92 kB / 444.5 MB, free: 5.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.12, allocations: 55.03 MB / 499.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002657/0.1226, allocations: 1.658 MB / 0.4894 GB, free: 12.65 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1238, allocations: 0.6663 MB / 0.4901 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.1238, allocations: 0 / 0.4901 GB, free: 11.98 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.124, allocations: 123.7 kB / 0.4902 GB, free: 11.86 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002328/0.1243, allocations: 135.6 kB / 0.4903 GB, free: 11.73 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003601/0.1246, allocations: 122.3 kB / 0.4904 GB, free: 11.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.1249, allocations: 219.5 kB / 0.4906 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.856e-05/0.125, allocations: 13.28 kB / 0.4907 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1251, allocations: 123.6 kB / 0.4908 GB, free: 11.26 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002849/0.1254, allocations: 219.5 kB / 0.491 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.1254, allocations: 12 kB / 0.491 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.1256, allocations: 91.92 kB / 0.4911 GB, free: 10.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.1257, allocations: 99.66 kB / 0.4912 GB, free: 10.84 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001372/0.1258, allocations: 127.1 kB / 0.4913 GB, free: 10.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.1262, allocations: 334.8 kB / 0.4916 GB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1262, allocations: 0 / 0.4916 GB, free: 10.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1262, allocations: 3.938 kB / 0.4916 GB, free: 10.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1262, allocations: 0 / 0.4916 GB, free: 10.39 MB / 366.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.0009565/0.1272, allocations: 0.6437 MB / 0.4923 GB, free: 9.699 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1272, allocations: 16.03 kB / 0.4923 GB, free: 9.684 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.994e-05/0.1273, allocations: 42.75 kB / 0.4923 GB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.411e-05/0.1274, allocations: 44.66 kB / 0.4924 GB, free: 9.59 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005226/0.1279, allocations: 320.6 kB / 0.4927 GB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.679e-05/0.1279, allocations: 4.375 kB / 0.4927 GB, free: 9.246 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.1279, allocations: 8.125 kB / 0.4927 GB, free: 9.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000364/0.1283, allocations: 177.5 kB / 0.4928 GB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1283, allocations: 0 / 0.4928 GB, free: 9.059 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.763e-05/0.1283, allocations: 4 kB / 0.4928 GB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.1283, allocations: 0 / 0.4928 GB, free: 9.055 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.1285, allocations: 115.9 kB / 0.493 GB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007502/0.1293, allocations: 475.6 kB / 0.4934 GB, free: 8.434 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/0.1295, allocations: 118.5 kB / 0.4935 GB, free: 8.309 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.1298, allocations: 116.8 kB / 0.4936 GB, free: 8.191 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.1298, allocations: 7.938 kB / 0.4936 GB, free: 8.184 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004761/0.1302, allocations: 363.7 kB / 0.494 GB, free: 7.785 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.473e-06/0.1302, allocations: 3.938 kB / 0.494 GB, free: 7.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001007/0.1313, allocations: 0.573 MB / 0.4946 GB, free: 7.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001555/0.1314, allocations: 217.6 kB / 0.4948 GB, free: 6.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006741/0.1321, allocations: 0.5643 MB / 0.4953 GB, free: 6.355 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.1321, allocations: 33.64 kB / 0.4953 GB, free: 6.316 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1323, allocations: 200.1 kB / 0.4955 GB, free: 6.117 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.1323, allocations: 47.75 kB / 0.4956 GB, free: 6.07 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-05/0.1324, allocations: 37.7 kB / 0.4956 GB, free: 6.027 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.1326, allocations: 362.7 kB / 0.496 GB, free: 5.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001336/0.1327, allocations: 95.97 kB / 0.4961 GB, free: 5.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001484/0.1329, allocations: 113.7 kB / 0.4962 GB, free: 5.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007415/0.1336, allocations: 0.6111 MB / 0.4968 GB, free: 4.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1336, allocations: 4.031 kB / 0.4968 GB, free: 4.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005303/0.1342, allocations: 428.5 kB / 0.4972 GB, free: 4.352 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.751e-05/0.1342, allocations: 75.38 kB / 0.4972 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.1342, allocations: 0 / 0.4972 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.1342, allocations: 0 / 0.4972 GB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.045e-05/0.1343, allocations: 8 kB / 0.4972 GB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.1343, allocations: 0 / 0.4972 GB, free: 4.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.1346, allocations: 51.84 kB / 0.4973 GB, free: 4.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.459e-05/0.1346, allocations: 12 kB / 0.4973 GB, free: 4.195 MB / 366.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.0003364/0.135, allocations: 288 kB / 0.4976 GB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.889e-05/0.135, allocations: 51.7 kB / 0.4976 GB, free: 3.844 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.1351, allocations: 51.84 kB / 0.4977 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1351, allocations: 0 / 0.4977 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1351, allocations: 4 kB / 0.4977 GB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1351, allocations: 4 kB / 0.4977 GB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003328/0.1354, allocations: 312.4 kB / 0.498 GB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1354, allocations: 4 kB / 0.498 GB, free: 3.434 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.174e-05/0.1355, allocations: 3.938 kB / 0.498 GB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1355, allocations: 0 / 0.498 GB, free: 3.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.857e-05/0.1355, allocations: 15.98 kB / 0.498 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1355, allocations: 0 / 0.498 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.1355, allocations: 0 / 0.498 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008062/0.1363, allocations: 0.546 MB / 0.4985 GB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/0.1365, allocations: 75.67 kB / 0.4986 GB, free: 2.766 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.597e-05/0.1365, allocations: 15.98 kB / 0.4986 GB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002603/0.1368, allocations: 39.95 kB / 0.4987 GB, free: 2.711 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.1369, allocations: 23.97 kB / 0.4987 GB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.1369, allocations: 12 kB / 0.4987 GB, free: 2.676 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004616/0.1374, allocations: 415 kB / 0.4991 GB, free: 2.273 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1374, allocations: 3.938 kB / 0.4991 GB, free: 2.27 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000299/0.1377, allocations: 83.88 kB / 0.4992 GB, free: 2.188 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.001232/0.1389, allocations: 1.116 MB / 0.5003 GB, free: 1.031 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005879/0.1395, allocations: 386.8 kB / 0.5006 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1395, allocations: 3.938 kB / 0.5006 GB, free: 0.625 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003493/0.1398, allocations: 258.7 kB / 0.5009 GB, free: 356 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002676/0.1401, allocations: 36.47 kB / 0.5009 GB, free: 320 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005761/0.1459, allocations: 4.914 MB / 0.5057 GB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.1463, allocations: 0.8072 MB / 0.5065 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.088e-05/0.1464, allocations: 41.92 kB / 0.5066 GB, free: 10.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001423/0.1466, allocations: 119.4 kB / 0.5067 GB, free: 10.3 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.1466, allocations: 0 / 0.5067 GB, free: 10.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03629/0.1829, allocations: 8.506 MB / 0.515 GB, free: 1.941 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/11.89, allocations: 11.25 kB / 0.515 GB, free: 1.934 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.821287673999905] Failed to read output from testmodel.py, exit status != 0: 11.996278448998055 12.172128372 12.043187667 Calling exit ...