Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.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: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 176.2 kB / 7.648 MB, free: 1.422 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.531/1.531, allocations: 221.5 MB / 229.6 MB, free: 7.52 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.001119/0.001119, allocations: 95.34 kB / 280.5 MB, free: 5.258 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02346/0.02346, allocations: 5.292 MB / 336.5 MB, free: 9.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009046/0.009046, allocations: 2.295 MB / 390.8 MB, free: 3.527 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 2.083e-05/2.079e-05, allocations: 0 / 450.1 MB, free: 48.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.281, allocations: 52.2 MB / 0.4905 GB, free: 5.688 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1315/0.4125, allocations: 97.88 MB / 0.5861 GB, free: 14.73 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002102/0.4128, allocations: 63.98 kB / 0.5862 GB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09761/0.5104, allocations: 36.53 MB / 0.6218 GB, free: 9.809 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.5104, allocations: 4 kB / 0.6218 GB, free: 9.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.3e-05/0.5105, allocations: 27.98 kB / 0.6219 GB, free: 9.777 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.002987/0.5135, allocations: 1.353 MB / 0.6232 GB, free: 8.363 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.5135, allocations: 8.031 kB / 0.6232 GB, free: 8.355 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001505/0.5151, allocations: 314.1 kB / 0.6235 GB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.5162, allocations: 0.6488 MB / 0.6241 GB, free: 7.355 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.112e-05/0.5162, allocations: 39.95 kB / 0.6242 GB, free: 7.316 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001433/0.5164, allocations: 60 kB / 0.6242 GB, free: 7.258 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001547/0.5179, allocations: 0.8669 MB / 0.6251 GB, free: 6.391 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.5196, allocations: 0.9274 MB / 0.626 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.828e-05/0.5197, allocations: 0 / 0.626 GB, free: 5.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.142e-05/0.5198, allocations: 8 kB / 0.626 GB, free: 5.398 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.685e-05/0.5198, allocations: 24 kB / 0.626 GB, free: 5.375 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006631/0.5264, allocations: 4.323 MB / 0.6302 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001958/0.5284, allocations: 1.645 MB / 0.6318 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004509/0.5289, allocations: 284.5 kB / 0.6321 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.529, allocations: 97.52 kB / 0.6322 GB, free: 14.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006985/0.5297, allocations: 418.4 kB / 0.6326 GB, free: 14.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.995e-06/0.5297, allocations: 0 / 0.6326 GB, free: 14.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.003842/0.5336, allocations: 0.9976 MB / 0.6336 GB, free: 13.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.5337, allocations: 299.3 kB / 0.6339 GB, free: 12.75 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008569/0.5346, allocations: 0.5894 MB / 0.6344 GB, free: 12.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.611e-05/0.5347, allocations: 29.7 kB / 0.6345 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004217/0.5351, allocations: 0.5141 MB / 0.635 GB, free: 11.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.5353, allocations: 216.9 kB / 0.6352 GB, free: 11.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.5354, allocations: 0 / 0.6352 GB, free: 11.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.5355, allocations: 390.7 kB / 0.6355 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.536, allocations: 246.6 kB / 0.6358 GB, free: 10.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006158/0.5366, allocations: 0.4989 MB / 0.6363 GB, free: 10.13 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007843/0.5374, allocations: 388.3 kB / 0.6366 GB, free: 9.754 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.782e-06/0.5374, allocations: 4 kB / 0.6366 GB, free: 9.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001946/0.5393, allocations: 0.9613 MB / 0.6376 GB, free: 8.777 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/0.5394, allocations: 59.41 kB / 0.6376 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5394, allocations: 8.125 kB / 0.6376 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004982/0.5399, allocations: 100.7 kB / 0.6377 GB, free: 8.598 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000815/0.5408, allocations: 215.7 kB / 0.6379 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001576/0.5424, allocations: 1.514 MB / 0.6394 GB, free: 6.754 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008343/0.5432, allocations: 83.11 kB / 0.6395 GB, free: 6.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.399e-05/0.5433, allocations: 51.92 kB / 0.6395 GB, free: 6.621 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.0002724/0.5436, allocations: 207.2 kB / 0.6397 GB, free: 6.398 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003644/0.5472, allocations: 1.048 MB / 0.6408 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.5474, allocations: 83.06 kB / 0.6408 GB, free: 5.254 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003788/0.5512, allocations: 1.093 MB / 0.6419 GB, free: 4.148 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5512, allocations: 8 kB / 0.6419 GB, free: 4.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.802e-06/0.5512, allocations: 7.984 kB / 0.6419 GB, free: 4.133 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5512, allocations: 3.984 kB / 0.6419 GB, free: 4.129 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.5542, allocations: 1.863 MB / 0.6438 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.5542, allocations: 0 / 0.6438 GB, free: 2.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.5546, allocations: 87.84 kB / 0.6438 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00241/0.557, allocations: 0.541 MB / 0.6444 GB, free: 1.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.48e-05/0.5571, allocations: 19.97 kB / 0.6444 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009186/0.558, allocations: 0.849 MB / 0.6452 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.558, allocations: 3.984 kB / 0.6452 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2187/0.7768, allocations: 1.254 MB / 0.6464 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.7773, allocations: 243 kB / 0.6467 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.7775, allocations: 12.78 kB / 0.6467 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005591/0.7781, allocations: 35.03 kB / 0.6467 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.7782, allocations: 41.22 kB / 0.6468 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.226e-05/0.7782, allocations: 34.28 kB / 0.6468 GB, free: 110.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006495/0.7789, allocations: 451.8 kB / 0.6472 GB, free: 110.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7789, allocations: 0 / 0.6472 GB, free: 110.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001132/0.7801, allocations: 332.5 kB / 0.6475 GB, free: 110.7 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.00347/0.7835, allocations: 2.544 MB / 0.65 GB, free: 109.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.7849, allocations: 0.8758 MB / 0.6509 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.7849, allocations: 1.938 kB / 0.6509 GB, free: 109.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005881/0.7855, allocations: 448.5 kB / 0.6513 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.7863, allocations: 139.9 kB / 0.6514 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003304/0.7896, allocations: 1.374 MB / 0.6528 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006651/0.7903, allocations: 1.036 MB / 0.6538 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005555/0.7909, allocations: 108 kB / 0.6539 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005084/0.7914, allocations: 386.2 kB / 0.6543 GB, free: 108.2 MB / 426.7 MB Notification: Performance of SimCode: time 4.01e-07/0.7914, allocations: 3.391 kB / 0.6543 GB, free: 108.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04386/0.8353, allocations: 18.44 MB / 0.6723 GB, free: 107 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/0.8355, allocations: 175 kB / 0.6724 GB, free: 106.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.5/3.335, allocations: 3.938 kB / 0.6724 GB, free: 106.8 MB / 426.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)