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.001697/0.001697, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002248/0.002248, allocations: 155.7 kB / 23.01 MB, free: 4.605 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.428/1.428, 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.02906/0.02906, allocations: 4.227 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.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: 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.002113/0.002113, allocations: 71.89 kB / 392.7 MB, free: 11.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1037, allocations: 54.58 MB / 447.3 MB, free: 4.75 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.006781/0.1105, allocations: 4.682 MB / 451.9 MB, free: 36 kB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.1139, allocations: 1.78 MB / 453.7 MB, free: 14.25 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00033/0.1143, allocations: 12 kB / 453.7 MB, free: 14.24 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007048/0.115, allocations: 274 kB / 454 MB, free: 13.97 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006497/0.1156, allocations: 309.8 kB / 454.3 MB, free: 13.66 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.1163, allocations: 327.4 kB / 454.6 MB, free: 13.34 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001159/0.1174, allocations: 1.114 MB / 455.7 MB, free: 12.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004707/0.1179, allocations: 287.4 kB / 456 MB, free: 11.92 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005947/0.1185, allocations: 470.4 kB / 456.5 MB, free: 11.46 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00067/0.1192, allocations: 477.9 kB / 456.9 MB, free: 10.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001535/0.1193, allocations: 112 kB / 457 MB, free: 10.88 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003129/0.1196, allocations: 180 kB / 457.2 MB, free: 10.71 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002497/0.1199, allocations: 235.1 kB / 457.5 MB, free: 10.48 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004243/0.1203, allocations: 410.2 kB / 457.9 MB, free: 10.07 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.1216, allocations: 1.195 MB / 459 MB, free: 8.875 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1216, allocations: 3.938 kB / 459.1 MB, free: 8.871 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1216, allocations: 0 / 459.1 MB, free: 8.871 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.1216, allocations: 4 kB / 459.1 MB, free: 8.867 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.002886/0.1245, allocations: 1.249 MB / 460.3 MB, free: 7.57 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.1245, allocations: 8.031 kB / 460.3 MB, free: 7.562 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.1247, allocations: 100.3 kB / 460.4 MB, free: 7.465 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001431/0.1261, allocations: 0.5816 MB / 461 MB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.764e-05/0.1262, allocations: 58 kB / 461 MB, free: 6.797 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.1263, allocations: 76 kB / 461.1 MB, free: 6.723 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.1279, allocations: 0.8897 MB / 462 MB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.201e-05/0.1279, allocations: 0 / 462 MB, free: 5.785 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.048e-05/0.128, allocations: 28 kB / 462 MB, free: 5.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.128, allocations: 20 kB / 462.1 MB, free: 5.738 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.1295, allocations: 0.6552 MB / 462.7 MB, free: 5.07 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004254/0.1337, allocations: 2.381 MB / 465.1 MB, free: 2.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001485/0.1352, allocations: 0.5388 MB / 465.6 MB, free: 2.031 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005871/0.1358, allocations: 269.5 kB / 465.9 MB, free: 1.754 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.742e-05/0.1359, allocations: 12.36 kB / 465.9 MB, free: 1.742 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008084/0.1367, allocations: 0.4959 MB / 466.4 MB, free: 1.191 MB / 430.1 MB Notification: Performance of pre-optimization done (n=56): time 2.225e-06/0.1367, allocations: 4 kB / 466.4 MB, free: 1.188 MB / 430.1 MB Notification: Performance of matching and sorting (n=56): time 0.003201/0.1399, allocations: 1.111 MB / 467.5 MB, free: 24 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000188/0.1401, allocations: 200.4 kB / 467.7 MB, free: 15.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005807/0.1406, allocations: 453.8 kB / 468.2 MB, free: 15.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.076e-05/0.1407, allocations: 41.7 kB / 468.2 MB, free: 15.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002982/0.141, allocations: 380.3 kB / 468.6 MB, free: 14.91 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001721/0.1412, allocations: 186.4 kB / 468.8 MB, free: 14.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.1414, allocations: 142.6 kB / 468.9 MB, free: 14.58 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.1416, allocations: 366.8 kB / 469.2 MB, free: 14.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006112/0.1422, allocations: 269.3 kB / 469.5 MB, free: 13.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/0.1429, allocations: 425.3 kB / 469.9 MB, free: 13.46 MB / 446.1 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.0155/0.1584, allocations: 2.869 MB / 472.8 MB, free: 10.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.1584, allocations: 0 / 472.8 MB, free: 10.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00206/0.1605, allocations: 0.8869 MB / 473.7 MB, free: 9.566 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.1605, allocations: 59.41 kB / 473.7 MB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1606, allocations: 4.25 kB / 473.7 MB, free: 9.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.1612, allocations: 84.78 kB / 473.8 MB, free: 9.406 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.1624, allocations: 167.7 kB / 474 MB, free: 9.242 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.1642, allocations: 1.451 MB / 475.4 MB, free: 7.684 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006792/0.1648, allocations: 71.56 kB / 475.5 MB, free: 7.613 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-05/0.1649, allocations: 40.12 kB / 475.6 MB, free: 7.574 MB / 446.1 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,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2,converter.integrator.local_reset) * 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.0004831/0.1654, allocations: 291 kB / 475.8 MB, free: 7.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001134/0.1655, allocations: 55.67 kB / 475.9 MB, free: 7.211 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002193/0.1677, allocations: 1.003 MB / 476.9 MB, free: 6.168 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.1677, allocations: 11.94 kB / 476.9 MB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-06/0.1677, allocations: 0 / 476.9 MB, free: 6.156 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/0.1677, allocations: 3.984 kB / 476.9 MB, free: 6.152 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003205/0.1709, allocations: 1.559 MB / 478.5 MB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.1709, allocations: 0 / 478.5 MB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000554/0.1715, allocations: 107.8 kB / 478.6 MB, free: 4.414 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006437/0.1721, allocations: 288.1 kB / 478.9 MB, free: 4.117 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.235e-05/0.1722, allocations: 23.98 kB / 478.9 MB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001322/0.1735, allocations: 0.8968 MB / 479.8 MB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1735, allocations: 0 / 479.8 MB, free: 3.152 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003096/0.1766, allocations: 1.37 MB / 481.1 MB, free: 1.715 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003728/0.177, allocations: 115.5 kB / 481.3 MB, free: 1.602 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001535/0.1771, allocations: 27.95 kB / 481.3 MB, free: 1.574 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005734/0.1777, allocations: 39.97 kB / 481.3 MB, free: 1.535 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001893/0.1779, allocations: 48.41 kB / 481.4 MB, free: 1.488 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.733e-05/0.178, allocations: 27.97 kB / 481.4 MB, free: 1.461 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005347/0.1785, allocations: 314.9 kB / 481.7 MB, free: 1.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1785, allocations: 0 / 481.7 MB, free: 1.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009704/0.1795, allocations: 235.5 kB / 481.9 MB, free: 0.9219 MB / 446.1 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.0003263/0.1798, allocations: 155.5 kB / 482.1 MB, free: 0.7578 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.1958/0.3756, allocations: 0.908 MB / 483 MB, free: 80.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.3756, allocations: 0.75 kB / 483 MB, free: 80.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008214/0.3764, allocations: 473.4 kB / 483.5 MB, free: 80.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000807/0.3772, allocations: 112.3 kB / 483.6 MB, free: 80.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.3796, allocations: 1.451 MB / 485 MB, free: 79.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002245/0.3798, allocations: 341.9 kB / 485.4 MB, free: 79.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000326/0.3801, allocations: 89.64 kB / 485.4 MB, free: 79.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3803, allocations: 69.66 kB / 485.5 MB, free: 79.63 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3803, allocations: 5.031 kB / 485.5 MB, free: 79.63 MB / 446.1 MB Notification: Performance of Templates: time 0.01444/0.3947, allocations: 8.989 MB / 494.5 MB, free: 78.68 MB / 446.1 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=480 -s ida -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 21.79456103697885] Failed to read output from testmodel.py, exit status != 0: 0.4030438440386206 0.413418168 0.28918781599999993 Calling exit ...