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.001199/0.001199, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.0015/0.0015, allocations: 217 kB / 22.25 MB, free: 5.082 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 8.031 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.05742/0.05742, allocations: 5.488 MB / 317.9 MB, free: 13.77 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.00208/0.00208, allocations: 71.89 kB / 442.7 MB, free: 7.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1135, allocations: 54.62 MB / 497.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.006925/0.1204, allocations: 4.44 MB / 0.49 GB, free: 12.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003781/0.1242, allocations: 1.666 MB / 0.4917 GB, free: 10.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003989/0.1246, allocations: 12 kB / 0.4917 GB, free: 10.56 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002319/0.1269, allocations: 0.9084 MB / 0.4926 GB, free: 9.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001345/0.1283, allocations: 476.8 kB / 0.493 GB, free: 9.184 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004884/0.1288, allocations: 223.6 kB / 0.4932 GB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007151/0.1295, allocations: 0.5726 MB / 0.4938 GB, free: 8.387 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009691/0.1304, allocations: 0.5838 MB / 0.4944 GB, free: 7.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003934/0.1308, allocations: 267 kB / 0.4946 GB, free: 7.539 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004112/0.1313, allocations: 318.8 kB / 0.4949 GB, free: 7.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.812e-05/0.1313, allocations: 75.94 kB / 0.495 GB, free: 7.152 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.1318, allocations: 223.8 kB / 0.4952 GB, free: 6.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001313/0.132, allocations: 143.6 kB / 0.4953 GB, free: 6.793 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002802/0.1322, allocations: 302.6 kB / 0.4956 GB, free: 6.496 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001237/0.1335, allocations: 0.9263 MB / 0.4965 GB, free: 5.566 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1335, allocations: 0 / 0.4965 GB, free: 5.566 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1335, allocations: 7.938 kB / 0.4965 GB, free: 5.559 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.941e-05/0.1335, allocations: 4 kB / 0.4965 GB, free: 5.555 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.002281/0.1358, allocations: 0.9191 MB / 0.4974 GB, free: 4.602 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.1358, allocations: 8.031 kB / 0.4975 GB, free: 4.594 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/0.1379, allocations: 308.2 kB / 0.4977 GB, free: 4.293 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000602/0.1385, allocations: 298.7 kB / 0.498 GB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.787e-05/0.1386, allocations: 54.38 kB / 0.4981 GB, free: 3.926 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.1387, allocations: 64.38 kB / 0.4981 GB, free: 3.863 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.14, allocations: 0.7086 MB / 0.4988 GB, free: 3.137 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.14, allocations: 3.953 kB / 0.4988 GB, free: 3.133 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.1401, allocations: 28 kB / 0.4989 GB, free: 3.105 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.1401, allocations: 16 kB / 0.4989 GB, free: 3.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.1413, allocations: 0.5829 MB / 0.4995 GB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004152/0.1454, allocations: 2.434 MB / 0.5018 GB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/0.1466, allocations: 374.7 kB / 0.5022 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.1468, allocations: 114.2 kB / 0.5023 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.823e-05/0.1469, allocations: 23.91 kB / 0.5023 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.147, allocations: 42.5 kB / 0.5024 GB, free: 15.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=27): time 2.094e-06/0.147, allocations: 0 / 0.5024 GB, free: 15.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008513/0.1478, allocations: 337.2 kB / 0.5027 GB, free: 15.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.1479, allocations: 85.05 kB / 0.5028 GB, free: 14.95 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003686/0.1482, allocations: 289.8 kB / 0.503 GB, free: 14.65 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.1483, allocations: 37.83 kB / 0.5031 GB, free: 14.61 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002467/0.1485, allocations: 324.2 kB / 0.5034 GB, free: 14.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.1486, allocations: 103.1 kB / 0.5035 GB, free: 14.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.1488, allocations: 90.08 kB / 0.5036 GB, free: 14.09 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.149, allocations: 338.8 kB / 0.5039 GB, free: 13.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003133/0.1493, allocations: 150.8 kB / 0.504 GB, free: 13.6 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000391/0.1497, allocations: 261.2 kB / 0.5043 GB, free: 13.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006618/0.1503, allocations: 396.4 kB / 0.5047 GB, free: 12.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.1503, allocations: 4 kB / 0.5047 GB, free: 12.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008774/0.1512, allocations: 468.3 kB / 0.5051 GB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.1512, allocations: 11.94 kB / 0.5051 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.1512, allocations: 4 kB / 0.5051 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.707e-05/0.1513, allocations: 8 kB / 0.5051 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005186/0.1518, allocations: 128.2 kB / 0.5053 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/0.1518, allocations: 8 kB / 0.5053 GB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002964/0.1521, allocations: 63.5 kB / 0.5053 GB, free: 12.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.505e-05/0.1521, allocations: 23.98 kB / 0.5053 GB, free: 12.13 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.0002864/0.1524, allocations: 183.8 kB / 0.5055 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.074e-05/0.1525, allocations: 31.75 kB / 0.5056 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006788/0.1532, allocations: 303.5 kB / 0.5058 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.1532, allocations: 4 kB / 0.5058 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1532, allocations: 0 / 0.5058 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1532, allocations: 0 / 0.5058 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.1547, allocations: 0.8477 MB / 0.5067 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1547, allocations: 0 / 0.5067 GB, free: 10.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.1551, allocations: 83.86 kB / 0.5068 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1551, allocations: 0 / 0.5068 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.1551, allocations: 8 kB / 0.5068 GB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.1551, allocations: 8 kB / 0.5068 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.1551, allocations: 3.984 kB / 0.5068 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008991/0.156, allocations: 0.5419 MB / 0.5073 GB, free: 10.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.1561, allocations: 35.78 kB / 0.5073 GB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.071e-05/0.1561, allocations: 11.98 kB / 0.5073 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.1563, allocations: 12.06 kB / 0.5074 GB, free: 10 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/0.1564, allocations: 23.89 kB / 0.5074 GB, free: 9.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.1564, allocations: 12 kB / 0.5074 GB, free: 9.969 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002503/0.1567, allocations: 201.2 kB / 0.5076 GB, free: 9.773 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1567, allocations: 3.938 kB / 0.5076 GB, free: 9.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005848/0.1573, allocations: 139.6 kB / 0.5077 GB, free: 9.633 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.0002459/0.1575, allocations: 135.1 kB / 0.5078 GB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006764/0.1582, allocations: 299.6 kB / 0.5081 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1582, allocations: 0 / 0.5081 GB, free: 9.195 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002542/0.1585, allocations: 111.8 kB / 0.5082 GB, free: 9.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.1589, allocations: 25.69 kB / 0.5083 GB, free: 9.062 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.1604, allocations: 0.8012 MB / 0.509 GB, free: 8.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005421/0.1609, allocations: 0.8224 MB / 0.5099 GB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.1611, allocations: 46.95 kB / 0.5099 GB, free: 7.336 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1612, allocations: 39.42 kB / 0.5099 GB, free: 7.297 MB / 382.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1612, allocations: 0 / 0.5099 GB, free: 7.297 MB / 382.1 MB Notification: Performance of Templates: time 0.009675/0.1709, allocations: 3.878 MB / 0.5137 GB, free: 3.422 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: 5.156858991831541] Failed to read output from testmodel.py, exit status != 0: 0.17897222004830837 0.38563719799999996 0.24932799100000003 Calling exit ...