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.001556/0.001556, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.00169/0.00169, allocations: 160.8 kB / 23.01 MB, free: 4.949 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.48/1.48, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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.03291/0.03291, allocations: 4.225 MB / 264 MB, free: 12.57 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.002414/0.002414, allocations: 59.91 kB / 388.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1264, allocations: 54.59 MB / 443.3 MB, free: 8.68 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.007435/0.1338, allocations: 4.041 MB / 447.4 MB, free: 4.605 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003774/0.1376, allocations: 1.546 MB / 448.9 MB, free: 3.051 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006527/0.1382, allocations: 12 kB / 448.9 MB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.141, allocations: 0.875 MB / 449.8 MB, free: 2.16 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.1426, allocations: 445.6 kB / 450.2 MB, free: 1.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006086/0.1432, allocations: 223.6 kB / 450.5 MB, free: 1.504 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007569/0.144, allocations: 0.5687 MB / 451 MB, free: 0.9297 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009553/0.1449, allocations: 0.5604 MB / 451.6 MB, free: 372 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003808/0.1453, allocations: 267.1 kB / 451.8 MB, free: 104 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004126/0.1457, allocations: 278.9 kB / 452.1 MB, free: 15.82 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.224e-05/0.1458, allocations: 68 kB / 452.2 MB, free: 15.76 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005672/0.1464, allocations: 215.7 kB / 452.4 MB, free: 15.55 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001306/0.1465, allocations: 139.6 kB / 452.5 MB, free: 15.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002511/0.1468, allocations: 246.9 kB / 452.8 MB, free: 15.17 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001213/0.148, allocations: 0.9263 MB / 453.7 MB, free: 14.24 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.148, allocations: 3.938 kB / 453.7 MB, free: 14.24 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.148, allocations: 0 / 453.7 MB, free: 14.24 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.509e-05/0.148, allocations: 3.938 kB / 453.7 MB, free: 14.23 MB / 430.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.002227/0.1502, allocations: 0.9269 MB / 454.6 MB, free: 13.28 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.1503, allocations: 12.03 kB / 454.6 MB, free: 13.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.1523, allocations: 296.3 kB / 454.9 MB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.153, allocations: 315.6 kB / 455.2 MB, free: 12.64 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/0.153, allocations: 50.38 kB / 455.3 MB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.1531, allocations: 68.38 kB / 455.4 MB, free: 12.53 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.1545, allocations: 0.7047 MB / 456.1 MB, free: 11.8 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.27e-05/0.1545, allocations: 11.98 kB / 456.1 MB, free: 11.79 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.1546, allocations: 28 kB / 456.1 MB, free: 11.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/0.1546, allocations: 16 kB / 456.1 MB, free: 11.75 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.1557, allocations: 0.5712 MB / 456.7 MB, free: 11.18 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00381/0.1596, allocations: 2.151 MB / 458.8 MB, free: 8.926 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.1608, allocations: 354.6 kB / 459.2 MB, free: 8.562 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.1612, allocations: 120.7 kB / 459.3 MB, free: 8.441 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001578/0.1614, allocations: 19.98 kB / 459.3 MB, free: 8.422 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.1614, allocations: 38.5 kB / 459.4 MB, free: 8.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=27): time 2.144e-06/0.1614, allocations: 0 / 459.4 MB, free: 8.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=27): time 0.0008842/0.1623, allocations: 341.2 kB / 459.7 MB, free: 8.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.1624, allocations: 77.11 kB / 459.8 MB, free: 7.941 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003323/0.1627, allocations: 259.9 kB / 460 MB, free: 7.672 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.1628, allocations: 33.83 kB / 460.1 MB, free: 7.633 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002698/0.163, allocations: 324.1 kB / 460.4 MB, free: 7.312 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.449e-05/0.1631, allocations: 107.1 kB / 460.5 MB, free: 7.207 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.1633, allocations: 90.09 kB / 460.6 MB, free: 7.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.1635, allocations: 342.8 kB / 460.9 MB, free: 6.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003184/0.1638, allocations: 146.8 kB / 461 MB, free: 6.621 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.1642, allocations: 264.5 kB / 461.3 MB, free: 6.309 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006892/0.1649, allocations: 400.1 kB / 461.7 MB, free: 5.859 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1649, allocations: 0 / 461.7 MB, free: 5.859 MB / 430.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008517/0.1657, allocations: 456.5 kB / 462.1 MB, free: 5.406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.76e-05/0.1658, allocations: 11.98 kB / 462.2 MB, free: 5.395 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.1658, allocations: 7.938 kB / 462.2 MB, free: 5.387 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.1658, allocations: 8 kB / 462.2 MB, free: 5.379 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005318/0.1663, allocations: 128.3 kB / 462.3 MB, free: 5.254 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.705e-05/0.1664, allocations: 11.98 kB / 462.3 MB, free: 5.242 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.1667, allocations: 51.62 kB / 462.4 MB, free: 5.191 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/0.1667, allocations: 23.92 kB / 462.4 MB, free: 5.168 MB / 430.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.0003032/0.167, allocations: 197.6 kB / 462.6 MB, free: 4.965 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.1671, allocations: 19.86 kB / 462.6 MB, free: 4.945 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006643/0.1677, allocations: 303.2 kB / 462.9 MB, free: 4.648 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.1677, allocations: 4 kB / 462.9 MB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1678, allocations: 0 / 462.9 MB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1678, allocations: 0 / 462.9 MB, free: 4.645 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001379/0.1691, allocations: 0.7202 MB / 463.6 MB, free: 3.887 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.1691, allocations: 4 kB / 463.6 MB, free: 3.883 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.1695, allocations: 71.88 kB / 463.7 MB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1695, allocations: 0 / 463.7 MB, free: 3.812 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.1695, allocations: 8 kB / 463.7 MB, free: 3.805 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.1695, allocations: 4 kB / 463.7 MB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1695, allocations: 0 / 463.7 MB, free: 3.801 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009/0.1704, allocations: 0.5498 MB / 464.2 MB, free: 3.234 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.1705, allocations: 15.84 kB / 464.3 MB, free: 3.219 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.258e-05/0.1705, allocations: 15.94 kB / 464.3 MB, free: 3.203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.1707, allocations: 8 kB / 464.3 MB, free: 3.195 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/0.1708, allocations: 23.95 kB / 464.3 MB, free: 3.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.1708, allocations: 8 kB / 464.3 MB, free: 3.164 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002283/0.1711, allocations: 177.2 kB / 464.5 MB, free: 2.988 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1711, allocations: 0 / 464.5 MB, free: 2.988 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0006426/0.1717, allocations: 159.4 kB / 464.6 MB, free: 2.832 MB / 430.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.0003132/0.172, allocations: 139.1 kB / 464.8 MB, free: 2.688 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006724/0.1727, allocations: 287.4 kB / 465.1 MB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1727, allocations: 1.125 kB / 465.1 MB, free: 2.406 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002468/0.1729, allocations: 119.8 kB / 465.2 MB, free: 2.289 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.1734, allocations: 24.56 kB / 465.2 MB, free: 2.266 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.1749, allocations: 0.7932 MB / 466 MB, free: 1.441 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1752, allocations: 226.8 kB / 466.2 MB, free: 1.195 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.1754, allocations: 46.95 kB / 466.3 MB, free: 1.145 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.1755, allocations: 32.5 kB / 466.3 MB, free: 1.113 MB / 430.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1755, allocations: 0 / 466.3 MB, free: 1.113 MB / 430.1 MB Notification: Performance of Templates: time 0.00923/0.1847, allocations: 3.26 MB / 469.6 MB, free: 13.89 MB / 446.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 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 218.88519078597892] Failed to read output from testmodel.py, exit status != 0: 0.1954280190402642 0.41974216699999994 0.058927632999999945 Calling exit ...