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/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_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/PhotoVoltaics 2.0.0/package.mo): time 0.02866/0.02866, allocations: 5.378 MB / 20.34 MB, free: 1.441 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.001054/0.001054, allocations: 109.8 kB / 22.32 MB, free: 200 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.001033/0.001033, allocations: 176.6 kB / 24.39 MB, free: 1.805 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.237/1.237, allocations: 223.2 MB / 249.5 MB, free: 6.164 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008561/0.008561, allocations: 2.315 MB / 304.1 MB, free: 6.273 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004045/0.0004045, allocations: 12 kB / 368.1 MB, free: 6.238 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2074/0.2079, allocations: 52.2 MB / 420.3 MB, free: 25.79 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629): time 0.004327/0.2122, allocations: 5.559 MB / 425.9 MB, free: 20.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003737/0.216, allocations: 2.889 MB / 428.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005552/0.2166, allocations: 16 kB / 428.8 MB, free: 17.3 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006486/0.2172, allocations: 334.2 kB / 429.1 MB, free: 16.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001195/0.2184, allocations: 0.7427 MB / 429.9 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007754/0.2192, allocations: 411 kB / 430.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006912/0.2199, allocations: 0.843 MB / 431.1 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.2214, allocations: 1.216 MB / 432.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003317/0.2217, allocations: 454.2 kB / 432.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004984/0.2222, allocations: 0.5719 MB / 433.3 MB, free: 12.7 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.862e-05/0.2223, allocations: 60 kB / 433.4 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.2228, allocations: 291.6 kB / 433.7 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.2229, allocations: 195.2 kB / 433.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001274/0.2231, allocations: 229.1 kB / 434.1 MB, free: 11.94 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008329/0.2239, allocations: 1.278 MB / 435.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2239, allocations: 0 / 435.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2239, allocations: 0 / 435.4 MB, free: 10.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2239, allocations: 4 kB / 435.4 MB, free: 10.65 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.003304/0.2273, allocations: 1.553 MB / 436.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.2273, allocations: 8.031 kB / 436.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001937/0.2292, allocations: 374.3 kB / 437.3 MB, free: 8.652 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.2306, allocations: 0.7437 MB / 438.1 MB, free: 7.863 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.323e-05/0.2307, allocations: 82.06 kB / 438.1 MB, free: 7.781 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.2308, allocations: 111.9 kB / 438.2 MB, free: 7.672 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.2325, allocations: 1.164 MB / 439.4 MB, free: 6.449 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.2325, allocations: 3.938 kB / 439.4 MB, free: 6.445 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.109e-05/0.2326, allocations: 44 kB / 439.5 MB, free: 6.402 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.2326, allocations: 31.98 kB / 439.5 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001743/0.2344, allocations: 1.034 MB / 440.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004954/0.2393, allocations: 4.416 MB / 444.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.2419, allocations: 1.782 MB / 446.7 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001454/0.2421, allocations: 170.8 kB / 446.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009291/0.243, allocations: 0.5629 MB / 447.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=79): time 2.104e-06/0.2431, allocations: 0 / 447.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=79): time 0.005909/0.249, allocations: 1.901 MB / 449.3 MB, free: 11.93 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001614/0.2491, allocations: 281.7 kB / 449.6 MB, free: 11.6 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006896/0.2498, allocations: 0.5458 MB / 450.2 MB, free: 11.04 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.968e-05/0.2499, allocations: 45.7 kB / 450.2 MB, free: 10.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.2502, allocations: 490.6 kB / 450.7 MB, free: 10.5 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.2505, allocations: 252.4 kB / 450.9 MB, free: 10.25 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.57e-05/0.2505, allocations: 28 kB / 451 MB, free: 10.23 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.2507, allocations: 378.8 kB / 451.3 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007156/0.2514, allocations: 330.4 kB / 451.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/0.2523, allocations: 0.5638 MB / 452.2 MB, free: 8.867 MB / 318.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear) (/*Real*/(PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) Notification: Performance of analyzeInitialSystem (initialization): time 0.01575/0.2681, allocations: 2.824 MB / 455 MB, free: 6 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/0.2681, allocations: 0 / 455 MB, free: 6 MB / 318.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002462/0.2706, allocations: 1.201 MB / 456.2 MB, free: 4.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.225e-05/0.2706, allocations: 97.09 kB / 456.3 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.2707, allocations: 8 kB / 456.4 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004381/0.2711, allocations: 85.03 kB / 456.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001066/0.2722, allocations: 255.5 kB / 456.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.2735, allocations: 1.487 MB / 458.2 MB, free: 2.688 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008965/0.2744, allocations: 118.9 kB / 458.3 MB, free: 2.57 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.136e-05/0.2746, allocations: 51.95 kB / 458.3 MB, free: 2.52 MB / 318.1 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: 32 * 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 () * 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 (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.0005691/0.2751, allocations: 373.4 kB / 458.7 MB, free: 2.125 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.2753, allocations: 79.11 kB / 458.8 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002453/0.2777, allocations: 1.269 MB / 460 MB, free: 0.75 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2778, allocations: 8 kB / 460.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.2778, allocations: 0 / 460.1 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.2778, allocations: 3.984 kB / 460.1 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006134/0.2839, allocations: 2.583 MB / 462.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.2839, allocations: 3.938 kB / 462.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/0.2845, allocations: 139.8 kB / 462.8 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007491/0.2853, allocations: 334.2 kB / 463.1 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.434e-05/0.2854, allocations: 39.95 kB / 463.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001212/0.2866, allocations: 0.9014 MB / 464 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2866, allocations: 0 / 464 MB, free: 12.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005518/0.2921, allocations: 1.977 MB / 466 MB, free: 10.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004062/0.2925, allocations: 235.9 kB / 466.3 MB, free: 10.34 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001347/0.2927, allocations: 28 kB / 466.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006348/0.2933, allocations: 59.95 kB / 466.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.2935, allocations: 52.58 kB / 466.4 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-05/0.2935, allocations: 44.03 kB / 466.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000465/0.294, allocations: 390.8 kB / 466.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.294, allocations: 0 / 466.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001017/0.295, allocations: 347 kB / 467.2 MB, free: 9.438 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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006831/0.2957, allocations: 354.9 kB / 467.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.2978, allocations: 1.158 MB / 468.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.2978, allocations: 0 / 468.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009887/0.2988, allocations: 0.6585 MB / 469.3 MB, free: 7.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005991/0.2994, allocations: 122.1 kB / 469.4 MB, free: 7.133 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003275/0.3027, allocations: 2.226 MB / 471.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000569/0.3033, allocations: 1.035 MB / 472.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005535/0.3039, allocations: 126.4 kB / 472.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.3041, allocations: 83.39 kB / 472.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3041, allocations: 0 / 472.9 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Templates: time 0.01955/0.3237, allocations: 11.68 MB / 484.6 MB, free: 7.988 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: