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.02724/0.02724, allocations: 5.388 MB / 20.62 MB, free: 2.008 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.0008568/0.000857, allocations: 104.1 kB / 22.61 MB, free: 388 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.001017/0.001017, allocations: 194.6 kB / 24.7 MB, free: 1.703 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.23/1.23, allocations: 222.9 MB / 249.6 MB, free: 14.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008493/0.008493, allocations: 2.315 MB / 303.2 MB, free: 3.781 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 95.86 kB / 366.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08573/0.0872, allocations: 51.21 MB / 417.8 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808): time 0.008096/0.09533, allocations: 6.743 MB / 424.6 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1492/0.2446, allocations: 3.072 MB / 427.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008572/0.2455, allocations: 15.75 kB / 427.7 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002064/0.2476, allocations: 1.021 MB / 428.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001423/0.249, allocations: 0.7596 MB / 429.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001179/0.2502, allocations: 484.4 kB / 429.9 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009336/0.2512, allocations: 1.377 MB / 431.3 MB, free: 35.9 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001114/0.2523, allocations: 1.099 MB / 432.4 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004212/0.2527, allocations: 0.5571 MB / 433 MB, free: 35.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005489/0.2533, allocations: 0.724 MB / 433.7 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.2534, allocations: 140.5 kB / 433.8 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005437/0.254, allocations: 434.4 kB / 434.2 MB, free: 35.6 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2541, allocations: 299.8 kB / 434.5 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003851/0.2545, allocations: 0.6308 MB / 435.2 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001077/0.2556, allocations: 1.728 MB / 436.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2556, allocations: 0.6562 kB / 436.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2556, allocations: 0 / 436.9 MB, free: 35.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.95e-05/0.2556, allocations: 3.219 kB / 436.9 MB, free: 35.15 MB / 350.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.003404/0.2591, allocations: 1.768 MB / 438.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.155e-05/0.2591, allocations: 9.906 kB / 438.7 MB, free: 34.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.261, allocations: 367.8 kB / 439 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001409/0.2624, allocations: 0.7516 MB / 439.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.119e-05/0.2625, allocations: 87.75 kB / 439.9 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001305/0.2626, allocations: 105 kB / 440 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/0.2644, allocations: 1.18 MB / 441.2 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/0.2644, allocations: 0 / 441.2 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.371e-05/0.2645, allocations: 45.34 kB / 441.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2646, allocations: 26.06 kB / 441.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.2664, allocations: 1.041 MB / 442.3 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/0.2713, allocations: 4.401 MB / 446.7 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002271/0.2736, allocations: 1.774 MB / 448.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006192/0.2742, allocations: 360.9 kB / 448.8 MB, free: 28.38 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001076/0.2744, allocations: 177.7 kB / 449 MB, free: 28.19 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007976/0.2752, allocations: 0.5493 MB / 449.5 MB, free: 27.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 3.206e-06/0.2752, allocations: 0 / 449.5 MB, free: 27.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.005479/0.2807, allocations: 1.707 MB / 451.2 MB, free: 27.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.332e-05/0.2807, allocations: 283.6 kB / 451.5 MB, free: 26.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004975/0.2812, allocations: 0.5583 MB / 452.1 MB, free: 26.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.882e-05/0.2813, allocations: 44.14 kB / 452.1 MB, free: 26.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.2815, allocations: 496.3 kB / 452.6 MB, free: 26.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.2816, allocations: 257.8 kB / 452.8 MB, free: 26.04 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002525/0.2819, allocations: 210.9 kB / 453 MB, free: 25.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.282, allocations: 382.7 kB / 453.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.2826, allocations: 322 kB / 453.7 MB, free: 25.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/0.2833, allocations: 0.5692 MB / 454.3 MB, free: 25.08 MB / 350.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.01694/0.3003, allocations: 3.638 MB / 457.9 MB, free: 23.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3003, allocations: 3 kB / 457.9 MB, free: 23.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002201/0.3025, allocations: 1.208 MB / 459.2 MB, free: 23.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.3026, allocations: 90.77 kB / 459.2 MB, free: 23.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3026, allocations: 6.031 kB / 459.2 MB, free: 23.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004353/0.303, allocations: 89.16 kB / 459.3 MB, free: 23.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.3041, allocations: 254.7 kB / 459.6 MB, free: 23.17 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001113/0.3052, allocations: 1.582 MB / 461.2 MB, free: 21.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/0.3061, allocations: 121 kB / 461.3 MB, free: 21.58 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.119e-05/0.3061, allocations: 54.3 kB / 461.3 MB, free: 21.57 MB / 350.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.0004461/0.3066, allocations: 367.1 kB / 461.7 MB, free: 21.28 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.3067, allocations: 80.06 kB / 461.8 MB, free: 21.24 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002177/0.3089, allocations: 1.261 MB / 463 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.3089, allocations: 8.906 kB / 463 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.3089, allocations: 0 / 463 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.3089, allocations: 2.953 kB / 463 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005763/0.3147, allocations: 2.554 MB / 465.6 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.3147, allocations: 0 / 465.6 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005293/0.3153, allocations: 139.9 kB / 465.7 MB, free: 19.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000687/0.316, allocations: 334.3 kB / 466.1 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.983e-05/0.316, allocations: 31 kB / 466.1 MB, free: 19.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.3171, allocations: 0.8906 MB / 467 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3171, allocations: 2.969 kB / 467 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005253/0.3223, allocations: 1.923 MB / 468.9 MB, free: 17.96 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002747/0.3226, allocations: 234.8 kB / 469.1 MB, free: 17.78 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.3228, allocations: 33.19 kB / 469.2 MB, free: 17.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006577/0.3234, allocations: 50.66 kB / 469.2 MB, free: 17.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.3236, allocations: 57.39 kB / 469.3 MB, free: 17.74 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.364e-05/0.3236, allocations: 41.31 kB / 469.3 MB, free: 17.73 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004023/0.324, allocations: 389.6 kB / 469.7 MB, free: 17.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.324, allocations: 0 / 469.7 MB, free: 17.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009155/0.325, allocations: 338.6 kB / 470 MB, free: 17.47 MB / 350.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.0006044/0.3256, allocations: 366.5 kB / 470.4 MB, free: 17.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.3279, allocations: 1.196 MB / 471.6 MB, free: 16.74 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3279, allocations: 1.438 kB / 471.6 MB, free: 16.74 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.3288, allocations: 0.6707 MB / 472.3 MB, free: 16.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007192/0.3295, allocations: 134.1 kB / 472.4 MB, free: 16.33 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002823/0.3324, allocations: 2.264 MB / 474.6 MB, free: 14.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/0.3327, allocations: 1.013 MB / 475.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000511/0.3333, allocations: 125.4 kB / 475.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/0.3335, allocations: 85.44 kB / 475.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3335, allocations: 1.25 kB / 475.9 MB, free: 14.13 MB / 350.1 MB Notification: Performance of Templates: time 0.02004/0.3535, allocations: 12.73 MB / 488.6 MB, free: 11.26 MB / 350.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)