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.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.0019/0.0019, allocations: 100.4 kB / 19.74 MB, free: 1.754 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.00201/0.00201, allocations: 222.6 kB / 23.03 MB, free: 4.633 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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.03788/0.03788, allocations: 6.143 MB / 319.4 MB, free: 12.75 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.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSysPro.Tests.VoltageRegulation2,fileNamePrefix="PowerSysPro_PowerSysPro_Tests_VoltageRegulation2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 44.06 kB / 444.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1101, allocations: 55.02 MB / 499.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation2): time 0.003199/0.1133, allocations: 1.628 MB / 0.4893 GB, free: 12.35 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001304/0.1146, allocations: 0.5963 MB / 0.4899 GB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.1147, allocations: 8 kB / 0.4899 GB, free: 11.74 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001537/0.1148, allocations: 23.84 kB / 0.4899 GB, free: 11.72 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001754/0.115, allocations: 43.77 kB / 0.49 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004037/0.1154, allocations: 111.7 kB / 0.4901 GB, free: 11.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002422/0.1156, allocations: 179.5 kB / 0.4902 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.796e-05/0.1157, allocations: 13.23 kB / 0.4903 GB, free: 11.38 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/0.1159, allocations: 79.7 kB / 0.4903 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.1161, allocations: 91.69 kB / 0.4904 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.911e-05/0.1161, allocations: 16 kB / 0.4904 GB, free: 11.19 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000156/0.1163, allocations: 75.94 kB / 0.4905 GB, free: 11.12 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.192e-05/0.1163, allocations: 23.91 kB / 0.4905 GB, free: 11.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.1164, allocations: 63.66 kB / 0.4906 GB, free: 11.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.1168, allocations: 195.4 kB / 0.4908 GB, free: 10.84 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1168, allocations: 0 / 0.4908 GB, free: 10.84 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1168, allocations: 0 / 0.4908 GB, free: 10.84 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.242e-06/0.1168, allocations: 0 / 0.4908 GB, free: 10.84 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.0007793/0.1175, allocations: 439.6 kB / 0.4912 GB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1176, allocations: 16.03 kB / 0.4912 GB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.317e-05/0.1176, allocations: 38.75 kB / 0.4913 GB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.351e-05/0.1177, allocations: 16.84 kB / 0.4913 GB, free: 10.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003477/0.118, allocations: 174.2 kB / 0.4914 GB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1181, allocations: 4.375 kB / 0.4914 GB, free: 10.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.1181, allocations: 12.12 kB / 0.4914 GB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/0.1185, allocations: 254 kB / 0.4917 GB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.1185, allocations: 0 / 0.4917 GB, free: 9.805 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.1185, allocations: 4 kB / 0.4917 GB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.1186, allocations: 0 / 0.4917 GB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002503/0.1188, allocations: 139.3 kB / 0.4918 GB, free: 9.652 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.1194, allocations: 327.8 kB / 0.4921 GB, free: 9.289 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002923/0.1197, allocations: 145.9 kB / 0.4923 GB, free: 9.125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000281/0.12, allocations: 136.3 kB / 0.4924 GB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.284e-06/0.12, allocations: 0 / 0.4924 GB, free: 8.977 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005992/0.1206, allocations: 450.5 kB / 0.4928 GB, free: 8.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.463e-06/0.1206, allocations: 0 / 0.4928 GB, free: 8.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.00105/0.1217, allocations: 0.5346 MB / 0.4934 GB, free: 7.891 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001698/0.1218, allocations: 221.6 kB / 0.4936 GB, free: 7.625 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1221, allocations: 190.3 kB / 0.4938 GB, free: 7.43 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1221, allocations: 33.7 kB / 0.4938 GB, free: 7.391 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.612e-05/0.1222, allocations: 100.1 kB / 0.4939 GB, free: 7.289 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.962e-05/0.1222, allocations: 47.78 kB / 0.4939 GB, free: 7.242 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-05/0.1223, allocations: 37.7 kB / 0.494 GB, free: 7.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.1225, allocations: 334.8 kB / 0.4943 GB, free: 6.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1226, allocations: 115.4 kB / 0.4944 GB, free: 6.738 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001944/0.1228, allocations: 167.6 kB / 0.4946 GB, free: 6.551 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006301/0.1235, allocations: 476.3 kB / 0.495 GB, free: 6.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1235, allocations: 0 / 0.495 GB, free: 6.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004615/0.1239, allocations: 352.1 kB / 0.4953 GB, free: 5.664 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.063e-05/0.124, allocations: 75.38 kB / 0.4954 GB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.124, allocations: 3.938 kB / 0.4954 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.124, allocations: 0 / 0.4954 GB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.48e-05/0.1241, allocations: 8 kB / 0.4954 GB, free: 5.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.1241, allocations: 4.062 kB / 0.4954 GB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002845/0.1244, allocations: 55.88 kB / 0.4955 GB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.1244, allocations: 8 kB / 0.4955 GB, free: 5.5 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.0003057/0.1247, allocations: 217.6 kB / 0.4957 GB, free: 5.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.004e-05/0.1248, allocations: 31.78 kB / 0.4957 GB, free: 5.238 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.646e-05/0.1248, allocations: 13.81 kB / 0.4957 GB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1248, allocations: 8 kB / 0.4957 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.1248, allocations: 0 / 0.4957 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.1248, allocations: 0 / 0.4957 GB, free: 5.215 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.1251, allocations: 196.6 kB / 0.4959 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.1251, allocations: 0 / 0.4959 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.057e-05/0.1251, allocations: 0 / 0.4959 GB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1251, allocations: 4 kB / 0.4959 GB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.621e-05/0.1251, allocations: 8 kB / 0.4959 GB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1251, allocations: 3.984 kB / 0.496 GB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1251, allocations: 4 kB / 0.496 GB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008219/0.1259, allocations: 471.6 kB / 0.4964 GB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.1261, allocations: 51.86 kB / 0.4965 GB, free: 4.406 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.088e-05/0.1261, allocations: 12 kB / 0.4965 GB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002686/0.1264, allocations: 39.95 kB / 0.4965 GB, free: 4.355 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.1265, allocations: 23.97 kB / 0.4965 GB, free: 4.332 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.962e-05/0.1265, allocations: 11.98 kB / 0.4965 GB, free: 4.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001679/0.1267, allocations: 164.1 kB / 0.4967 GB, free: 4.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1267, allocations: 0 / 0.4967 GB, free: 4.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003235/0.127, allocations: 71.88 kB / 0.4968 GB, free: 4.09 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.001296/0.1283, allocations: 1.029 MB / 0.4978 GB, free: 3.008 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006879/0.129, allocations: 444.2 kB / 0.4982 GB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.129, allocations: 0 / 0.4982 GB, free: 2.527 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003922/0.1294, allocations: 294.1 kB / 0.4985 GB, free: 2.203 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1297, allocations: 20 kB / 0.4985 GB, free: 2.184 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/0.1332, allocations: 2.643 MB / 0.5011 GB, free: 15.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001214/0.1333, allocations: 101.3 kB / 0.5012 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.677e-05/0.1333, allocations: 12.38 kB / 0.5012 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.767e-05/0.1334, allocations: 43.42 kB / 0.5012 GB, free: 15.2 MB / 382.1 MB Notification: Performance of SimCode: time 1.292e-06/0.1334, allocations: 0 / 0.5012 GB, free: 15.2 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03315/0.1666, allocations: 5.72 MB / 0.5068 GB, free: 9.633 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/11.59, allocations: 25.91 kB / 0.5068 GB, free: 9.613 MB / 382.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file PowerSysPro_PowerSysPro.Tests.VoltageRegulation2_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_VoltageRegulation2.fmu > PowerSysPro_PowerSysPro.Tests.VoltageRegulation2.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.58648994192481] Failed to read output from testmodel.py, exit status != 0: 11.70130266668275 11.919960086 11.800444345 Calling exit ...