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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 107.1 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 250 MB, free: 13.48 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03073/0.03073, allocations: 5.471 MB / 310.5 MB, free: 3.812 MB / 238.1 MB [Timeout remaining time 90] Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.003114/0.003114, allocations: 67.89 kB / 436 MB, free: 14.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1145, allocations: 53.39 MB / 489.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMPDC): time 0.006968/0.1215, allocations: 5.179 MB / 494.6 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003291/0.1247, allocations: 1.885 MB / 496.5 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.1251, allocations: 15.94 kB / 496.5 MB, free: 1.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00072/0.1258, allocations: 302 kB / 496.8 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006656/0.1265, allocations: 309.8 kB / 497.1 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.127, allocations: 319.4 kB / 497.4 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001211/0.1283, allocations: 1.114 MB / 498.5 MB, free: 15.47 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000512/0.1288, allocations: 306.8 kB / 498.8 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000544/0.1293, allocations: 446.5 kB / 499.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007227/0.13, allocations: 0.533 MB / 499.8 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001603/0.1302, allocations: 112 kB / 499.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002847/0.1305, allocations: 172 kB / 0.4883 GB, free: 13.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.1307, allocations: 227.2 kB / 0.4886 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004912/0.1312, allocations: 497.6 kB / 0.489 GB, free: 13.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.1325, allocations: 1.195 MB / 0.4902 GB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1325, allocations: 0 / 0.4902 GB, free: 11.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1325, allocations: 0 / 0.4902 GB, free: 11.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.1325, allocations: 0 / 0.4902 GB, free: 11.99 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: 185 * Number of variables: 185 Notification: Performance of Generate backend data structure: time 0.003166/0.1357, allocations: 1.328 MB / 0.4915 GB, free: 10.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.1357, allocations: 8.031 kB / 0.4915 GB, free: 10.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001884/0.1359, allocations: 100.3 kB / 0.4916 GB, free: 10.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.1375, allocations: 0.6511 MB / 0.4922 GB, free: 9.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.1375, allocations: 58 kB / 0.4923 GB, free: 9.742 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001278/0.1377, allocations: 72 kB / 0.4924 GB, free: 9.672 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001553/0.1392, allocations: 0.7815 MB / 0.4931 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.135e-05/0.1392, allocations: 0 / 0.4931 GB, free: 8.863 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.971e-05/0.1393, allocations: 32 kB / 0.4932 GB, free: 8.832 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.1394, allocations: 16 kB / 0.4932 GB, free: 8.816 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/0.1408, allocations: 0.6011 MB / 0.4938 GB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004615/0.1454, allocations: 2.742 MB / 0.4964 GB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/0.1471, allocations: 0.8538 MB / 0.4973 GB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005767/0.1477, allocations: 219.1 kB / 0.4975 GB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001221/0.1478, allocations: 89.47 kB / 0.4976 GB, free: 4.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007635/0.1486, allocations: 385.5 kB / 0.4979 GB, free: 3.668 MB / 366.1 MB Notification: Performance of pre-optimization done (n=56): time 2.314e-06/0.1486, allocations: 0 / 0.4979 GB, free: 3.668 MB / 366.1 MB Notification: Performance of matching and sorting (n=56): time 0.003272/0.1518, allocations: 1.047 MB / 0.499 GB, free: 2.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/0.152, allocations: 204.3 kB / 0.4991 GB, free: 2.34 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005946/0.1526, allocations: 461.9 kB / 0.4996 GB, free: 1.875 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.1526, allocations: 37.7 kB / 0.4996 GB, free: 1.832 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.1529, allocations: 372.4 kB / 0.5 GB, free: 1.465 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.1531, allocations: 194.4 kB / 0.5002 GB, free: 1.273 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002403/0.1533, allocations: 146.6 kB / 0.5003 GB, free: 1.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.1535, allocations: 362.8 kB / 0.5007 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.1541, allocations: 217.9 kB / 0.5009 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006768/0.1547, allocations: 365.9 kB / 0.5012 GB, free: 140 kB / 366.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.01295/0.1677, allocations: 2.376 MB / 0.5035 GB, free: 13.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.1677, allocations: 0 / 0.5035 GB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002055/0.1697, allocations: 0.8268 MB / 0.5043 GB, free: 12.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.961e-05/0.1698, allocations: 65.27 kB / 0.5044 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1698, allocations: 8.188 kB / 0.5044 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004859/0.1703, allocations: 80.78 kB / 0.5045 GB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008567/0.1712, allocations: 167.7 kB / 0.5046 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001746/0.1729, allocations: 1.578 MB / 0.5062 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006947/0.1736, allocations: 75.53 kB / 0.5063 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.1737, allocations: 31.98 kB / 0.5063 GB, free: 10.64 MB / 382.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.0004514/0.1741, allocations: 296.2 kB / 0.5066 GB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.1742, allocations: 63.62 kB / 0.5066 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/0.1763, allocations: 0.9047 MB / 0.5075 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.1763, allocations: 4 kB / 0.5075 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.1763, allocations: 0 / 0.5075 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.1763, allocations: 7.984 kB / 0.5075 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004427/0.1807, allocations: 1.806 MB / 0.5093 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.1807, allocations: 0 / 0.5093 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005057/0.1812, allocations: 107.9 kB / 0.5094 GB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006218/0.1818, allocations: 254.3 kB / 0.5096 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.64e-05/0.1819, allocations: 23.92 kB / 0.5097 GB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00115/0.183, allocations: 0.8234 MB / 0.5105 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.183, allocations: 3.938 kB / 0.5105 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003938/0.187, allocations: 1.358 MB / 0.5118 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002988/0.1873, allocations: 200.5 kB / 0.512 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.1874, allocations: 16 kB / 0.512 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000553/0.1879, allocations: 43.97 kB / 0.512 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.1881, allocations: 52.38 kB / 0.5121 GB, free: 4.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.085e-05/0.1881, allocations: 23.98 kB / 0.5121 GB, free: 4.465 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004376/0.1886, allocations: 326.9 kB / 0.5124 GB, free: 4.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1886, allocations: 0 / 0.5124 GB, free: 4.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007959/0.1894, allocations: 235.5 kB / 0.5126 GB, free: 3.918 MB / 382.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.0002422/0.1896, allocations: 143.7 kB / 0.5128 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001711/0.1913, allocations: 0.7918 MB / 0.5136 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1913, allocations: 0 / 0.5136 GB, free: 2.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007737/0.1921, allocations: 405.9 kB / 0.5139 GB, free: 2.516 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007165/0.1928, allocations: 126 kB / 0.5141 GB, free: 2.391 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.1955, allocations: 1.433 MB / 0.5155 GB, free: 0.918 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.175/0.3705, allocations: 0.9274 MB / 0.5164 GB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003396/0.3708, allocations: 71.55 kB / 0.5164 GB, free: 41.6 MB / 382.1 MB Notification: Performance of SimCode: time 1.112e-06/0.3708, allocations: 0.75 kB / 0.5164 GB, free: 41.6 MB / 382.1 MB Notification: Performance of Templates: time 0.01639/0.3872, allocations: 12.44 MB / 0.5286 GB, free: 38.27 MB / 382.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 -lv LOG_STATS > PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMPDC.pipe 2>&1) [Timeout 480]