Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0287/0.0287, allocations: 5.395 MB / 21.7 MB, free: 1.344 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.0008268/0.0008269, allocations: 108.2 kB / 23.7 MB, free: 1.004 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.001126/0.001126, allocations: 198.2 kB / 25.82 MB, free: 4.637 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.217/1.217, allocations: 222.9 MB / 250.7 MB, free: 8.41 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008817/0.008817, allocations: 2.322 MB / 304.4 MB, free: 6.48 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 91.86 kB / 420.3 MB, free: 22.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07306/0.07465, allocations: 51.21 MB / 471.5 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.007135/0.08182, allocations: 6.903 MB / 478.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005297/0.08714, allocations: 4.013 MB / 482.4 MB, free: 8.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.08765, allocations: 27.94 kB / 482.5 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002366/0.09005, allocations: 1.17 MB / 483.6 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.09169, allocations: 0.8814 MB / 484.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.09319, allocations: 0.5995 MB / 485.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001274/0.09448, allocations: 1.425 MB / 486.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.09569, allocations: 1.005 MB / 487.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005743/0.09628, allocations: 0.5681 MB / 488.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.09701, allocations: 0.6829 MB / 488.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.09719, allocations: 140 kB / 488.9 MB, free: 1.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006837/0.09788, allocations: 435.7 kB / 489.4 MB, free: 1.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.09812, allocations: 306.8 kB / 489.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004916/0.09862, allocations: 0.6258 MB / 490.3 MB, free: 416 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.1002, allocations: 1.76 MB / 492 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1002, allocations: 0 / 492 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1002, allocations: 0 / 492 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.604e-05/0.1002, allocations: 3.984 kB / 492 MB, free: 14.64 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003713/0.104, allocations: 1.794 MB / 493.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.104, allocations: 12.03 kB / 493.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.106, allocations: 379.1 kB / 494.2 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/0.1076, allocations: 0.8126 MB / 495 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.893e-05/0.1077, allocations: 82 kB / 495.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.1079, allocations: 104 kB / 495.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001812/0.1097, allocations: 1.134 MB / 496.3 MB, free: 10.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.37e-05/0.1097, allocations: 3.906 kB / 496.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.943e-05/0.1098, allocations: 44 kB / 496.4 MB, free: 10.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.1099, allocations: 24 kB / 496.4 MB, free: 10.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001799/0.1117, allocations: 0.9525 MB / 497.4 MB, free: 9.145 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005453/0.1171, allocations: 4.299 MB / 0.4899 GB, free: 4.641 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002375/0.1195, allocations: 1.67 MB / 0.4915 GB, free: 2.746 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.1201, allocations: 318.1 kB / 0.4918 GB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.268e-05/0.1202, allocations: 89.55 kB / 0.4919 GB, free: 2.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007626/0.121, allocations: 466.5 kB / 0.4924 GB, free: 1.836 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 2.003e-06/0.121, allocations: 0 / 0.4924 GB, free: 1.836 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005433/0.1265, allocations: 1.548 MB / 0.4939 GB, free: 252 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.1266, allocations: 277.6 kB / 0.4942 GB, free: 15.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/0.1274, allocations: 0.6642 MB / 0.4948 GB, free: 15.24 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.831e-05/0.1274, allocations: 37.7 kB / 0.4948 GB, free: 15.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003348/0.1278, allocations: 0.5218 MB / 0.4953 GB, free: 14.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.128, allocations: 213.1 kB / 0.4956 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002608/0.1282, allocations: 186.5 kB / 0.4957 GB, free: 14.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1284, allocations: 398.7 kB / 0.4961 GB, free: 13.86 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/0.129, allocations: 277.8 kB / 0.4964 GB, free: 13.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007582/0.1298, allocations: 0.5441 MB / 0.4969 GB, free: 12.94 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/0.1311, allocations: 0.906 MB / 0.4978 GB, free: 11.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.1311, allocations: 7.938 kB / 0.4978 GB, free: 11.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002051/0.1332, allocations: 1.067 MB / 0.4988 GB, free: 10.81 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.1332, allocations: 67.45 kB / 0.4989 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.1333, allocations: 8 kB / 0.4989 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004548/0.1337, allocations: 88.78 kB / 0.499 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/0.1346, allocations: 215.6 kB / 0.4992 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001416/0.136, allocations: 1.586 MB / 0.5008 GB, free: 8.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007171/0.1367, allocations: 118.9 kB / 0.5009 GB, free: 8.578 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.359e-05/0.1368, allocations: 48.06 kB / 0.5009 GB, free: 8.531 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,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 (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * 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.0004274/0.1372, allocations: 331.6 kB / 0.5012 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001342/0.1374, allocations: 83 kB / 0.5013 GB, free: 8.102 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.1392, allocations: 0.9168 MB / 0.5022 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.1392, allocations: 4 kB / 0.5022 GB, free: 7.156 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1392, allocations: 4 kB / 0.5022 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.806e-06/0.1392, allocations: 3.984 kB / 0.5022 GB, free: 7.148 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005478/0.1447, allocations: 2.211 MB / 0.5044 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1447, allocations: 0 / 0.5044 GB, free: 4.855 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.145, allocations: 87.89 kB / 0.5045 GB, free: 4.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007585/0.1458, allocations: 330.3 kB / 0.5048 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.283e-05/0.1459, allocations: 27.97 kB / 0.5048 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001224/0.1471, allocations: 0.8819 MB / 0.5057 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.582e-06/0.1471, allocations: 64 / 0.5057 GB, free: 3.496 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004859/0.152, allocations: 1.639 MB / 0.5073 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003163/0.1523, allocations: 223.9 kB / 0.5075 GB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.1525, allocations: 20 kB / 0.5075 GB, free: 1.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.153, allocations: 43.97 kB / 0.5075 GB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.758e-05/0.1531, allocations: 44.31 kB / 0.5076 GB, free: 1.469 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.1532, allocations: 35.97 kB / 0.5076 GB, free: 1.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005606/0.1537, allocations: 463 kB / 0.5081 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1537, allocations: 0 / 0.5081 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008819/0.1546, allocations: 319 kB / 0.5084 GB, free: 0.6719 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.001307/0.1559, allocations: 0.6549 MB / 0.509 GB, free: 256 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1564/0.3123, allocations: 0.9594 MB / 0.5099 GB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3124, allocations: 0.875 kB / 0.5099 GB, free: 46.55 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008642/0.3132, allocations: 492.3 kB / 0.5104 GB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009406/0.3142, allocations: 168.6 kB / 0.5106 GB, free: 46.42 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00275/0.3169, allocations: 1.737 MB / 0.5123 GB, free: 45.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004428/0.3174, allocations: 1.013 MB / 0.5132 GB, free: 45.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.3176, allocations: 81.75 kB / 0.5133 GB, free: 45.02 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3176, allocations: 0 / 0.5133 GB, free: 45.02 MB / 382.1 MB Notification: Performance of Templates: time 0.01957/0.3372, allocations: 17.51 MB / 0.5304 GB, free: 38.68 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)