Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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/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/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 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) 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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02361/0.02361, allocations: 5.397 MB / 21.28 MB, free: 1.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009469/0.0009471, allocations: 114.4 kB / 23.27 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 192.4 kB / 25.37 MB, free: 0.5664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 222.9 MB / 250.2 MB, free: 6.988 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008907/0.008907, allocations: 2.319 MB / 303.9 MB, free: 6.5 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 91.86 kB / 367.3 MB, free: 7.055 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.2178, allocations: 51.22 MB / 418.5 MB, free: 26.57 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808): time 0.005942/0.2238, allocations: 6.749 MB / 425.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004273/0.2281, allocations: 3.077 MB / 428.3 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007613/0.2289, allocations: 23.94 kB / 428.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002118/0.231, allocations: 1.035 MB / 429.4 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.2326, allocations: 0.7534 MB / 430.1 MB, free: 14.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.2339, allocations: 486.3 kB / 430.6 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001064/0.2349, allocations: 1.367 MB / 432 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001087/0.236, allocations: 1.106 MB / 433.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.2365, allocations: 0.5566 MB / 433.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005429/0.2371, allocations: 0.716 MB / 434.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001286/0.2372, allocations: 140 kB / 434.5 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00063/0.2379, allocations: 439.6 kB / 434.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001358/0.238, allocations: 291 kB / 435.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003664/0.2384, allocations: 0.6376 MB / 435.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009953/0.2394, allocations: 1.341 MB / 437.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.2394, allocations: 0 / 437.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2394, allocations: 0 / 437.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.376e-05/0.2394, allocations: 8 kB / 437.2 MB, free: 7.789 MB / 302.1 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.003559/0.243, allocations: 1.763 MB / 438.9 MB, free: 5.953 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.243, allocations: 12.03 kB / 439 MB, free: 5.941 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.245, allocations: 367.3 kB / 439.3 MB, free: 5.582 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001383/0.2464, allocations: 0.76 MB / 440.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.378e-05/0.2465, allocations: 78.06 kB / 440.1 MB, free: 4.699 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001346/0.2466, allocations: 115.9 kB / 440.3 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001772/0.2484, allocations: 1.172 MB / 441.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.2484, allocations: 0 / 441.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.302e-05/0.2485, allocations: 44 kB / 441.5 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/0.2485, allocations: 24 kB / 441.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001791/0.2503, allocations: 1.042 MB / 442.5 MB, free: 2.246 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005818/0.2562, allocations: 4.411 MB / 447 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.2591, allocations: 1.771 MB / 448.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007261/0.2598, allocations: 363.4 kB / 449.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001475/0.26, allocations: 170.8 kB / 449.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009232/0.2609, allocations: 0.5553 MB / 449.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=79): time 2.715e-06/0.2609, allocations: 0 / 449.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=79): time 0.005983/0.2669, allocations: 1.705 MB / 451.5 MB, free: 8.742 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.2671, allocations: 289.7 kB / 451.8 MB, free: 8.398 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.2678, allocations: 0.5497 MB / 452.3 MB, free: 7.84 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.466e-05/0.2678, allocations: 45.7 kB / 452.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003388/0.2682, allocations: 482.7 kB / 452.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/0.2684, allocations: 264.3 kB / 453.1 MB, free: 7.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003054/0.2687, allocations: 214.7 kB / 453.3 MB, free: 6.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.2689, allocations: 378.8 kB / 453.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007061/0.2696, allocations: 326.4 kB / 454 MB, free: 6.133 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008646/0.2705, allocations: 0.5677 MB / 454.6 MB, free: 5.469 MB / 318.1 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.01838/0.2888, allocations: 3.631 MB / 458.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.2889, allocations: 3.938 kB / 458.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002514/0.2914, allocations: 1.209 MB / 459.4 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.75e-05/0.2915, allocations: 97.09 kB / 459.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.2915, allocations: 4 kB / 459.5 MB, free: 316 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004613/0.292, allocations: 88.72 kB / 459.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.2931, allocations: 255.7 kB / 459.9 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/0.2945, allocations: 1.582 MB / 461.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009283/0.2954, allocations: 107 kB / 461.5 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.2955, allocations: 63.89 kB / 461.6 MB, free: 14.07 MB / 334.1 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $PRE.irradiance.daysOfYear = PhotoVoltaics.Functions.dayOfTheYear(31, 12, irradiance.startYear). Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 27 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,irradiance.year,$PRE.irradiance.year,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,writeCSV.sampleTrigger,$whenCondition4,mpTracker.sampleTrigger,$whenCondition1,irradiance.localDays,irradiance.daysOfYear,$PRE.irradiance.daysOfYear,irradiance.dayOfYear,$PRE.irradiance.dayOfYear,irradiance.startDayOfYear,$PRE.irradiance.startDayOfYear,mpTracker.vRef,$PRE.mpTracker.vRef,$whenCondition3,$whenCondition2,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 125 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005347/0.296, allocations: 373.3 kB / 462 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.2962, allocations: 79.06 kB / 462 MB, free: 13.6 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.2987, allocations: 1.257 MB / 463.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.2987, allocations: 8 kB / 463.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.2987, allocations: 4 kB / 463.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.967e-06/0.2987, allocations: 3.984 kB / 463.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006344/0.3051, allocations: 2.551 MB / 465.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3051, allocations: 0 / 465.9 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.3057, allocations: 143.8 kB / 466 MB, free: 9.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007469/0.3064, allocations: 322.3 kB / 466.3 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.248e-05/0.3065, allocations: 39.97 kB / 466.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.3078, allocations: 0.8935 MB / 467.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3078, allocations: 0 / 467.3 MB, free: 8.23 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005671/0.3135, allocations: 1.923 MB / 469.2 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.3138, allocations: 239.8 kB / 469.4 MB, free: 6.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.314, allocations: 24 kB / 469.4 MB, free: 5.984 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006556/0.3146, allocations: 51.97 kB / 469.5 MB, free: 5.934 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.3148, allocations: 64.56 kB / 469.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.355e-05/0.3148, allocations: 31.97 kB / 469.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004359/0.3153, allocations: 394.8 kB / 470 MB, free: 5.457 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3153, allocations: 0 / 470 MB, free: 5.457 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009672/0.3163, allocations: 351 kB / 470.3 MB, free: 5.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.integrator.y,integrator.y,voltageSource.pin_p.reference.gamma) * 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006373/0.3169, allocations: 356.5 kB / 470.7 MB, free: 4.828 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.3193, allocations: 1.193 MB / 471.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3194, allocations: 0 / 471.9 MB, free: 3.582 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.3204, allocations: 0.6549 MB / 472.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007153/0.3211, allocations: 146.1 kB / 472.7 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.3244, allocations: 2.298 MB / 475 MB, free: 428 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005454/0.325, allocations: 1.014 MB / 476 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.3253, allocations: 99.38 kB / 476.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3253, allocations: 0 / 476.1 MB, free: 15.27 MB / 350.1 MB Notification: Performance of Templates: time 0.02014/0.3454, allocations: 17.19 MB / 493.3 MB, free: 14.1 MB / 366.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe 2>&1)