Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003767/0.003767, allocations: 173.9 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.652/1.652, allocations: 221.4 MB / 234.6 MB, free: 14.45 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.0009363/0.0009364, allocations: 90.61 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02488/0.02488, allocations: 5.287 MB / 341.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008049/0.00805, allocations: 2.283 MB / 396.1 MB, free: 70.47 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 5.118e-05/5.12e-05, allocations: 4 kB / 457.2 MB, free: 9.473 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3816, allocations: 52.18 MB / 0.4974 GB, free: 41.4 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.512, allocations: 96.31 MB / 0.5915 GB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.5123, allocations: 64.7 kB / 0.5916 GB, free: 10.01 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3774/0.8897, allocations: 35.84 MB / 0.6266 GB, free: 93.94 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.8897, allocations: 0 / 0.6266 GB, free: 93.94 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.085e-05/0.8898, allocations: 18.56 kB / 0.6266 GB, free: 93.94 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.003697/0.8935, allocations: 1.329 MB / 0.6279 GB, free: 93.17 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8936, allocations: 11.12 kB / 0.6279 GB, free: 93.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001834/0.8954, allocations: 306.2 kB / 0.6282 GB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.8967, allocations: 0.5809 MB / 0.6287 GB, free: 92.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.158e-05/0.8968, allocations: 85.97 kB / 0.6288 GB, free: 92.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002572/0.8971, allocations: 102.9 kB / 0.6289 GB, free: 92.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/0.8994, allocations: 1.134 MB / 0.63 GB, free: 92.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.889e-05/0.8995, allocations: 10.69 kB / 0.63 GB, free: 92.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.8996, allocations: 40.78 kB / 0.6301 GB, free: 92.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.8996, allocations: 28.06 kB / 0.6301 GB, free: 92.68 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/0.9015, allocations: 1.004 MB / 0.6311 GB, free: 92.66 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006841/0.9083, allocations: 4.538 MB / 0.6355 GB, free: 90.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002148/0.9105, allocations: 1.785 MB / 0.6373 GB, free: 89.34 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005451/0.9111, allocations: 337.3 kB / 0.6376 GB, free: 89.19 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/0.9113, allocations: 173.9 kB / 0.6377 GB, free: 89 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007143/0.912, allocations: 0.5284 MB / 0.6383 GB, free: 88.68 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 3.617e-06/0.912, allocations: 3.938 kB / 0.6383 GB, free: 88.68 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.003839/0.9159, allocations: 1.175 MB / 0.6394 GB, free: 88.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.916, allocations: 307.9 kB / 0.6397 GB, free: 87.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008142/0.9168, allocations: 0.5208 MB / 0.6402 GB, free: 87.62 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.9169, allocations: 41.64 kB / 0.6403 GB, free: 87.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/0.9172, allocations: 493.2 kB / 0.6407 GB, free: 87.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.9175, allocations: 259.2 kB / 0.641 GB, free: 87.01 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-05/0.9176, allocations: 22.62 kB / 0.641 GB, free: 86.99 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001142/0.9177, allocations: 391.5 kB / 0.6414 GB, free: 86.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.9182, allocations: 299.7 kB / 0.6417 GB, free: 86.52 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000626/0.9188, allocations: 0.5407 MB / 0.6422 GB, free: 86.11 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.01437/0.9332, allocations: 2.736 MB / 0.6449 GB, free: 85.46 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.348e-05/0.9333, allocations: 5.625 kB / 0.6449 GB, free: 85.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002286/0.9355, allocations: 1.16 MB / 0.646 GB, free: 84.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.9356, allocations: 93.64 kB / 0.6461 GB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/0.9357, allocations: 10.66 kB / 0.6461 GB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.9362, allocations: 99.83 kB / 0.6462 GB, free: 84.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.9372, allocations: 251.1 kB / 0.6464 GB, free: 84.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/0.9386, allocations: 1.552 MB / 0.6479 GB, free: 83.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.9396, allocations: 119.6 kB / 0.6481 GB, free: 83.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001239/0.9398, allocations: 49.41 kB / 0.6481 GB, free: 83.29 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.0003589/0.9401, allocations: 282.7 kB / 0.6484 GB, free: 83.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/0.9404, allocations: 76.89 kB / 0.6484 GB, free: 82.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.9445, allocations: 1.458 MB / 0.6499 GB, free: 81.74 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/0.9446, allocations: 8 kB / 0.6499 GB, free: 81.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.9446, allocations: 4 kB / 0.6499 GB, free: 81.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.9446, allocations: 7.078 kB / 0.6499 GB, free: 81.72 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/0.9486, allocations: 2.352 MB / 0.6522 GB, free: 79.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.9486, allocations: 0 / 0.6522 GB, free: 79.69 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/0.9492, allocations: 133 kB / 0.6523 GB, free: 79.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00222/0.9515, allocations: 0.542 MB / 0.6528 GB, free: 79.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001087/0.9516, allocations: 38.02 kB / 0.6529 GB, free: 79.13 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008074/0.9524, allocations: 0.8716 MB / 0.6537 GB, free: 78.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.9524, allocations: 4.031 kB / 0.6537 GB, free: 78.26 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002376/0.9548, allocations: 1.568 MB / 0.6553 GB, free: 76.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000545/0.9554, allocations: 249.6 kB / 0.6555 GB, free: 76.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/0.9556, allocations: 35.73 kB / 0.6555 GB, free: 76.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007077/0.9563, allocations: 46.98 kB / 0.6556 GB, free: 76.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.9565, allocations: 59.95 kB / 0.6556 GB, free: 76.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.713e-05/0.9566, allocations: 39.34 kB / 0.6557 GB, free: 76.36 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006088/0.9572, allocations: 412.6 kB / 0.6561 GB, free: 75.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9572, allocations: 0 / 0.6561 GB, free: 75.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001571/0.9588, allocations: 390.7 kB / 0.6564 GB, free: 75.61 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.001037/0.9598, allocations: 437.7 kB / 0.6569 GB, free: 75.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/0.9617, allocations: 1.103 MB / 0.6579 GB, free: 74.21 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9617, allocations: 0 / 0.6579 GB, free: 74.21 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008274/0.9625, allocations: 0.6362 MB / 0.6586 GB, free: 73.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.9634, allocations: 119.9 kB / 0.6587 GB, free: 73.47 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.9665, allocations: 1.275 MB / 0.6599 GB, free: 72.27 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006243/0.9672, allocations: 1.034 MB / 0.6609 GB, free: 71.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006685/0.9679, allocations: 117.8 kB / 0.661 GB, free: 71.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.9682, allocations: 86.48 kB / 0.6611 GB, free: 71.2 MB / 394.7 MB Notification: Performance of SimCode: time 6.91e-07/0.9682, allocations: 0 / 0.6611 GB, free: 71.2 MB / 394.7 MB Notification: Performance of Templates: time 0.02362/0.9918, allocations: 13.09 MB / 0.6739 GB, free: 58.87 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.pipe 2>&1)