Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 175.1 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.458/1.458, allocations: 221.4 MB / 234.6 MB, free: 14.44 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.001144/0.001144, allocations: 87.03 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.03629/0.03629, allocations: 5.278 MB / 341.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008135/0.008135, allocations: 2.294 MB / 396.2 MB, free: 70.45 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 4.193e-05/4.206e-05, allocations: 0 / 457.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3386, allocations: 52.18 MB / 0.4974 GB, free: 41.49 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.4866, allocations: 96.31 MB / 0.5915 GB, free: 10.1 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.4869, allocations: 67.97 kB / 0.5916 GB, free: 10.04 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3927/0.8796, allocations: 35.83 MB / 0.6265 GB, free: 93.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.8797, allocations: 0 / 0.6265 GB, free: 93.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.546e-05/0.8797, allocations: 21.91 kB / 0.6266 GB, free: 93.95 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.00316/0.8829, allocations: 1.337 MB / 0.6279 GB, free: 93.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.883, allocations: 10.31 kB / 0.6279 GB, free: 93.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/0.8845, allocations: 301 kB / 0.6282 GB, free: 93.12 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009905/0.8855, allocations: 0.585 MB / 0.6287 GB, free: 92.85 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.8856, allocations: 83.94 kB / 0.6288 GB, free: 92.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.8858, allocations: 109 kB / 0.6289 GB, free: 92.85 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00194/0.8877, allocations: 1.131 MB / 0.63 GB, free: 92.69 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.8878, allocations: 2.781 kB / 0.63 GB, free: 92.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.8879, allocations: 43.59 kB / 0.6301 GB, free: 92.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.8879, allocations: 26.03 kB / 0.6301 GB, free: 92.69 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001737/0.8897, allocations: 1.009 MB / 0.6311 GB, free: 92.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006363/0.896, allocations: 4.539 MB / 0.6355 GB, free: 90.87 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002052/0.8981, allocations: 1.785 MB / 0.6373 GB, free: 89.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.8987, allocations: 333.2 kB / 0.6376 GB, free: 89.22 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.8988, allocations: 174 kB / 0.6377 GB, free: 89.03 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00067/0.8995, allocations: 0.5344 MB / 0.6383 GB, free: 88.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 2.585e-06/0.8995, allocations: 0 / 0.6383 GB, free: 88.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.003763/0.9033, allocations: 1.169 MB / 0.6394 GB, free: 88.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/0.9034, allocations: 310.1 kB / 0.6397 GB, free: 87.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007386/0.9042, allocations: 0.5264 MB / 0.6402 GB, free: 87.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.9043, allocations: 41.02 kB / 0.6403 GB, free: 87.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002983/0.9046, allocations: 481.2 kB / 0.6407 GB, free: 87.23 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.9048, allocations: 260.7 kB / 0.641 GB, free: 87.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.9049, allocations: 23.47 kB / 0.641 GB, free: 87.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.905, allocations: 383.1 kB / 0.6414 GB, free: 86.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004711/0.9055, allocations: 304.6 kB / 0.6416 GB, free: 86.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005591/0.906, allocations: 0.541 MB / 0.6422 GB, free: 86.15 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.01503/0.9211, allocations: 2.751 MB / 0.6449 GB, free: 85.49 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.349e-05/0.9211, allocations: 3.688 kB / 0.6449 GB, free: 85.49 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00268/0.9238, allocations: 1.155 MB / 0.646 GB, free: 85 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.669e-05/0.9239, allocations: 92.81 kB / 0.6461 GB, free: 84.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.967e-05/0.924, allocations: 7.375 kB / 0.6461 GB, free: 84.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005278/0.9245, allocations: 99.34 kB / 0.6462 GB, free: 84.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/0.9257, allocations: 251.2 kB / 0.6464 GB, free: 84.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001669/0.9273, allocations: 1.557 MB / 0.6479 GB, free: 83.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.9286, allocations: 111.8 kB / 0.648 GB, free: 83.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001749/0.9288, allocations: 58.28 kB / 0.6481 GB, free: 83.31 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.0004207/0.9292, allocations: 275.2 kB / 0.6484 GB, free: 83.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002549/0.9295, allocations: 79.25 kB / 0.6484 GB, free: 82.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004324/0.9338, allocations: 1.455 MB / 0.6499 GB, free: 81.72 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/0.9339, allocations: 8 kB / 0.6499 GB, free: 81.71 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.9339, allocations: 3.938 kB / 0.6499 GB, free: 81.71 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/0.9339, allocations: 7.141 kB / 0.6499 GB, free: 81.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/0.9381, allocations: 2.355 MB / 0.6522 GB, free: 79.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/0.9382, allocations: 0 / 0.6522 GB, free: 79.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.9387, allocations: 140.6 kB / 0.6523 GB, free: 79.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/0.9411, allocations: 0.5379 MB / 0.6528 GB, free: 79.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000179/0.9413, allocations: 37.61 kB / 0.6529 GB, free: 79.11 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000802/0.9421, allocations: 0.8721 MB / 0.6537 GB, free: 78.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.9421, allocations: 3.938 kB / 0.6537 GB, free: 78.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002343/0.9445, allocations: 1.566 MB / 0.6553 GB, free: 76.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005313/0.945, allocations: 252.5 kB / 0.6555 GB, free: 76.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.9453, allocations: 28 kB / 0.6555 GB, free: 76.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007478/0.946, allocations: 41.38 kB / 0.6556 GB, free: 76.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.9462, allocations: 66.05 kB / 0.6556 GB, free: 76.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.515e-05/0.9463, allocations: 43.41 kB / 0.6557 GB, free: 76.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005751/0.9469, allocations: 411.2 kB / 0.6561 GB, free: 75.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9469, allocations: 0 / 0.6561 GB, free: 75.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001467/0.9483, allocations: 390.2 kB / 0.6564 GB, free: 75.6 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.00112/0.9495, allocations: 437.1 kB / 0.6569 GB, free: 75.3 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00231/0.9518, allocations: 1.106 MB / 0.6579 GB, free: 74.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.9519, allocations: 0 / 0.6579 GB, free: 74.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000954/0.9528, allocations: 0.6348 MB / 0.6586 GB, free: 73.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.9539, allocations: 113.1 kB / 0.6587 GB, free: 73.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.9573, allocations: 1.28 MB / 0.6599 GB, free: 72.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006388/0.958, allocations: 1.036 MB / 0.6609 GB, free: 71.33 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007507/0.9588, allocations: 117.3 kB / 0.661 GB, free: 71.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003116/0.9591, allocations: 82.67 kB / 0.6611 GB, free: 71.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.754e-06/0.9591, allocations: 0 / 0.6611 GB, free: 71.18 MB / 394.7 MB Notification: Performance of Templates: time 0.02351/0.9826, allocations: 13.09 MB / 0.6739 GB, free: 58.87 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe 2>&1)