Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.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.001455/0.001455, allocations: 107 kB / 16.45 MB, free: 6.02 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.001563/0.001563, allocations: 205.7 kB / 19.42 MB, free: 3.516 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.5/1.5, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.05751/0.05751, allocations: 5.48 MB / 314.3 MB, free: 14.89 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/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(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.91 kB / 437.1 MB, free: 11.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1057, allocations: 54.57 MB / 491.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.008231/0.1139, allocations: 4.408 MB / 496 MB, free: 248 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005471/0.1194, allocations: 1.662 MB / 497.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007034/0.1201, allocations: 15.94 kB / 497.7 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002564/0.1226, allocations: 0.8985 MB / 498.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001407/0.124, allocations: 472.2 kB / 499.1 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005445/0.1246, allocations: 219.6 kB / 499.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007832/0.1254, allocations: 0.5686 MB / 499.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009419/0.1263, allocations: 0.5446 MB / 0.4887 GB, free: 11.85 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004206/0.1267, allocations: 259.1 kB / 0.4889 GB, free: 11.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004516/0.1272, allocations: 326.8 kB / 0.4892 GB, free: 11.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.097e-05/0.1273, allocations: 68 kB / 0.4893 GB, free: 11.21 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004911/0.1278, allocations: 227.8 kB / 0.4895 GB, free: 10.99 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1279, allocations: 143.5 kB / 0.4897 GB, free: 10.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002821/0.1282, allocations: 306.6 kB / 0.49 GB, free: 10.55 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.1293, allocations: 0.9146 MB / 0.4908 GB, free: 9.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1293, allocations: 0 / 0.4908 GB, free: 9.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1293, allocations: 3.938 kB / 0.4908 GB, free: 9.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1293, allocations: 0 / 0.4908 GB, free: 9.625 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.00239/0.1317, allocations: 1.01 MB / 0.4918 GB, free: 8.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.1318, allocations: 12.03 kB / 0.4918 GB, free: 8.551 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.1319, allocations: 106.7 kB / 0.4919 GB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.1341, allocations: 300.3 kB / 0.4922 GB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005308/0.1346, allocations: 361.6 kB / 0.4926 GB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.839e-05/0.1347, allocations: 54.38 kB / 0.4926 GB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1348, allocations: 64.33 kB / 0.4927 GB, free: 7.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.1361, allocations: 0.7084 MB / 0.4934 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.1361, allocations: 0 / 0.4934 GB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.421e-05/0.1361, allocations: 24 kB / 0.4934 GB, free: 6.887 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.665e-05/0.1362, allocations: 20 kB / 0.4934 GB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.1374, allocations: 0.5907 MB / 0.494 GB, free: 6.277 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.1416, allocations: 2.978 MB / 0.4969 GB, free: 3.07 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001534/0.1431, allocations: 0.8951 MB / 0.4978 GB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.1434, allocations: 109.7 kB / 0.4979 GB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001851/0.1436, allocations: 178.2 kB / 0.4981 GB, free: 1.707 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.1436, allocations: 38.5 kB / 0.4981 GB, free: 1.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=27): time 2.885e-06/0.1436, allocations: 4 kB / 0.4981 GB, free: 1.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=27): time 0.001073/0.1447, allocations: 333.7 kB / 0.4984 GB, free: 1.324 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.837e-05/0.1448, allocations: 81.11 kB / 0.4985 GB, free: 1.227 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005768/0.1453, allocations: 294.4 kB / 0.4988 GB, free: 0.9297 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.1454, allocations: 33.7 kB / 0.4988 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.1457, allocations: 324.2 kB / 0.4991 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001287/0.1459, allocations: 103.3 kB / 0.4992 GB, free: 476 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.1461, allocations: 90.19 kB / 0.4993 GB, free: 380 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/0.1463, allocations: 338.8 kB / 0.4996 GB, free: 32 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.1468, allocations: 150.8 kB / 0.4998 GB, free: 15.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006175/0.1474, allocations: 264.3 kB / 0.5 GB, free: 15.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001091/0.1485, allocations: 392.6 kB / 0.5004 GB, free: 15.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.1485, allocations: 4 kB / 0.5004 GB, free: 15.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001439/0.15, allocations: 468.5 kB / 0.5008 GB, free: 14.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/0.15, allocations: 8.625 kB / 0.5009 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.15, allocations: 4 kB / 0.5009 GB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/0.15, allocations: 11.98 kB / 0.5009 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.1509, allocations: 119.8 kB / 0.501 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.316e-05/0.1509, allocations: 11.98 kB / 0.501 GB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004904/0.1514, allocations: 55.81 kB / 0.501 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-05/0.1514, allocations: 19.98 kB / 0.5011 GB, free: 14.43 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = \"rad\" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * 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.0004379/0.1519, allocations: 193.7 kB / 0.5013 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.152, allocations: 31.75 kB / 0.5013 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.1531, allocations: 307.4 kB / 0.5016 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.216e-05/0.1531, allocations: 8 kB / 0.5016 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.1531, allocations: 0 / 0.5016 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.134e-05/0.1531, allocations: 7.922 kB / 0.5016 GB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002294/0.1554, allocations: 0.8766 MB / 0.5024 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1554, allocations: 0 / 0.5024 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/0.156, allocations: 75.88 kB / 0.5025 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.156, allocations: 0 / 0.5025 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.1561, allocations: 8 kB / 0.5025 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1561, allocations: 0 / 0.5025 GB, free: 12.87 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.1561, allocations: 3.938 kB / 0.5025 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001393/0.1575, allocations: 0.5464 MB / 0.5031 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1576, allocations: 108.9 kB / 0.5032 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.389e-05/0.1576, allocations: 8 kB / 0.5032 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003593/0.158, allocations: 8 kB / 0.5032 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.747e-05/0.1581, allocations: 31.91 kB / 0.5032 GB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.1581, allocations: 8 kB / 0.5032 GB, free: 12.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003573/0.1585, allocations: 206 kB / 0.5034 GB, free: 11.92 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1585, allocations: 0 / 0.5034 GB, free: 11.92 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009576/0.1594, allocations: 143.6 kB / 0.5036 GB, free: 11.78 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (voltageSource.pin_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.001969/0.1614, allocations: 1.129 MB / 0.5047 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00106/0.1625, allocations: 284.6 kB / 0.5049 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.1625, allocations: 0 / 0.5049 GB, free: 10.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.1628, allocations: 112.1 kB / 0.505 GB, free: 10.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004692/0.1633, allocations: 40.42 kB / 0.5051 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004964/0.1683, allocations: 3.483 MB / 0.5085 GB, free: 6.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005916/0.1689, allocations: 0.8224 MB / 0.5093 GB, free: 5.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.169, allocations: 42.97 kB / 0.5093 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.1693, allocations: 163.4 kB / 0.5095 GB, free: 5.469 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1693, allocations: 0 / 0.5095 GB, free: 5.469 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2364/0.4057, allocations: 7.378 MB / 0.5167 GB, free: 34.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.804/9.21, allocations: 8.828 kB / 0.5167 GB, free: 34.11 MB / 382.1 MB " [Timeout remaining time 651] (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter_res.csv --start-time 0 --stop-time 180 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.072 PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.980196928998339] Failed to read output from testmodel.py, exit status != 0: 9.284323963001953 9.297358914 9.165366824 Calling exit ...