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.001683/0.001683, allocations: 101.3 kB / 16.45 MB, free: 6.449 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.001957/0.001957, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.547/1.547, allocations: 230.6 MB / 252.8 MB, free: 8.988 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.04536/0.04536, allocations: 5.484 MB / 314.3 MB, free: 14.91 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.002001/0.002001, allocations: 59.91 kB / 437.1 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.103, allocations: 54.59 MB / 491.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01028/0.1132, allocations: 8.188 MB / 499.8 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005342/0.1186, allocations: 2.612 MB / 0.4907 GB, free: 9.824 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001038/0.1196, allocations: 71.62 kB / 0.4907 GB, free: 9.754 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007325/0.127, allocations: 3.044 MB / 0.4937 GB, free: 6.703 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002945/0.1299, allocations: 0.6992 MB / 0.4944 GB, free: 6 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002311/0.1322, allocations: 0.9611 MB / 0.4953 GB, free: 5.039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004859/0.1371, allocations: 3.639 MB / 0.4989 GB, free: 1.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0116/0.1487, allocations: 7.799 MB / 0.5065 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003432/0.1521, allocations: 2.206 MB / 0.5087 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004753/0.1568, allocations: 2.395 MB / 0.511 GB, free: 4.879 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001825/0.1587, allocations: 0.664 MB / 0.5116 GB, free: 4.215 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.1617, allocations: 0.9567 MB / 0.5126 GB, free: 3.258 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001832/0.1635, allocations: 1.224 MB / 0.5138 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.216/0.3795, allocations: 2.357 MB / 0.5161 GB, free: 15.79 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01152/0.391, allocations: 8.579 MB / 0.5245 GB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.391, allocations: 4.781 kB / 0.5245 GB, free: 15.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.391, allocations: 0 / 0.5245 GB, free: 15.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002395/0.3912, allocations: 0 / 0.5245 GB, free: 15.48 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.01444/0.4057, allocations: 4.875 MB / 0.5292 GB, free: 13.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4057, allocations: 11.81 kB / 0.5292 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001838/0.4076, allocations: 0.5804 MB / 0.5298 GB, free: 13.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.4181, allocations: 1.589 MB / 0.5313 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005239/0.4233, allocations: 2.63 MB / 0.5339 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.4236, allocations: 297.4 kB / 0.5342 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.4251, allocations: 397 kB / 0.5346 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01555/0.4406, allocations: 6.371 MB / 0.5408 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.879e-05/0.4407, allocations: 0 / 0.5408 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00051/0.4412, allocations: 163.5 kB / 0.541 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001579/0.4414, allocations: 199.5 kB / 0.5411 GB, free: 7.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0104/0.4518, allocations: 5.367 MB / 0.5464 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03676/0.4886, allocations: 22.38 MB / 0.5682 GB, free: 1.617 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005994/0.4946, allocations: 3.704 MB / 0.5719 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.4959, allocations: 0.6566 MB / 0.5725 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000289/0.4962, allocations: 193.8 kB / 0.5727 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.4963, allocations: 46.12 kB / 0.5727 GB, free: 12.56 MB / 414.1 MB Notification: Performance of pre-optimization done (n=86): time 2.565e-06/0.4963, allocations: 0 / 0.5727 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=86): time 0.003206/0.4995, allocations: 1.623 MB / 0.5743 GB, free: 10.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.4996, allocations: 86.11 kB / 0.5744 GB, free: 10.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/0.5022, allocations: 1.61 MB / 0.576 GB, free: 9.211 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/0.5023, allocations: 41.7 kB / 0.576 GB, free: 9.164 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.5037, allocations: 1.84 MB / 0.5778 GB, free: 7.316 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000348/0.5041, allocations: 336.3 kB / 0.5781 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008276/0.5049, allocations: 0.4958 MB / 0.5786 GB, free: 6.488 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.5051, allocations: 357.9 kB / 0.579 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.5072, allocations: 1.082 MB / 0.58 GB, free: 5.043 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002632/0.5098, allocations: 2.01 MB / 0.582 GB, free: 2.547 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004083/0.5139, allocations: 3.063 MB / 0.585 GB, free: 15.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.16e-05/0.5139, allocations: 12 kB / 0.585 GB, free: 15.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005519/0.5194, allocations: 3.084 MB / 0.588 GB, free: 12.24 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/0.5194, allocations: 22.62 kB / 0.588 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.944e-05/0.5195, allocations: 36 kB / 0.588 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.099e-05/0.5196, allocations: 48 kB / 0.5881 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/0.5217, allocations: 0.5706 MB / 0.5887 GB, free: 11.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.004e-05/0.5217, allocations: 67.36 kB / 0.5887 GB, free: 11.56 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/0.5238, allocations: 341.9 kB / 0.589 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002327/0.524, allocations: 128 kB / 0.5892 GB, free: 11.1 MB / 430.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.003362/0.5273, allocations: 1.639 MB / 0.5908 GB, free: 9.492 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/0.5278, allocations: 135.1 kB / 0.5909 GB, free: 9.359 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002775/0.5305, allocations: 1.377 MB / 0.5922 GB, free: 7.973 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001863/0.5324, allocations: 1.065 MB / 0.5933 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.5324, allocations: 0 / 0.5933 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.5324, allocations: 3.984 kB / 0.5933 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009305/0.5417, allocations: 4.279 MB / 0.5975 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.5417, allocations: 0 / 0.5975 GB, free: 2.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009795/0.5427, allocations: 208.9 kB / 0.5977 GB, free: 2.395 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.5427, allocations: 12.12 kB / 0.5977 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.048e-05/0.5428, allocations: 23.94 kB / 0.5977 GB, free: 2.359 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.009e-05/0.5428, allocations: 7.562 kB / 0.5977 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5428, allocations: 0 / 0.5977 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.5462, allocations: 2.106 MB / 0.5998 GB, free: 228 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008086/0.547, allocations: 308.2 kB / 0.6 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002493/0.5473, allocations: 34.27 kB / 0.6001 GB, free: 15.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/0.548, allocations: 55.92 kB / 0.6001 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001608/0.5482, allocations: 60.98 kB / 0.6002 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.5482, allocations: 31.98 kB / 0.6002 GB, free: 15.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002165/0.5504, allocations: 1.101 MB / 0.6013 GB, free: 14.62 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5504, allocations: 3.938 kB / 0.6013 GB, free: 14.62 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003251/0.5536, allocations: 0.8639 MB / 0.6021 GB, free: 13.75 MB / 446.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.00411/0.5578, allocations: 2.717 MB / 0.6048 GB, free: 11.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003694/0.5614, allocations: 1.941 MB / 0.6067 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5615, allocations: 0 / 0.6067 GB, free: 9.172 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009741/0.5624, allocations: 0.5353 MB / 0.6072 GB, free: 8.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.5642, allocations: 298.6 kB / 0.6075 GB, free: 8.387 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/0.5971, allocations: 18.77 MB / 0.6258 GB, free: 4.5 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003136/0.6003, allocations: 2.905 MB / 0.6287 GB, free: 1.559 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001936/0.6022, allocations: 0.8095 MB / 0.6295 GB, free: 0.7422 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001764/0.604, allocations: 1.141 MB / 0.6306 GB, free: 15.64 MB / 478.1 MB Notification: Performance of SimCode: time 9.12e-07/0.604, allocations: 2.25 kB / 0.6306 GB, free: 15.64 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09416/0.6981, allocations: 44.78 MB / 0.6743 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.29/14.99, allocations: 11.73 kB / 0.6743 GB, free: 3.168 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.906939116001013] Failed to read output from testmodel.py, exit status != 0: 15.108920888989815 15.135440494 14.740451846 Calling exit ...