Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03274/0.03274, allocations: 5.459 MB / 23.54 MB, free: 1.504 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001247/0.001247, allocations: 107.5 kB / 27.84 MB, free: 3.141 MB / 19.63 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 194.5 kB / 32.25 MB, free: 4.953 MB / 19.63 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 262.1 MB, free: 6.488 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009833/0.009833, allocations: 2.349 MB / 320.8 MB, free: 15.77 MB / 254.1 MB [Timeout remaining time 90] 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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 103.8 kB / 445.3 MB, free: 12.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09573/0.09848, allocations: 54.01 MB / 499.4 MB, free: 6.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704): time 0.008826/0.1073, allocations: 6.812 MB / 0.4943 GB, free: 15.64 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0059/0.1132, allocations: 3.15 MB / 0.4974 GB, free: 12.48 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008016/0.114, allocations: 24 kB / 0.4974 GB, free: 12.46 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002833/0.1168, allocations: 1.123 MB / 0.4985 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002518/0.1194, allocations: 0.8702 MB / 0.4994 GB, free: 10.46 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.1212, allocations: 0.5318 MB / 0.4999 GB, free: 9.934 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002253/0.1235, allocations: 1.379 MB / 0.5012 GB, free: 8.551 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001631/0.1251, allocations: 0.8136 MB / 0.502 GB, free: 7.707 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.1263, allocations: 0.5488 MB / 0.5025 GB, free: 7.156 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001301/0.1276, allocations: 0.7159 MB / 0.5032 GB, free: 6.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000241/0.1278, allocations: 140 kB / 0.5034 GB, free: 6.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.129, allocations: 439.7 kB / 0.5038 GB, free: 5.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003012/0.1293, allocations: 302.9 kB / 0.5041 GB, free: 5.574 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007762/0.13, allocations: 0.6298 MB / 0.5047 GB, free: 4.941 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002523/0.1326, allocations: 1.751 MB / 0.5064 GB, free: 3.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1326, allocations: 0 / 0.5064 GB, free: 3.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1326, allocations: 0 / 0.5064 GB, free: 3.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.165e-05/0.1326, allocations: 0 / 0.5064 GB, free: 3.184 MB / 366.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.004749/0.1374, allocations: 1.8 MB / 0.5082 GB, free: 1.309 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1374, allocations: 8.031 kB / 0.5082 GB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.1395, allocations: 383.9 kB / 0.5085 GB, free: 0.9258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.1414, allocations: 0.7683 MB / 0.5093 GB, free: 116 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.279e-05/0.1415, allocations: 82.06 kB / 0.5094 GB, free: 32 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2159/0.3573, allocations: 102.5 kB / 0.5095 GB, free: 22.18 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/0.3595, allocations: 1.18 MB / 0.5106 GB, free: 22.02 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/0.3595, allocations: 0 / 0.5106 GB, free: 22.02 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.3596, allocations: 46.91 kB / 0.5107 GB, free: 22.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.3596, allocations: 25.06 kB / 0.5107 GB, free: 22.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.3618, allocations: 1.035 MB / 0.5117 GB, free: 22.02 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006324/0.3682, allocations: 4.368 MB / 0.516 GB, free: 20.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.3708, allocations: 1.703 MB / 0.5176 GB, free: 18.79 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007126/0.3715, allocations: 313.2 kB / 0.5179 GB, free: 18.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.3716, allocations: 172.7 kB / 0.5181 GB, free: 18.49 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008947/0.3725, allocations: 0.5532 MB / 0.5186 GB, free: 18.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.144e-06/0.3725, allocations: 3.938 kB / 0.5186 GB, free: 18.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.006215/0.3787, allocations: 1.691 MB / 0.5203 GB, free: 17.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.859e-05/0.3788, allocations: 288.5 kB / 0.5206 GB, free: 17.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007087/0.3795, allocations: 0.556 MB / 0.5211 GB, free: 16.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.349e-05/0.3796, allocations: 42.14 kB / 0.5211 GB, free: 16.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002703/0.3799, allocations: 0.494 MB / 0.5216 GB, free: 16.56 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.38, allocations: 266.5 kB / 0.5219 GB, free: 16.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000304/0.3803, allocations: 213.2 kB / 0.5221 GB, free: 16.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3804, allocations: 381.7 kB / 0.5225 GB, free: 15.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007577/0.3812, allocations: 328.4 kB / 0.5228 GB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008556/0.382, allocations: 0.5669 MB / 0.5233 GB, free: 15.41 MB / 366.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.01849/0.4005, allocations: 3.626 MB / 0.5269 GB, free: 14.09 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.725e-05/0.4005, allocations: 2.281 kB / 0.5269 GB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002676/0.4032, allocations: 1.217 MB / 0.5281 GB, free: 13.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.4033, allocations: 94.92 kB / 0.5281 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.4033, allocations: 7.25 kB / 0.5281 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.4037, allocations: 88.95 kB / 0.5282 GB, free: 13.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.4048, allocations: 263.3 kB / 0.5285 GB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.4061, allocations: 1.577 MB / 0.53 GB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009251/0.407, allocations: 121.6 kB / 0.5301 GB, free: 11.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.4071, allocations: 49.31 kB / 0.5302 GB, free: 11.77 MB / 366.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.0004809/0.4076, allocations: 371.2 kB / 0.5305 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.4077, allocations: 83.77 kB / 0.5306 GB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.4101, allocations: 1.226 MB / 0.5318 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.4101, allocations: 8.938 kB / 0.5318 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4101, allocations: 5.125 kB / 0.5318 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.4101, allocations: 3.984 kB / 0.5318 GB, free: 10.69 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006142/0.4162, allocations: 2.513 MB / 0.5343 GB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.972e-06/0.4163, allocations: 5.094 kB / 0.5343 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005533/0.4168, allocations: 133.7 kB / 0.5344 GB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006824/0.4175, allocations: 333 kB / 0.5347 GB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.185e-05/0.4175, allocations: 39.47 kB / 0.5348 GB, free: 8.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.4186, allocations: 0.8874 MB / 0.5356 GB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4187, allocations: 3.875 kB / 0.5356 GB, free: 8.141 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005592/0.4242, allocations: 1.904 MB / 0.5375 GB, free: 7.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004231/0.4247, allocations: 236.6 kB / 0.5377 GB, free: 6.875 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.4248, allocations: 28.16 kB / 0.5378 GB, free: 6.859 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006765/0.4255, allocations: 58.8 kB / 0.5378 GB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001286/0.4256, allocations: 58.45 kB / 0.5379 GB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.4257, allocations: 39.34 kB / 0.5379 GB, free: 6.789 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004459/0.4261, allocations: 394.2 kB / 0.5383 GB, free: 6.559 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4261, allocations: 0 / 0.5383 GB, free: 6.559 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001069/0.4272, allocations: 349.2 kB / 0.5386 GB, free: 6.461 MB / 366.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.0007577/0.4279, allocations: 350.9 kB / 0.539 GB, free: 6.289 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001935/0.4299, allocations: 1.115 MB / 0.54 GB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.4299, allocations: 3.062 kB / 0.54 GB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.4307, allocations: 0.5638 MB / 0.5406 GB, free: 5.23 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007076/0.4314, allocations: 138.9 kB / 0.5407 GB, free: 5.16 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.4341, allocations: 1.845 MB / 0.5425 GB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003327/0.4344, allocations: 1.014 MB / 0.5435 GB, free: 2.441 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002432/0.4347, allocations: 95.38 kB / 0.5436 GB, free: 2.348 MB / 366.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4347, allocations: 0 / 0.5436 GB, free: 2.348 MB / 366.1 MB Notification: Performance of Templates: time 0.02255/0.4572, allocations: 17.35 MB / 0.5606 GB, free: 1.016 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.makefile [Timeout 660] (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.pipe 2>&1) [Timeout 480]