Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 176.1 kB / 7.643 MB, free: 1.414 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.468/1.468, allocations: 221.5 MB / 229.6 MB, free: 3.172 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.0008558/0.0008559, allocations: 90.27 kB / 280.5 MB, free: 1.148 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.024/0.024, allocations: 5.295 MB / 336.6 MB, free: 9.094 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007985/0.007985, allocations: 2.3 MB / 390.8 MB, free: 74.52 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.861e-05/1.863e-05, allocations: 7.984 kB / 450 MB, free: 15.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2802/0.2802, allocations: 52.18 MB / 0.4904 GB, free: 43.41 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1173/0.3976, allocations: 97.87 MB / 0.586 GB, free: 12.65 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002001/0.3978, allocations: 73.16 kB / 0.5861 GB, free: 12.59 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09684/0.4947, allocations: 36.52 MB / 0.6217 GB, free: 7.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.4947, allocations: 4 kB / 0.6217 GB, free: 7.871 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.056e-05/0.4948, allocations: 27.98 kB / 0.6218 GB, free: 7.844 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.002926/0.4977, allocations: 1.354 MB / 0.6231 GB, free: 6.43 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.4977, allocations: 12.02 kB / 0.6231 GB, free: 6.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001612/0.4994, allocations: 302.2 kB / 0.6234 GB, free: 6.121 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.5006, allocations: 0.6565 MB / 0.624 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.044e-05/0.5006, allocations: 39.95 kB / 0.6241 GB, free: 5.383 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/0.5008, allocations: 64 kB / 0.6241 GB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001599/0.5024, allocations: 0.8631 MB / 0.625 GB, free: 4.457 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.504, allocations: 0.9274 MB / 0.6259 GB, free: 3.473 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.911e-05/0.5041, allocations: 3.938 kB / 0.6259 GB, free: 3.469 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-05/0.5042, allocations: 4 kB / 0.6259 GB, free: 3.465 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.5042, allocations: 24 kB / 0.6259 GB, free: 3.441 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2681/0.7723, allocations: 4.313 MB / 0.6301 GB, free: 102.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.7746, allocations: 1.646 MB / 0.6317 GB, free: 100.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005616/0.7752, allocations: 277 kB / 0.632 GB, free: 100.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/0.7753, allocations: 98.66 kB / 0.6321 GB, free: 100.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007065/0.776, allocations: 421.1 kB / 0.6325 GB, free: 100.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.016e-06/0.776, allocations: 0 / 0.6325 GB, free: 100.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003773/0.7798, allocations: 0.999 MB / 0.6334 GB, free: 100.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.7799, allocations: 301.8 kB / 0.6337 GB, free: 100.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.781, allocations: 0.5828 MB / 0.6343 GB, free: 100.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/0.7811, allocations: 32.23 kB / 0.6343 GB, free: 100 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004906/0.7816, allocations: 0.5202 MB / 0.6348 GB, free: 99.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/0.7818, allocations: 210.5 kB / 0.635 GB, free: 99.71 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.7819, allocations: 0.6875 kB / 0.635 GB, free: 99.71 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.782, allocations: 387.5 kB / 0.6354 GB, free: 99.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.7824, allocations: 247.5 kB / 0.6357 GB, free: 99.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/0.783, allocations: 0.4985 MB / 0.6361 GB, free: 99.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007736/0.7838, allocations: 386.5 kB / 0.6365 GB, free: 99.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.7838, allocations: 2.688 kB / 0.6365 GB, free: 99.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002111/0.7859, allocations: 0.9621 MB / 0.6374 GB, free: 99 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/0.786, allocations: 64.77 kB / 0.6375 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.818e-05/0.786, allocations: 8.75 kB / 0.6375 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005448/0.7866, allocations: 101.3 kB / 0.6376 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008253/0.7874, allocations: 218.6 kB / 0.6378 GB, free: 98.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001322/0.7887, allocations: 1.502 MB / 0.6393 GB, free: 97.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008317/0.7896, allocations: 86.7 kB / 0.6394 GB, free: 97.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.044e-05/0.7897, allocations: 49.61 kB / 0.6394 GB, free: 97.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete 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 (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.0002543/0.7899, allocations: 209.7 kB / 0.6396 GB, free: 97.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.7901, allocations: 81.56 kB / 0.6397 GB, free: 97.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003851/0.794, allocations: 1.103 MB / 0.6408 GB, free: 97.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.794, allocations: 6.812 kB / 0.6408 GB, free: 97.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.794, allocations: 3.625 kB / 0.6408 GB, free: 97.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.794, allocations: 4.984 kB / 0.6408 GB, free: 97.32 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003004/0.797, allocations: 1.85 MB / 0.6426 GB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.7971, allocations: 6.578 kB / 0.6426 GB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.7974, allocations: 90.41 kB / 0.6427 GB, free: 96.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002255/0.7997, allocations: 0.5407 MB / 0.6432 GB, free: 96.85 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-05/0.7998, allocations: 18.92 kB / 0.6432 GB, free: 96.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007389/0.8005, allocations: 0.8475 MB / 0.6441 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.8005, allocations: 0 / 0.6441 GB, free: 96.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001798/0.8023, allocations: 1.265 MB / 0.6453 GB, free: 96.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003997/0.8028, allocations: 245.4 kB / 0.6455 GB, free: 95.92 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.8029, allocations: 11.94 kB / 0.6455 GB, free: 95.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005167/0.8034, allocations: 37.84 kB / 0.6456 GB, free: 95.92 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.8035, allocations: 44 kB / 0.6456 GB, free: 95.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/0.8036, allocations: 27.06 kB / 0.6456 GB, free: 95.92 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005218/0.8041, allocations: 450.8 kB / 0.6461 GB, free: 95.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.8041, allocations: 0.5625 kB / 0.6461 GB, free: 95.82 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001129/0.8053, allocations: 334 kB / 0.6464 GB, free: 95.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.potentialSensor.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.nextTimeEvent,powerTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.00132/0.8066, allocations: 0.6573 MB / 0.647 GB, free: 95.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001349/0.808, allocations: 0.8702 MB / 0.6479 GB, free: 95.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.808, allocations: 0 / 0.6479 GB, free: 95.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005459/0.8085, allocations: 456.1 kB / 0.6483 GB, free: 95.25 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008798/0.8094, allocations: 133 kB / 0.6485 GB, free: 95.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002548/0.812, allocations: 1.2 MB / 0.6496 GB, free: 94.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.8125, allocations: 1.037 MB / 0.6506 GB, free: 94.05 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004955/0.813, allocations: 102.6 kB / 0.6507 GB, free: 94.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000194/0.8132, allocations: 81.7 kB / 0.6508 GB, free: 94.02 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.8132, allocations: 3.094 kB / 0.6508 GB, free: 94.02 MB / 410.7 MB Notification: Performance of Templates: time 0.03202/0.8452, allocations: 11.24 MB / 0.6618 GB, free: 93.27 MB / 410.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)