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.00145/0.00145, allocations: 171.6 kB / 7.641 MB, free: 1.414 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.426/1.426, allocations: 221.5 MB / 229.6 MB, free: 7.551 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.0008626/0.0008626, allocations: 96.3 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02326/0.02326, allocations: 5.284 MB / 336.5 MB, free: 9.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008728/0.008728, allocations: 2.297 MB / 390.8 MB, free: 3.516 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.493e-05/1.502e-05, allocations: 0 / 450 MB, free: 48.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3056, allocations: 52.2 MB / 0.4904 GB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.4482, allocations: 95.64 MB / 0.5838 GB, free: 1.055 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4485, allocations: 71.95 kB / 0.5839 GB, free: 0.9844 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09767/0.5462, allocations: 35.43 MB / 0.6185 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5463, allocations: 0 / 0.6185 GB, free: 13.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.459e-05/0.5463, allocations: 20 kB / 0.6185 GB, free: 13.21 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.003372/0.5497, allocations: 1.33 MB / 0.6198 GB, free: 11.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.5498, allocations: 12.03 kB / 0.6198 GB, free: 11.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001705/0.5515, allocations: 298.3 kB / 0.6201 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001143/0.5526, allocations: 0.5881 MB / 0.6207 GB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.784e-05/0.5527, allocations: 36 kB / 0.6207 GB, free: 10.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002301/0.5529, allocations: 71.95 kB / 0.6208 GB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001888/0.5548, allocations: 0.9335 MB / 0.6217 GB, free: 9.836 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.5567, allocations: 0.9608 MB / 0.6226 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/0.5568, allocations: 4 kB / 0.6226 GB, free: 8.816 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.375e-05/0.5569, allocations: 4 kB / 0.6226 GB, free: 8.812 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.47e-05/0.5569, allocations: 28 kB / 0.6227 GB, free: 8.785 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008379/0.5653, allocations: 4.363 MB / 0.6269 GB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00259/0.568, allocations: 1.75 MB / 0.6286 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.5685, allocations: 312.2 kB / 0.6289 GB, free: 1.934 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001814/0.5687, allocations: 170.8 kB / 0.6291 GB, free: 1.73 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007814/0.5695, allocations: 0.5096 MB / 0.6296 GB, free: 1.176 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 3.116e-06/0.5695, allocations: 4 kB / 0.6296 GB, free: 1.172 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.004315/0.5739, allocations: 1.096 MB / 0.6307 GB, free: 64 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000153/0.574, allocations: 315.5 kB / 0.631 GB, free: 15.69 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.5749, allocations: 494.1 kB / 0.6314 GB, free: 15.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.249e-05/0.575, allocations: 29.7 kB / 0.6315 GB, free: 15.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004497/0.5754, allocations: 494.6 kB / 0.6319 GB, free: 14.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.5757, allocations: 248.4 kB / 0.6322 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.5758, allocations: 0 / 0.6322 GB, free: 14.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.576, allocations: 378.8 kB / 0.6325 GB, free: 14.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.5765, allocations: 286.5 kB / 0.6328 GB, free: 13.77 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006155/0.5771, allocations: 0.5082 MB / 0.6333 GB, free: 13.16 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.01332/0.5904, allocations: 2.512 MB / 0.6358 GB, free: 10.62 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.161e-05/0.5904, allocations: 0 / 0.6358 GB, free: 10.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002915/0.5934, allocations: 1.098 MB / 0.6368 GB, free: 9.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.5935, allocations: 97.09 kB / 0.6369 GB, free: 9.406 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.5935, allocations: 8 kB / 0.6369 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/0.594, allocations: 93.09 kB / 0.637 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.5951, allocations: 255.5 kB / 0.6373 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.5967, allocations: 1.506 MB / 0.6387 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009277/0.5976, allocations: 95.12 kB / 0.6388 GB, free: 7.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.5977, allocations: 51.97 kB / 0.6389 GB, free: 7.285 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.0003312/0.5981, allocations: 248.8 kB / 0.6391 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.5983, allocations: 75.16 kB / 0.6392 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004526/0.6028, allocations: 1.352 MB / 0.6405 GB, free: 5.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.16e-05/0.6028, allocations: 8 kB / 0.6405 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6028, allocations: 0 / 0.6405 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.6029, allocations: 7.922 kB / 0.6405 GB, free: 5.555 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.6068, allocations: 2.118 MB / 0.6426 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.6069, allocations: 0 / 0.6426 GB, free: 3.379 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006254/0.6075, allocations: 131.8 kB / 0.6427 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00234/0.6098, allocations: 0.5372 MB / 0.6432 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001001/0.61, allocations: 27.95 kB / 0.6433 GB, free: 2.676 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009763/0.611, allocations: 0.8645 MB / 0.6441 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.611, allocations: 0 / 0.6441 GB, free: 1.785 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003168/0.6141, allocations: 1.455 MB / 0.6455 GB, free: 300 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008894/0.6151, allocations: 255.8 kB / 0.6458 GB, free: 24 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/0.6155, allocations: 12 kB / 0.6458 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2888/0.9043, allocations: 30.47 kB / 0.6458 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002851/0.9047, allocations: 56.28 kB / 0.6459 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.9048, allocations: 39.08 kB / 0.6459 GB, free: 113.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005993/0.9054, allocations: 387.9 kB / 0.6463 GB, free: 113.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.132e-06/0.9054, allocations: 0 / 0.6463 GB, free: 113.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001631/0.907, allocations: 348.4 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.0009248/0.908, allocations: 410.8 kB / 0.647 GB, free: 113.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.9098, allocations: 1.038 MB / 0.648 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9099, allocations: 0 / 0.648 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008523/0.9107, allocations: 0.6102 MB / 0.6486 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.9115, allocations: 98.47 kB / 0.6487 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.9142, allocations: 1.234 MB / 0.6499 GB, free: 112.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/0.9149, allocations: 1.035 MB / 0.6509 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006506/0.9156, allocations: 111.9 kB / 0.651 GB, free: 111.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.9159, allocations: 83.84 kB / 0.6511 GB, free: 111.9 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.9159, allocations: 0 / 0.6511 GB, free: 111.9 MB / 426.7 MB Notification: Performance of Templates: time 0.0257/0.9416, allocations: 11.55 MB / 0.6624 GB, free: 111.2 MB / 426.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)