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.001295/0.001295, allocations: 176.2 kB / 7.643 MB, free: 1.414 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.395/1.395, allocations: 221.5 MB / 229.6 MB, free: 7.609 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.000885/0.0008846, allocations: 88.31 kB / 280.5 MB, free: 5.344 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02334/0.02334, allocations: 5.281 MB / 336.5 MB, free: 9.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00906/0.00906, allocations: 2.295 MB / 390.8 MB, free: 3.562 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 2.123e-05/2.132e-05, allocations: 0 / 450 MB, free: 48.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3139/0.314, allocations: 52.19 MB / 0.4904 GB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.438, allocations: 95.64 MB / 0.5838 GB, free: 1.117 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/0.4382, allocations: 71.97 kB / 0.5839 GB, free: 1.047 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0926/0.5309, allocations: 35.42 MB / 0.6185 GB, free: 13.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.5309, allocations: 0 / 0.6185 GB, free: 13.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.913e-05/0.5309, allocations: 16 kB / 0.6185 GB, free: 13.28 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.002827/0.5338, allocations: 1.326 MB / 0.6198 GB, free: 11.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.5338, allocations: 8.031 kB / 0.6198 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001432/0.5353, allocations: 298.3 kB / 0.6201 GB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/0.5361, allocations: 0.5959 MB / 0.6207 GB, free: 10.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.379e-05/0.5362, allocations: 40 kB / 0.6207 GB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001393/0.5363, allocations: 64 kB / 0.6208 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001568/0.5379, allocations: 0.9412 MB / 0.6217 GB, free: 9.902 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.5395, allocations: 0.9647 MB / 0.6226 GB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.5395, allocations: 7.984 kB / 0.6226 GB, free: 8.875 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.291e-05/0.5396, allocations: 4 kB / 0.6226 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.467e-05/0.5397, allocations: 24 kB / 0.6227 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006501/0.5462, allocations: 4.351 MB / 0.6269 GB, free: 4.309 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002191/0.5484, allocations: 1.757 MB / 0.6286 GB, free: 2.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000438/0.5488, allocations: 312.2 kB / 0.6289 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001534/0.549, allocations: 178.8 kB / 0.6291 GB, free: 1.789 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006383/0.5497, allocations: 0.5057 MB / 0.6296 GB, free: 1.238 MB / 410.7 MB Notification: Performance of pre-optimization done (n=80): time 2.485e-06/0.5497, allocations: 0 / 0.6296 GB, free: 1.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=80): time 0.003888/0.5536, allocations: 1.096 MB / 0.6307 GB, free: 132 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.5537, allocations: 307.5 kB / 0.631 GB, free: 15.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005909/0.5543, allocations: 0.4903 MB / 0.6314 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.205e-05/0.5544, allocations: 33.73 kB / 0.6315 GB, free: 15.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.5547, allocations: 494.6 kB / 0.6319 GB, free: 14.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.5549, allocations: 248.4 kB / 0.6322 GB, free: 14.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.555, allocations: 0 / 0.6322 GB, free: 14.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.5551, allocations: 378.8 kB / 0.6325 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004661/0.5556, allocations: 278.6 kB / 0.6328 GB, free: 13.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.5562, allocations: 0.5198 MB / 0.6333 GB, free: 13.22 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.01238/0.5686, allocations: 2.512 MB / 0.6358 GB, free: 10.68 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.076e-05/0.5686, allocations: 4 kB / 0.6358 GB, free: 10.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002362/0.571, allocations: 1.094 MB / 0.6368 GB, free: 9.578 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.431e-05/0.5711, allocations: 90.36 kB / 0.6369 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.5711, allocations: 8 kB / 0.6369 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.5716, allocations: 93 kB / 0.637 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001023/0.5726, allocations: 255.5 kB / 0.6373 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.5741, allocations: 1.502 MB / 0.6387 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008231/0.5749, allocations: 91.11 kB / 0.6388 GB, free: 7.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-05/0.575, allocations: 55.95 kB / 0.6389 GB, free: 7.355 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.0003/0.5753, allocations: 252.9 kB / 0.6391 GB, free: 7.082 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.5755, allocations: 75.16 kB / 0.6392 GB, free: 7.008 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004141/0.5796, allocations: 1.348 MB / 0.6405 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.5796, allocations: 11.94 kB / 0.6405 GB, free: 5.629 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5797, allocations: 4 kB / 0.6405 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.5797, allocations: 7.922 kB / 0.6405 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.5829, allocations: 2.118 MB / 0.6426 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.5829, allocations: 0 / 0.6426 GB, free: 3.441 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.5835, allocations: 135.8 kB / 0.6427 GB, free: 3.309 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002151/0.5857, allocations: 0.5372 MB / 0.6432 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/0.5858, allocations: 23.97 kB / 0.6433 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000808/0.5866, allocations: 0.8567 MB / 0.6441 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5866, allocations: 0 / 0.6441 GB, free: 1.855 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002541/0.5892, allocations: 1.455 MB / 0.6455 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005155/0.5897, allocations: 255.8 kB / 0.6458 GB, free: 96 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001477/0.5899, allocations: 16 kB / 0.6458 GB, free: 80 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005859/0.5905, allocations: 35.97 kB / 0.6458 GB, free: 44 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2301/0.8206, allocations: 52.41 kB / 0.6459 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002758/0.8209, allocations: 37.22 kB / 0.6459 GB, free: 113.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006833/0.8216, allocations: 383.5 kB / 0.6463 GB, free: 113.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.8216, allocations: 0 / 0.6463 GB, free: 113.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001465/0.8231, allocations: 352.5 kB / 0.6466 GB, free: 113.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 (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) * 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.0009118/0.824, allocations: 414.4 kB / 0.647 GB, free: 113.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001729/0.8258, allocations: 1.032 MB / 0.648 GB, free: 113.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.8258, allocations: 3 kB / 0.648 GB, free: 113.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007639/0.8266, allocations: 0.6175 MB / 0.6486 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007206/0.8273, allocations: 89.67 kB / 0.6487 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002413/0.8297, allocations: 1.235 MB / 0.6499 GB, free: 112.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.8303, allocations: 1.036 MB / 0.6509 GB, free: 112 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000536/0.8308, allocations: 115.5 kB / 0.651 GB, free: 112 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002529/0.8311, allocations: 82.14 kB / 0.6511 GB, free: 112 MB / 426.7 MB Notification: Performance of SimCode: time 6.62e-07/0.8311, allocations: 0 / 0.6511 GB, free: 112 MB / 426.7 MB Notification: Performance of Templates: time 0.02472/0.8558, allocations: 11.54 MB / 0.6624 GB, free: 111.3 MB / 426.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)