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.001014/0.001014, allocations: 169.2 kB / 7.64 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.449/1.449, allocations: 221.5 MB / 229.6 MB, free: 7.508 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.001055/0.001055, allocations: 83.61 kB / 280.5 MB, free: 5.246 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03315/0.03315, allocations: 5.292 MB / 336.5 MB, free: 9.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008899/0.008899, allocations: 2.297 MB / 390.8 MB, free: 3.516 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.117e-05/1.119e-05, allocations: 0 / 450 MB, free: 48.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2827, allocations: 52.19 MB / 0.4904 GB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1241/0.4068, allocations: 97.87 MB / 0.586 GB, free: 14.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001794/0.407, allocations: 63.98 kB / 0.5861 GB, free: 14.78 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09431/0.5013, allocations: 36.54 MB / 0.6217 GB, free: 9.914 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5014, allocations: 0 / 0.6217 GB, free: 9.914 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.768e-05/0.5014, allocations: 20 kB / 0.6218 GB, free: 9.895 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.00276/0.5042, allocations: 1.352 MB / 0.6231 GB, free: 8.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5043, allocations: 8.031 kB / 0.6231 GB, free: 8.473 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001494/0.5058, allocations: 306.2 kB / 0.6234 GB, free: 8.172 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0011/0.5069, allocations: 0.6526 MB / 0.624 GB, free: 7.477 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.577e-05/0.5069, allocations: 39.95 kB / 0.624 GB, free: 7.438 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.5071, allocations: 67.98 kB / 0.6241 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001521/0.5086, allocations: 0.8553 MB / 0.6249 GB, free: 6.516 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.5102, allocations: 0.9274 MB / 0.6259 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.5102, allocations: 7.938 kB / 0.6259 GB, free: 5.523 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.47e-05/0.5103, allocations: 15.98 kB / 0.6259 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.221e-05/0.5104, allocations: 24 kB / 0.6259 GB, free: 5.484 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006107/0.5165, allocations: 4.311 MB / 0.6301 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001814/0.5183, allocations: 1.649 MB / 0.6317 GB, free: 15.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004078/0.5187, allocations: 278.7 kB / 0.632 GB, free: 14.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.964e-05/0.5189, allocations: 93.53 kB / 0.6321 GB, free: 14.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006092/0.5195, allocations: 422.4 kB / 0.6325 GB, free: 14.24 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.524e-06/0.5195, allocations: 0 / 0.6325 GB, free: 14.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.003728/0.5232, allocations: 0.9937 MB / 0.6334 GB, free: 13.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/0.5234, allocations: 303.3 kB / 0.6337 GB, free: 12.87 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009256/0.5244, allocations: 0.5932 MB / 0.6343 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.025e-05/0.5244, allocations: 25.7 kB / 0.6343 GB, free: 12.24 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004837/0.5249, allocations: 0.518 MB / 0.6348 GB, free: 11.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.5251, allocations: 209 kB / 0.635 GB, free: 11.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.279e-05/0.5252, allocations: 0 / 0.635 GB, free: 11.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.5254, allocations: 390.7 kB / 0.6354 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/0.5258, allocations: 246.6 kB / 0.6357 GB, free: 10.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.5263, allocations: 0.5067 MB / 0.6361 GB, free: 10.25 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007656/0.5271, allocations: 376.3 kB / 0.6365 GB, free: 9.887 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.5271, allocations: 4 kB / 0.6365 GB, free: 9.883 MB / 426.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001931/0.5291, allocations: 0.9651 MB / 0.6375 GB, free: 8.906 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.601e-05/0.5291, allocations: 59.41 kB / 0.6375 GB, free: 8.836 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5292, allocations: 12.03 kB / 0.6375 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005434/0.5297, allocations: 96.77 kB / 0.6376 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.5305, allocations: 215.6 kB / 0.6378 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.5321, allocations: 1.51 MB / 0.6393 GB, free: 6.887 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.5329, allocations: 91.03 kB / 0.6394 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.533, allocations: 47.94 kB / 0.6394 GB, free: 6.75 MB / 426.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.0002816/0.5333, allocations: 217.9 kB / 0.6396 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.5334, allocations: 79.06 kB / 0.6397 GB, free: 6.441 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/0.5372, allocations: 1.101 MB / 0.6408 GB, free: 5.328 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.5372, allocations: 8 kB / 0.6408 GB, free: 5.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5372, allocations: 7.938 kB / 0.6408 GB, free: 5.312 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.033e-05/0.5372, allocations: 3.984 kB / 0.6408 GB, free: 5.309 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002996/0.5402, allocations: 1.852 MB / 0.6426 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5402, allocations: 4 kB / 0.6426 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003741/0.5406, allocations: 83.89 kB / 0.6427 GB, free: 3.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/0.543, allocations: 0.5372 MB / 0.6432 GB, free: 2.766 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-05/0.543, allocations: 19.97 kB / 0.6432 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008366/0.5439, allocations: 0.8529 MB / 0.6441 GB, free: 1.867 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.803e-06/0.5439, allocations: 8.094 kB / 0.6441 GB, free: 1.859 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.546, allocations: 1.254 MB / 0.6453 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004165/0.5464, allocations: 243.9 kB / 0.6455 GB, free: 308 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.5466, allocations: 12 kB / 0.6455 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.5471, allocations: 35.97 kB / 0.6456 GB, free: 260 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.933e-05/0.5472, allocations: 48.45 kB / 0.6456 GB, free: 212 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-05/0.5473, allocations: 27.97 kB / 0.6457 GB, free: 184 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.3198/0.8671, allocations: 446.6 kB / 0.6461 GB, free: 111.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.8671, allocations: 0 / 0.6461 GB, free: 111.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002013/0.8691, allocations: 330.5 kB / 0.6464 GB, free: 111.2 MB / 426.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.001943/0.8711, allocations: 0.6449 MB / 0.647 GB, free: 111 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.8731, allocations: 0.8753 MB / 0.6479 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8731, allocations: 1.094 kB / 0.6479 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008748/0.874, allocations: 450.1 kB / 0.6483 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.8752, allocations: 141.4 kB / 0.6484 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.8783, allocations: 1.197 MB / 0.6496 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006788/0.879, allocations: 1.039 MB / 0.6506 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007113/0.8797, allocations: 106.3 kB / 0.6507 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.8801, allocations: 71.78 kB / 0.6508 GB, free: 109.6 MB / 426.7 MB Notification: Performance of SimCode: time 4.3e-07/0.8801, allocations: 1 kB / 0.6508 GB, free: 109.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03048/0.9106, allocations: 11.24 MB / 0.6618 GB, free: 108.8 MB / 426.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)