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.001732/0.001732, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001775/0.001775, allocations: 220 kB / 23.03 MB, free: 5.016 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.474/1.474, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.03888/0.03888, allocations: 6.139 MB / 319.4 MB, free: 12.79 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.001525/0.001525, allocations: 51.92 kB / 444.4 MB, free: 5.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1047, allocations: 55.02 MB / 499.4 MB, free: 14.04 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Tests.VoltageRegulation1): time 0.002841/0.1075, allocations: 1.624 MB / 0.4893 GB, free: 12.4 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001139/0.1087, allocations: 0.6002 MB / 0.4899 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.718e-05/0.1087, allocations: 0 / 0.4899 GB, free: 11.8 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.1089, allocations: 127.6 kB / 0.49 GB, free: 11.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.1091, allocations: 139.6 kB / 0.4902 GB, free: 11.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003604/0.1095, allocations: 115.7 kB / 0.4903 GB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002784/0.1098, allocations: 231.4 kB / 0.4905 GB, free: 11.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.547e-05/0.1099, allocations: 17.23 kB / 0.4905 GB, free: 11.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.11, allocations: 115.7 kB / 0.4906 GB, free: 11.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002636/0.1103, allocations: 211.5 kB / 0.4908 GB, free: 10.86 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.248e-05/0.1103, allocations: 12 kB / 0.4908 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.1104, allocations: 79.94 kB / 0.4909 GB, free: 10.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.1106, allocations: 95.72 kB / 0.491 GB, free: 10.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.1107, allocations: 111.2 kB / 0.4911 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003858/0.1111, allocations: 342.5 kB / 0.4914 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1111, allocations: 4 kB / 0.4914 GB, free: 10.23 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1111, allocations: 0 / 0.4914 GB, free: 10.23 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1111, allocations: 0 / 0.4914 GB, free: 10.23 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.0009787/0.1121, allocations: 0.6359 MB / 0.492 GB, free: 9.547 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1121, allocations: 8.031 kB / 0.4921 GB, free: 9.539 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.337e-05/0.1122, allocations: 34.75 kB / 0.4921 GB, free: 9.496 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.936e-05/0.1122, allocations: 52.64 kB / 0.4921 GB, free: 9.445 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005481/0.1128, allocations: 312.6 kB / 0.4924 GB, free: 9.113 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.703e-05/0.1128, allocations: 12.38 kB / 0.4924 GB, free: 9.102 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.819e-05/0.1128, allocations: 12.12 kB / 0.4925 GB, free: 9.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004429/0.1133, allocations: 295.3 kB / 0.4927 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.1133, allocations: 0 / 0.4927 GB, free: 8.773 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.1133, allocations: 4 kB / 0.4927 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.1133, allocations: 0 / 0.4927 GB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.1136, allocations: 175.3 kB / 0.4929 GB, free: 8.586 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000785/0.1144, allocations: 455.6 kB / 0.4933 GB, free: 8.098 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003207/0.1147, allocations: 197.8 kB / 0.4935 GB, free: 7.883 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002672/0.115, allocations: 176.2 kB / 0.4937 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.115, allocations: 0 / 0.4937 GB, free: 7.695 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005849/0.1156, allocations: 490.5 kB / 0.4942 GB, free: 7.148 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.323e-06/0.1156, allocations: 0 / 0.4942 GB, free: 7.148 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001161/0.1167, allocations: 0.7053 MB / 0.4949 GB, free: 6.402 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/0.1169, allocations: 225.6 kB / 0.4951 GB, free: 6.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006631/0.1175, allocations: 0.5604 MB / 0.4956 GB, free: 5.559 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.397e-05/0.1176, allocations: 37.69 kB / 0.4957 GB, free: 5.516 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1177, allocations: 192.1 kB / 0.4958 GB, free: 5.324 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.051e-05/0.1178, allocations: 47.81 kB / 0.4959 GB, free: 5.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.868e-05/0.1179, allocations: 37.7 kB / 0.4959 GB, free: 5.234 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1181, allocations: 370.7 kB / 0.4963 GB, free: 4.863 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.1183, allocations: 155.4 kB / 0.4964 GB, free: 4.699 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002326/0.1185, allocations: 206.8 kB / 0.4966 GB, free: 4.473 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007923/0.1193, allocations: 0.6267 MB / 0.4972 GB, free: 3.797 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1193, allocations: 0 / 0.4972 GB, free: 3.797 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006159/0.1199, allocations: 0.496 MB / 0.4977 GB, free: 3.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.297e-05/0.12, allocations: 70.36 kB / 0.4978 GB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.12, allocations: 0 / 0.4978 GB, free: 3.191 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.12, allocations: 15.97 kB / 0.4978 GB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.1201, allocations: 15.98 kB / 0.4978 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1201, allocations: 0 / 0.4978 GB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002868/0.1204, allocations: 47.84 kB / 0.4979 GB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.224e-05/0.1204, allocations: 8 kB / 0.4979 GB, free: 3.105 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.0003801/0.1208, allocations: 290.4 kB / 0.4981 GB, free: 2.805 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.395e-05/0.1208, allocations: 51.7 kB / 0.4982 GB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.977e-05/0.1209, allocations: 47.84 kB / 0.4982 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.1209, allocations: 0 / 0.4982 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1209, allocations: 0 / 0.4982 GB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.1209, allocations: 3.938 kB / 0.4982 GB, free: 2.703 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000289/0.1212, allocations: 276.6 kB / 0.4985 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1212, allocations: 0 / 0.4985 GB, free: 2.391 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.88e-05/0.1212, allocations: 8 kB / 0.4985 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1212, allocations: 0 / 0.4985 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.1213, allocations: 15.98 kB / 0.4985 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1213, allocations: 0 / 0.4985 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1213, allocations: 0 / 0.4985 GB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000875/0.1221, allocations: 0.6087 MB / 0.4991 GB, free: 1.715 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.1223, allocations: 75.67 kB / 0.4992 GB, free: 1.641 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.421e-05/0.1224, allocations: 12 kB / 0.4992 GB, free: 1.629 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.1227, allocations: 55.94 kB / 0.4993 GB, free: 1.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.944e-05/0.1228, allocations: 15.98 kB / 0.4993 GB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.118e-05/0.1228, allocations: 11.98 kB / 0.4993 GB, free: 1.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004705/0.1233, allocations: 419 kB / 0.4997 GB, free: 1.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1233, allocations: 3.938 kB / 0.4997 GB, free: 1.141 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003029/0.1236, allocations: 75.88 kB / 0.4998 GB, free: 1.066 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.001332/0.1249, allocations: 1.196 MB / 0.5009 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006905/0.1256, allocations: 0.5132 MB / 0.5014 GB, free: 15.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.1256, allocations: 4 kB / 0.5014 GB, free: 15.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.126, allocations: 338.1 kB / 0.5018 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.1263, allocations: 29.97 kB / 0.5018 GB, free: 14.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006286/0.1326, allocations: 5.294 MB / 0.507 GB, free: 9.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000218/0.1328, allocations: 200.2 kB / 0.5072 GB, free: 9.184 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.9e-05/0.1329, allocations: 41.94 kB / 0.5072 GB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.1331, allocations: 119.4 kB / 0.5073 GB, free: 9.023 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1331, allocations: 0 / 0.5073 GB, free: 9.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03637/0.1694, allocations: 9.123 MB / 0.5162 GB, free: 48 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.8, allocations: 8 kB / 0.5162 GB, free: 40 kB / 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.714214253704995] Failed to read output from testmodel.py, exit status != 0: 12.114299333654344 12.1287733 12.014625495 Calling exit ...