Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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.001296/0.001296, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001533/0.001533, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.805 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.03035/0.03035, allocations: 5.495 MB / 317.9 MB, free: 13.52 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.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",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.003378/0.003378, allocations: 72.17 kB / 442.2 MB, free: 7.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.135, allocations: 54.61 MB / 496.8 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01136/0.1463, allocations: 7.241 MB / 0.4922 GB, free: 9.566 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005613/0.1519, allocations: 2.499 MB / 0.4947 GB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.1532, allocations: 75.62 kB / 0.4947 GB, free: 6.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007179/0.1604, allocations: 2.814 MB / 0.4975 GB, free: 4.164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002959/0.1633, allocations: 0.7019 MB / 0.4982 GB, free: 3.461 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002545/0.1659, allocations: 0.9307 MB / 0.4991 GB, free: 2.527 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004689/0.1706, allocations: 3.668 MB / 0.5027 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.181, allocations: 6.29 MB / 0.5088 GB, free: 8.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003344/0.1843, allocations: 2.202 MB / 0.5109 GB, free: 6.258 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003975/0.1883, allocations: 2.293 MB / 0.5132 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001592/0.1899, allocations: 0.6602 MB / 0.5138 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.1926, allocations: 0.9528 MB / 0.5148 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00177/0.1944, allocations: 1.228 MB / 0.516 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2322/0.4266, allocations: 1.808 MB / 0.5177 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.4369, allocations: 8.61 MB / 0.5261 GB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.4369, allocations: 1.438 kB / 0.5261 GB, free: 13.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4369, allocations: 0 / 0.5261 GB, free: 13.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003412/0.4372, allocations: 0.5938 kB / 0.5261 GB, free: 13.99 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.01712/0.4543, allocations: 4.807 MB / 0.5308 GB, free: 12.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/0.4544, allocations: 10.75 kB / 0.5308 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002361/0.4568, allocations: 0.5708 MB / 0.5314 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.467, allocations: 1.593 MB / 0.533 GB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006394/0.4734, allocations: 2.627 MB / 0.5355 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003734/0.4738, allocations: 296 kB / 0.5358 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/0.4754, allocations: 394.5 kB / 0.5362 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01289/0.4883, allocations: 6.371 MB / 0.5424 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.589e-05/0.4884, allocations: 1.281 kB / 0.5424 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005161/0.4889, allocations: 164 kB / 0.5426 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002029/0.4891, allocations: 201.3 kB / 0.5427 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008905/0.498, allocations: 5.361 MB / 0.548 GB, free: 4.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03409/0.5321, allocations: 18.67 MB / 0.5662 GB, free: 5.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004538/0.5366, allocations: 1.888 MB / 0.5681 GB, free: 3.465 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.5378, allocations: 0.6481 MB / 0.5687 GB, free: 2.812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.5379, allocations: 40.22 kB / 0.5687 GB, free: 2.777 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.948e-05/0.5379, allocations: 39.56 kB / 0.5688 GB, free: 2.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=86): time 3.256e-06/0.538, allocations: 0 / 0.5688 GB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=86): time 0.002991/0.5409, allocations: 1.63 MB / 0.5704 GB, free: 1.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.643e-05/0.541, allocations: 88.73 kB / 0.5704 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002888/0.5439, allocations: 1.679 MB / 0.5721 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001004/0.544, allocations: 37.7 kB / 0.5721 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001542/0.5455, allocations: 1.841 MB / 0.5739 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003736/0.5459, allocations: 343.2 kB / 0.5742 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007725/0.5467, allocations: 499.7 kB / 0.5747 GB, free: 12.58 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002174/0.5469, allocations: 357.9 kB / 0.5751 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/0.5487, allocations: 1.079 MB / 0.5761 GB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/0.5512, allocations: 2.013 MB / 0.5781 GB, free: 8.637 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/0.5553, allocations: 3.061 MB / 0.5811 GB, free: 5.227 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.987e-05/0.5553, allocations: 16 kB / 0.5811 GB, free: 5.211 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005253/0.5606, allocations: 3.084 MB / 0.5841 GB, free: 2.332 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.052e-05/0.5606, allocations: 20 kB / 0.5841 GB, free: 2.312 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.765e-05/0.5607, allocations: 36 kB / 0.5842 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.169e-05/0.5607, allocations: 48.69 kB / 0.5842 GB, free: 2.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001957/0.5627, allocations: 0.5701 MB / 0.5848 GB, free: 1.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.031e-05/0.5628, allocations: 67.36 kB / 0.5848 GB, free: 1.648 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.5646, allocations: 345.8 kB / 0.5852 GB, free: 1.309 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/0.5648, allocations: 128 kB / 0.5853 GB, free: 1.184 MB / 414.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_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: 161 * 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 (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.003184/0.568, allocations: 1.629 MB / 0.5869 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004601/0.5684, allocations: 131.2 kB / 0.587 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002825/0.5712, allocations: 1.391 MB / 0.5883 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001737/0.573, allocations: 1.061 MB / 0.5894 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.573, allocations: 0 / 0.5894 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/0.573, allocations: 7.984 kB / 0.5894 GB, free: 12.98 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009203/0.5822, allocations: 4.116 MB / 0.5934 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.5822, allocations: 4 kB / 0.5934 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.5831, allocations: 206.9 kB / 0.5936 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.631e-05/0.5832, allocations: 12.11 kB / 0.5936 GB, free: 8.633 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.012e-05/0.5832, allocations: 23.94 kB / 0.5936 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.957e-06/0.5833, allocations: 9.906 kB / 0.5937 GB, free: 8.605 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5833, allocations: 4 kB / 0.5937 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003417/0.5867, allocations: 2.11 MB / 0.5957 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007222/0.5874, allocations: 234.8 kB / 0.5959 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.5876, allocations: 23.92 kB / 0.596 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006249/0.5882, allocations: 64 kB / 0.596 GB, free: 6.156 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/0.5884, allocations: 64.88 kB / 0.5961 GB, free: 6.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.5885, allocations: 31.98 kB / 0.5961 GB, free: 6.059 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.5903, allocations: 1.101 MB / 0.5972 GB, free: 4.953 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5903, allocations: 0 / 0.5972 GB, free: 4.953 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002631/0.593, allocations: 0.856 MB / 0.598 GB, free: 4.094 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.plug_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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.003872/0.5968, allocations: 2.745 MB / 0.6007 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003725/0.6006, allocations: 1.938 MB / 0.6026 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.6006, allocations: 0 / 0.6026 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009973/0.6016, allocations: 0.5301 MB / 0.6031 GB, free: 14.99 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001934/0.6035, allocations: 295.1 kB / 0.6034 GB, free: 14.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0308/0.6343, allocations: 18.78 MB / 0.6217 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/0.6372, allocations: 2.347 MB / 0.624 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002053/0.6392, allocations: 0.8147 MB / 0.6248 GB, free: 7.621 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001866/0.6411, allocations: 1.136 MB / 0.6259 GB, free: 6.484 MB / 462.1 MB Notification: Performance of SimCode: time 1.412e-06/0.6411, allocations: 0 / 0.6259 GB, free: 6.484 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09333/0.7344, allocations: 45.45 MB / 0.6703 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.8, allocations: 7.922 kB / 0.6703 GB, free: 9.422 MB / 0.4981 GB " [Timeout remaining time 645] (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.sim & python3 -m fmpy simulate --output-file PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter_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_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.525562589988112] Failed to read output from testmodel.py, exit status != 0: 14.938196151982993 14.955379683 14.515042706000001 Calling exit ...