Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03321/0.03321, allocations: 5.394 MB / 21.03 MB, free: 1.516 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.001047/0.001048, allocations: 102.2 kB / 23.03 MB, free: 0.7852 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.001229/0.001228, allocations: 199.4 kB / 25.16 MB, free: 120 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.472/1.472, allocations: 222.9 MB / 250 MB, free: 8.406 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009618/0.009609, allocations: 2.328 MB / 303.7 MB, free: 6.434 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 87.86 kB / 419.6 MB, free: 22.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09637/0.09803, allocations: 51.2 MB / 470.8 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.008623/0.1067, allocations: 6.907 MB / 477.7 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006891/0.1136, allocations: 4.025 MB / 481.8 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/0.1145, allocations: 23.94 kB / 481.8 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002756/0.1173, allocations: 1.158 MB / 482.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.1193, allocations: 0.8853 MB / 483.8 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001689/0.121, allocations: 0.6214 MB / 484.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001506/0.1225, allocations: 1.405 MB / 485.9 MB, free: 4.133 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001369/0.1239, allocations: 1.013 MB / 486.9 MB, free: 3.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006873/0.1246, allocations: 0.5681 MB / 487.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008185/0.1254, allocations: 0.6808 MB / 488.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001834/0.1256, allocations: 136 kB / 488.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008297/0.1265, allocations: 443.6 kB / 488.7 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.1267, allocations: 287 kB / 489 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005854/0.1273, allocations: 0.6375 MB / 489.6 MB, free: 356 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002355/0.1297, allocations: 1.763 MB / 491.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.1297, allocations: 4 kB / 491.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.1297, allocations: 0 / 491.4 MB, free: 14.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.719e-05/0.1298, allocations: 0 / 491.4 MB, free: 14.57 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.004231/0.134, allocations: 1.835 MB / 493.2 MB, free: 12.67 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.134, allocations: 8.031 kB / 493.2 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002158/0.1362, allocations: 387.8 kB / 493.6 MB, free: 12.29 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00173/0.1379, allocations: 0.8287 MB / 494.4 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.29e-05/0.138, allocations: 77.94 kB / 494.5 MB, free: 11.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.1382, allocations: 104 kB / 494.6 MB, free: 11.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.1402, allocations: 1.126 MB / 495.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.1403, allocations: 4 kB / 495.7 MB, free: 10.05 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.1404, allocations: 36 kB / 495.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.1404, allocations: 28 kB / 495.8 MB, free: 9.988 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002019/0.1424, allocations: 0.9525 MB / 496.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006014/0.1485, allocations: 4.315 MB / 0.4893 GB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.1512, allocations: 1.665 MB / 0.4909 GB, free: 2.629 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006673/0.1519, allocations: 318.1 kB / 0.4912 GB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001038/0.152, allocations: 93.53 kB / 0.4913 GB, free: 2.199 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008944/0.1529, allocations: 458.6 kB / 0.4918 GB, free: 1.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=66): time 4.629e-06/0.1529, allocations: 3.984 kB / 0.4918 GB, free: 1.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.005593/0.1585, allocations: 1.557 MB / 0.4933 GB, free: 124 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002101/0.1588, allocations: 277.6 kB / 0.4936 GB, free: 15.79 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.1598, allocations: 0.6604 MB / 0.4942 GB, free: 15.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.381e-05/0.1599, allocations: 45.7 kB / 0.4942 GB, free: 15.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000503/0.1604, allocations: 0.5272 MB / 0.4948 GB, free: 14.53 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002168/0.1606, allocations: 226.2 kB / 0.495 GB, free: 14.31 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002976/0.1609, allocations: 190.5 kB / 0.4952 GB, free: 14.11 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.1611, allocations: 394.7 kB / 0.4955 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006314/0.1617, allocations: 281.8 kB / 0.4958 GB, free: 13.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008173/0.1626, allocations: 0.5402 MB / 0.4963 GB, free: 12.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.164, allocations: 0.914 MB / 0.4972 GB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.164, allocations: 3.938 kB / 0.4972 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002249/0.1663, allocations: 1.075 MB / 0.4983 GB, free: 10.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.258e-05/0.1664, allocations: 71.39 kB / 0.4983 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.1664, allocations: 8 kB / 0.4984 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.1669, allocations: 80.78 kB / 0.4984 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008223/0.1677, allocations: 223.7 kB / 0.4986 GB, free: 10.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00167/0.1694, allocations: 1.574 MB / 0.5002 GB, free: 8.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008197/0.1702, allocations: 107.4 kB / 0.5003 GB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.46e-05/0.1703, allocations: 51.97 kB / 0.5003 GB, free: 8.391 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.0006084/0.1709, allocations: 339.5 kB / 0.5007 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.1711, allocations: 95.36 kB / 0.5008 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.1731, allocations: 0.9052 MB / 0.5016 GB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.1731, allocations: 8 kB / 0.5016 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.1731, allocations: 0 / 0.5016 GB, free: 7.004 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.1732, allocations: 3.984 kB / 0.5016 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005774/0.1789, allocations: 2.215 MB / 0.5038 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.179, allocations: 4.062 kB / 0.5038 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003399/0.1793, allocations: 87.89 kB / 0.5039 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008219/0.1801, allocations: 330.3 kB / 0.5042 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.744e-05/0.1802, allocations: 23.97 kB / 0.5042 GB, free: 4.258 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001284/0.1815, allocations: 0.8897 MB / 0.5051 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.1815, allocations: 0 / 0.5051 GB, free: 3.336 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005028/0.1865, allocations: 1.643 MB / 0.5067 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003862/0.187, allocations: 220.4 kB / 0.5069 GB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.1871, allocations: 27.89 kB / 0.5069 GB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.1877, allocations: 47.95 kB / 0.507 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.489e-05/0.1878, allocations: 40.39 kB / 0.507 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-05/0.1879, allocations: 35.91 kB / 0.5071 GB, free: 1.266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006953/0.1886, allocations: 463 kB / 0.5075 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1886, allocations: 0 / 0.5075 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001287/0.1899, allocations: 319.2 kB / 0.5078 GB, free: 0.5039 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.001563/0.1915, allocations: 0.6562 MB / 0.5084 GB, free: 72 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.2217/0.4132, allocations: 0.9605 MB / 0.5094 GB, free: 46.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4132, allocations: 2.953 kB / 0.5094 GB, free: 46.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009522/0.4142, allocations: 488.2 kB / 0.5099 GB, free: 46.08 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.4153, allocations: 167.4 kB / 0.51 GB, free: 46.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003213/0.4185, allocations: 1.722 MB / 0.5117 GB, free: 45.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005147/0.419, allocations: 1.014 MB / 0.5127 GB, free: 44.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004543/0.4195, allocations: 123.4 kB / 0.5128 GB, free: 44.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002138/0.4197, allocations: 75.39 kB / 0.5129 GB, free: 44.64 MB / 382.1 MB Notification: Performance of SimCode: time 1.092e-06/0.4197, allocations: 4.625 kB / 0.5129 GB, free: 44.64 MB / 382.1 MB Notification: Performance of Templates: time 0.02536/0.4451, allocations: 12.33 MB / 0.5249 GB, free: 41.25 MB / 382.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)