Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.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.0009528/0.0009528, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001136/0.001136, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 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 0.9768/0.9768, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] 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.02322/0.02322, allocations: 4.236 MB / 264.5 MB, free: 8.816 MB / 250.7 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.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") translateModel(PhotoVoltaics.Examples.SimpleModuleMPDC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 286.3 MB, free: 2.996 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.547e-05/2.719e-05, allocations: 2.312 kB / 286.3 MB, free: 2.992 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.1314/0.1315, allocations: 4.992 MB / 291.3 MB, free: 23.05 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.1346, allocations: 1.885 MB / 293.2 MB, free: 22.23 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004584/0.1351, allocations: 14.38 kB / 293.2 MB, free: 22.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006814/0.1357, allocations: 278.6 kB / 293.5 MB, free: 22.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007989/0.1365, allocations: 337.9 kB / 293.8 MB, free: 21.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.1372, allocations: 325.4 kB / 294.1 MB, free: 21.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001205/0.1384, allocations: 1.133 MB / 295.3 MB, free: 21.08 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004243/0.1389, allocations: 302.5 kB / 295.6 MB, free: 20.89 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001092/0.14, allocations: 0.67 MB / 296.2 MB, free: 20.57 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007173/0.1407, allocations: 437.5 kB / 296.7 MB, free: 20.43 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002544/0.1409, allocations: 105.9 kB / 296.8 MB, free: 20.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003299/0.1413, allocations: 181.8 kB / 296.9 MB, free: 20.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001406/0.1414, allocations: 226.3 kB / 297.2 MB, free: 20.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004265/0.1418, allocations: 342.4 kB / 297.5 MB, free: 20.09 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.1428, allocations: 0.7597 MB / 298.2 MB, free: 19.69 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1428, allocations: 1.094 kB / 298.2 MB, free: 19.69 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1428, allocations: 0.8438 kB / 298.2 MB, free: 19.69 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.129e-05/0.1429, allocations: 0 / 298.2 MB, free: 19.69 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.001949/0.1448, allocations: 1.158 MB / 299.4 MB, free: 18.94 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1449, allocations: 11.69 kB / 299.4 MB, free: 18.94 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002554/0.1451, allocations: 120.1 kB / 299.5 MB, free: 18.92 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007347/0.1458, allocations: 391.5 kB / 299.9 MB, free: 18.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.729e-05/0.1459, allocations: 61.16 kB / 300 MB, free: 18.63 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.146, allocations: 72.69 kB / 300 MB, free: 18.61 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009841/0.147, allocations: 0.7098 MB / 300.8 MB, free: 18.26 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.147, allocations: 5.062 kB / 300.8 MB, free: 18.25 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.1471, allocations: 31.58 kB / 300.8 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.1471, allocations: 18 kB / 300.8 MB, free: 18.23 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.1476, allocations: 308.1 kB / 301.1 MB, free: 18.15 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002537/0.1502, allocations: 1.927 MB / 303 MB, free: 16.78 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006595/0.1508, allocations: 397.6 kB / 303.4 MB, free: 16.58 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.151, allocations: 169.2 kB / 303.6 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.91e-05/0.1511, allocations: 12.28 kB / 303.6 MB, free: 16.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.1514, allocations: 421 kB / 304 MB, free: 16.09 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 4.107e-06/0.1514, allocations: 0 / 304 MB, free: 16.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.0009405/0.1523, allocations: 0.6555 MB / 304.7 MB, free: 15.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/0.1524, allocations: 210 kB / 304.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.1526, allocations: 407.4 kB / 305.3 MB, free: 15.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.1527, allocations: 37.61 kB / 305.3 MB, free: 15.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001247/0.1528, allocations: 332.9 kB / 305.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/0.1529, allocations: 186.2 kB / 305.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.153, allocations: 147.4 kB / 306 MB, free: 14.62 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.077e-05/0.1531, allocations: 376.2 kB / 306.3 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001426/0.1533, allocations: 144.4 kB / 306.5 MB, free: 14.17 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001854/0.1534, allocations: 292.6 kB / 306.8 MB, free: 13.91 MB / 266.7 MB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.0007635/0.1542, allocations: 0.7577 MB / 307.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/0.1542, allocations: 5.656 kB / 307.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0006005/0.1548, allocations: 0.5451 MB / 308.1 MB, free: 13.1 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.293e-05/0.1549, allocations: 71.94 kB / 308.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1549, allocations: 5.375 kB / 308.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.1551, allocations: 78.41 kB / 308.2 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003635/0.1554, allocations: 171.9 kB / 308.4 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006834/0.1561, allocations: 1.344 MB / 309.7 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.1564, allocations: 67.56 kB / 309.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.1565, allocations: 31.97 kB / 309.8 MB, free: 11.3 MB / 266.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 22 (irradiance.year,$PRE.irradiance.year,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,converter.integrator.local_reset,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001846/0.1566, allocations: 240.4 kB / 310.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.794e-05/0.1567, allocations: 63.89 kB / 310.1 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.1573, allocations: 0.6294 MB / 310.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.1573, allocations: 4 kB / 310.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1573, allocations: 4 kB / 310.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1573, allocations: 3.984 kB / 310.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.1583, allocations: 0.9972 MB / 311.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1583, allocations: 0 / 311.8 MB, free: 9.254 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000213/0.1585, allocations: 102.3 kB / 311.9 MB, free: 9.156 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002078/0.1587, allocations: 254.9 kB / 312.1 MB, free: 8.895 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.055e-05/0.1587, allocations: 31.89 kB / 312.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00031/0.1591, allocations: 0.7213 MB / 312.9 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.1591, allocations: 0 / 312.9 MB, free: 8.098 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006526/0.1597, allocations: 0.8708 MB / 313.7 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1599, allocations: 83.36 kB / 313.8 MB, free: 7.074 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.164e-05/0.1599, allocations: 20 kB / 313.8 MB, free: 7.055 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.1601, allocations: 35.97 kB / 313.9 MB, free: 7.02 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.37e-05/0.1602, allocations: 52.3 kB / 313.9 MB, free: 6.969 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.1602, allocations: 19.97 kB / 313.9 MB, free: 6.949 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.1603, allocations: 184.4 kB / 314.1 MB, free: 6.766 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1603, allocations: 4 kB / 314.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004697/0.1608, allocations: 243.4 kB / 314.4 MB, free: 6.523 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (converter.integrator.y,battery.energy,battery.capacitor.v) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays) * Number of discrete states: 13 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001608/0.1609, allocations: 128.9 kB / 314.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006398/0.1616, allocations: 0.7334 MB / 315.2 MB, free: 5.594 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/0.1616, allocations: 4.5 kB / 315.2 MB, free: 5.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002945/0.1619, allocations: 387.2 kB / 315.6 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004668/0.1624, allocations: 144 kB / 315.7 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.1641, allocations: 1.294 MB / 317 MB, free: 3.711 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.815e-05/0.1642, allocations: 154.8 kB / 317.2 MB, free: 3.535 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002387/0.1644, allocations: 79 kB / 317.3 MB, free: 3.457 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003216/0.1648, allocations: 195.3 kB / 317.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1648, allocations: 0 / 317.5 MB, free: 3.266 MB / 266.7 MB Notification: Performance of Templates: time 0.01527/0.18, allocations: 10.29 MB / 327.7 MB, free: 9.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.makefile [Timeout 660] (rm -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe ; mkfifo PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe ; head -c 1048576 < PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe >> ../files/PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.sim & ./PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC -jacobian=coloredNumerical -nls=newton -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=240 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.700748628936708]