Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02879/0.02879, allocations: 5.389 MB / 21.69 MB, free: 1.352 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.001007/0.001008, allocations: 108.8 kB / 23.69 MB, free: 0.9805 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.001151/0.001151, allocations: 197.3 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.294/1.294, allocations: 222.9 MB / 250.7 MB, free: 8.418 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009157/0.009157, allocations: 2.314 MB / 304.3 MB, free: 6.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001631/0.001631, allocations: 91.86 kB / 420.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08189/0.08354, allocations: 51.21 MB / 471.5 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.007578/0.09116, allocations: 6.85 MB / 478.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005467/0.09665, allocations: 3.939 MB / 482.3 MB, free: 8.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005001/0.09718, allocations: 23.94 kB / 482.3 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002519/0.09972, allocations: 1.162 MB / 483.5 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001817/0.1015, allocations: 0.858 MB / 484.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.1031, allocations: 0.5398 MB / 484.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.1048, allocations: 1.413 MB / 486.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.1063, allocations: 1.025 MB / 487.3 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008197/0.1071, allocations: 0.5526 MB / 487.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001042/0.1082, allocations: 0.6886 MB / 488.6 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003249/0.1085, allocations: 144 kB / 488.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009276/0.1095, allocations: 439.7 kB / 489.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.1098, allocations: 314.9 kB / 489.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006018/0.1104, allocations: 0.6375 MB / 490.1 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001779/0.1122, allocations: 1.799 MB / 491.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1122, allocations: 0 / 491.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1122, allocations: 0 / 491.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.1122, allocations: 0 / 491.9 MB, free: 14.78 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.003695/0.1159, allocations: 1.806 MB / 493.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.116, allocations: 8.031 kB / 493.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/0.118, allocations: 379.1 kB / 494.1 MB, free: 12.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.1197, allocations: 0.8321 MB / 494.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.1197, allocations: 82.08 kB / 495 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.1199, allocations: 104 kB / 495.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.1218, allocations: 1.18 MB / 496.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.1218, allocations: 0 / 496.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-05/0.1219, allocations: 44 kB / 496.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.1219, allocations: 24 kB / 496.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001936/0.1239, allocations: 1.07 MB / 497.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005629/0.1295, allocations: 4.329 MB / 0.49 GB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.132, allocations: 1.756 MB / 0.4917 GB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006108/0.1326, allocations: 323.2 kB / 0.492 GB, free: 2.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.736e-05/0.1327, allocations: 97.66 kB / 0.4921 GB, free: 2.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007766/0.1335, allocations: 461.8 kB / 0.4925 GB, free: 1.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 3.716e-06/0.1335, allocations: 0 / 0.4925 GB, free: 1.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.00565/0.1392, allocations: 1.604 MB / 0.4941 GB, free: 36 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001232/0.1393, allocations: 222.2 kB / 0.4943 GB, free: 15.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007396/0.14, allocations: 0.6486 MB / 0.4949 GB, free: 15.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.1401, allocations: 41.69 kB / 0.495 GB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003507/0.1405, allocations: 0.5218 MB / 0.4955 GB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.1406, allocations: 228.8 kB / 0.4957 GB, free: 14.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002609/0.1409, allocations: 190.5 kB / 0.4959 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1411, allocations: 390.7 kB / 0.4963 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.1417, allocations: 297.8 kB / 0.4966 GB, free: 13.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/0.1425, allocations: 0.5309 MB / 0.4971 GB, free: 12.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001385/0.1439, allocations: 0.9399 MB / 0.498 GB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.1439, allocations: 0 / 0.498 GB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002076/0.146, allocations: 1.121 MB / 0.4991 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.704e-05/0.146, allocations: 61.91 kB / 0.4991 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1461, allocations: 8 kB / 0.4992 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004709/0.1465, allocations: 89.06 kB / 0.4992 GB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008367/0.1474, allocations: 223.6 kB / 0.4995 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001457/0.1488, allocations: 1.585 MB / 0.501 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006862/0.1495, allocations: 111.2 kB / 0.5011 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.659e-05/0.1496, allocations: 43.98 kB / 0.5011 GB, free: 8.32 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.0003865/0.15, allocations: 343.1 kB / 0.5015 GB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.1502, allocations: 83.06 kB / 0.5016 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001933/0.1521, allocations: 1.007 MB / 0.5025 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1521, allocations: 11.94 kB / 0.5025 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.1521, allocations: 0 / 0.5025 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.1521, allocations: 3.984 kB / 0.5026 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005873/0.158, allocations: 2.306 MB / 0.5048 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.158, allocations: 0 / 0.5048 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003654/0.1584, allocations: 103.8 kB / 0.5049 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007833/0.1592, allocations: 330.3 kB / 0.5052 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.182e-05/0.1593, allocations: 31.92 kB / 0.5052 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001226/0.1605, allocations: 0.8974 MB / 0.5061 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.1605, allocations: 0 / 0.5061 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002525/0.163, allocations: 1.405 MB / 0.5075 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002688/0.1633, allocations: 224 kB / 0.5077 GB, free: 1.371 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001255/0.1634, allocations: 20 kB / 0.5077 GB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005486/0.164, allocations: 43.97 kB / 0.5078 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.648e-05/0.1641, allocations: 44.48 kB / 0.5078 GB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.1642, allocations: 31.97 kB / 0.5078 GB, free: 1.23 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004993/0.1647, allocations: 459 kB / 0.5083 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 0 / 0.5083 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008466/0.1655, allocations: 322.9 kB / 0.5086 GB, free: 484 kB / 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.001336/0.1669, allocations: 0.6548 MB / 0.5092 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.1755/0.3424, allocations: 0.989 MB / 0.5102 GB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.3425, allocations: 0.5 kB / 0.5102 GB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008724/0.3434, allocations: 0.4906 MB / 0.5107 GB, free: 46.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008658/0.3442, allocations: 158.3 kB / 0.5108 GB, free: 46.51 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002899/0.3471, allocations: 1.777 MB / 0.5126 GB, free: 45.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004704/0.3476, allocations: 1.02 MB / 0.5136 GB, free: 45.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000243/0.3479, allocations: 88.38 kB / 0.5136 GB, free: 45.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3479, allocations: 0 / 0.5136 GB, free: 45.07 MB / 382.1 MB Notification: Performance of Templates: time 0.02224/0.3701, allocations: 17.5 MB / 0.5307 GB, free: 38.69 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)