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.001739/0.001739, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001643/0.001643, allocations: 219.7 kB / 22.26 MB, free: 5.125 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.538/1.538, allocations: 230.6 MB / 256 MB, free: 7.973 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.03053/0.03053, allocations: 5.472 MB / 317.9 MB, free: 13.71 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.002048/0.002048, allocations: 75.88 kB / 442.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1357, allocations: 54.61 MB / 496.9 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01105/0.1468, allocations: 8.23 MB / 0.4933 GB, free: 8.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005746/0.1525, allocations: 2.628 MB / 0.4958 GB, free: 6.191 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001274/0.1538, allocations: 75.62 kB / 0.4959 GB, free: 6.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00715/0.1609, allocations: 3.058 MB / 0.4989 GB, free: 3.051 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003/0.1639, allocations: 0.7187 MB / 0.4996 GB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002336/0.1663, allocations: 0.9651 MB / 0.5005 GB, free: 1.363 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005119/0.1714, allocations: 3.665 MB / 0.5041 GB, free: 13.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00973/0.1811, allocations: 6.36 MB / 0.5103 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003262/0.1844, allocations: 2.202 MB / 0.5125 GB, free: 5.023 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004075/0.1885, allocations: 2.41 MB / 0.5148 GB, free: 2.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001095/0.1896, allocations: 0.6641 MB / 0.5155 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001912/0.1915, allocations: 0.9645 MB / 0.5164 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2773/0.4687, allocations: 1.224 MB / 0.5176 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00411/0.4728, allocations: 2.355 MB / 0.5199 GB, free: 14.13 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01344/0.4863, allocations: 8.587 MB / 0.5283 GB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.4863, allocations: 1.031 kB / 0.5283 GB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4863, allocations: 3.688 kB / 0.5283 GB, free: 13.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003184/0.4866, allocations: 0 / 0.5283 GB, free: 13.4 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.01825/0.5049, allocations: 4.796 MB / 0.533 GB, free: 11.97 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.028e-05/0.5049, allocations: 13.64 kB / 0.533 GB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001497/0.5064, allocations: 0.5724 MB / 0.5336 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01021/0.5166, allocations: 1.589 MB / 0.5351 GB, free: 11.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007964/0.5246, allocations: 2.635 MB / 0.5377 GB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003227/0.5249, allocations: 298.9 kB / 0.538 GB, free: 9.504 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002184/0.5271, allocations: 394 kB / 0.5383 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0181/0.5452, allocations: 6.367 MB / 0.5446 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001632/0.5454, allocations: 1.594 kB / 0.5446 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0018/0.5472, allocations: 160.4 kB / 0.5447 GB, free: 5.488 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003924/0.5476, allocations: 202.2 kB / 0.5449 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01441/0.562, allocations: 5.363 MB / 0.5501 GB, free: 2.562 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04428/0.6062, allocations: 20.31 MB / 0.57 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005285/0.6115, allocations: 1.905 MB / 0.5718 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.6128, allocations: 0.6481 MB / 0.5725 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001708/0.6129, allocations: 42.44 kB / 0.5725 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.613, allocations: 48.92 kB / 0.5726 GB, free: 15.07 MB / 414.1 MB Notification: Performance of pre-optimization done (n=86): time 3.807e-06/0.613, allocations: 4 kB / 0.5726 GB, free: 15.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=86): time 0.003259/0.6162, allocations: 1.619 MB / 0.5741 GB, free: 13.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.024e-05/0.6163, allocations: 90.11 kB / 0.5742 GB, free: 13.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003051/0.6194, allocations: 1.606 MB / 0.5758 GB, free: 11.73 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.6195, allocations: 41.7 kB / 0.5758 GB, free: 11.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001728/0.6212, allocations: 1.844 MB / 0.5776 GB, free: 9.832 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005333/0.6217, allocations: 341.8 kB / 0.578 GB, free: 9.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009518/0.6227, allocations: 0.4919 MB / 0.5784 GB, free: 9 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003359/0.623, allocations: 357.9 kB / 0.5788 GB, free: 8.645 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.6248, allocations: 1.079 MB / 0.5798 GB, free: 7.555 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002894/0.6277, allocations: 2.009 MB / 0.5818 GB, free: 5.055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00461/0.6323, allocations: 3.063 MB / 0.5848 GB, free: 1.645 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-05/0.6323, allocations: 12 kB / 0.5848 GB, free: 1.633 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005836/0.6382, allocations: 3.086 MB / 0.5878 GB, free: 14.75 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.007e-05/0.6382, allocations: 20 kB / 0.5878 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.119e-05/0.6383, allocations: 36 kB / 0.5879 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.47e-05/0.6384, allocations: 48 kB / 0.5879 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002036/0.6404, allocations: 0.5647 MB / 0.5885 GB, free: 14.12 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-05/0.6405, allocations: 77.47 kB / 0.5885 GB, free: 14.06 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/0.6424, allocations: 333.8 kB / 0.5889 GB, free: 13.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002225/0.6426, allocations: 131.9 kB / 0.589 GB, free: 13.6 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.003769/0.6464, allocations: 1.641 MB / 0.5906 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003885/0.6468, allocations: 131.1 kB / 0.5907 GB, free: 11.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002706/0.6495, allocations: 1.382 MB / 0.5921 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001722/0.6512, allocations: 1.064 MB / 0.5931 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.6512, allocations: 0 / 0.5931 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.6512, allocations: 7.984 kB / 0.5931 GB, free: 9.402 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009219/0.6604, allocations: 4.261 MB / 0.5973 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.575e-06/0.6604, allocations: 0 / 0.5973 GB, free: 5.113 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000934/0.6614, allocations: 215.4 kB / 0.5975 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.698e-06/0.6614, allocations: 8 kB / 0.5975 GB, free: 4.902 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.6615, allocations: 27.92 kB / 0.5975 GB, free: 4.875 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.827e-06/0.6615, allocations: 4 kB / 0.5975 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.6615, allocations: 3.75 kB / 0.5975 GB, free: 4.871 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003456/0.6649, allocations: 2.107 MB / 0.5996 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000826/0.6658, allocations: 234.8 kB / 0.5998 GB, free: 2.512 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002139/0.666, allocations: 27.89 kB / 0.5998 GB, free: 2.484 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006201/0.6666, allocations: 59.92 kB / 0.5999 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.6667, allocations: 72.59 kB / 0.6 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-05/0.6668, allocations: 28 kB / 0.6 GB, free: 2.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002039/0.6688, allocations: 1.101 MB / 0.6011 GB, free: 1.223 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.6688, allocations: 0 / 0.6011 GB, free: 1.223 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003325/0.6722, allocations: 0.8599 MB / 0.6019 GB, free: 368 kB / 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.004238/0.6764, allocations: 2.729 MB / 0.6046 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004436/0.6808, allocations: 1.943 MB / 0.6065 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.6808, allocations: 128 / 0.6065 GB, free: 11.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009866/0.6818, allocations: 0.5313 MB / 0.607 GB, free: 11.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.6837, allocations: 303 kB / 0.6073 GB, free: 10.98 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03667/0.7204, allocations: 18.78 MB / 0.6256 GB, free: 7.086 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003593/0.724, allocations: 2.894 MB / 0.6284 GB, free: 4.16 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002205/0.7262, allocations: 0.8202 MB / 0.6292 GB, free: 3.336 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/0.728, allocations: 1.132 MB / 0.6303 GB, free: 2.203 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.728, allocations: 0 / 0.6303 GB, free: 2.203 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1448/0.8728, allocations: 46.78 MB / 0.676 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.18, allocations: 8 kB / 0.676 GB, free: 3.652 MB / 0.4981 GB " [Timeout remaining time 644] (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: 19.15697302800254] Failed to read output from testmodel.py, exit status != 0: 16.320774653002445 16.34797908 15.856752543 Calling exit ...