Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.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_Comax_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 221.4 MB / 234.6 MB, free: 14.46 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009766/0.0009762, allocations: 90.89 kB / 285.6 MB, free: 13.01 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02529/0.0253, allocations: 5.29 MB / 341.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01166/0.01166, allocations: 2.29 MB / 396.2 MB, free: 70.48 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 4.39e-05/4.4e-05, allocations: 4 kB / 457.2 MB, free: 9.496 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3856, allocations: 52.18 MB / 0.4974 GB, free: 41.44 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.5226, allocations: 96.31 MB / 0.5915 GB, free: 10.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.5229, allocations: 67.97 kB / 0.5916 GB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3825/0.9054, allocations: 35.84 MB / 0.6266 GB, free: 93.86 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.9055, allocations: 0 / 0.6266 GB, free: 93.86 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.902e-05/0.9055, allocations: 24.44 kB / 0.6266 GB, free: 93.86 MB / 394.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.003076/0.9086, allocations: 1.33 MB / 0.6279 GB, free: 93.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.9087, allocations: 7.656 kB / 0.6279 GB, free: 93.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.9103, allocations: 301.4 kB / 0.6282 GB, free: 93.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.9113, allocations: 0.5829 MB / 0.6287 GB, free: 92.77 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.9114, allocations: 83.88 kB / 0.6288 GB, free: 92.76 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001768/0.9116, allocations: 108.1 kB / 0.6289 GB, free: 92.76 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.9135, allocations: 1.13 MB / 0.63 GB, free: 92.6 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.9136, allocations: 0.8438 kB / 0.63 GB, free: 92.6 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.9137, allocations: 49.12 kB / 0.6301 GB, free: 92.6 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.721e-05/0.9137, allocations: 26.38 kB / 0.6301 GB, free: 92.6 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.9154, allocations: 1.007 MB / 0.6311 GB, free: 92.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00654/0.9219, allocations: 4.536 MB / 0.6355 GB, free: 90.82 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.9241, allocations: 1.788 MB / 0.6373 GB, free: 89.32 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005886/0.9247, allocations: 340.2 kB / 0.6376 GB, free: 89.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/0.9249, allocations: 174.1 kB / 0.6378 GB, free: 88.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007048/0.9256, allocations: 0.5286 MB / 0.6383 GB, free: 88.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.375e-06/0.9256, allocations: 0 / 0.6383 GB, free: 88.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.003928/0.9296, allocations: 1.172 MB / 0.6394 GB, free: 88.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.9297, allocations: 308.6 kB / 0.6397 GB, free: 87.87 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.9307, allocations: 0.5257 MB / 0.6402 GB, free: 87.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001254/0.9308, allocations: 40.95 kB / 0.6403 GB, free: 87.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.9312, allocations: 492.8 kB / 0.6407 GB, free: 87.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.9314, allocations: 255 kB / 0.641 GB, free: 86.99 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/0.9315, allocations: 22.53 kB / 0.641 GB, free: 86.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/0.9316, allocations: 381.4 kB / 0.6414 GB, free: 86.63 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005434/0.9322, allocations: 305.9 kB / 0.6417 GB, free: 86.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006391/0.9328, allocations: 0.5437 MB / 0.6422 GB, free: 86.1 MB / 394.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.0149/0.9477, allocations: 2.737 MB / 0.6449 GB, free: 85.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.9478, allocations: 3.844 kB / 0.6449 GB, free: 85.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002189/0.95, allocations: 1.159 MB / 0.646 GB, free: 84.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.83e-05/0.95, allocations: 93.92 kB / 0.6461 GB, free: 84.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.9501, allocations: 10.64 kB / 0.6461 GB, free: 84.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004895/0.9506, allocations: 97.34 kB / 0.6462 GB, free: 84.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.9516, allocations: 251.2 kB / 0.6464 GB, free: 84.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/0.953, allocations: 1.553 MB / 0.6479 GB, free: 83.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001029/0.954, allocations: 115 kB / 0.648 GB, free: 83.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.9541, allocations: 56.83 kB / 0.6481 GB, free: 83.28 MB / 394.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.0003735/0.9545, allocations: 282.5 kB / 0.6484 GB, free: 83.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001656/0.9547, allocations: 77.97 kB / 0.6484 GB, free: 82.98 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004079/0.9588, allocations: 1.45 MB / 0.6499 GB, free: 81.79 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.391e-05/0.9588, allocations: 8 kB / 0.6499 GB, free: 81.78 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9588, allocations: 0 / 0.6499 GB, free: 81.78 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-05/0.9589, allocations: 6.75 kB / 0.6499 GB, free: 81.78 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003542/0.9624, allocations: 2.363 MB / 0.6522 GB, free: 79.74 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.9625, allocations: 0 / 0.6522 GB, free: 79.74 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00055/0.963, allocations: 132.8 kB / 0.6523 GB, free: 79.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002181/0.9652, allocations: 0.5439 MB / 0.6528 GB, free: 79.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001196/0.9653, allocations: 37.59 kB / 0.6529 GB, free: 79.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007956/0.9662, allocations: 0.8657 MB / 0.6537 GB, free: 78.32 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.9662, allocations: 4.062 kB / 0.6537 GB, free: 78.31 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002332/0.9685, allocations: 1.568 MB / 0.6553 GB, free: 76.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005096/0.9691, allocations: 256.6 kB / 0.6555 GB, free: 76.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/0.9692, allocations: 31.89 kB / 0.6555 GB, free: 76.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006038/0.9698, allocations: 39.84 kB / 0.6556 GB, free: 76.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001587/0.97, allocations: 64.12 kB / 0.6556 GB, free: 76.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.959e-05/0.9701, allocations: 39.17 kB / 0.6557 GB, free: 76.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000563/0.9707, allocations: 417.4 kB / 0.6561 GB, free: 76.04 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.9707, allocations: 4 kB / 0.6561 GB, free: 76.04 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001236/0.9719, allocations: 381.9 kB / 0.6564 GB, free: 75.66 MB / 394.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.00089/0.9728, allocations: 431.6 kB / 0.6568 GB, free: 75.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.9745, allocations: 1.11 MB / 0.6579 GB, free: 74.26 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.9746, allocations: 4.062 kB / 0.6579 GB, free: 74.26 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007161/0.9753, allocations: 0.6338 MB / 0.6586 GB, free: 73.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000718/0.976, allocations: 112.8 kB / 0.6587 GB, free: 73.52 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002693/0.9787, allocations: 1.275 MB / 0.6599 GB, free: 72.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004489/0.9792, allocations: 1.035 MB / 0.6609 GB, free: 71.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005942/0.9798, allocations: 118.7 kB / 0.661 GB, free: 71.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002635/0.9801, allocations: 81.97 kB / 0.6611 GB, free: 71.25 MB / 394.7 MB Notification: Performance of SimCode: time 8.52e-07/0.9801, allocations: 0 / 0.6611 GB, free: 71.25 MB / 394.7 MB Notification: Performance of Templates: time 0.0218/1.002, allocations: 13.11 MB / 0.6739 GB, free: 58.93 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.pipe 2>&1)