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.001258/0.001258, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001025/0.001025, allocations: 177 kB / 23.36 MB, free: 1.129 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 1.019/1.019, allocations: 177.1 MB / 203.8 MB, free: 5.477 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.03023/0.03023, allocations: 4.229 MB / 264.5 MB, free: 8.812 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.233e-06/1.233e-06, allocations: 0 / 286.4 MB, free: 2.941 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.425e-05/2.548e-05, allocations: 9.906 kB / 286.4 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.1259/0.1259, allocations: 5.04 MB / 291.4 MB, free: 22.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00328/0.1292, allocations: 1.874 MB / 293.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004832/0.1297, allocations: 13.78 kB / 293.3 MB, free: 22.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006462/0.1303, allocations: 290.2 kB / 293.6 MB, free: 22.03 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007081/0.131, allocations: 322.2 kB / 293.9 MB, free: 21.8 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006738/0.1317, allocations: 322.5 kB / 294.2 MB, free: 21.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001212/0.1329, allocations: 1.141 MB / 295.3 MB, free: 21.01 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004472/0.1334, allocations: 306 kB / 295.6 MB, free: 20.81 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009829/0.1344, allocations: 0.6621 MB / 296.3 MB, free: 20.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007252/0.1351, allocations: 436.8 kB / 296.7 MB, free: 20.37 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002197/0.1353, allocations: 109.4 kB / 296.8 MB, free: 20.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003371/0.1356, allocations: 185.1 kB / 297 MB, free: 20.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.1358, allocations: 229.2 kB / 297.2 MB, free: 20.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003658/0.1361, allocations: 343.8 kB / 297.6 MB, free: 20.02 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.1372, allocations: 0.7583 MB / 298.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1372, allocations: 1.375 kB / 298.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1372, allocations: 0 / 298.3 MB, free: 19.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.584e-05/0.1372, allocations: 0 / 298.3 MB, free: 19.62 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.00175/0.1389, allocations: 1.155 MB / 299.5 MB, free: 18.88 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.139, allocations: 11.69 kB / 299.5 MB, free: 18.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002046/0.1392, allocations: 127.4 kB / 299.6 MB, free: 18.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.1398, allocations: 384.6 kB / 300 MB, free: 18.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.158e-05/0.1398, allocations: 61.31 kB / 300.1 MB, free: 18.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.671e-05/0.1399, allocations: 74.22 kB / 300.1 MB, free: 18.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/0.1407, allocations: 0.7125 MB / 300.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.1407, allocations: 4.875 kB / 300.9 MB, free: 18.19 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.058e-05/0.1407, allocations: 28.72 kB / 300.9 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.1407, allocations: 19.17 kB / 300.9 MB, free: 18.17 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003767/0.1411, allocations: 300.5 kB / 301.2 MB, free: 18.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002193/0.1433, allocations: 1.931 MB / 303.1 MB, free: 16.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006043/0.1439, allocations: 393.8 kB / 303.5 MB, free: 16.52 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.1441, allocations: 173.1 kB / 303.7 MB, free: 16.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.813e-05/0.1441, allocations: 21.98 kB / 303.7 MB, free: 16.39 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002711/0.1444, allocations: 417.5 kB / 304.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of pre-optimization done (n=56): time 2.735e-06/0.1444, allocations: 0 / 304.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=56): time 0.0008926/0.1453, allocations: 0.6506 MB / 304.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1453, allocations: 211.6 kB / 305 MB, free: 15.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002656/0.1456, allocations: 399.5 kB / 305.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1456, allocations: 37.89 kB / 305.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001166/0.1458, allocations: 332.9 kB / 305.7 MB, free: 14.82 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.584e-05/0.1458, allocations: 194.1 kB / 305.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001357/0.146, allocations: 143.5 kB / 306.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.146, allocations: 379.4 kB / 306.4 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001319/0.1462, allocations: 140.4 kB / 306.6 MB, free: 14.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000169/0.1463, allocations: 291.4 kB / 306.8 MB, free: 13.84 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.0007078/0.147, allocations: 0.7603 MB / 307.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.147, allocations: 7.281 kB / 307.6 MB, free: 13.33 MB / 266.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0005525/0.1476, allocations: 0.5444 MB / 308.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/0.1476, allocations: 66.98 kB / 308.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1476, allocations: 3.406 kB / 308.2 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001916/0.1478, allocations: 81.16 kB / 308.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004343/0.1483, allocations: 203.7 kB / 308.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006181/0.1489, allocations: 1.344 MB / 309.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.1492, allocations: 71.56 kB / 309.9 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.5e-05/0.1493, allocations: 27.97 kB / 309.9 MB, free: 11.17 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.000249/0.1495, allocations: 235.6 kB / 310.2 MB, free: 10.92 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.564e-05/0.1496, allocations: 59.94 kB / 310.2 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005754/0.1501, allocations: 0.629 MB / 310.9 MB, free: 10.21 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.1502, allocations: 8 kB / 310.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1502, allocations: 4 kB / 310.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.1502, allocations: 7.922 kB / 310.9 MB, free: 10.19 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.1513, allocations: 0.9972 MB / 311.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.1513, allocations: 2.75 kB / 311.9 MB, free: 9.125 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002786/0.1516, allocations: 129.2 kB / 312 MB, free: 9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.1518, allocations: 244.8 kB / 312.2 MB, free: 8.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.1518, allocations: 27.97 kB / 312.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002608/0.1521, allocations: 0.7252 MB / 313 MB, free: 7.953 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.1521, allocations: 3.938 kB / 313 MB, free: 7.949 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006277/0.1527, allocations: 0.8576 MB / 313.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1528, allocations: 95.3 kB / 314 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.721e-05/0.1529, allocations: 16 kB / 314 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.1531, allocations: 40 kB / 314 MB, free: 6.875 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.445e-05/0.1532, allocations: 52.34 kB / 314.1 MB, free: 6.824 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.1532, allocations: 23.97 kB / 314.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001101/0.1533, allocations: 184.4 kB / 314.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1533, allocations: 0 / 314.3 MB, free: 6.617 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000465/0.1538, allocations: 243.4 kB / 314.5 MB, free: 6.379 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.0001543/0.1539, allocations: 132.3 kB / 314.6 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005494/0.1545, allocations: 0.7173 MB / 315.3 MB, free: 5.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/0.1545, allocations: 13.5 kB / 315.4 MB, free: 5.449 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002263/0.1547, allocations: 391.2 kB / 315.7 MB, free: 5.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1551, allocations: 139.6 kB / 315.9 MB, free: 4.902 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.1565, allocations: 1.297 MB / 317.2 MB, free: 3.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.754e-05/0.1566, allocations: 150.9 kB / 317.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001947/0.1568, allocations: 76.8 kB / 317.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.157, allocations: 201.2 kB / 317.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of SimCode: time 1.162e-06/0.157, allocations: 0 / 317.6 MB, free: 3.113 MB / 266.7 MB Notification: Performance of Templates: time 0.01292/0.17, allocations: 10.41 MB / 328 MB, free: 8.902 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.018869466148317]