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/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.163/1.163, allocations: 222.9 MB / 239.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009374/0.0009374, allocations: 109 kB / 289.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02391/0.02391, allocations: 5.393 MB / 345.4 MB, free: 3.531 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007942/0.007942, allocations: 2.313 MB / 399 MB, free: 68.86 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 80.25 kB / 462.4 MB, free: 5.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1852, allocations: 51.21 MB / 0.5016 GB, free: 40.44 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629): time 0.005802/0.191, allocations: 6.734 MB / 0.5082 GB, free: 34.53 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.00367/0.1947, allocations: 3.123 MB / 0.5112 GB, free: 31.39 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004011/0.1951, allocations: 19.94 kB / 0.5112 GB, free: 31.38 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.1969, allocations: 1.029 MB / 0.5122 GB, free: 30.34 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.1981, allocations: 0.7654 MB / 0.513 GB, free: 29.58 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001207/0.1994, allocations: 498 kB / 0.5134 GB, free: 29.1 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007401/0.2001, allocations: 1.297 MB / 0.5147 GB, free: 27.8 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009213/0.201, allocations: 0.8591 MB / 0.5156 GB, free: 26.91 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.2014, allocations: 0.5097 MB / 0.5161 GB, free: 26.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005007/0.2019, allocations: 0.673 MB / 0.5167 GB, free: 25.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001094/0.202, allocations: 84 kB / 0.5168 GB, free: 25.64 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005115/0.2025, allocations: 371.6 kB / 0.5171 GB, free: 25.28 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.2027, allocations: 235 kB / 0.5174 GB, free: 25.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003272/0.203, allocations: 0.579 MB / 0.5179 GB, free: 24.46 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009568/0.204, allocations: 1.674 MB / 0.5196 GB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.204, allocations: 0 / 0.5196 GB, free: 22.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.204, allocations: 4 kB / 0.5196 GB, free: 22.78 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.204, allocations: 0 / 0.5196 GB, free: 22.78 MB / 314.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.003254/0.2073, allocations: 1.767 MB / 0.5213 GB, free: 20.94 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.2073, allocations: 12.81 kB / 0.5213 GB, free: 20.93 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001776/0.2091, allocations: 367.3 kB / 0.5217 GB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.2103, allocations: 0.76 MB / 0.5224 GB, free: 19.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.2104, allocations: 82.06 kB / 0.5225 GB, free: 19.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.2105, allocations: 111.9 kB / 0.5226 GB, free: 19.57 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.2121, allocations: 1.168 MB / 0.5237 GB, free: 18.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/0.2121, allocations: 7.938 kB / 0.5237 GB, free: 18.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.407e-05/0.2122, allocations: 48 kB / 0.5238 GB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.2122, allocations: 24 kB / 0.5238 GB, free: 18.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.214, allocations: 1.038 MB / 0.5248 GB, free: 17.23 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/0.2185, allocations: 4.404 MB / 0.5291 GB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002254/0.2207, allocations: 1.768 MB / 0.5308 GB, free: 10.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006056/0.2213, allocations: 365.1 kB / 0.5312 GB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.2215, allocations: 170.8 kB / 0.5314 GB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007422/0.2222, allocations: 0.5552 MB / 0.5319 GB, free: 9.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 2.164e-06/0.2222, allocations: 0 / 0.5319 GB, free: 9.488 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.005171/0.2274, allocations: 1.705 MB / 0.5336 GB, free: 7.734 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.785e-05/0.2275, allocations: 285.7 kB / 0.5338 GB, free: 7.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004809/0.228, allocations: 0.5574 MB / 0.5344 GB, free: 6.828 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.228, allocations: 41.7 kB / 0.5344 GB, free: 6.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002015/0.2282, allocations: 490.6 kB / 0.5349 GB, free: 6.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/0.2283, allocations: 248.5 kB / 0.5351 GB, free: 6.047 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002422/0.2286, allocations: 218.6 kB / 0.5353 GB, free: 5.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.2287, allocations: 386.8 kB / 0.5357 GB, free: 5.438 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006213/0.2293, allocations: 326.4 kB / 0.536 GB, free: 5.121 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.23, allocations: 0.5638 MB / 0.5366 GB, free: 4.461 MB / 314.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.01512/0.2451, allocations: 3.631 MB / 0.5401 GB, free: 0.6602 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.624e-06/0.2452, allocations: 4 kB / 0.5401 GB, free: 0.6562 MB / 314.7 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002231/0.2474, allocations: 1.209 MB / 0.5413 GB, free: 15.41 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.032e-05/0.2475, allocations: 93.09 kB / 0.5414 GB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.2475, allocations: 8 kB / 0.5414 GB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004124/0.2479, allocations: 81.03 kB / 0.5415 GB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/0.249, allocations: 259.5 kB / 0.5417 GB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.2503, allocations: 1.471 MB / 0.5432 GB, free: 13.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008131/0.2511, allocations: 119.1 kB / 0.5433 GB, free: 13.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.948e-05/0.2512, allocations: 51.97 kB / 0.5433 GB, free: 13.19 MB / 330.7 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.0004841/0.2517, allocations: 371.8 kB / 0.5437 GB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.2518, allocations: 79.2 kB / 0.5437 GB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.2542, allocations: 1.261 MB / 0.545 GB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2543, allocations: 11.94 kB / 0.545 GB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.2543, allocations: 0 / 0.545 GB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.195e-06/0.2543, allocations: 3.984 kB / 0.545 GB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005931/0.2602, allocations: 2.551 MB / 0.5475 GB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2602, allocations: 3.938 kB / 0.5475 GB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005371/0.2608, allocations: 131.8 kB / 0.5476 GB, free: 8.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007244/0.2615, allocations: 338.2 kB / 0.5479 GB, free: 8.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.394e-05/0.2616, allocations: 35.95 kB / 0.548 GB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.2627, allocations: 0.8896 MB / 0.5488 GB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.2628, allocations: 4.031 kB / 0.5488 GB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01993/0.2827, allocations: 8.239 MB / 0.5569 GB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003466/0.2831, allocations: 235.9 kB / 0.5571 GB, free: 14.62 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.2832, allocations: 24.09 kB / 0.5571 GB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006399/0.2839, allocations: 59.84 kB / 0.5572 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001332/0.284, allocations: 68.48 kB / 0.5573 GB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.2841, allocations: 35.97 kB / 0.5573 GB, free: 14.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004333/0.2845, allocations: 390.8 kB / 0.5577 GB, free: 14.06 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2845, allocations: 0 / 0.5577 GB, free: 14.06 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001194/0.2857, allocations: 459 kB / 0.5581 GB, free: 13.61 MB / 346.7 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.0006742/0.2864, allocations: 352 kB / 0.5584 GB, free: 13.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002172/0.2886, allocations: 1.154 MB / 0.5596 GB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2886, allocations: 448 / 0.5596 GB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.2897, allocations: 0.6659 MB / 0.5602 GB, free: 11.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000749/0.2904, allocations: 141.1 kB / 0.5604 GB, free: 11.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003828/0.2943, allocations: 2.905 MB / 0.5632 GB, free: 8.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.2948, allocations: 1.035 MB / 0.5642 GB, free: 7.254 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006541/0.2955, allocations: 146.4 kB / 0.5643 GB, free: 7.105 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003221/0.2958, allocations: 103.3 kB / 0.5644 GB, free: 7.004 MB / 346.7 MB Notification: Performance of SimCode: time 3.31e-07/0.2958, allocations: 0 / 0.5644 GB, free: 7.004 MB / 346.7 MB Notification: Performance of Templates: time 0.02364/0.3195, allocations: 15.79 MB / 0.5799 GB, free: 7.281 MB / 362.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629.makefile (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)