Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001599/0.0016, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009241/0.0009247, allocations: 92.81 kB / 285.6 MB, free: 12.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.0253/0.0253, allocations: 5.288 MB / 341.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008182/0.008182, allocations: 2.294 MB / 396.2 MB, free: 70.45 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 3.382e-05/3.383e-05, allocations: 8 kB / 457.2 MB, free: 9.465 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3455/0.3456, allocations: 52.19 MB / 0.4974 GB, free: 41.39 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.474, allocations: 98.53 MB / 0.5937 GB, free: 7.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.4743, allocations: 75.91 kB / 0.5937 GB, free: 7.77 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3929/0.8672, allocations: 37.04 MB / 0.6299 GB, free: 93.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.8673, allocations: 4 kB / 0.6299 GB, free: 93.8 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.441e-05/0.8673, allocations: 33.95 kB / 0.6299 GB, free: 93.79 MB / 394.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.002707/0.87, allocations: 1.35 MB / 0.6313 GB, free: 93.03 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.8701, allocations: 7.781 kB / 0.6313 GB, free: 93.03 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00141/0.8715, allocations: 307.8 kB / 0.6316 GB, free: 92.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001049/0.8726, allocations: 0.6435 MB / 0.6322 GB, free: 92.68 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/0.8726, allocations: 76.25 kB / 0.6323 GB, free: 92.68 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.8728, allocations: 113.1 kB / 0.6324 GB, free: 92.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.8745, allocations: 1.09 MB / 0.6334 GB, free: 92.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.859e-05/0.8745, allocations: 11.72 kB / 0.6334 GB, free: 92.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.8747, allocations: 43.78 kB / 0.6335 GB, free: 92.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.942e-05/0.8747, allocations: 21.88 kB / 0.6335 GB, free: 92.5 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.8762, allocations: 0.9324 MB / 0.6344 GB, free: 92.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005536/0.8817, allocations: 4.484 MB / 0.6388 GB, free: 90.26 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001679/0.8834, allocations: 1.686 MB / 0.6404 GB, free: 88.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004145/0.8838, allocations: 295.1 kB / 0.6407 GB, free: 88.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.889e-05/0.8839, allocations: 88.25 kB / 0.6408 GB, free: 88.53 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005945/0.8845, allocations: 459.8 kB / 0.6413 GB, free: 88.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 2.335e-06/0.8845, allocations: 0 / 0.6413 GB, free: 88.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.003419/0.888, allocations: 1.059 MB / 0.6423 GB, free: 87.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.761e-05/0.8881, allocations: 302.3 kB / 0.6426 GB, free: 87.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007912/0.8889, allocations: 0.6297 MB / 0.6432 GB, free: 87.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.8889, allocations: 37.23 kB / 0.6432 GB, free: 87.2 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002799/0.8892, allocations: 0.5089 MB / 0.6437 GB, free: 86.79 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.8894, allocations: 217.8 kB / 0.6439 GB, free: 86.63 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.8894, allocations: 20.81 kB / 0.6439 GB, free: 86.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8896, allocations: 401 kB / 0.6443 GB, free: 86.26 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.89, allocations: 260.1 kB / 0.6446 GB, free: 86.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006153/0.8906, allocations: 0.5219 MB / 0.6451 GB, free: 85.73 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005228/0.8911, allocations: 398.2 kB / 0.6455 GB, free: 85.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.291e-06/0.8912, allocations: 7.656 kB / 0.6455 GB, free: 85.51 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001773/0.8929, allocations: 1.046 MB / 0.6465 GB, free: 85.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.695e-05/0.893, allocations: 62.31 kB / 0.6466 GB, free: 84.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.399e-05/0.8931, allocations: 15.83 kB / 0.6466 GB, free: 84.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000531/0.8936, allocations: 90.88 kB / 0.6467 GB, free: 84.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000793/0.8944, allocations: 217.8 kB / 0.6469 GB, free: 84.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.896, allocations: 1.567 MB / 0.6484 GB, free: 83.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008237/0.8968, allocations: 102.9 kB / 0.6485 GB, free: 83.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.573e-05/0.8969, allocations: 50.8 kB / 0.6485 GB, free: 83.33 MB / 394.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.0003024/0.8972, allocations: 234.3 kB / 0.6488 GB, free: 83.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.8973, allocations: 86.28 kB / 0.6488 GB, free: 83.01 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.9009, allocations: 1.192 MB / 0.65 GB, free: 81.99 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.901, allocations: 8 kB / 0.65 GB, free: 81.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.105e-06/0.901, allocations: 0 / 0.65 GB, free: 81.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.901, allocations: 8.219 kB / 0.65 GB, free: 81.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002806/0.9038, allocations: 2.062 MB / 0.652 GB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.9038, allocations: 0 / 0.652 GB, free: 80.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.9042, allocations: 86.8 kB / 0.6521 GB, free: 80.13 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002132/0.9063, allocations: 0.5449 MB / 0.6527 GB, free: 79.71 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.9064, allocations: 27.55 kB / 0.6527 GB, free: 79.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007241/0.9071, allocations: 0.861 MB / 0.6535 GB, free: 78.83 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9072, allocations: 3.938 kB / 0.6535 GB, free: 78.83 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001787/0.909, allocations: 1.34 MB / 0.6548 GB, free: 77.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004094/0.9094, allocations: 246.5 kB / 0.6551 GB, free: 77.29 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001266/0.9095, allocations: 20 kB / 0.6551 GB, free: 77.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005023/0.91, allocations: 51.44 kB / 0.6551 GB, free: 77.22 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.9101, allocations: 42.67 kB / 0.6552 GB, free: 77.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.003e-05/0.9102, allocations: 35.48 kB / 0.6552 GB, free: 77.17 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006498/0.9109, allocations: 493.9 kB / 0.6557 GB, free: 76.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.9109, allocations: 0 / 0.6557 GB, free: 76.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001296/0.9122, allocations: 358.3 kB / 0.656 GB, free: 76.38 MB / 394.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.001474/0.9137, allocations: 0.704 MB / 0.6567 GB, free: 75.94 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.9152, allocations: 0.9279 MB / 0.6576 GB, free: 75 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.9152, allocations: 4 kB / 0.6576 GB, free: 75 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.9158, allocations: 460.7 kB / 0.6581 GB, free: 74.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.9165, allocations: 146.2 kB / 0.6582 GB, free: 74.43 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.9188, allocations: 1.244 MB / 0.6594 GB, free: 73.26 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.9193, allocations: 1.036 MB / 0.6604 GB, free: 72.34 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004339/0.9198, allocations: 114.7 kB / 0.6605 GB, free: 72.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.92, allocations: 73.05 kB / 0.6606 GB, free: 72.19 MB / 394.7 MB Notification: Performance of SimCode: time 5.11e-07/0.92, allocations: 0 / 0.6606 GB, free: 72.19 MB / 394.7 MB Notification: Performance of Templates: time 0.02093/0.9409, allocations: 12.84 MB / 0.6731 GB, free: 60.03 MB / 394.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)