Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02888/0.02888, allocations: 5.384 MB / 20.66 MB, free: 1.66 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.0007365/0.0007368, allocations: 98.72 kB / 22.65 MB, free: 432 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.0009747/0.0009747, allocations: 176.5 kB / 24.74 MB, free: 1.832 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.286/1.286, allocations: 223.3 MB / 250 MB, free: 15.38 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008314/0.008314, allocations: 2.317 MB / 304.6 MB, free: 3.793 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003676, allocations: 12 kB / 368.9 MB, free: 11.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08131/0.08169, allocations: 52.2 MB / 421.1 MB, free: 7.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808): time 0.006321/0.08805, allocations: 6.26 MB / 427.4 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1632/0.2513, allocations: 3.061 MB / 430.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006349/0.2519, allocations: 17.31 kB / 430.4 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.253, allocations: 415.1 kB / 430.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00162/0.2546, allocations: 0.7491 MB / 431.6 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.2559, allocations: 481.9 kB / 432.1 MB, free: 35.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009289/0.2568, allocations: 1.297 MB / 433.4 MB, free: 35.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001847/0.2587, allocations: 1.404 MB / 434.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005149/0.2592, allocations: 460 kB / 435.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.2598, allocations: 0.6116 MB / 435.8 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001041/0.26, allocations: 60.34 kB / 435.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007143/0.2607, allocations: 339.5 kB / 436.2 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001544/0.2608, allocations: 206.2 kB / 436.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003867/0.2612, allocations: 0.5546 MB / 437 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.2625, allocations: 1.629 MB / 438.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2625, allocations: 0 / 438.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2625, allocations: 4 kB / 438.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.2625, allocations: 0 / 438.6 MB, free: 33.98 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.003437/0.266, allocations: 1.544 MB / 440.1 MB, free: 33.14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.266, allocations: 9.719 kB / 440.2 MB, free: 33.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002014/0.268, allocations: 376.3 kB / 440.5 MB, free: 33.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.2695, allocations: 0.7572 MB / 441.3 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.692e-05/0.2696, allocations: 89.19 kB / 441.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.2697, allocations: 106.3 kB / 441.5 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.2717, allocations: 1.176 MB / 442.6 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.2717, allocations: 0.8438 kB / 442.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.968e-05/0.2718, allocations: 45.62 kB / 442.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.2718, allocations: 26.16 kB / 442.7 MB, free: 32.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.2738, allocations: 1.049 MB / 443.8 MB, free: 32.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005213/0.279, allocations: 4.417 MB / 448.2 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.2814, allocations: 1.783 MB / 450 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006569/0.2821, allocations: 356.7 kB / 450.3 MB, free: 28.53 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001092/0.2822, allocations: 182 kB / 450.5 MB, free: 28.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000819/0.283, allocations: 0.5561 MB / 451.1 MB, free: 28.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.555e-06/0.2831, allocations: 3.984 kB / 451.1 MB, free: 28.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.005432/0.2885, allocations: 1.757 MB / 452.8 MB, free: 27.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.2886, allocations: 284.5 kB / 453.1 MB, free: 27.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005453/0.2891, allocations: 0.5558 MB / 453.6 MB, free: 26.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.169e-05/0.2892, allocations: 43.92 kB / 453.7 MB, free: 26.75 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/0.2894, allocations: 488.4 kB / 454.2 MB, free: 26.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.2896, allocations: 264 kB / 454.4 MB, free: 26.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2897, allocations: 88.33 kB / 454.5 MB, free: 26.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.636e-05/0.2898, allocations: 382.6 kB / 454.9 MB, free: 25.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/0.2904, allocations: 334.2 kB / 455.2 MB, free: 25.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.2912, allocations: 0.562 MB / 455.8 MB, free: 25.27 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.01665/0.3078, allocations: 3.698 MB / 459.5 MB, free: 23.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.3078, allocations: 7.312 kB / 459.5 MB, free: 23.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002249/0.3101, allocations: 1.213 MB / 460.7 MB, free: 23.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.811e-05/0.3102, allocations: 86.8 kB / 460.8 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.3102, allocations: 12.38 kB / 460.8 MB, free: 23.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004306/0.3106, allocations: 94.12 kB / 460.9 MB, free: 23.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009969/0.3116, allocations: 258.5 kB / 461.1 MB, free: 23.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.3127, allocations: 1.472 MB / 462.6 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008451/0.3135, allocations: 124.2 kB / 462.7 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.197e-05/0.3136, allocations: 52.02 kB / 462.8 MB, free: 21.76 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.000454/0.3141, allocations: 368.2 kB / 463.1 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.3142, allocations: 74.84 kB / 463.2 MB, free: 21.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002249/0.3165, allocations: 1.274 MB / 464.5 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.857e-06/0.3165, allocations: 8.75 kB / 464.5 MB, free: 20.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.3165, allocations: 3.938 kB / 464.5 MB, free: 20.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.3165, allocations: 6.25 kB / 464.5 MB, free: 20.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/0.3225, allocations: 2.584 MB / 467.1 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3225, allocations: 0 / 467.1 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005466/0.3231, allocations: 130.3 kB / 467.2 MB, free: 19.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006992/0.3238, allocations: 346.7 kB / 467.5 MB, free: 19.6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.438e-05/0.3238, allocations: 35.34 kB / 467.6 MB, free: 19.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.3249, allocations: 0.9026 MB / 468.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3249, allocations: 0 / 468.5 MB, free: 18.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005254/0.3302, allocations: 1.959 MB / 470.4 MB, free: 18.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.3305, allocations: 239 kB / 470.7 MB, free: 17.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.3307, allocations: 26.09 kB / 470.7 MB, free: 17.9 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006262/0.3313, allocations: 58.97 kB / 470.8 MB, free: 17.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3314, allocations: 62.58 kB / 470.8 MB, free: 17.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.548e-05/0.3315, allocations: 37.98 kB / 470.9 MB, free: 17.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004613/0.332, allocations: 395.4 kB / 471.2 MB, free: 17.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.332, allocations: 3.938 kB / 471.3 MB, free: 17.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001011/0.333, allocations: 342.5 kB / 471.6 MB, free: 17.59 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.0006452/0.3336, allocations: 349.2 kB / 471.9 MB, free: 17.44 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001937/0.3356, allocations: 1.158 MB / 473.1 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3356, allocations: 0 / 473.1 MB, free: 16.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009504/0.3366, allocations: 0.6704 MB / 473.8 MB, free: 16.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008473/0.3374, allocations: 145.5 kB / 473.9 MB, free: 16.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.3404, allocations: 2.339 MB / 476.2 MB, free: 14.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004147/0.3408, allocations: 1.017 MB / 477.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000569/0.3414, allocations: 126.6 kB / 477.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.3417, allocations: 85.27 kB / 477.5 MB, free: 14.21 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.3417, allocations: 4 kB / 477.5 MB, free: 14.2 MB / 350.1 MB Notification: Performance of Templates: time 0.02043/0.3621, allocations: 12.02 MB / 489.5 MB, free: 11.35 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Analytical_20160808.pipe 2>&1) Environment - environmentSimulation: