Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.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.001598/0.001598, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001822/0.001822, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.0638/0.0638, allocations: 5.48 MB / 318.7 MB, free: 13.86 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: translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") [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.002002/0.002002, allocations: 75.88 kB / 443.5 MB, free: 7.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09684/0.09885, allocations: 54.61 MB / 498.1 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006423/0.1053, allocations: 4.441 MB / 0.4908 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003015/0.1083, allocations: 1.659 MB / 0.4924 GB, free: 10.83 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003945/0.1087, allocations: 15.94 kB / 0.4924 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002283/0.111, allocations: 0.9049 MB / 0.4933 GB, free: 9.91 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001245/0.1122, allocations: 477.5 kB / 0.4938 GB, free: 9.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005477/0.1128, allocations: 223.5 kB / 0.494 GB, free: 9.223 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007798/0.1135, allocations: 0.5688 MB / 0.4945 GB, free: 8.648 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009846/0.1145, allocations: 0.5876 MB / 0.4951 GB, free: 8.059 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.1149, allocations: 263.1 kB / 0.4953 GB, free: 7.801 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006584/0.1156, allocations: 326.7 kB / 0.4957 GB, free: 7.48 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.1157, allocations: 72 kB / 0.4957 GB, free: 7.41 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004811/0.1162, allocations: 219.8 kB / 0.4959 GB, free: 7.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.1163, allocations: 151.5 kB / 0.4961 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003072/0.1166, allocations: 302.6 kB / 0.4964 GB, free: 6.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.1178, allocations: 0.9224 MB / 0.4973 GB, free: 5.824 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1178, allocations: 0 / 0.4973 GB, free: 5.824 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1178, allocations: 4 kB / 0.4973 GB, free: 5.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.1178, allocations: 0 / 0.4973 GB, free: 5.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002358/0.1202, allocations: 0.9269 MB / 0.4982 GB, free: 4.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.1202, allocations: 8.031 kB / 0.4982 GB, free: 4.852 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00211/0.1223, allocations: 304.2 kB / 0.4985 GB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005596/0.1229, allocations: 305.6 kB / 0.4988 GB, free: 4.234 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.195e-05/0.123, allocations: 50.38 kB / 0.4988 GB, free: 4.184 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001068/0.1231, allocations: 64.38 kB / 0.4989 GB, free: 4.121 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/0.1243, allocations: 0.7086 MB / 0.4996 GB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.487e-05/0.1244, allocations: 3.953 kB / 0.4996 GB, free: 3.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-05/0.1244, allocations: 28 kB / 0.4996 GB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.1244, allocations: 16 kB / 0.4996 GB, free: 3.348 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00115/0.1256, allocations: 0.5868 MB / 0.5002 GB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003982/0.1296, allocations: 2.441 MB / 0.5026 GB, free: 212 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001143/0.1307, allocations: 364.4 kB / 0.5029 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002474/0.131, allocations: 120.8 kB / 0.503 GB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-05/0.131, allocations: 27.91 kB / 0.5031 GB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.1311, allocations: 38.5 kB / 0.5031 GB, free: 15.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 1.773e-06/0.1311, allocations: 4 kB / 0.5031 GB, free: 15.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008027/0.1319, allocations: 333.3 kB / 0.5034 GB, free: 15.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.183e-05/0.1319, allocations: 81.11 kB / 0.5035 GB, free: 15.21 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.1323, allocations: 289.8 kB / 0.5038 GB, free: 14.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.1323, allocations: 33.83 kB / 0.5038 GB, free: 14.87 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.1325, allocations: 324.2 kB / 0.5041 GB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.389e-05/0.1326, allocations: 103.2 kB / 0.5042 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1327, allocations: 90.12 kB / 0.5043 GB, free: 14.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1329, allocations: 334.8 kB / 0.5046 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.1332, allocations: 154.8 kB / 0.5048 GB, free: 13.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.1336, allocations: 257.2 kB / 0.505 GB, free: 13.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006637/0.1342, allocations: 404.4 kB / 0.5054 GB, free: 13.1 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.1342, allocations: 0 / 0.5054 GB, free: 13.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000846/0.1351, allocations: 460.3 kB / 0.5058 GB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.819e-05/0.1351, allocations: 11.94 kB / 0.5059 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1351, allocations: 4 kB / 0.5059 GB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.1351, allocations: 19.91 kB / 0.5059 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005293/0.1357, allocations: 132.2 kB / 0.506 GB, free: 12.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/0.1357, allocations: 11.92 kB / 0.506 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002933/0.136, allocations: 55.62 kB / 0.5061 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.136, allocations: 20 kB / 0.5061 GB, free: 12.39 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_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: 19 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002632/0.1363, allocations: 193.6 kB / 0.5063 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001235/0.1364, allocations: 31.75 kB / 0.5063 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/0.137, allocations: 299.5 kB / 0.5066 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.1371, allocations: 4 kB / 0.5066 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1371, allocations: 0 / 0.5066 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.1371, allocations: 0 / 0.5066 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.1385, allocations: 0.8445 MB / 0.5074 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1385, allocations: 0 / 0.5074 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.1389, allocations: 79.88 kB / 0.5075 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.1389, allocations: 0 / 0.5075 GB, free: 10.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.52e-05/0.1389, allocations: 8 kB / 0.5075 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.1389, allocations: 11.98 kB / 0.5075 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.1389, allocations: 4 kB / 0.5075 GB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008349/0.1398, allocations: 0.5458 MB / 0.508 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.1398, allocations: 35.75 kB / 0.5081 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.565e-05/0.1399, allocations: 4.062 kB / 0.5081 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002215/0.1401, allocations: 19.98 kB / 0.5081 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.1402, allocations: 19.91 kB / 0.5081 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.1402, allocations: 8 kB / 0.5081 GB, free: 10.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002245/0.1404, allocations: 205.2 kB / 0.5083 GB, free: 10.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1404, allocations: 0 / 0.5083 GB, free: 10.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005381/0.1409, allocations: 143.5 kB / 0.5085 GB, free: 9.887 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (voltageSource.pin_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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0002246/0.1412, allocations: 147 kB / 0.5086 GB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006599/0.1418, allocations: 291.6 kB / 0.5089 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1418, allocations: 0 / 0.5089 GB, free: 9.445 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002313/0.1421, allocations: 107.9 kB / 0.509 GB, free: 9.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.1425, allocations: 35.67 kB / 0.509 GB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.144, allocations: 0.8156 MB / 0.5098 GB, free: 8.453 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.1444, allocations: 0.8263 MB / 0.5106 GB, free: 7.602 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.1446, allocations: 39.42 kB / 0.5107 GB, free: 7.562 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1446, allocations: 3.938 kB / 0.5107 GB, free: 7.559 MB / 382.1 MB Notification: Performance of Templates: time 0.009253/0.1538, allocations: 5.242 MB / 0.5158 GB, free: 2.312 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.sim & ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.4372381719294935] Failed to read output from testmodel.py, exit status != 0: 0.16147474898025393 0.334633554 0.214188171 Calling exit ...