Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0298/0.0298, allocations: 5.385 MB / 20.66 MB, free: 1.289 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.000732/0.0007321, allocations: 94.66 kB / 22.64 MB, free: 56 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.0008971/0.0008972, allocations: 184.8 kB / 24.75 MB, free: 1.777 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.327/1.327, allocations: 223.3 MB / 250 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008311/0.008311, allocations: 2.309 MB / 304.6 MB, free: 4.477 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005992/0.0005992, allocations: 16 kB / 368.9 MB, free: 11.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08975/0.09037, allocations: 52.21 MB / 421.1 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704): time 0.006673/0.09708, allocations: 6.256 MB / 427.4 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1658/0.2629, allocations: 3.057 MB / 430.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007351/0.2636, allocations: 18.72 kB / 430.4 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001133/0.2648, allocations: 423.9 kB / 430.9 MB, free: 34.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001803/0.2666, allocations: 0.7454 MB / 431.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001367/0.268, allocations: 487 kB / 432.1 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001208/0.2692, allocations: 1.285 MB / 433.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002039/0.2712, allocations: 1.406 MB / 434.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005462/0.2718, allocations: 454.8 kB / 435.2 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007739/0.2726, allocations: 0.6152 MB / 435.8 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.2728, allocations: 57.12 kB / 435.9 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006829/0.2735, allocations: 349.2 kB / 436.2 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001465/0.2736, allocations: 207.8 kB / 436.4 MB, free: 33.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004396/0.2741, allocations: 0.5573 MB / 437 MB, free: 33.41 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00124/0.2753, allocations: 1.625 MB / 438.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.2753, allocations: 0 / 438.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2753, allocations: 0 / 438.6 MB, free: 33.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.356e-05/0.2754, allocations: 0 / 438.6 MB, free: 33.18 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.003412/0.2788, allocations: 1.548 MB / 440.2 MB, free: 32.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.2788, allocations: 9.781 kB / 440.2 MB, free: 32.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001995/0.2808, allocations: 371.7 kB / 440.5 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001323/0.2822, allocations: 0.7641 MB / 441.3 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.629e-05/0.2822, allocations: 79.38 kB / 441.4 MB, free: 31.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001438/0.2824, allocations: 105.9 kB / 441.5 MB, free: 31.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/0.2843, allocations: 1.182 MB / 442.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.182e-05/0.2843, allocations: 4.75 kB / 442.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-05/0.2844, allocations: 46.75 kB / 442.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.2844, allocations: 25.66 kB / 442.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.2863, allocations: 1.041 MB / 443.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004955/0.2913, allocations: 4.418 MB / 448.2 MB, free: 29.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/0.2937, allocations: 1.773 MB / 450 MB, free: 28.4 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006583/0.2944, allocations: 369.8 kB / 450.3 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.2945, allocations: 176.8 kB / 450.5 MB, free: 28.06 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007954/0.2953, allocations: 0.5555 MB / 451.1 MB, free: 27.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.335e-06/0.2953, allocations: 0 / 451.1 MB, free: 27.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.005645/0.301, allocations: 1.76 MB / 452.8 MB, free: 27.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.844e-05/0.3011, allocations: 281.1 kB / 453.1 MB, free: 26.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005495/0.3016, allocations: 0.5532 MB / 453.6 MB, free: 26.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.3017, allocations: 44.08 kB / 453.7 MB, free: 26.48 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.3019, allocations: 490.3 kB / 454.2 MB, free: 26.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.3021, allocations: 258.6 kB / 454.4 MB, free: 25.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.3022, allocations: 96.91 kB / 454.5 MB, free: 25.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.143e-05/0.3023, allocations: 386.2 kB / 454.9 MB, free: 25.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006727/0.303, allocations: 324.3 kB / 455.2 MB, free: 25.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007543/0.3037, allocations: 0.5751 MB / 455.8 MB, free: 24.99 MB / 350.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.01728/0.321, allocations: 3.701 MB / 459.5 MB, free: 23.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/0.3211, allocations: 3.062 kB / 459.5 MB, free: 23.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002348/0.3234, allocations: 1.213 MB / 460.7 MB, free: 23.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.226e-05/0.3235, allocations: 92.88 kB / 460.8 MB, free: 23.03 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.3235, allocations: 6.062 kB / 460.8 MB, free: 23.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/0.3239, allocations: 91.34 kB / 460.9 MB, free: 23.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.325, allocations: 255.5 kB / 461.1 MB, free: 22.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.3261, allocations: 1.477 MB / 462.6 MB, free: 21.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008854/0.327, allocations: 119.8 kB / 462.7 MB, free: 21.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.919e-05/0.3271, allocations: 54.81 kB / 462.8 MB, free: 21.49 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.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.0004628/0.3276, allocations: 376.8 kB / 463.1 MB, free: 21.17 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.3277, allocations: 76.91 kB / 463.2 MB, free: 21.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002341/0.3301, allocations: 1.268 MB / 464.5 MB, free: 20.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.3301, allocations: 13.25 kB / 464.5 MB, free: 20.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.3301, allocations: 0 / 464.5 MB, free: 20.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.3301, allocations: 7.078 kB / 464.5 MB, free: 20.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006102/0.3362, allocations: 2.576 MB / 467.1 MB, free: 19.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/0.3363, allocations: 4.094 kB / 467.1 MB, free: 19.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005494/0.3368, allocations: 141.7 kB / 467.2 MB, free: 19.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007985/0.3376, allocations: 338.6 kB / 467.6 MB, free: 19.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.978e-05/0.3377, allocations: 38.53 kB / 467.6 MB, free: 19.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/0.3388, allocations: 0.8972 MB / 468.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3388, allocations: 3.75 kB / 468.5 MB, free: 18.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005513/0.3444, allocations: 1.956 MB / 470.5 MB, free: 17.83 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002912/0.3447, allocations: 238.2 kB / 470.7 MB, free: 17.65 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.3448, allocations: 31.69 kB / 470.7 MB, free: 17.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006823/0.3455, allocations: 59.2 kB / 470.8 MB, free: 17.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001232/0.3456, allocations: 68.52 kB / 470.8 MB, free: 17.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/0.3457, allocations: 36.09 kB / 470.9 MB, free: 17.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004436/0.3462, allocations: 396.4 kB / 471.3 MB, free: 17.42 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3462, allocations: 3.938 kB / 471.3 MB, free: 17.41 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009551/0.3471, allocations: 338.8 kB / 471.6 MB, free: 17.33 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 (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.0006645/0.3478, allocations: 349.8 kB / 471.9 MB, free: 17.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002017/0.3498, allocations: 1.158 MB / 473.1 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3498, allocations: 0.5 kB / 473.1 MB, free: 16.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009664/0.3508, allocations: 0.6643 MB / 473.8 MB, free: 16.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008474/0.3517, allocations: 137.9 kB / 473.9 MB, free: 16.17 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.3547, allocations: 2.349 MB / 476.2 MB, free: 14.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.3552, allocations: 1.013 MB / 477.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000536/0.3557, allocations: 128.7 kB / 477.4 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002493/0.356, allocations: 85.34 kB / 477.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.356, allocations: 0 / 477.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Templates: time 0.02117/0.3772, allocations: 12.02 MB / 489.5 MB, free: 11.23 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160704.pipe 2>&1) Environment - environmentSimulation: