Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 168.8 kB / 7.645 MB, free: 1.434 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.4/1.4, allocations: 221.5 MB / 229.6 MB, free: 7.5 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.0008831/0.0008831, allocations: 92.92 kB / 280.5 MB, free: 5.25 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02311/0.02311, allocations: 5.287 MB / 336.5 MB, free: 9.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008507/0.008506, allocations: 2.305 MB / 390.8 MB, free: 3.508 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.247e-05/1.294e-05, allocations: 0 / 450 MB, free: 48.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2745, allocations: 52.18 MB / 0.4904 GB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1331/0.4076, allocations: 95.65 MB / 0.5838 GB, free: 1.074 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001756/0.4079, allocations: 63.98 kB / 0.5839 GB, free: 1.012 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09271/0.5006, allocations: 35.43 MB / 0.6185 GB, free: 13.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5006, allocations: 0 / 0.6185 GB, free: 13.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.789e-05/0.5007, allocations: 20 kB / 0.6185 GB, free: 13.23 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.003112/0.5038, allocations: 1.326 MB / 0.6198 GB, free: 11.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.5039, allocations: 12.03 kB / 0.6198 GB, free: 11.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.5053, allocations: 302.3 kB / 0.6201 GB, free: 11.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009176/0.5063, allocations: 0.5882 MB / 0.6207 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.696e-05/0.5063, allocations: 36 kB / 0.6207 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.5065, allocations: 64 kB / 0.6208 GB, free: 10.8 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001672/0.5082, allocations: 0.9412 MB / 0.6217 GB, free: 9.859 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001875/0.51, allocations: 0.9608 MB / 0.6226 GB, free: 8.844 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.5101, allocations: 3.984 kB / 0.6226 GB, free: 8.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.611e-05/0.5102, allocations: 4 kB / 0.6226 GB, free: 8.836 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.491e-05/0.5102, allocations: 32 kB / 0.6227 GB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006647/0.5169, allocations: 4.355 MB / 0.6269 GB, free: 4.262 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.5192, allocations: 1.754 MB / 0.6286 GB, free: 2.266 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004852/0.5197, allocations: 312.2 kB / 0.6289 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001656/0.5199, allocations: 166.8 kB / 0.6291 GB, free: 1.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007265/0.5206, allocations: 0.5174 MB / 0.6296 GB, free: 1.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.5207, allocations: 0 / 0.6296 GB, free: 1.195 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.004064/0.5247, allocations: 1.092 MB / 0.6307 GB, free: 92 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.5249, allocations: 307.5 kB / 0.631 GB, free: 15.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006704/0.5256, allocations: 498.1 kB / 0.6314 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.5257, allocations: 33.7 kB / 0.6315 GB, free: 15.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.526, allocations: 494.6 kB / 0.6319 GB, free: 14.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/0.5262, allocations: 248.4 kB / 0.6322 GB, free: 14.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.479e-05/0.5263, allocations: 4 kB / 0.6322 GB, free: 14.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.5264, allocations: 382.7 kB / 0.6325 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004592/0.5269, allocations: 282.6 kB / 0.6328 GB, free: 13.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006063/0.5275, allocations: 0.5043 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.01323/0.5408, allocations: 2.516 MB / 0.6358 GB, free: 10.65 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.5408, allocations: 0 / 0.6358 GB, free: 10.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002645/0.5434, allocations: 1.093 MB / 0.6368 GB, free: 9.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.204e-05/0.5435, allocations: 94.5 kB / 0.6369 GB, free: 9.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.5436, allocations: 4 kB / 0.6369 GB, free: 9.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.5441, allocations: 101.3 kB / 0.637 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.5452, allocations: 255.5 kB / 0.6373 GB, free: 9.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.5467, allocations: 1.506 MB / 0.6387 GB, free: 7.457 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008414/0.5476, allocations: 87.05 kB / 0.6388 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.116e-05/0.5477, allocations: 59.89 kB / 0.6389 GB, free: 7.312 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.0003327/0.548, allocations: 244.8 kB / 0.6391 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001322/0.5482, allocations: 75.16 kB / 0.6392 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004444/0.5526, allocations: 1.356 MB / 0.6405 GB, free: 5.598 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.5527, allocations: 8 kB / 0.6405 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5527, allocations: 0 / 0.6405 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.458e-05/0.5527, allocations: 11.92 kB / 0.6405 GB, free: 5.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003584/0.5563, allocations: 2.11 MB / 0.6426 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.5563, allocations: 4 kB / 0.6426 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.5569, allocations: 139.8 kB / 0.6427 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002271/0.5592, allocations: 0.5332 MB / 0.6432 GB, free: 2.727 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-05/0.5593, allocations: 23.97 kB / 0.6433 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008782/0.5602, allocations: 0.8645 MB / 0.6441 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5602, allocations: 0 / 0.6441 GB, free: 1.812 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/0.5626, allocations: 1.459 MB / 0.6455 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004151/0.5631, allocations: 255.8 kB / 0.6458 GB, free: 48 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001348/0.5632, allocations: 12 kB / 0.6458 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/0.5638, allocations: 27.98 kB / 0.6458 GB, free: 8 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2404/0.8042, allocations: 57.53 kB / 0.6459 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/0.8044, allocations: 41.8 kB / 0.6459 GB, free: 113.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006837/0.8051, allocations: 380.5 kB / 0.6463 GB, free: 113.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.8051, allocations: 1.406 kB / 0.6463 GB, free: 113.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001415/0.8065, allocations: 347.8 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.0007982/0.8073, allocations: 412.7 kB / 0.647 GB, free: 113.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001644/0.8089, allocations: 1.03 MB / 0.648 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.809, allocations: 0 / 0.648 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007742/0.8097, allocations: 0.6184 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.0007004/0.8105, allocations: 99.47 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.002321/0.8128, allocations: 1.236 MB / 0.6499 GB, free: 112.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.8134, allocations: 1.036 MB / 0.6509 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005343/0.814, allocations: 115.9 kB / 0.651 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002449/0.8142, allocations: 84.28 kB / 0.6511 GB, free: 111.8 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.8142, allocations: 1.094 kB / 0.6511 GB, free: 111.8 MB / 426.7 MB Notification: Performance of Templates: time 0.02056/0.8348, allocations: 11.54 MB / 0.6624 GB, free: 111.1 MB / 426.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.pipe 2>&1)