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.001311/0.001311, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001448/0.001448, allocations: 216.2 kB / 23.04 MB, free: 5.074 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.422/1.422, allocations: 230.6 MB / 256.8 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.02978/0.02978, allocations: 5.486 MB / 318.7 MB, free: 13.73 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,fileNamePrefix="PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter",fmuType="cs",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.001865/0.001865, allocations: 63.89 kB / 443 MB, free: 7.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1049, allocations: 54.61 MB / 497.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01038/0.1153, allocations: 8.23 MB / 0.494 GB, free: 8.891 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005657/0.1209, allocations: 2.632 MB / 0.4966 GB, free: 6.25 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001447/0.1224, allocations: 75.62 kB / 0.4967 GB, free: 6.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006983/0.1293, allocations: 3.051 MB / 0.4996 GB, free: 3.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002775/0.1321, allocations: 0.7148 MB / 0.5003 GB, free: 2.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002416/0.1345, allocations: 0.9838 MB / 0.5013 GB, free: 1.414 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004854/0.1394, allocations: 3.669 MB / 0.5049 GB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01093/0.1503, allocations: 6.356 MB / 0.5111 GB, free: 7.281 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003533/0.1539, allocations: 2.206 MB / 0.5132 GB, free: 5.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004293/0.1581, allocations: 2.406 MB / 0.5156 GB, free: 2.656 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001556/0.1597, allocations: 0.6602 MB / 0.5162 GB, free: 1.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00283/0.1625, allocations: 0.9684 MB / 0.5172 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2227/0.3852, allocations: 1.221 MB / 0.5184 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003681/0.3889, allocations: 2.357 MB / 0.5207 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01191/0.4008, allocations: 8.584 MB / 0.5291 GB, free: 13.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.4008, allocations: 2 kB / 0.5291 GB, free: 13.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4008, allocations: 0 / 0.5291 GB, free: 13.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002697/0.4011, allocations: 2.969 kB / 0.5291 GB, free: 13.34 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.01495/0.416, allocations: 4.796 MB / 0.5338 GB, free: 11.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.4161, allocations: 9.656 kB / 0.5338 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001541/0.4162, allocations: 105.3 kB / 0.5339 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00109/0.4173, allocations: 0.5849 MB / 0.5344 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009563/0.4269, allocations: 1.584 MB / 0.536 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005973/0.4328, allocations: 2.634 MB / 0.5386 GB, free: 9.652 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.4331, allocations: 295.6 kB / 0.5388 GB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001375/0.4345, allocations: 393.2 kB / 0.5392 GB, free: 9.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.4464, allocations: 6.376 MB / 0.5454 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.722e-05/0.4465, allocations: 1.906 kB / 0.5454 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003981/0.4469, allocations: 162 kB / 0.5456 GB, free: 5.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002017/0.4471, allocations: 194.5 kB / 0.5458 GB, free: 5.469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009118/0.4562, allocations: 5.369 MB / 0.551 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03472/0.491, allocations: 20.3 MB / 0.5708 GB, free: 1.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004754/0.4957, allocations: 1.907 MB / 0.5727 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.4969, allocations: 0.6559 MB / 0.5733 GB, free: 15.06 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001783/0.4971, allocations: 42.39 kB / 0.5734 GB, free: 15.03 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/0.4972, allocations: 47.5 kB / 0.5734 GB, free: 14.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=86): time 2.965e-06/0.4972, allocations: 0 / 0.5734 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=86): time 0.003197/0.5004, allocations: 1.624 MB / 0.575 GB, free: 13.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.5004, allocations: 90.23 kB / 0.5751 GB, free: 13.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003578/0.504, allocations: 1.609 MB / 0.5767 GB, free: 11.63 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.365e-05/0.5041, allocations: 37.7 kB / 0.5767 GB, free: 11.59 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001586/0.5057, allocations: 1.845 MB / 0.5785 GB, free: 9.734 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003598/0.506, allocations: 335.8 kB / 0.5788 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009893/0.507, allocations: 0.4958 MB / 0.5793 GB, free: 8.906 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002071/0.5072, allocations: 361.1 kB / 0.5797 GB, free: 8.551 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001822/0.509, allocations: 1.083 MB / 0.5807 GB, free: 7.457 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/0.5116, allocations: 2.004 MB / 0.5827 GB, free: 4.961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004036/0.5156, allocations: 3.07 MB / 0.5857 GB, free: 1.543 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-05/0.5157, allocations: 8 kB / 0.5857 GB, free: 1.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005292/0.521, allocations: 3.08 MB / 0.5887 GB, free: 14.66 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.297e-05/0.521, allocations: 20 kB / 0.5887 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-05/0.5211, allocations: 36.78 kB / 0.5887 GB, free: 14.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.664e-05/0.5212, allocations: 48 kB / 0.5888 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001918/0.5231, allocations: 0.563 MB / 0.5893 GB, free: 14.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.487e-05/0.5232, allocations: 75.25 kB / 0.5894 GB, free: 13.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/0.5252, allocations: 337.8 kB / 0.5897 GB, free: 13.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002364/0.5254, allocations: 124 kB / 0.5898 GB, free: 13.52 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.003146/0.5285, allocations: 1.643 MB / 0.5915 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/0.5289, allocations: 131.1 kB / 0.5916 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002588/0.5315, allocations: 1.382 MB / 0.5929 GB, free: 10.39 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001735/0.5332, allocations: 1.061 MB / 0.594 GB, free: 9.324 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.5332, allocations: 5.5 kB / 0.594 GB, free: 9.32 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.329e-05/0.5332, allocations: 11.97 kB / 0.594 GB, free: 9.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009503/0.5427, allocations: 4.255 MB / 0.5981 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.637e-06/0.5428, allocations: 4.031 kB / 0.5981 GB, free: 5.02 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009064/0.5437, allocations: 213.7 kB / 0.5983 GB, free: 4.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.781e-05/0.5437, allocations: 7.938 kB / 0.5984 GB, free: 4.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.218e-05/0.5438, allocations: 27.92 kB / 0.5984 GB, free: 4.785 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.094e-05/0.5438, allocations: 4 kB / 0.5984 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.5438, allocations: 3.75 kB / 0.5984 GB, free: 4.781 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003309/0.5471, allocations: 2.117 MB / 0.6005 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006837/0.5478, allocations: 238.8 kB / 0.6007 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000344/0.5481, allocations: 23.94 kB / 0.6007 GB, free: 2.391 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008006/0.5489, allocations: 55.92 kB / 0.6008 GB, free: 2.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001529/0.5491, allocations: 64.88 kB / 0.6008 GB, free: 2.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.286e-05/0.5491, allocations: 32 kB / 0.6008 GB, free: 2.238 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00227/0.5514, allocations: 1.101 MB / 0.6019 GB, free: 1.133 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5514, allocations: 3.938 kB / 0.6019 GB, free: 1.129 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003372/0.5548, allocations: 0.8639 MB / 0.6028 GB, free: 268 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.003923/0.5587, allocations: 2.731 MB / 0.6054 GB, free: 13.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003453/0.5622, allocations: 1.939 MB / 0.6073 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.5622, allocations: 0 / 0.6073 GB, free: 11.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008799/0.563, allocations: 0.5327 MB / 0.6079 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.5649, allocations: 296.4 kB / 0.6081 GB, free: 10.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03473/0.5996, allocations: 18.77 MB / 0.6265 GB, free: 7 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004582/0.6042, allocations: 2.902 MB / 0.6293 GB, free: 4.066 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001991/0.6062, allocations: 0.8168 MB / 0.6301 GB, free: 3.242 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00197/0.6081, allocations: 1.132 MB / 0.6312 GB, free: 2.109 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.6081, allocations: 0 / 0.6312 GB, free: 2.109 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08729/0.6954, allocations: 46.81 MB / 0.6769 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.5/15.2, allocations: 6.562 kB / 0.6769 GB, free: 3.539 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter_fmu --startTime=0 --stopTime=180 --stepSize=0.072 --timeout=50 --tolerance=1e-06 PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter.fmu > PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.205148961977102] Failed to read output from testmodel.py, exit status != 0: 15.390738509013318 15.414271352 15.009113637 Calling exit ...