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.001779/0.001779, allocations: 103.6 kB / 18.95 MB, free: 2.812 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.002264/0.002264, allocations: 213.6 kB / 22.25 MB, free: 5.105 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.52/1.52, allocations: 230.6 MB / 256 MB, free: 7.793 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.03005/0.03005, allocations: 5.49 MB / 317.9 MB, free: 13.5 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.002246/0.002246, allocations: 75.88 kB / 442.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.1048, allocations: 54.61 MB / 496.8 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01024/0.115, allocations: 7.241 MB / 0.4922 GB, free: 9.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005234/0.1203, allocations: 2.495 MB / 0.4947 GB, free: 7.016 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1213, allocations: 71.62 kB / 0.4947 GB, free: 6.945 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006996/0.1283, allocations: 2.821 MB / 0.4975 GB, free: 4.117 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002809/0.1311, allocations: 0.7031 MB / 0.4982 GB, free: 3.41 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002552/0.1337, allocations: 0.9259 MB / 0.4991 GB, free: 2.484 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004795/0.1385, allocations: 3.669 MB / 0.5027 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01046/0.1489, allocations: 6.282 MB / 0.5088 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003634/0.1526, allocations: 2.202 MB / 0.5109 GB, free: 6.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003989/0.1565, allocations: 2.297 MB / 0.5132 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001476/0.158, allocations: 0.6641 MB / 0.5138 GB, free: 3.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.1605, allocations: 0.9489 MB / 0.5148 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001775/0.1623, allocations: 1.232 MB / 0.516 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2026/0.3648, allocations: 1.803 MB / 0.5177 GB, free: 14.37 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.3749, allocations: 8.614 MB / 0.5261 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.375, allocations: 0.6875 kB / 0.5261 GB, free: 14.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.375, allocations: 0 / 0.5261 GB, free: 14.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000271/0.3752, allocations: 0.5938 kB / 0.5261 GB, free: 14.06 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.01655/0.3918, allocations: 4.801 MB / 0.5308 GB, free: 12.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3918, allocations: 9.406 kB / 0.5308 GB, free: 12.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002342/0.3942, allocations: 0.573 MB / 0.5314 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/0.4045, allocations: 1.593 MB / 0.5329 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006912/0.4114, allocations: 2.625 MB / 0.5355 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004194/0.4119, allocations: 301 kB / 0.5358 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/0.414, allocations: 397.2 kB / 0.5362 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01648/0.4305, allocations: 6.369 MB / 0.5424 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001151/0.4306, allocations: 1.344 kB / 0.5424 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007804/0.4314, allocations: 163.2 kB / 0.5425 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002482/0.4316, allocations: 202.8 kB / 0.5427 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01191/0.4435, allocations: 5.358 MB / 0.548 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03461/0.4782, allocations: 18.68 MB / 0.5662 GB, free: 5.324 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004607/0.4828, allocations: 1.882 MB / 0.5681 GB, free: 3.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.4839, allocations: 0.6506 MB / 0.5687 GB, free: 2.816 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001516/0.4841, allocations: 36.97 kB / 0.5687 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.06e-05/0.4841, allocations: 43.56 kB / 0.5688 GB, free: 2.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=86): time 3.166e-06/0.4841, allocations: 0 / 0.5688 GB, free: 2.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=86): time 0.003182/0.4873, allocations: 1.623 MB / 0.5704 GB, free: 1.102 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.068e-05/0.4874, allocations: 93.11 kB / 0.5704 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/0.4904, allocations: 1.673 MB / 0.5721 GB, free: 15.31 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.4906, allocations: 41.7 kB / 0.5721 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001488/0.492, allocations: 1.846 MB / 0.5739 GB, free: 13.41 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004181/0.4925, allocations: 336.4 kB / 0.5742 GB, free: 13.09 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007838/0.4933, allocations: 0.4951 MB / 0.5747 GB, free: 12.59 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.4935, allocations: 357.9 kB / 0.5751 GB, free: 12.23 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001849/0.4953, allocations: 1.079 MB / 0.5761 GB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002566/0.4979, allocations: 2.01 MB / 0.5781 GB, free: 8.645 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004229/0.5021, allocations: 3.062 MB / 0.5811 GB, free: 5.234 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.265e-05/0.5021, allocations: 8 kB / 0.5811 GB, free: 5.227 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005669/0.5078, allocations: 3.09 MB / 0.5841 GB, free: 2.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.534e-05/0.5079, allocations: 20 kB / 0.5841 GB, free: 2.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-05/0.5079, allocations: 33.08 kB / 0.5841 GB, free: 2.289 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.407e-05/0.508, allocations: 58.53 kB / 0.5842 GB, free: 2.234 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/0.51, allocations: 0.5701 MB / 0.5848 GB, free: 1.703 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.93e-05/0.51, allocations: 69.05 kB / 0.5848 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.5119, allocations: 341.8 kB / 0.5851 GB, free: 1.316 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.5121, allocations: 124 kB / 0.5853 GB, free: 1.195 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.003005/0.5151, allocations: 1.634 MB / 0.5869 GB, free: 15.59 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003994/0.5155, allocations: 131.2 kB / 0.587 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002586/0.5181, allocations: 1.386 MB / 0.5883 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001679/0.5197, allocations: 1.065 MB / 0.5894 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5197, allocations: 0 / 0.5894 GB, free: 13 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5198, allocations: 3.984 kB / 0.5894 GB, free: 12.99 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008581/0.5283, allocations: 4.121 MB / 0.5934 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.5283, allocations: 2.625 kB / 0.5934 GB, free: 8.848 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00099/0.5293, allocations: 206.4 kB / 0.5936 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.527e-05/0.5294, allocations: 16.05 kB / 0.5936 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.664e-05/0.5294, allocations: 27.94 kB / 0.5936 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.554e-06/0.5294, allocations: 4 kB / 0.5937 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.5294, allocations: 3.656 kB / 0.5937 GB, free: 8.609 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003503/0.5329, allocations: 2.111 MB / 0.5957 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008563/0.5338, allocations: 238.8 kB / 0.5959 GB, free: 6.242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/0.534, allocations: 23.92 kB / 0.596 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.5347, allocations: 55.94 kB / 0.596 GB, free: 6.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.5348, allocations: 68.31 kB / 0.5961 GB, free: 6.098 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.365e-05/0.5349, allocations: 31.98 kB / 0.5961 GB, free: 6.066 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001889/0.5368, allocations: 1.101 MB / 0.5972 GB, free: 4.961 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5368, allocations: 0 / 0.5972 GB, free: 4.961 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002824/0.5396, allocations: 0.8639 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.004075/0.5437, allocations: 2.734 MB / 0.6007 GB, free: 1.336 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003722/0.5474, allocations: 1.936 MB / 0.6026 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/0.5474, allocations: 8.125 kB / 0.6026 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.5484, allocations: 0.5323 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.001957/0.5504, allocations: 300 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.03297/0.5833, allocations: 18.77 MB / 0.6217 GB, free: 10.83 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003053/0.5864, allocations: 2.347 MB / 0.624 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00206/0.5885, allocations: 0.8207 MB / 0.6248 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/0.5903, allocations: 1.136 MB / 0.6259 GB, free: 6.477 MB / 462.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5903, allocations: 0 / 0.6259 GB, free: 6.477 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09464/0.6849, allocations: 45.45 MB / 0.6703 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.93/14.61, allocations: 7.938 kB / 0.6703 GB, free: 9.414 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: 17.537808298133314] Failed to read output from testmodel.py, exit status != 0: 14.749105405062437 14.764907893 14.38659745 Calling exit ...