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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 176.2 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.405/1.405, allocations: 221.5 MB / 229.6 MB, free: 7.582 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.0008377/0.0008378, allocations: 83.62 kB / 280.5 MB, free: 5.324 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02254/0.02254, allocations: 5.29 MB / 336.5 MB, free: 9.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.01453/0.01453, allocations: 2.299 MB / 390.8 MB, free: 3.543 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.364e-05/1.365e-05, allocations: 0 / 450 MB, free: 48.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2845/0.2845, allocations: 52.2 MB / 0.4904 GB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1313/0.4158, allocations: 97.87 MB / 0.586 GB, free: 14.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001623/0.416, allocations: 67.97 kB / 0.5861 GB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09272/0.5088, allocations: 36.53 MB / 0.6217 GB, free: 9.941 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5088, allocations: 0 / 0.6217 GB, free: 9.941 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.065e-05/0.5089, allocations: 31.98 kB / 0.6218 GB, free: 9.91 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.002662/0.5115, allocations: 1.351 MB / 0.6231 GB, free: 8.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.5116, allocations: 11.97 kB / 0.6231 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/0.5131, allocations: 306.2 kB / 0.6234 GB, free: 8.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.5141, allocations: 0.6565 MB / 0.624 GB, free: 7.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.5142, allocations: 39.95 kB / 0.6241 GB, free: 7.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.5143, allocations: 64 kB / 0.6241 GB, free: 7.387 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001506/0.5158, allocations: 0.8591 MB / 0.625 GB, free: 6.527 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001526/0.5174, allocations: 0.9313 MB / 0.6259 GB, free: 5.539 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.5174, allocations: 11.92 kB / 0.6259 GB, free: 5.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.03e-05/0.5175, allocations: 8 kB / 0.6259 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/0.5175, allocations: 24 kB / 0.6259 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005839/0.5234, allocations: 4.307 MB / 0.6301 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.5252, allocations: 1.651 MB / 0.6317 GB, free: 15.09 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004216/0.5256, allocations: 280.5 kB / 0.632 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.518e-05/0.5257, allocations: 89.55 kB / 0.6321 GB, free: 14.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005933/0.5263, allocations: 430.4 kB / 0.6325 GB, free: 14.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.907e-06/0.5264, allocations: 0 / 0.6325 GB, free: 14.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.003794/0.5302, allocations: 0.9898 MB / 0.6335 GB, free: 13.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.5304, allocations: 299.3 kB / 0.6337 GB, free: 12.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000835/0.5312, allocations: 0.5893 MB / 0.6343 GB, free: 12.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.5313, allocations: 29.7 kB / 0.6343 GB, free: 12.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004046/0.5317, allocations: 0.518 MB / 0.6349 GB, free: 11.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.5319, allocations: 213 kB / 0.6351 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.5319, allocations: 0 / 0.6351 GB, free: 11.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001862/0.5321, allocations: 390.7 kB / 0.6354 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004076/0.5325, allocations: 246.6 kB / 0.6357 GB, free: 10.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005759/0.5331, allocations: 0.499 MB / 0.6362 GB, free: 10.27 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007305/0.5339, allocations: 384.3 kB / 0.6365 GB, free: 9.898 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.5339, allocations: 0 / 0.6365 GB, free: 9.898 MB / 426.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00188/0.5358, allocations: 0.9613 MB / 0.6375 GB, free: 8.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.5358, allocations: 67.39 kB / 0.6375 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.5359, allocations: 8 kB / 0.6375 GB, free: 8.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/0.5364, allocations: 92.78 kB / 0.6376 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008075/0.5372, allocations: 219.6 kB / 0.6378 GB, free: 8.531 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001528/0.5387, allocations: 1.514 MB / 0.6393 GB, free: 6.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007924/0.5396, allocations: 87.05 kB / 0.6394 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.5396, allocations: 51.92 kB / 0.6394 GB, free: 6.762 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.0002814/0.5399, allocations: 207.2 kB / 0.6396 GB, free: 6.539 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00014/0.5401, allocations: 79.06 kB / 0.6397 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/0.5438, allocations: 1.101 MB / 0.6408 GB, free: 5.348 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5438, allocations: 11.94 kB / 0.6408 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.5438, allocations: 0 / 0.6408 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/0.5438, allocations: 3.984 kB / 0.6408 GB, free: 5.332 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.5468, allocations: 1.863 MB / 0.6426 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.5469, allocations: 0 / 0.6426 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003564/0.5472, allocations: 87.89 kB / 0.6427 GB, free: 3.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.5495, allocations: 0.5333 MB / 0.6432 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.465e-05/0.5496, allocations: 19.97 kB / 0.6432 GB, free: 2.762 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008602/0.5505, allocations: 0.8567 MB / 0.6441 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.5505, allocations: 0 / 0.6441 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002007/0.5525, allocations: 1.254 MB / 0.6453 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003897/0.5529, allocations: 240.1 kB / 0.6455 GB, free: 332 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001344/0.5531, allocations: 15.97 kB / 0.6455 GB, free: 316 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005118/0.5536, allocations: 39.98 kB / 0.6456 GB, free: 276 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.958e-05/0.5537, allocations: 40.58 kB / 0.6456 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/0.5538, allocations: 35.97 kB / 0.6457 GB, free: 200 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2396/0.7934, allocations: 447.8 kB / 0.6461 GB, free: 111.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.7934, allocations: 0 / 0.6461 GB, free: 111.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001572/0.795, allocations: 330.6 kB / 0.6464 GB, free: 111.1 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.001375/0.7964, allocations: 0.6368 MB / 0.647 GB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.798, allocations: 0.8779 MB / 0.6479 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.7981, allocations: 0 / 0.6479 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.7988, allocations: 454.1 kB / 0.6483 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009564/0.7997, allocations: 126.5 kB / 0.6484 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.8023, allocations: 1.201 MB / 0.6496 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006523/0.803, allocations: 1.042 MB / 0.6506 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005163/0.8035, allocations: 105.8 kB / 0.6507 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002191/0.8038, allocations: 72.8 kB / 0.6508 GB, free: 109.4 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.8038, allocations: 1.594 kB / 0.6508 GB, free: 109.4 MB / 426.7 MB Notification: Performance of Templates: time 0.02213/0.8259, allocations: 11.26 MB / 0.6618 GB, free: 108.7 MB / 426.7 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)