Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.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_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02712/0.02712, allocations: 5.385 MB / 20.34 MB, free: 1.844 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.0007307/0.0007305, allocations: 105.7 kB / 22.31 MB, free: 0.6094 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.0009639/0.0009639, allocations: 186.6 kB / 24.4 MB, free: 1.973 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.329/1.329, allocations: 223.2 MB / 249.5 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.0089/0.008899, allocations: 2.317 MB / 304.1 MB, free: 3.98 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.000394, allocations: 16 kB / 368.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1157, allocations: 52.21 MB / 420.3 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704): time 0.006872/0.1226, allocations: 5.557 MB / 425.9 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2091/0.3317, allocations: 2.88 MB / 428.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.3329, allocations: 20.78 kB / 428.8 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.334, allocations: 335.5 kB / 429.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.336, allocations: 0.7271 MB / 429.9 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001213/0.3372, allocations: 406.9 kB / 430.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00131/0.3386, allocations: 0.8532 MB / 431.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002056/0.3406, allocations: 1.225 MB / 432.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006814/0.3413, allocations: 443.2 kB / 432.8 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.342, allocations: 0.567 MB / 433.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3421, allocations: 58.38 kB / 433.4 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007231/0.3429, allocations: 296.7 kB / 433.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001797/0.3431, allocations: 198.9 kB / 433.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.3433, allocations: 221 kB / 434.1 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001326/0.3446, allocations: 1.282 MB / 435.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3446, allocations: 3.938 kB / 435.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.687e-06/0.3446, allocations: 0 / 435.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.3446, allocations: 4.875 kB / 435.4 MB, free: 34.88 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.003606/0.3483, allocations: 1.557 MB / 436.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.3483, allocations: 9.406 kB / 436.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001936/0.3502, allocations: 371.2 kB / 437.3 MB, free: 33.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001518/0.3518, allocations: 0.7385 MB / 438 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.428e-05/0.3519, allocations: 84.09 kB / 438.1 MB, free: 33.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001548/0.352, allocations: 110.9 kB / 438.2 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002061/0.3541, allocations: 1.16 MB / 439.4 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.796e-05/0.3541, allocations: 0 / 439.4 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.3543, allocations: 46.41 kB / 439.4 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.123e-05/0.3543, allocations: 25.97 kB / 439.5 MB, free: 33.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.3563, allocations: 1.038 MB / 440.5 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005814/0.3621, allocations: 4.412 MB / 444.9 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.3647, allocations: 1.781 MB / 446.7 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.3648, allocations: 179.2 kB / 446.9 MB, free: 30.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009029/0.3657, allocations: 0.5487 MB / 447.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.876e-06/0.3657, allocations: 3.25 kB / 447.4 MB, free: 30.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.005697/0.3714, allocations: 1.903 MB / 449.3 MB, free: 29.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.3715, allocations: 283.1 kB / 449.6 MB, free: 29.33 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.3722, allocations: 0.5508 MB / 450.2 MB, free: 29.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.3722, allocations: 46.34 kB / 450.2 MB, free: 29.16 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.3725, allocations: 486.5 kB / 450.7 MB, free: 28.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.3727, allocations: 258.1 kB / 450.9 MB, free: 28.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.311e-05/0.3728, allocations: 22.69 kB / 450.9 MB, free: 28.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3729, allocations: 382.4 kB / 451.3 MB, free: 28.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/0.3736, allocations: 328.7 kB / 451.6 MB, free: 28.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007307/0.3743, allocations: 0.5638 MB / 452.2 MB, free: 27.97 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.01547/0.3898, allocations: 2.822 MB / 455 MB, free: 27.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.102e-05/0.3898, allocations: 0 / 455 MB, free: 27.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00276/0.3926, allocations: 1.211 MB / 456.2 MB, free: 26.76 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.807e-05/0.3927, allocations: 90.11 kB / 456.3 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.3928, allocations: 9.719 kB / 456.3 MB, free: 26.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004661/0.3932, allocations: 87.12 kB / 456.4 MB, free: 26.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.3943, allocations: 257.6 kB / 456.7 MB, free: 26.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/0.3956, allocations: 1.481 MB / 458.2 MB, free: 25.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.3966, allocations: 120.6 kB / 458.3 MB, free: 25.13 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.3967, allocations: 50.05 kB / 458.3 MB, free: 25.12 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.0006258/0.3973, allocations: 374.8 kB / 458.7 MB, free: 24.8 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001258/0.3975, allocations: 80.14 kB / 458.8 MB, free: 24.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0024/0.3999, allocations: 1.27 MB / 460 MB, free: 24.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.866e-06/0.3999, allocations: 10.44 kB / 460 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3999, allocations: 4.844 kB / 460 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.3999, allocations: 6.75 kB / 460.1 MB, free: 24.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006086/0.406, allocations: 2.575 MB / 462.6 MB, free: 23.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.4061, allocations: 3.094 kB / 462.6 MB, free: 23.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.4066, allocations: 134.6 kB / 462.8 MB, free: 23.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007202/0.4073, allocations: 332.3 kB / 463.1 MB, free: 22.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.283e-05/0.4074, allocations: 37.42 kB / 463.1 MB, free: 22.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001119/0.4085, allocations: 0.9041 MB / 464 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.4086, allocations: 0 / 464 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0052/0.4138, allocations: 1.978 MB / 466 MB, free: 21.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004203/0.4142, allocations: 236.7 kB / 466.2 MB, free: 21.24 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.4143, allocations: 28.84 kB / 466.3 MB, free: 21.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/0.415, allocations: 57.77 kB / 466.3 MB, free: 21.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.4151, allocations: 61.62 kB / 466.4 MB, free: 21.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.277e-05/0.4152, allocations: 35.05 kB / 466.4 MB, free: 21.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004611/0.4156, allocations: 391.9 kB / 466.8 MB, free: 21.02 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4157, allocations: 0 / 466.8 MB, free: 21.02 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001165/0.4168, allocations: 346.3 kB / 467.1 MB, free: 20.92 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.0007672/0.4176, allocations: 362.4 kB / 467.5 MB, free: 20.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002056/0.4197, allocations: 1.157 MB / 468.6 MB, free: 20.18 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4197, allocations: 4.125 kB / 468.7 MB, free: 20.18 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009408/0.4206, allocations: 0.6566 MB / 469.3 MB, free: 19.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006212/0.4213, allocations: 124.9 kB / 469.4 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003483/0.4248, allocations: 2.218 MB / 471.6 MB, free: 18.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005739/0.4254, allocations: 1.035 MB / 472.7 MB, free: 17.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005814/0.4259, allocations: 124.5 kB / 472.8 MB, free: 17.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.4262, allocations: 89.86 kB / 472.9 MB, free: 17.64 MB / 350.1 MB Notification: Performance of SimCode: time 7.11e-07/0.4262, allocations: 0 / 472.9 MB, free: 17.64 MB / 350.1 MB Notification: Performance of Templates: time 0.02411/0.4503, allocations: 11.68 MB / 484.6 MB, free: 15.2 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe 2>&1) Environment - environmentSimulation: