Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) Using package PhotoVoltaics_TGM with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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) 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 182.5 kB / 7.65 MB, free: 1.43 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 221.5 MB / 229.6 MB, free: 7.57 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008724, allocations: 98.97 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03096/0.03096, allocations: 5.276 MB / 336.5 MB, free: 9.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008969/0.008969, allocations: 2.297 MB / 390.8 MB, free: 3.539 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.476e-05/1.49e-05, allocations: 0 / 450 MB, free: 48.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.282, allocations: 52.19 MB / 0.4904 GB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1262/0.4082, allocations: 95.64 MB / 0.5838 GB, free: 1.086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4085, allocations: 67.97 kB / 0.5839 GB, free: 1.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09624/0.5047, allocations: 35.43 MB / 0.6185 GB, free: 13.26 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5048, allocations: 4 kB / 0.6185 GB, free: 13.26 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.545e-05/0.5048, allocations: 16 kB / 0.6185 GB, free: 13.24 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.003862/0.5087, allocations: 1.332 MB / 0.6198 GB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.5088, allocations: 8.031 kB / 0.6198 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.5106, allocations: 294.3 kB / 0.6201 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.5119, allocations: 0.5881 MB / 0.6207 GB, free: 10.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.512, allocations: 36 kB / 0.6207 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002685/0.5123, allocations: 75.98 kB / 0.6208 GB, free: 10.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002019/0.5143, allocations: 0.9412 MB / 0.6217 GB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.5163, allocations: 0.9608 MB / 0.6226 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.279e-05/0.5164, allocations: 8 kB / 0.6226 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-05/0.5165, allocations: 4 kB / 0.6226 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.694e-05/0.5165, allocations: 24 kB / 0.6227 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007062/0.5236, allocations: 4.359 MB / 0.6269 GB, free: 4.266 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002228/0.5259, allocations: 1.746 MB / 0.6286 GB, free: 2.277 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.5264, allocations: 304.2 kB / 0.6289 GB, free: 1.977 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001664/0.5265, allocations: 182.8 kB / 0.6291 GB, free: 1.762 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007055/0.5273, allocations: 0.5096 MB / 0.6296 GB, free: 1.207 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.735e-06/0.5273, allocations: 0 / 0.6296 GB, free: 1.207 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.004176/0.5315, allocations: 1.096 MB / 0.6307 GB, free: 100 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001699/0.5316, allocations: 307.5 kB / 0.631 GB, free: 15.73 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008084/0.5325, allocations: 498.1 kB / 0.6314 GB, free: 15.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.22e-05/0.5326, allocations: 29.73 kB / 0.6315 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003995/0.533, allocations: 498.6 kB / 0.6319 GB, free: 14.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.5332, allocations: 244.4 kB / 0.6322 GB, free: 14.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.5333, allocations: 0 / 0.6322 GB, free: 14.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002062/0.5335, allocations: 386.7 kB / 0.6325 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004832/0.534, allocations: 282.6 kB / 0.6328 GB, free: 13.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/0.5347, allocations: 0.5121 MB / 0.6333 GB, free: 13.19 MB / 426.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.01384/0.5485, allocations: 2.512 MB / 0.6358 GB, free: 10.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/0.5486, allocations: 4 kB / 0.6358 GB, free: 10.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00302/0.5516, allocations: 1.09 MB / 0.6368 GB, free: 9.555 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.827e-05/0.5517, allocations: 98.34 kB / 0.6369 GB, free: 9.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.5517, allocations: 8 kB / 0.6369 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005395/0.5523, allocations: 96.94 kB / 0.637 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.5534, allocations: 255.5 kB / 0.6373 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.5549, allocations: 1.502 MB / 0.6387 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001012/0.556, allocations: 87.14 kB / 0.6388 GB, free: 7.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.5561, allocations: 55.95 kB / 0.6389 GB, free: 7.324 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.irradiance.year,irradiance.year,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$whenCondition2,$whenCondition3,$PRE.mpTracker.vRef,mpTracker.vRef,$PRE.irradiance.startDayOfYear,irradiance.startDayOfYear,$PRE.irradiance.dayOfYear,irradiance.dayOfYear,$PRE.irradiance.daysOfYear,irradiance.daysOfYear,irradiance.localDays,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000337/0.5565, allocations: 248.8 kB / 0.6391 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002028/0.5567, allocations: 75.16 kB / 0.6392 GB, free: 6.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004535/0.5612, allocations: 1.356 MB / 0.6405 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/0.5612, allocations: 8 kB / 0.6405 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.5613, allocations: 4 kB / 0.6405 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.197e-05/0.5613, allocations: 7.922 kB / 0.6405 GB, free: 5.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004032/0.5653, allocations: 2.114 MB / 0.6426 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.5653, allocations: 0 / 0.6426 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.5659, allocations: 135.8 kB / 0.6427 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.5683, allocations: 0.5372 MB / 0.6432 GB, free: 2.734 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.811e-05/0.5684, allocations: 19.97 kB / 0.6433 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008169/0.5692, allocations: 0.8645 MB / 0.6441 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.5692, allocations: 0 / 0.6441 GB, free: 1.824 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002346/0.5716, allocations: 1.459 MB / 0.6455 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004245/0.572, allocations: 251.8 kB / 0.6458 GB, free: 64 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001981/0.5722, allocations: 16 kB / 0.6458 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006511/0.5729, allocations: 35.97 kB / 0.6458 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2438/0.8167, allocations: 52.56 kB / 0.6459 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/0.8169, allocations: 37.09 kB / 0.6459 GB, free: 113.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006357/0.8176, allocations: 382.8 kB / 0.6463 GB, free: 113.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.8176, allocations: 1.312 kB / 0.6463 GB, free: 113.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001333/0.8189, allocations: 351.9 kB / 0.6466 GB, free: 113.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,irradiance.startDayOfYear,irradiance.dayOfYear,irradiance.daysOfYear,irradiance.year,irradiance.localDays,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 16 (irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007796/0.8197, allocations: 412.2 kB / 0.647 GB, free: 113.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00163/0.8214, allocations: 1.035 MB / 0.648 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.8214, allocations: 3.062 kB / 0.648 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007472/0.8221, allocations: 0.6122 MB / 0.6486 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.8229, allocations: 95.67 kB / 0.6487 GB, free: 112.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002577/0.8255, allocations: 1.238 MB / 0.6499 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000574/0.8261, allocations: 1.033 MB / 0.6509 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005559/0.8266, allocations: 110.2 kB / 0.651 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.8269, allocations: 82.88 kB / 0.6511 GB, free: 111.8 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.8269, allocations: 5.281 kB / 0.6511 GB, free: 111.8 MB / 426.7 MB Notification: Performance of Templates: time 0.02288/0.8498, allocations: 11.55 MB / 0.6624 GB, free: 111.1 MB / 426.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe 2>&1)