Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02908/0.02908, allocations: 5.39 MB / 21.7 MB, free: 1.391 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.001017/0.001017, allocations: 115.7 kB / 23.7 MB, free: 0.9219 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.001137/0.001137, allocations: 193 kB / 25.82 MB, free: 4.68 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.269/1.269, allocations: 222.9 MB / 250.7 MB, free: 8.434 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008897/0.008897, allocations: 2.316 MB / 304.4 MB, free: 6.492 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 99.84 kB / 420.3 MB, free: 22.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09423, allocations: 51.21 MB / 471.5 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.008128/0.1024, allocations: 6.857 MB / 478.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006299/0.1087, allocations: 3.939 MB / 482.3 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009603/0.1097, allocations: 20 kB / 482.3 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002742/0.1125, allocations: 1.169 MB / 483.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.1147, allocations: 0.8506 MB / 484.4 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001899/0.1166, allocations: 0.5473 MB / 484.9 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.1185, allocations: 1.413 MB / 486.3 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.1202, allocations: 1.013 MB / 487.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009529/0.1212, allocations: 0.5604 MB / 487.9 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001195/0.1224, allocations: 0.6886 MB / 488.6 MB, free: 2.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000377/0.1228, allocations: 144 kB / 488.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.124, allocations: 435.7 kB / 489.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004184/0.1244, allocations: 310.9 kB / 489.5 MB, free: 1.238 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001039/0.1255, allocations: 0.6453 MB / 490.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002626/0.1281, allocations: 1.799 MB / 491.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1281, allocations: 0 / 491.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.624e-06/0.1281, allocations: 0 / 491.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.1281, allocations: 0 / 491.9 MB, free: 14.79 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.004118/0.1323, allocations: 1.814 MB / 493.7 MB, free: 12.91 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.1323, allocations: 8.031 kB / 493.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002094/0.1344, allocations: 371.2 kB / 494.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001751/0.1362, allocations: 0.8321 MB / 494.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.969e-05/0.1363, allocations: 86.02 kB / 495 MB, free: 11.57 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.1364, allocations: 108 kB / 495.1 MB, free: 11.47 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.1385, allocations: 1.177 MB / 496.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.559e-05/0.1385, allocations: 0 / 496.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1386, allocations: 44 kB / 496.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.1387, allocations: 24 kB / 496.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.1406, allocations: 1.07 MB / 497.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005933/0.1466, allocations: 4.333 MB / 0.49 GB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002618/0.1492, allocations: 1.748 MB / 0.4917 GB, free: 2.598 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006401/0.1499, allocations: 323.3 kB / 0.492 GB, free: 2.277 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000101/0.15, allocations: 97.66 kB / 0.4921 GB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008468/0.1508, allocations: 461.7 kB / 0.4925 GB, free: 1.684 MB / 366.1 MB Notification: Performance of pre-optimization done (n=69): time 2.655e-06/0.1509, allocations: 0 / 0.4925 GB, free: 1.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=69): time 0.005573/0.1564, allocations: 1.6 MB / 0.4941 GB, free: 44 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001279/0.1566, allocations: 222.2 kB / 0.4943 GB, free: 15.78 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008313/0.1574, allocations: 0.6486 MB / 0.4949 GB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.038e-05/0.1575, allocations: 41.7 kB / 0.495 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.1579, allocations: 0.5257 MB / 0.4955 GB, free: 14.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001733/0.1581, allocations: 228.8 kB / 0.4957 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002583/0.1583, allocations: 186.4 kB / 0.4959 GB, free: 14.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1585, allocations: 394.7 kB / 0.4963 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/0.1591, allocations: 293.8 kB / 0.4966 GB, free: 13.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.1599, allocations: 0.5348 MB / 0.4971 GB, free: 12.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/0.1613, allocations: 0.9399 MB / 0.498 GB, free: 11.74 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1613, allocations: 0 / 0.498 GB, free: 11.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002101/0.1634, allocations: 1.125 MB / 0.4991 GB, free: 10.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.1635, allocations: 59.41 kB / 0.4991 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1635, allocations: 8 kB / 0.4992 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004509/0.164, allocations: 93.05 kB / 0.4992 GB, free: 10.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.1648, allocations: 223.6 kB / 0.4995 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.1663, allocations: 1.581 MB / 0.501 GB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007123/0.167, allocations: 111.2 kB / 0.5011 GB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.618e-05/0.1671, 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.0005028/0.1676, allocations: 335.2 kB / 0.5015 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.1677, allocations: 91.05 kB / 0.5016 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001959/0.1697, allocations: 0.9988 MB / 0.5025 GB, free: 6.855 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.1697, allocations: 15.94 kB / 0.5025 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1697, allocations: 0 / 0.5025 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.1697, allocations: 3.984 kB / 0.5025 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005834/0.1756, allocations: 2.302 MB / 0.5048 GB, free: 4.457 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1756, allocations: 4 kB / 0.5048 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003742/0.176, allocations: 99.83 kB / 0.5049 GB, free: 4.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008152/0.1768, allocations: 326.3 kB / 0.5052 GB, free: 4.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-05/0.1769, allocations: 27.98 kB / 0.5052 GB, free: 4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001396/0.1783, allocations: 0.8974 MB / 0.5061 GB, free: 3.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1783, allocations: 4.062 kB / 0.5061 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002629/0.1809, allocations: 1.405 MB / 0.5075 GB, free: 1.621 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.1813, allocations: 228 kB / 0.5077 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.1815, allocations: 20 kB / 0.5077 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005887/0.1821, allocations: 47.91 kB / 0.5078 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.1822, allocations: 44.58 kB / 0.5078 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.558e-05/0.1823, allocations: 31.97 kB / 0.5078 GB, free: 1.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006454/0.183, allocations: 459 kB / 0.5083 GB, free: 0.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.183, allocations: 0 / 0.5083 GB, free: 0.793 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001063/0.184, allocations: 322.9 kB / 0.5086 GB, free: 488 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.001498/0.1856, allocations: 0.6599 MB / 0.5092 GB, free: 52 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.211/0.3966, allocations: 0.9887 MB / 0.5102 GB, free: 46.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.3966, allocations: 0 / 0.5102 GB, free: 46.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009248/0.3976, allocations: 0.4898 MB / 0.5107 GB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009303/0.3985, allocations: 159.8 kB / 0.5108 GB, free: 46.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.4015, allocations: 1.772 MB / 0.5126 GB, free: 45.87 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.402, allocations: 1.021 MB / 0.5136 GB, free: 45.16 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002451/0.4022, allocations: 86.55 kB / 0.5136 GB, free: 45.16 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4022, allocations: 0 / 0.5136 GB, free: 45.16 MB / 382.1 MB Notification: Performance of Templates: time 0.02187/0.4241, allocations: 17.36 MB / 0.5306 GB, free: 38.88 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)