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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03555/0.03555, allocations: 5.454 MB / 23.54 MB, free: 1.547 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.001656/0.001656, allocations: 118.8 kB / 27.85 MB, free: 3.148 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.00206/0.00206, allocations: 197.7 kB / 32.25 MB, free: 4.938 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.45/1.45, allocations: 225.6 MB / 262.1 MB, free: 6.461 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.01032/0.01032, allocations: 2.356 MB / 320.8 MB, free: 15.75 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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=1440,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002843/0.002843, allocations: 103.8 kB / 445.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.1023, allocations: 54.01 MB / 499.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808): time 0.009109/0.1114, allocations: 6.814 MB / 0.4943 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006103/0.1175, allocations: 3.142 MB / 0.4974 GB, free: 12.46 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001044/0.1186, allocations: 23.94 kB / 0.4974 GB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003057/0.1216, allocations: 1.131 MB / 0.4985 GB, free: 11.3 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002576/0.1242, allocations: 0.8547 MB / 0.4993 GB, free: 10.44 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.1261, allocations: 0.5404 MB / 0.4999 GB, free: 9.906 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002011/0.1281, allocations: 1.379 MB / 0.5012 GB, free: 8.523 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.1296, allocations: 0.8058 MB / 0.502 GB, free: 7.688 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007985/0.1304, allocations: 0.5566 MB / 0.5025 GB, free: 7.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009402/0.1313, allocations: 0.7121 MB / 0.5032 GB, free: 6.414 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002111/0.1315, allocations: 144 kB / 0.5034 GB, free: 6.273 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009103/0.1325, allocations: 439.7 kB / 0.5038 GB, free: 5.844 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.1327, allocations: 295 kB / 0.5041 GB, free: 5.555 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006846/0.1334, allocations: 0.6337 MB / 0.5047 GB, free: 4.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002511/0.1359, allocations: 1.755 MB / 0.5064 GB, free: 3.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1359, allocations: 0 / 0.5064 GB, free: 3.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1359, allocations: 0 / 0.5064 GB, free: 3.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.698e-05/0.136, allocations: 0 / 0.5064 GB, free: 3.156 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.004835/0.1408, allocations: 1.804 MB / 0.5082 GB, free: 1.277 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.1408, allocations: 12.03 kB / 0.5082 GB, free: 1.266 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002197/0.143, allocations: 375.9 kB / 0.5085 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001942/0.145, allocations: 0.7683 MB / 0.5093 GB, free: 88 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.94e-05/0.1451, allocations: 82.06 kB / 0.5094 GB, free: 4 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2296/0.3746, allocations: 105 kB / 0.5095 GB, free: 22.2 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.3771, allocations: 1.176 MB / 0.5106 GB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.3771, allocations: 3.375 kB / 0.5106 GB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.777e-05/0.3772, allocations: 45.72 kB / 0.5107 GB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.3773, allocations: 24.81 kB / 0.5107 GB, free: 22.05 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.3797, allocations: 1.037 MB / 0.5117 GB, free: 22.04 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006945/0.3867, allocations: 4.366 MB / 0.516 GB, free: 20.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002713/0.3894, allocations: 1.697 MB / 0.5176 GB, free: 18.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007664/0.3901, allocations: 316 kB / 0.5179 GB, free: 18.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001405/0.3903, allocations: 176.1 kB / 0.5181 GB, free: 18.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001029/0.3913, allocations: 0.5523 MB / 0.5186 GB, free: 18.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=79): time 2.785e-06/0.3913, allocations: 0 / 0.5186 GB, free: 18.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=79): time 0.006492/0.3978, allocations: 1.701 MB / 0.5203 GB, free: 17.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.3979, allocations: 279.4 kB / 0.5206 GB, free: 17.25 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008888/0.3988, allocations: 0.558 MB / 0.5211 GB, free: 16.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.227e-05/0.3989, allocations: 44.19 kB / 0.5211 GB, free: 16.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.3992, allocations: 0.4913 MB / 0.5216 GB, free: 16.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.3994, allocations: 270.5 kB / 0.5219 GB, free: 16.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003469/0.3998, allocations: 209.3 kB / 0.5221 GB, free: 16.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3999, allocations: 381.8 kB / 0.5224 GB, free: 15.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007916/0.4007, allocations: 327.4 kB / 0.5228 GB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009373/0.4017, allocations: 0.5674 MB / 0.5233 GB, free: 15.42 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.01868/0.4203, allocations: 3.628 MB / 0.5269 GB, free: 14.11 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.4203, allocations: 2.312 kB / 0.5269 GB, free: 14.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=133) (initialization): time 0.002634/0.423, allocations: 1.21 MB / 0.528 GB, free: 13.56 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.419e-05/0.423, allocations: 97.64 kB / 0.5281 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.4231, allocations: 7.5 kB / 0.5281 GB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004681/0.4235, allocations: 85.41 kB / 0.5282 GB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.4247, allocations: 262.2 kB / 0.5285 GB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.4259, allocations: 1.582 MB / 0.53 GB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/0.4269, allocations: 120.4 kB / 0.5301 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.427, allocations: 58.7 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.0005405/0.4275, allocations: 370.5 kB / 0.5305 GB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.4277, allocations: 79.31 kB / 0.5306 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.4301, allocations: 1.231 MB / 0.5318 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.4301, allocations: 8.312 kB / 0.5318 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.4301, allocations: 3.984 kB / 0.5318 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.4301, allocations: 5.203 kB / 0.5318 GB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006465/0.4366, allocations: 2.511 MB / 0.5343 GB, free: 9.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/0.4366, allocations: 3.938 kB / 0.5343 GB, free: 9.113 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005694/0.4372, allocations: 137.9 kB / 0.5344 GB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000713/0.4379, allocations: 331.6 kB / 0.5347 GB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-05/0.438, allocations: 36.72 kB / 0.5348 GB, free: 8.879 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.4391, allocations: 0.8872 MB / 0.5356 GB, free: 8.148 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.4391, allocations: 5 kB / 0.5356 GB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005621/0.4447, allocations: 1.905 MB / 0.5375 GB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004625/0.4451, allocations: 238.8 kB / 0.5377 GB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/0.4453, allocations: 28.31 kB / 0.5378 GB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007144/0.4461, allocations: 52.83 kB / 0.5378 GB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.4462, allocations: 59.23 kB / 0.5379 GB, free: 6.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.935e-05/0.4463, allocations: 45.84 kB / 0.5379 GB, free: 6.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000516/0.4468, allocations: 393.3 kB / 0.5383 GB, free: 6.562 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4468, allocations: 1.125 kB / 0.5383 GB, free: 6.562 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001147/0.4479, allocations: 347.2 kB / 0.5386 GB, free: 6.465 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.0008848/0.4488, allocations: 345.4 kB / 0.539 GB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002211/0.451, allocations: 1.114 MB / 0.54 GB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.451, allocations: 4.5 kB / 0.54 GB, free: 5.605 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009362/0.452, allocations: 0.5655 MB / 0.5406 GB, free: 5.238 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008489/0.4528, allocations: 136.6 kB / 0.5407 GB, free: 5.168 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003226/0.456, allocations: 1.852 MB / 0.5425 GB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004335/0.4565, allocations: 1.018 MB / 0.5435 GB, free: 2.402 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002994/0.4568, allocations: 91.38 kB / 0.5436 GB, free: 2.312 MB / 366.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4568, allocations: 0 / 0.5436 GB, free: 2.312 MB / 366.1 MB Notification: Performance of Templates: time 0.0272/0.484, allocations: 17.35 MB / 0.5606 GB, free: 0.9766 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160808.makefile [Timeout 660] (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) [Timeout 480]