Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02653/0.02653, allocations: 5.396 MB / 21.03 MB, free: 1.629 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.005743/0.005743, allocations: 101.4 kB / 23.03 MB, free: 0.8164 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.0009586/0.0009586, allocations: 196.6 kB / 25.14 MB, free: 212 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 222.9 MB / 250 MB, free: 8.422 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008592/0.008592, allocations: 2.315 MB / 303.7 MB, free: 6.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 91.84 kB / 423.2 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07695/0.07853, allocations: 51.2 MB / 474.4 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.00738/0.08594, allocations: 6.854 MB / 481.2 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005226/0.09119, allocations: 3.951 MB / 485.2 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004901/0.0917, allocations: 16 kB / 485.2 MB, free: 4.871 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002307/0.09404, allocations: 1.158 MB / 486.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001553/0.0956, allocations: 0.8506 MB / 487.2 MB, free: 2.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00136/0.09697, allocations: 0.5635 MB / 487.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001153/0.09814, allocations: 1.402 MB / 489.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00114/0.09929, allocations: 1.028 MB / 490.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004989/0.0998, allocations: 0.5526 MB / 490.7 MB, free: 15.28 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006791/0.1005, allocations: 0.6926 MB / 491.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001519/0.1006, allocations: 140 kB / 491.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006095/0.1013, allocations: 435.7 kB / 492 MB, free: 14.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002162/0.1015, allocations: 314.9 kB / 492.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004669/0.102, allocations: 0.6414 MB / 492.9 MB, free: 13.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.1035, allocations: 1.799 MB / 494.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1035, allocations: 0 / 494.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.1035, allocations: 0 / 494.7 MB, free: 11.26 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1035, allocations: 0 / 494.7 MB, free: 11.26 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003584/0.1071, allocations: 1.81 MB / 496.5 MB, free: 9.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.066e-05/0.1071, allocations: 12.03 kB / 496.6 MB, free: 9.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.1091, allocations: 371.2 kB / 496.9 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.1106, allocations: 0.8321 MB / 497.8 MB, free: 8.137 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/0.1107, allocations: 90 kB / 497.8 MB, free: 8.047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001411/0.1109, allocations: 108 kB / 497.9 MB, free: 7.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.1127, allocations: 1.169 MB / 499.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.1127, allocations: 0 / 499.1 MB, free: 6.711 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.921e-05/0.1128, allocations: 44 kB / 499.2 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/0.1129, allocations: 28 kB / 499.2 MB, free: 6.641 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.1148, allocations: 1.073 MB / 0.4885 GB, free: 5.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005332/0.1201, allocations: 4.337 MB / 0.4928 GB, free: 1.027 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.1225, allocations: 1.747 MB / 0.4945 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006079/0.1232, allocations: 325.3 kB / 0.4948 GB, free: 14.75 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.169e-05/0.1233, allocations: 97.66 kB / 0.4949 GB, free: 14.64 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007517/0.124, allocations: 461.7 kB / 0.4953 GB, free: 14.16 MB / 382.1 MB Notification: Performance of pre-optimization done (n=69): time 1.954e-06/0.124, allocations: 4 kB / 0.4953 GB, free: 14.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=69): time 0.005225/0.1293, allocations: 1.592 MB / 0.4969 GB, free: 12.52 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.1294, allocations: 222.2 kB / 0.4971 GB, free: 12.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006882/0.1301, allocations: 0.6448 MB / 0.4977 GB, free: 11.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.1301, allocations: 45.73 kB / 0.4978 GB, free: 11.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003133/0.1304, allocations: 0.5257 MB / 0.4983 GB, free: 11.01 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.1306, allocations: 224.9 kB / 0.4985 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.1309, allocations: 194.4 kB / 0.4987 GB, free: 10.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.131, allocations: 386.7 kB / 0.499 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.1316, allocations: 301.8 kB / 0.4993 GB, free: 9.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007249/0.1323, allocations: 0.5347 MB / 0.4999 GB, free: 9.273 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001335/0.1337, allocations: 0.9399 MB / 0.5008 GB, free: 8.215 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.1337, allocations: 4 kB / 0.5008 GB, free: 8.211 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001988/0.1357, allocations: 1.11 MB / 0.5019 GB, free: 7.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.982e-05/0.1358, allocations: 59.69 kB / 0.5019 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.1358, allocations: 12 kB / 0.5019 GB, free: 6.996 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004297/0.1362, allocations: 88.78 kB / 0.502 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007944/0.137, allocations: 223.6 kB / 0.5022 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.1384, allocations: 1.585 MB / 0.5038 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006376/0.1391, allocations: 111 kB / 0.5039 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.1391, allocations: 47.98 kB / 0.5039 GB, free: 4.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0003661/0.1395, allocations: 347.2 kB / 0.5043 GB, free: 4.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.1396, allocations: 79.06 kB / 0.5043 GB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001888/0.1415, allocations: 0.9988 MB / 0.5053 GB, free: 3.332 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1415, allocations: 8 kB / 0.5053 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.724e-06/0.1416, allocations: 0 / 0.5053 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.1416, allocations: 3.984 kB / 0.5053 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005408/0.147, allocations: 2.306 MB / 0.5076 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.147, allocations: 8.016 kB / 0.5076 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.1473, allocations: 99.83 kB / 0.5077 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007396/0.1481, allocations: 322.3 kB / 0.508 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/0.1482, allocations: 27.97 kB / 0.508 GB, free: 492 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1598/0.308, allocations: 0.8893 MB / 0.5089 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.308, allocations: 0.6562 kB / 0.5089 GB, free: 46.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/0.3106, allocations: 1.405 MB / 0.5102 GB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002832/0.3109, allocations: 228.4 kB / 0.5105 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.311, allocations: 18.23 kB / 0.5105 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005108/0.3116, allocations: 53.31 kB / 0.5105 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.3117, allocations: 37.94 kB / 0.5106 GB, free: 45.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-05/0.3117, allocations: 33.08 kB / 0.5106 GB, free: 45.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005209/0.3123, allocations: 458.4 kB / 0.511 GB, free: 45.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3123, allocations: 1 kB / 0.511 GB, free: 45.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008768/0.3131, allocations: 315.7 kB / 0.5113 GB, free: 45.76 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.00125/0.3144, allocations: 0.6694 MB / 0.512 GB, free: 45.61 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001743/0.3162, allocations: 0.9982 MB / 0.513 GB, free: 45.31 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3162, allocations: 3.938 kB / 0.513 GB, free: 45.3 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007935/0.317, allocations: 0.4888 MB / 0.5135 GB, free: 45.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007272/0.3177, allocations: 161 kB / 0.5136 GB, free: 45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002519/0.3202, allocations: 1.732 MB / 0.5153 GB, free: 44.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.3207, allocations: 1.017 MB / 0.5163 GB, free: 43.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003963/0.3211, allocations: 126.4 kB / 0.5164 GB, free: 43.39 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3213, allocations: 78.44 kB / 0.5165 GB, free: 43.38 MB / 382.1 MB Notification: Performance of SimCode: time 2.81e-07/0.3213, allocations: 5.125 kB / 0.5165 GB, free: 43.38 MB / 382.1 MB Notification: Performance of Templates: time 0.01809/0.3394, allocations: 12.51 MB / 0.5287 GB, free: 39.45 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004 -jacobian=coloredNumerical -s=dassl -lv=LOG_STATS -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)