Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_2016,tolerance=1e-06,outputFormat="empty",numberOfIntervals=70080,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008999/0.0009, allocations: 173.2 kB / 7.644 MB, free: 1.41 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.365/1.365, allocations: 221.5 MB / 229.6 MB, free: 7.52 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000919/0.0009188, allocations: 88.72 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03298/0.03298, allocations: 5.291 MB / 336.5 MB, free: 9.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01188/0.01188, allocations: 2.286 MB / 390.8 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.104e-05/2.102e-05, allocations: 4 kB / 451.9 MB, free: 47 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2841, allocations: 52.2 MB / 0.4923 GB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.4168, allocations: 95.65 MB / 0.5857 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.417, allocations: 67.97 kB / 0.5858 GB, free: 0.7461 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09207/0.5091, allocations: 35.41 MB / 0.6204 GB, free: 13.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5091, allocations: 0 / 0.6204 GB, free: 13.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.775e-05/0.5092, allocations: 24 kB / 0.6204 GB, free: 12.98 MB / 410.7 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.002746/0.5119, allocations: 1.326 MB / 0.6217 GB, free: 11.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.512, allocations: 12.03 kB / 0.6217 GB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.5135, allocations: 298.3 kB / 0.622 GB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008398/0.5144, allocations: 0.592 MB / 0.6226 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.5144, allocations: 36 kB / 0.6226 GB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.5146, allocations: 68 kB / 0.6227 GB, free: 10.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001656/0.5162, allocations: 0.9412 MB / 0.6236 GB, free: 9.605 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.5178, allocations: 0.9569 MB / 0.6245 GB, free: 8.594 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.5179, allocations: 8 kB / 0.6245 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.404e-05/0.518, allocations: 0 / 0.6245 GB, free: 8.586 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.518, allocations: 28 kB / 0.6246 GB, free: 8.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006376/0.5244, allocations: 4.363 MB / 0.6288 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002245/0.5267, allocations: 1.754 MB / 0.6305 GB, free: 2.012 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004691/0.5271, allocations: 308.2 kB / 0.6308 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.5273, allocations: 174.8 kB / 0.631 GB, free: 1.5 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006612/0.528, allocations: 0.5135 MB / 0.6315 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.475e-06/0.528, allocations: 0 / 0.6315 GB, free: 0.9414 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.00404/0.532, allocations: 1.092 MB / 0.6326 GB, free: 15.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.5322, allocations: 311.5 kB / 0.6328 GB, free: 15.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006535/0.5328, allocations: 498.1 kB / 0.6333 GB, free: 14.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.5329, allocations: 29.7 kB / 0.6334 GB, free: 14.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003339/0.5333, allocations: 494.6 kB / 0.6338 GB, free: 14.45 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.5335, allocations: 252.4 kB / 0.6341 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/0.5335, allocations: 0 / 0.6341 GB, free: 14.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.5337, allocations: 378.8 kB / 0.6344 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004543/0.5342, allocations: 282.5 kB / 0.6347 GB, free: 13.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000586/0.5347, allocations: 0.5121 MB / 0.6352 GB, free: 12.93 MB / 426.7 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.01314/0.5479, allocations: 2.516 MB / 0.6377 GB, free: 10.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-05/0.5479, allocations: 4 kB / 0.6377 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002772/0.5507, allocations: 1.09 MB / 0.6387 GB, free: 9.289 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/0.5508, allocations: 93.09 kB / 0.6388 GB, free: 9.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.5508, allocations: 8 kB / 0.6388 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005902/0.5514, allocations: 93 kB / 0.6389 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001314/0.5528, allocations: 255.5 kB / 0.6391 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/0.5543, allocations: 1.51 MB / 0.6406 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008784/0.5552, allocations: 87.09 kB / 0.6407 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.305e-05/0.5553, allocations: 52.06 kB / 0.6408 GB, free: 7.062 MB / 426.7 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: 33 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * 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.0003311/0.5557, allocations: 254.3 kB / 0.641 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.5558, allocations: 71.16 kB / 0.6411 GB, free: 6.719 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004319/0.5602, allocations: 1.352 MB / 0.6424 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.5602, allocations: 11.98 kB / 0.6424 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.5602, allocations: 0 / 0.6424 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.5602, allocations: 11.92 kB / 0.6424 GB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003389/0.5636, allocations: 2.118 MB / 0.6445 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.5636, allocations: 0 / 0.6445 GB, free: 3.148 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005956/0.5642, allocations: 131.8 kB / 0.6446 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00232/0.5666, allocations: 0.5411 MB / 0.6451 GB, free: 2.469 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.5667, allocations: 19.97 kB / 0.6452 GB, free: 2.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008326/0.5675, allocations: 0.8606 MB / 0.646 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.5675, allocations: 0 / 0.646 GB, free: 1.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002385/0.5699, allocations: 1.459 MB / 0.6474 GB, free: 68 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2458/0.8157, allocations: 247.2 kB / 0.6477 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/0.8161, allocations: 11.12 kB / 0.6477 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009728/0.8171, allocations: 41.59 kB / 0.6477 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002302/0.8174, allocations: 57.72 kB / 0.6478 GB, free: 114.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/0.8175, allocations: 41.16 kB / 0.6478 GB, free: 114.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006922/0.8182, allocations: 378.6 kB / 0.6482 GB, free: 114.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.8182, allocations: 0 / 0.6482 GB, free: 114.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001629/0.8199, allocations: 355.2 kB / 0.6485 GB, free: 114.7 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * 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 (writeCSV.firstTrigger,$whenCondition4,writeCSV.sampleTrigger,irradiance.daysOfYear,irradiance.year,irradiance.startDayOfYear,$whenCondition3,irradiance.dayOfYear,$whenCondition2,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001069/0.8209, allocations: 404.4 kB / 0.6489 GB, free: 114.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.8231, allocations: 1.031 MB / 0.6499 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.8231, allocations: 1.125 kB / 0.6499 GB, free: 114.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001116/0.8242, allocations: 0.6143 MB / 0.6505 GB, free: 114.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001027/0.8252, allocations: 97 kB / 0.6506 GB, free: 114.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00331/0.8286, allocations: 1.238 MB / 0.6518 GB, free: 113.8 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009524/0.8295, allocations: 1.036 MB / 0.6528 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006982/0.8302, allocations: 110.8 kB / 0.6529 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003301/0.8306, allocations: 83.67 kB / 0.653 GB, free: 113 MB / 426.7 MB Notification: Performance of SimCode: time 8.62e-07/0.8306, allocations: 3.5 kB / 0.653 GB, free: 113 MB / 426.7 MB Notification: Performance of Templates: time 0.02581/0.8564, allocations: 11.55 MB / 0.6643 GB, free: 112.4 MB / 426.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_2016.pipe 2>&1)