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.02812/0.02812, allocations: 5.381 MB / 20.34 MB, free: 2.258 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.0007768/0.0007766, allocations: 99.8 kB / 22.32 MB, free: 0.7812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 172.6 kB / 24.39 MB, free: 1.977 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.277/1.277, allocations: 223.2 MB / 249.5 MB, free: 13.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008007/0.008007, allocations: 2.315 MB / 304.1 MB, free: 4.531 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003973, allocations: 12 kB / 368.1 MB, free: 11.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1044, allocations: 52.21 MB / 420.3 MB, free: 7.465 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808): time 0.005981/0.1105, allocations: 5.553 MB / 425.9 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1822/0.2927, allocations: 2.888 MB / 428.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006753/0.2934, allocations: 18.62 kB / 428.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008487/0.2943, allocations: 340.8 kB / 429.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001664/0.2959, allocations: 0.7226 MB / 429.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.297, allocations: 407.7 kB / 430.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001328/0.2983, allocations: 0.8566 MB / 431.1 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001908/0.3003, allocations: 1.217 MB / 432.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000661/0.3009, allocations: 446.6 kB / 432.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006414/0.3016, allocations: 0.5722 MB / 433.3 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.3017, allocations: 59.81 kB / 433.4 MB, free: 34.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007313/0.3024, allocations: 293.1 kB / 433.7 MB, free: 34.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.3026, allocations: 195.1 kB / 433.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002581/0.3029, allocations: 227.2 kB / 434.1 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001533/0.3044, allocations: 1.284 MB / 435.4 MB, free: 34.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3044, allocations: 0 / 435.4 MB, free: 34.58 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3044, allocations: 3.969 kB / 435.4 MB, free: 34.58 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.3045, allocations: 0 / 435.4 MB, free: 34.58 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.00356/0.308, allocations: 1.552 MB / 436.9 MB, free: 33.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.3081, allocations: 9.875 kB / 436.9 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001886/0.31, allocations: 370.8 kB / 437.3 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001411/0.3114, allocations: 0.7424 MB / 438 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.864e-05/0.3115, allocations: 85.19 kB / 438.1 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.3116, allocations: 109.2 kB / 438.2 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001721/0.3133, allocations: 1.162 MB / 439.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.642e-05/0.3134, allocations: 0 / 439.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.3135, allocations: 44.47 kB / 439.4 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.3135, allocations: 26.97 kB / 439.5 MB, free: 33.19 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.3154, allocations: 1.04 MB / 440.5 MB, free: 33.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005157/0.3206, allocations: 4.407 MB / 444.9 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002367/0.323, allocations: 1.784 MB / 446.7 MB, free: 30.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/0.3231, allocations: 174.3 kB / 446.9 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000873/0.324, allocations: 0.5516 MB / 447.4 MB, free: 29.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 1.953e-06/0.324, allocations: 0 / 447.4 MB, free: 29.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.005464/0.3295, allocations: 1.906 MB / 449.3 MB, free: 29.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3296, allocations: 280.1 kB / 449.6 MB, free: 29.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006179/0.3302, allocations: 0.5562 MB / 450.2 MB, free: 28.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.3303, allocations: 41.95 kB / 450.2 MB, free: 28.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000264/0.3306, allocations: 489.5 kB / 450.7 MB, free: 28.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.3307, allocations: 256.1 kB / 450.9 MB, free: 28.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.025e-05/0.3308, allocations: 19.31 kB / 450.9 MB, free: 28.45 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.3309, allocations: 384.2 kB / 451.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006208/0.3315, allocations: 330.7 kB / 451.6 MB, free: 28.13 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007967/0.3323, allocations: 0.5604 MB / 452.2 MB, free: 27.85 MB / 350.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.01468/0.347, allocations: 2.825 MB / 455 MB, free: 27.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.425e-05/0.3471, allocations: 3.25 kB / 455 MB, free: 27.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002272/0.3493, allocations: 1.208 MB / 456.2 MB, free: 26.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.984e-05/0.3494, allocations: 94.3 kB / 456.3 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.3494, allocations: 6.375 kB / 456.3 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004036/0.3498, allocations: 92.2 kB / 456.4 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000994/0.3509, allocations: 253.2 kB / 456.7 MB, free: 26.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00116/0.352, allocations: 1.489 MB / 458.2 MB, free: 25.08 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000919/0.353, allocations: 115.1 kB / 458.3 MB, free: 25.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.483e-05/0.353, allocations: 53.31 kB / 458.3 MB, free: 25.01 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 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.000569/0.3536, allocations: 373.2 kB / 458.7 MB, free: 24.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.3537, allocations: 83.08 kB / 458.8 MB, free: 24.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002389/0.3561, allocations: 1.269 MB / 460 MB, free: 24.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.3562, allocations: 9.312 kB / 460 MB, free: 24.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.3562, allocations: 0 / 460 MB, free: 24.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3562, allocations: 7.797 kB / 460.1 MB, free: 24.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005739/0.3619, allocations: 2.58 MB / 462.6 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.699e-06/0.362, allocations: 0 / 462.6 MB, free: 22.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005315/0.3625, allocations: 140.9 kB / 462.8 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006707/0.3632, allocations: 335.3 kB / 463.1 MB, free: 22.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.926e-05/0.3633, allocations: 37.66 kB / 463.1 MB, free: 22.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3643, allocations: 0.9017 MB / 464 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3643, allocations: 0 / 464 MB, free: 22.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004879/0.3692, allocations: 1.979 MB / 466 MB, free: 21.31 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/0.3696, allocations: 242.6 kB / 466.3 MB, free: 21.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.3697, allocations: 27.66 kB / 466.3 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.3703, allocations: 57.86 kB / 466.3 MB, free: 21.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.3705, allocations: 64.06 kB / 466.4 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/0.3705, allocations: 30.45 kB / 466.4 MB, free: 21.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004159/0.371, allocations: 394.9 kB / 466.8 MB, free: 20.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.371, allocations: 0 / 466.8 MB, free: 20.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001029/0.372, allocations: 339 kB / 467.2 MB, free: 20.82 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 (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.0006837/0.3727, allocations: 353 kB / 467.5 MB, free: 20.69 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001884/0.3746, allocations: 1.152 MB / 468.6 MB, free: 20.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3746, allocations: 4.125 kB / 468.7 MB, free: 20.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008533/0.3755, allocations: 0.6584 MB / 469.3 MB, free: 19.73 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.3761, allocations: 122.6 kB / 469.4 MB, free: 19.68 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003224/0.3793, allocations: 2.228 MB / 471.7 MB, free: 18.33 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.3799, allocations: 1.035 MB / 472.7 MB, free: 17.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005407/0.3804, allocations: 129 kB / 472.8 MB, free: 17.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.3807, allocations: 85.41 kB / 472.9 MB, free: 17.55 MB / 350.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3807, allocations: 0 / 472.9 MB, free: 17.55 MB / 350.1 MB Notification: Performance of Templates: time 0.02529/0.406, allocations: 11.66 MB / 484.6 MB, free: 15.18 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: