Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03253/0.03253, allocations: 5.386 MB / 20.34 MB, free: 1.836 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.0008169/0.0008169, allocations: 106 kB / 22.31 MB, free: 0.6016 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.001164/0.001164, allocations: 186.4 kB / 24.39 MB, free: 1.848 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.351/1.351, allocations: 223.2 MB / 249.5 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008988/0.008988, allocations: 2.315 MB / 304.1 MB, free: 4.406 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004139/0.000414, allocations: 12 kB / 368.1 MB, free: 11.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1133, allocations: 52.21 MB / 420.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808): time 0.006943/0.1203, allocations: 5.557 MB / 425.9 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2263/0.3467, allocations: 2.876 MB / 428.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000718/0.3474, allocations: 20.44 kB / 428.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.3482, allocations: 342.5 kB / 429.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001477/0.3497, allocations: 0.7202 MB / 429.8 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3507, allocations: 412 kB / 430.2 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009901/0.3517, allocations: 0.8555 MB / 431.1 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001684/0.3534, allocations: 1.216 MB / 432.3 MB, free: 34.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.354, allocations: 443.1 kB / 432.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006074/0.3546, allocations: 0.5733 MB / 433.3 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.945e-05/0.3547, allocations: 58.44 kB / 433.4 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006074/0.3553, allocations: 298.9 kB / 433.7 MB, free: 34.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001387/0.3554, allocations: 193.7 kB / 433.9 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001734/0.3556, allocations: 222.6 kB / 434.1 MB, free: 33.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.3567, allocations: 1.288 MB / 435.4 MB, free: 33.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.3567, allocations: 0 / 435.4 MB, free: 33.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.3567, allocations: 1.125 kB / 435.4 MB, free: 33.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.97e-05/0.3568, allocations: 0 / 435.4 MB, free: 33.9 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.003268/0.36, allocations: 1.555 MB / 436.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.3601, allocations: 9.469 kB / 436.9 MB, free: 33.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.3621, allocations: 369.2 kB / 437.3 MB, free: 33.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001335/0.3634, allocations: 0.7488 MB / 438 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.345e-05/0.3635, allocations: 79.91 kB / 438.1 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.3636, allocations: 111.4 kB / 438.2 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.3653, allocations: 1.158 MB / 439.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.3653, allocations: 0.75 kB / 439.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001107/0.3654, allocations: 42.97 kB / 439.4 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.534e-05/0.3654, allocations: 30.62 kB / 439.5 MB, free: 32.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.3673, allocations: 1.04 MB / 440.5 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004932/0.3722, allocations: 4.4 MB / 444.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002315/0.3745, allocations: 1.796 MB / 446.7 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.3747, allocations: 169.8 kB / 446.9 MB, free: 29.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007806/0.3754, allocations: 0.5536 MB / 447.4 MB, free: 29.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=79): time 2.675e-06/0.3755, allocations: 0 / 447.4 MB, free: 29.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=79): time 0.005302/0.3808, allocations: 1.903 MB / 449.3 MB, free: 28.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/0.3809, allocations: 283.7 kB / 449.6 MB, free: 28.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000516/0.3814, allocations: 0.5601 MB / 450.2 MB, free: 28.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.813e-05/0.3814, allocations: 42.48 kB / 450.2 MB, free: 28.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.3817, allocations: 486.1 kB / 450.7 MB, free: 27.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.3818, allocations: 253 kB / 450.9 MB, free: 27.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/0.3819, allocations: 21.38 kB / 450.9 MB, free: 27.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.575e-05/0.382, allocations: 382.8 kB / 451.3 MB, free: 27.45 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006154/0.3826, allocations: 330.8 kB / 451.6 MB, free: 27.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006804/0.3833, allocations: 0.5577 MB / 452.2 MB, free: 27.17 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.01475/0.398, allocations: 2.824 MB / 455 MB, free: 26.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.3981, allocations: 3.125 kB / 455 MB, free: 26.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002352/0.4004, allocations: 1.212 MB / 456.2 MB, free: 26.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.4005, allocations: 94.42 kB / 456.3 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.4005, allocations: 9.906 kB / 456.3 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004105/0.4009, allocations: 87.53 kB / 456.4 MB, free: 26.11 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009812/0.4019, allocations: 253.8 kB / 456.7 MB, free: 26.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.403, allocations: 1.486 MB / 458.2 MB, free: 24.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008712/0.4039, allocations: 123 kB / 458.3 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.486e-05/0.404, allocations: 50.75 kB / 458.3 MB, free: 24.58 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.000605/0.4046, allocations: 370.5 kB / 458.7 MB, free: 24.27 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.4048, allocations: 78.36 kB / 458.8 MB, free: 24.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002354/0.4072, allocations: 1.274 MB / 460 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.4072, allocations: 9.531 kB / 460 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.4072, allocations: 0 / 460 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.4072, allocations: 5.297 kB / 460.1 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005867/0.4131, allocations: 2.581 MB / 462.6 MB, free: 22.55 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.49e-06/0.4131, allocations: 0 / 462.6 MB, free: 22.55 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000552/0.4137, allocations: 137 kB / 462.8 MB, free: 22.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007034/0.4144, allocations: 340 kB / 463.1 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.4145, allocations: 33.59 kB / 463.1 MB, free: 22.42 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/0.4155, allocations: 0.9056 MB / 464 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.4155, allocations: 2.812 kB / 464 MB, free: 21.74 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005047/0.4206, allocations: 1.977 MB / 466 MB, free: 20.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.421, allocations: 241.5 kB / 466.3 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.4211, allocations: 25.41 kB / 466.3 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006254/0.4218, allocations: 61.7 kB / 466.3 MB, free: 20.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.4219, allocations: 56.91 kB / 466.4 MB, free: 20.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-05/0.422, allocations: 35.95 kB / 466.4 MB, free: 20.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000417/0.4224, allocations: 390.1 kB / 466.8 MB, free: 20.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4224, allocations: 0 / 466.8 MB, free: 20.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009912/0.4234, allocations: 338.8 kB / 467.1 MB, free: 20.4 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.0006848/0.4241, allocations: 351 kB / 467.5 MB, free: 20.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.426, allocations: 1.155 MB / 468.6 MB, free: 19.68 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.426, allocations: 11.09 kB / 468.7 MB, free: 19.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008638/0.4269, allocations: 0.6527 MB / 469.3 MB, free: 19.3 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006105/0.4275, allocations: 130.8 kB / 469.4 MB, free: 19.26 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.4307, allocations: 2.221 MB / 471.7 MB, free: 17.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.4311, allocations: 1.036 MB / 472.7 MB, free: 17.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005479/0.4317, allocations: 127.8 kB / 472.8 MB, free: 17.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002389/0.4319, allocations: 89.52 kB / 472.9 MB, free: 17.13 MB / 350.1 MB Notification: Performance of SimCode: time 8.92e-07/0.432, allocations: 0 / 472.9 MB, free: 17.13 MB / 350.1 MB Notification: Performance of Templates: time 0.02168/0.4536, allocations: 11.67 MB / 484.6 MB, free: 14.88 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.pipe 2>&1) Environment - environmentSimulation: