Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02765/0.02765, allocations: 5.383 MB / 20.34 MB, free: 1.844 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.0007485/0.0007484, allocations: 109.8 kB / 22.31 MB, free: 0.6094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009902/0.0009902, allocations: 184.4 kB / 24.39 MB, free: 1.852 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.329/1.329, allocations: 223.2 MB / 249.5 MB, free: 15.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00824/0.00824, allocations: 2.32 MB / 304.1 MB, free: 3.805 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 15.94 kB / 368.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.103, allocations: 52.2 MB / 420.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629): time 0.006223/0.1092, allocations: 5.561 MB / 425.9 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2175/0.3268, allocations: 2.877 MB / 428.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009168/0.3277, allocations: 18.91 kB / 428.8 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009495/0.3287, allocations: 340.2 kB / 429.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.3305, allocations: 0.7285 MB / 429.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.3316, allocations: 408.2 kB / 430.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.3328, allocations: 0.8566 MB / 431.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001867/0.3347, allocations: 1.221 MB / 432.3 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.3353, allocations: 442.4 kB / 432.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006831/0.336, allocations: 0.5713 MB / 433.3 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.3361, allocations: 57.66 kB / 433.4 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007226/0.3369, allocations: 299.5 kB / 433.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.337, allocations: 199.2 kB / 433.9 MB, free: 34.45 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000211/0.3373, allocations: 231.8 kB / 434.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.3383, allocations: 1.273 MB / 435.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3384, allocations: 0 / 435.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3384, allocations: 0 / 435.4 MB, free: 34.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.251e-05/0.3384, allocations: 0 / 435.4 MB, free: 34.3 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.003503/0.3419, allocations: 1.558 MB / 436.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.3419, allocations: 6.688 kB / 436.9 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/0.3439, allocations: 370.3 kB / 437.3 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001458/0.3454, allocations: 0.748 MB / 438 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.972e-05/0.3454, allocations: 80.91 kB / 438.1 MB, free: 33.06 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.3456, allocations: 112.5 kB / 438.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002064/0.3477, allocations: 1.159 MB / 439.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.619e-05/0.3477, allocations: 0 / 439.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001006/0.3478, allocations: 50.16 kB / 439.4 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.3478, allocations: 26.38 kB / 439.5 MB, free: 32.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001887/0.3497, allocations: 1.032 MB / 440.5 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/0.3552, allocations: 4.415 MB / 444.9 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.3576, allocations: 1.781 MB / 446.7 MB, free: 29.94 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.3577, allocations: 173.8 kB / 446.9 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008237/0.3586, allocations: 0.5506 MB / 447.4 MB, free: 29.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 3.296e-06/0.3586, allocations: 3.984 kB / 447.4 MB, free: 29.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.005606/0.3642, allocations: 1.901 MB / 449.3 MB, free: 29.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.912e-05/0.3643, allocations: 286.8 kB / 449.6 MB, free: 28.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.365, allocations: 0.5486 MB / 450.2 MB, free: 28.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.892e-05/0.3651, allocations: 43.89 kB / 450.2 MB, free: 28.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003183/0.3654, allocations: 497.8 kB / 450.7 MB, free: 28.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001879/0.3656, allocations: 256.8 kB / 450.9 MB, free: 28.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.903e-05/0.3656, allocations: 19.75 kB / 451 MB, free: 28.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3658, allocations: 387.8 kB / 451.3 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006443/0.3664, allocations: 322.1 kB / 451.6 MB, free: 27.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007248/0.3672, allocations: 0.5682 MB / 452.2 MB, free: 27.53 MB / 350.1 MB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: $PRE.irradiance.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear) (/*Real*/(PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, irradiance.startYear)) Notification: Performance of analyzeInitialSystem (initialization): time 0.01502/0.3822, allocations: 2.819 MB / 455 MB, free: 26.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/0.3822, allocations: 3.281 kB / 455 MB, free: 26.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00233/0.3846, allocations: 1.204 MB / 456.2 MB, free: 26.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.3846, allocations: 90.45 kB / 456.3 MB, free: 26.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3847, allocations: 13.97 kB / 456.3 MB, free: 26.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.3851, allocations: 80.55 kB / 456.4 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009903/0.3861, allocations: 264 kB / 456.7 MB, free: 26.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0012/0.3873, allocations: 1.471 MB / 458.2 MB, free: 24.87 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009569/0.3883, allocations: 118.3 kB / 458.3 MB, free: 24.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.126e-05/0.3884, allocations: 53.03 kB / 458.3 MB, free: 24.79 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.dayOfYear = PhotoVoltaics.Functions.dayOfTheYear(irradiance.startDay, irradiance.startMonth, 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 ($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 () * 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 (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.0006072/0.389, allocations: 374 kB / 458.7 MB, free: 24.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.3891, allocations: 81.48 kB / 458.8 MB, free: 24.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/0.3914, allocations: 1.267 MB / 460 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.3914, allocations: 8.969 kB / 460 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.3914, allocations: 0 / 460 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.068e-05/0.3914, allocations: 15.48 kB / 460.1 MB, free: 23.88 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005764/0.3972, allocations: 2.581 MB / 462.6 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.3972, allocations: 3.984 kB / 462.6 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005726/0.3978, allocations: 133.5 kB / 462.8 MB, free: 22.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007498/0.3986, allocations: 339.9 kB / 463.1 MB, free: 22.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.3987, allocations: 31.28 kB / 463.1 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001238/0.3999, allocations: 0.897 MB / 464 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3999, allocations: 0 / 464 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005353/0.4053, allocations: 1.977 MB / 466 MB, free: 21.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003984/0.4057, allocations: 248.2 kB / 466.2 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.4058, allocations: 28.84 kB / 466.3 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.4065, allocations: 60.28 kB / 466.3 MB, free: 20.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.4066, allocations: 53.39 kB / 466.4 MB, free: 20.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.4067, allocations: 38.73 kB / 466.4 MB, free: 20.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004431/0.4071, allocations: 386.2 kB / 466.8 MB, free: 20.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4071, allocations: 0 / 466.8 MB, free: 20.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001064/0.4082, allocations: 343.2 kB / 467.1 MB, free: 20.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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007324/0.4089, allocations: 365.3 kB / 467.5 MB, free: 20.45 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002001/0.4109, allocations: 1.154 MB / 468.6 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.411, allocations: 0 / 468.6 MB, free: 19.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.412, allocations: 0.6628 MB / 469.3 MB, free: 19.49 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.4127, allocations: 131.3 kB / 469.4 MB, free: 19.44 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/0.4166, allocations: 2.219 MB / 471.7 MB, free: 18.09 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005316/0.4171, allocations: 1.035 MB / 472.7 MB, free: 17.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.4177, allocations: 128.2 kB / 472.8 MB, free: 17.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/0.4179, allocations: 88.11 kB / 472.9 MB, free: 17.31 MB / 350.1 MB Notification: Performance of SimCode: time 6.02e-07/0.4179, allocations: 0 / 472.9 MB, free: 17.31 MB / 350.1 MB Notification: Performance of Templates: time 0.0247/0.4426, allocations: 11.67 MB / 484.6 MB, free: 14.95 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160629.pipe 2>&1) Environment - environmentSimulation: