Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001405/0.001405, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 221.5 MB / 229.6 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009153, allocations: 92.2 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02304/0.02304, allocations: 5.288 MB / 336.5 MB, free: 9.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008368/0.008368, allocations: 2.29 MB / 390.8 MB, free: 3.555 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.592e-05, allocations: 0 / 450 MB, free: 48.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.2908, allocations: 52.2 MB / 0.4904 GB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1354/0.4262, allocations: 98.06 MB / 0.5862 GB, free: 14.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001807/0.4264, allocations: 71.97 kB / 0.5863 GB, free: 14.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09028/0.5167, allocations: 35.97 MB / 0.6214 GB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.5168, allocations: 0 / 0.6214 GB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.22e-05/0.5168, allocations: 23.94 kB / 0.6214 GB, free: 10.28 MB / 410.7 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.002878/0.5197, allocations: 1.351 MB / 0.6227 GB, free: 8.867 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.5198, allocations: 12.02 kB / 0.6227 GB, free: 8.855 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/0.5212, allocations: 306.3 kB / 0.623 GB, free: 8.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.5223, allocations: 0.6485 MB / 0.6237 GB, free: 7.863 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.481e-05/0.5223, allocations: 36 kB / 0.6237 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001401/0.5225, allocations: 75.94 kB / 0.6238 GB, free: 7.754 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001764/0.5243, allocations: 1.019 MB / 0.6248 GB, free: 6.73 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.5259, allocations: 0.9812 MB / 0.6257 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/0.5259, allocations: 7.984 kB / 0.6257 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.172e-05/0.526, allocations: 4 kB / 0.6257 GB, free: 5.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.526, allocations: 24 kB / 0.6257 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.5326, allocations: 4.398 MB / 0.63 GB, free: 1.066 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.5349, allocations: 1.757 MB / 0.6318 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004447/0.5354, allocations: 291.7 kB / 0.632 GB, free: 14.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.5355, allocations: 85.67 kB / 0.6321 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006283/0.5361, allocations: 453.4 kB / 0.6326 GB, free: 14.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 3.307e-06/0.5362, allocations: 0 / 0.6326 GB, free: 14.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.003882/0.54, allocations: 1.049 MB / 0.6336 GB, free: 13.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.5402, allocations: 247.9 kB / 0.6338 GB, free: 12.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008515/0.541, allocations: 0.5971 MB / 0.6344 GB, free: 12.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.131e-05/0.5411, allocations: 29.7 kB / 0.6344 GB, free: 12.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000425/0.5415, allocations: 0.5218 MB / 0.6349 GB, free: 11.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002045/0.5417, allocations: 232.7 kB / 0.6352 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.5418, allocations: 0 / 0.6352 GB, free: 11.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.542, allocations: 386.8 kB / 0.6355 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/0.5424, allocations: 274.6 kB / 0.6358 GB, free: 10.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005569/0.543, allocations: 0.5053 MB / 0.6363 GB, free: 10.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.5438, allocations: 416.3 kB / 0.6367 GB, free: 9.777 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.5438, allocations: 0 / 0.6367 GB, free: 9.777 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001957/0.5458, allocations: 1.028 MB / 0.6377 GB, free: 8.738 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.13e-05/0.5459, allocations: 76.61 kB / 0.6378 GB, free: 8.652 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.5459, allocations: 4 kB / 0.6378 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005023/0.5464, allocations: 100.7 kB / 0.6379 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000825/0.5472, allocations: 219.6 kB / 0.6381 GB, free: 8.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001547/0.5488, allocations: 1.506 MB / 0.6395 GB, free: 6.711 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.5496, allocations: 83.11 kB / 0.6396 GB, free: 6.629 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.068e-05/0.5497, allocations: 47.97 kB / 0.6397 GB, free: 6.582 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002784/0.5499, allocations: 202.3 kB / 0.6399 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001367/0.5501, allocations: 83.16 kB / 0.6399 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/0.5541, allocations: 1.215 MB / 0.6411 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.5541, allocations: 8 kB / 0.6411 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5541, allocations: 0 / 0.6411 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.5542, allocations: 3.984 kB / 0.6411 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.5575, allocations: 2.034 MB / 0.6431 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.5575, allocations: 3.984 kB / 0.6431 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004293/0.5579, allocations: 111.8 kB / 0.6432 GB, free: 2.832 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/0.5603, allocations: 0.5372 MB / 0.6438 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.347e-05/0.5604, allocations: 19.97 kB / 0.6438 GB, free: 2.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009201/0.5613, allocations: 0.8568 MB / 0.6446 GB, free: 1.383 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/0.5613, allocations: 4.062 kB / 0.6446 GB, free: 1.379 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2502/0.8115, allocations: 1.355 MB / 0.6459 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000856/0.8124, allocations: 254.4 kB / 0.6462 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001608/0.8126, allocations: 18.56 kB / 0.6462 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005837/0.8132, allocations: 33.39 kB / 0.6462 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.8133, allocations: 48.14 kB / 0.6463 GB, free: 111.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.708e-05/0.8134, allocations: 32.59 kB / 0.6463 GB, free: 111.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006848/0.8141, allocations: 460.9 kB / 0.6467 GB, free: 111.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8141, allocations: 0 / 0.6467 GB, free: 111.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001225/0.8154, allocations: 336.8 kB / 0.6471 GB, free: 111.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001481/0.8169, allocations: 0.6555 MB / 0.6477 GB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001598/0.8185, allocations: 0.9297 MB / 0.6486 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8185, allocations: 1.875 kB / 0.6486 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006773/0.8192, allocations: 498.6 kB / 0.6491 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007055/0.8199, allocations: 114.5 kB / 0.6492 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.8224, allocations: 1.253 MB / 0.6504 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006413/0.823, allocations: 1.044 MB / 0.6514 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005092/0.8235, allocations: 126.5 kB / 0.6516 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000236/0.8238, allocations: 80.84 kB / 0.6516 GB, free: 109.5 MB / 426.7 MB Notification: Performance of SimCode: time 5.21e-07/0.8238, allocations: 0 / 0.6516 GB, free: 109.5 MB / 426.7 MB Notification: Performance of Templates: time 0.02338/0.8472, allocations: 11.41 MB / 0.6628 GB, free: 108.7 MB / 426.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)