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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 94.98 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02458/0.02458, allocations: 5.283 MB / 341.8 MB, free: 4.809 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008096/0.008095, allocations: 2.291 MB / 396.1 MB, free: 70.46 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.574e-05, allocations: 0 / 457.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3264, allocations: 52.18 MB / 0.4974 GB, free: 41.4 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.4722, allocations: 96.3 MB / 0.5915 GB, free: 10.08 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004055/0.4727, allocations: 68.81 kB / 0.5916 GB, free: 10.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4212/0.894, allocations: 35.84 MB / 0.6266 GB, free: 93.84 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.8941, allocations: 0 / 0.6266 GB, free: 93.84 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.779e-05/0.8941, allocations: 22.09 kB / 0.6266 GB, free: 93.84 MB / 394.7 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.003238/0.8974, allocations: 1.33 MB / 0.6279 GB, free: 93.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.827e-05/0.8974, allocations: 9.875 kB / 0.6279 GB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001681/0.8991, allocations: 294.8 kB / 0.6282 GB, free: 93.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001233/0.9004, allocations: 0.5945 MB / 0.6288 GB, free: 92.74 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.496e-05/0.9005, allocations: 81.22 kB / 0.6288 GB, free: 92.74 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001951/0.9007, allocations: 104.6 kB / 0.6289 GB, free: 92.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.9027, allocations: 1.13 MB / 0.63 GB, free: 92.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.508e-05/0.9027, allocations: 4 kB / 0.63 GB, free: 92.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001106/0.9029, allocations: 48.31 kB / 0.6301 GB, free: 92.58 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.9029, allocations: 23.75 kB / 0.6301 GB, free: 92.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00174/0.9046, allocations: 1.008 MB / 0.6311 GB, free: 92.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006585/0.9112, allocations: 4.533 MB / 0.6355 GB, free: 90.8 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/0.9133, allocations: 1.785 MB / 0.6373 GB, free: 89.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005239/0.9139, allocations: 337.8 kB / 0.6376 GB, free: 89.15 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.9141, allocations: 173.5 kB / 0.6377 GB, free: 88.96 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006626/0.9147, allocations: 0.5307 MB / 0.6383 GB, free: 88.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=80): time 3.206e-06/0.9148, allocations: 0 / 0.6383 GB, free: 88.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=80): time 0.003701/0.9185, allocations: 1.171 MB / 0.6394 GB, free: 88.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.9186, allocations: 313.6 kB / 0.6397 GB, free: 87.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009029/0.9195, allocations: 0.5279 MB / 0.6402 GB, free: 87.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.9197, allocations: 40.02 kB / 0.6403 GB, free: 87.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003674/0.92, allocations: 487 kB / 0.6407 GB, free: 87.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003081/0.9204, allocations: 259.1 kB / 0.641 GB, free: 86.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.773e-05/0.9205, allocations: 21.81 kB / 0.641 GB, free: 86.96 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.9206, allocations: 383.5 kB / 0.6414 GB, free: 86.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.9212, allocations: 302.2 kB / 0.6416 GB, free: 86.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006518/0.9218, allocations: 0.5432 MB / 0.6422 GB, free: 86.08 MB / 394.7 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.01509/0.9369, allocations: 2.747 MB / 0.6449 GB, free: 85.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.937, allocations: 4 kB / 0.6449 GB, free: 85.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002567/0.9396, allocations: 1.156 MB / 0.646 GB, free: 84.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/0.9397, allocations: 98.86 kB / 0.6461 GB, free: 84.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.927e-05/0.9397, allocations: 7.688 kB / 0.6461 GB, free: 84.83 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005326/0.9402, allocations: 96.52 kB / 0.6462 GB, free: 84.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/0.9414, allocations: 250.4 kB / 0.6464 GB, free: 84.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.9429, allocations: 1.555 MB / 0.6479 GB, free: 83.32 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.9441, allocations: 108.3 kB / 0.648 GB, free: 83.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/0.9444, allocations: 59.16 kB / 0.6481 GB, free: 83.25 MB / 394.7 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: 33 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 126 * 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.000489/0.9449, allocations: 278.3 kB / 0.6484 GB, free: 82.97 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002881/0.9452, allocations: 75.16 kB / 0.6484 GB, free: 82.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.9494, allocations: 1.453 MB / 0.6499 GB, free: 81.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.9495, allocations: 8 kB / 0.6499 GB, free: 81.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.9495, allocations: 0 / 0.6499 GB, free: 81.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.931e-05/0.9495, allocations: 7.078 kB / 0.6499 GB, free: 81.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004147/0.9537, allocations: 2.359 MB / 0.6522 GB, free: 79.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.9537, allocations: 0 / 0.6522 GB, free: 79.63 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.9543, allocations: 136.8 kB / 0.6523 GB, free: 79.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.9566, allocations: 0.5394 MB / 0.6528 GB, free: 79.09 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001591/0.9568, allocations: 38.3 kB / 0.6529 GB, free: 79.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008179/0.9576, allocations: 0.8804 MB / 0.6537 GB, free: 78.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.9576, allocations: 0 / 0.6537 GB, free: 78.2 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.9599, allocations: 1.565 MB / 0.6553 GB, free: 76.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005878/0.9606, allocations: 255.1 kB / 0.6555 GB, free: 76.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002654/0.9608, allocations: 20 kB / 0.6555 GB, free: 76.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007738/0.9616, allocations: 47.78 kB / 0.6556 GB, free: 76.37 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001667/0.9618, allocations: 63.14 kB / 0.6556 GB, free: 76.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.819e-05/0.9619, allocations: 44.61 kB / 0.6557 GB, free: 76.3 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006396/0.9626, allocations: 416.7 kB / 0.6561 GB, free: 75.92 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9626, allocations: 0 / 0.6561 GB, free: 75.92 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001555/0.9641, allocations: 390.4 kB / 0.6564 GB, free: 75.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * 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) * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001006/0.9652, allocations: 428.6 kB / 0.6568 GB, free: 75.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001927/0.9671, allocations: 1.108 MB / 0.6579 GB, free: 74.14 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.9671, allocations: 0 / 0.6579 GB, free: 74.14 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.9682, allocations: 0.6335 MB / 0.6586 GB, free: 73.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008909/0.9691, allocations: 122.7 kB / 0.6587 GB, free: 73.41 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002897/0.9721, allocations: 1.28 MB / 0.6599 GB, free: 72.21 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.9726, allocations: 1.034 MB / 0.6609 GB, free: 71.28 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000659/0.9733, allocations: 119 kB / 0.661 GB, free: 71.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000291/0.9736, allocations: 79.66 kB / 0.6611 GB, free: 71.14 MB / 394.7 MB Notification: Performance of SimCode: time 9.82e-07/0.9736, allocations: 0 / 0.6611 GB, free: 71.14 MB / 394.7 MB Notification: Performance of Templates: time 0.0246/0.9982, allocations: 13.09 MB / 0.6739 GB, free: 58.88 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Analytical_20160704.makefile (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)