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/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_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/PhotoVoltaics 2.0.0/package.mo): time 0.03771/0.03771, allocations: 5.397 MB / 21.28 MB, free: 1.777 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.001241/0.001241, allocations: 114.4 kB / 23.27 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001693/0.001693, allocations: 192.6 kB / 25.37 MB, free: 0.5586 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.381/1.381, allocations: 222.9 MB / 250.2 MB, free: 6.977 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009498/0.009498, allocations: 2.318 MB / 303.8 MB, free: 6.492 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 91.84 kB / 367.3 MB, free: 7.043 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2079/0.2096, allocations: 51.23 MB / 418.5 MB, free: 26.56 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160629): time 0.006157/0.2158, allocations: 6.736 MB / 425.2 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004364/0.2202, allocations: 3.084 MB / 428.3 MB, free: 16.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008769/0.2211, allocations: 23.94 kB / 428.3 MB, free: 16.68 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.2234, allocations: 1.019 MB / 429.4 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.2252, allocations: 0.7573 MB / 430.1 MB, free: 14.9 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.2268, allocations: 487.2 kB / 430.6 MB, free: 14.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001409/0.2282, allocations: 1.375 MB / 432 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001396/0.2296, allocations: 1.103 MB / 433.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006646/0.2303, allocations: 0.5643 MB / 433.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005708/0.2309, allocations: 0.7121 MB / 434.3 MB, free: 10.63 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001328/0.231, allocations: 144 kB / 434.5 MB, free: 10.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.2317, allocations: 431.6 kB / 434.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001405/0.2318, allocations: 295 kB / 435.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000386/0.2322, allocations: 0.6337 MB / 435.8 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.2333, allocations: 1.345 MB / 437.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2333, allocations: 4 kB / 437.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2333, allocations: 0 / 437.2 MB, free: 7.793 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.388e-05/0.2333, allocations: 0 / 437.2 MB, free: 7.793 MB / 302.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.003604/0.2369, allocations: 1.763 MB / 438.9 MB, free: 5.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.237, allocations: 12.02 kB / 438.9 MB, free: 5.945 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.239, allocations: 367.3 kB / 439.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.2404, allocations: 0.7599 MB / 440.1 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.2404, allocations: 78.06 kB / 440.1 MB, free: 4.703 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001367/0.2406, allocations: 111.9 kB / 440.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/0.2423, allocations: 1.176 MB / 441.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/0.2424, allocations: 0 / 441.4 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.2425, allocations: 47.98 kB / 441.5 MB, free: 3.312 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.2425, allocations: 28 kB / 441.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001796/0.2443, allocations: 1.034 MB / 442.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005575/0.2499, allocations: 4.404 MB / 446.9 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/0.2527, allocations: 1.777 MB / 448.7 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007587/0.2535, allocations: 363.4 kB / 449.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001641/0.2537, allocations: 174.8 kB / 449.2 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009464/0.2546, allocations: 0.5475 MB / 449.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=79): time 2.886e-06/0.2546, allocations: 0 / 449.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=79): time 0.006105/0.2608, allocations: 1.705 MB / 451.5 MB, free: 8.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.2609, allocations: 285.7 kB / 451.8 MB, free: 8.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006948/0.2616, allocations: 0.5535 MB / 452.3 MB, free: 7.848 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.2617, allocations: 45.7 kB / 452.4 MB, free: 7.797 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.262, allocations: 490.6 kB / 452.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001984/0.2622, allocations: 260.4 kB / 453.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002929/0.2625, allocations: 214.7 kB / 453.3 MB, free: 6.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.2627, allocations: 382.8 kB / 453.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/0.2634, allocations: 322.4 kB / 454 MB, free: 6.137 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008458/0.2642, allocations: 0.5716 MB / 454.6 MB, free: 5.469 MB / 318.1 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.01796/0.2822, allocations: 3.631 MB / 458.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.2823, allocations: 4 kB / 458.2 MB, free: 1.668 MB / 318.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002531/0.2848, allocations: 1.209 MB / 459.4 MB, free: 436 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.844e-05/0.2849, allocations: 97.05 kB / 459.5 MB, free: 320 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.2849, allocations: 8 kB / 459.5 MB, free: 312 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.2854, allocations: 85.03 kB / 459.6 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.2865, allocations: 247.7 kB / 459.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.288, allocations: 1.589 MB / 461.4 MB, free: 14.24 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009632/0.289, allocations: 115.1 kB / 461.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-05/0.2891, allocations: 51.97 kB / 461.6 MB, free: 14.08 MB / 334.1 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.0005524/0.2897, allocations: 369.3 kB / 462 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.2898, allocations: 79.06 kB / 462 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002508/0.2923, allocations: 1.269 MB / 463.3 MB, free: 12.31 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.2924, allocations: 8 kB / 463.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2924, allocations: 0 / 463.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.2924, allocations: 3.984 kB / 463.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006446/0.2988, allocations: 2.555 MB / 465.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.2989, allocations: 0 / 465.9 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006086/0.2995, allocations: 135.8 kB / 466 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008058/0.3003, allocations: 330.3 kB / 466.3 MB, free: 9.191 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.99e-05/0.3004, allocations: 35.97 kB / 466.4 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.3017, allocations: 0.8818 MB / 467.2 MB, free: 8.242 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3017, allocations: 4.031 kB / 467.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00587/0.3076, allocations: 1.927 MB / 469.2 MB, free: 6.266 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004385/0.3081, allocations: 239.8 kB / 469.4 MB, free: 6.012 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/0.3082, allocations: 24 kB / 469.4 MB, free: 5.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006778/0.3089, allocations: 51.95 kB / 469.5 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.3091, allocations: 60.58 kB / 469.5 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.645e-05/0.3092, allocations: 35.97 kB / 469.6 MB, free: 5.844 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0004684/0.3096, allocations: 394.8 kB / 470 MB, free: 5.461 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3096, allocations: 0 / 470 MB, free: 5.461 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009897/0.3106, allocations: 347 kB / 470.3 MB, free: 5.121 MB / 334.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 (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.0007105/0.3114, allocations: 362.1 kB / 470.7 MB, free: 4.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002594/0.314, allocations: 1.188 MB / 471.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.314, allocations: 0 / 471.8 MB, free: 3.59 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001025/0.315, allocations: 0.6597 MB / 472.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007762/0.3158, allocations: 146.1 kB / 472.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/0.3192, allocations: 2.294 MB / 474.9 MB, free: 436 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005285/0.3197, allocations: 1.014 MB / 476 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002833/0.32, allocations: 91.38 kB / 476 MB, free: 15.29 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.32, allocations: 0 / 476 MB, free: 15.29 MB / 350.1 MB Notification: Performance of Templates: time 0.02213/0.3422, allocations: 17.19 MB / 493.2 MB, free: 14.11 MB / 366.1 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)