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.001176/0.001176, allocations: 174.7 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.361/1.361, allocations: 221.4 MB / 234.6 MB, free: 14.46 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.0009259/0.0009259, allocations: 99.08 kB / 285.6 MB, free: 12.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02493/0.02493, allocations: 5.284 MB / 341.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007888/0.007888, allocations: 2.303 MB / 396.2 MB, free: 70.48 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 3.497e-05/3.5e-05, allocations: 7.984 kB / 457.3 MB, free: 9.406 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.368, allocations: 52.2 MB / 0.4975 GB, free: 41.45 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1156/0.4836, allocations: 98.53 MB / 0.5938 GB, free: 7.859 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.4839, allocations: 68.56 kB / 0.5938 GB, free: 7.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3205/0.8044, allocations: 37.06 MB / 0.63 GB, free: 93.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.8044, allocations: 4 kB / 0.63 GB, free: 93.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.888e-05/0.8045, allocations: 30.08 kB / 0.6301 GB, free: 93.88 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.003016/0.8075, allocations: 1.344 MB / 0.6314 GB, free: 93.11 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.8076, allocations: 12.59 kB / 0.6314 GB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002548/0.8078, allocations: 161 kB / 0.6315 GB, free: 93.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/0.8094, allocations: 294.4 kB / 0.6318 GB, free: 93.01 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.8106, allocations: 0.6504 MB / 0.6325 GB, free: 92.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.342e-05/0.8107, allocations: 77.47 kB / 0.6325 GB, free: 92.72 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.8108, allocations: 114.7 kB / 0.6326 GB, free: 92.71 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001738/0.8126, allocations: 1.091 MB / 0.6337 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.028e-05/0.8126, allocations: 6.797 kB / 0.6337 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.736e-05/0.8127, allocations: 42.28 kB / 0.6338 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.8128, allocations: 26.47 kB / 0.6338 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.8143, allocations: 0.9256 MB / 0.6347 GB, free: 92.53 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005953/0.8203, allocations: 4.495 MB / 0.6391 GB, free: 90.24 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001671/0.822, allocations: 1.684 MB / 0.6407 GB, free: 88.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004369/0.8224, allocations: 298.8 kB / 0.641 GB, free: 88.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.01e-05/0.8225, allocations: 87.92 kB / 0.6411 GB, free: 88.51 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005614/0.8231, allocations: 449.7 kB / 0.6415 GB, free: 88.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 2.865e-06/0.8231, allocations: 0 / 0.6415 GB, free: 88.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.003631/0.8267, allocations: 1.064 MB / 0.6426 GB, free: 87.86 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.8269, allocations: 301.4 kB / 0.6428 GB, free: 87.51 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.8279, allocations: 0.6217 MB / 0.6434 GB, free: 87.22 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.268e-05/0.828, allocations: 47.81 kB / 0.6435 GB, free: 87.18 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.8284, allocations: 0.5136 MB / 0.644 GB, free: 86.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.8287, allocations: 213.3 kB / 0.6442 GB, free: 86.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.165e-05/0.8288, allocations: 19.81 kB / 0.6442 GB, free: 86.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.829, allocations: 395.3 kB / 0.6446 GB, free: 86.25 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008231/0.8298, allocations: 266.2 kB / 0.6448 GB, free: 86.14 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.8308, allocations: 0.5254 MB / 0.6454 GB, free: 85.7 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.8319, allocations: 394.8 kB / 0.6457 GB, free: 85.5 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.126e-05/0.8319, allocations: 3.312 kB / 0.6457 GB, free: 85.5 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003067/0.835, allocations: 1.045 MB / 0.6468 GB, free: 85.04 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.902e-05/0.8351, allocations: 76.53 kB / 0.6468 GB, free: 84.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.05e-05/0.8351, allocations: 7.5 kB / 0.6468 GB, free: 84.96 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007999/0.8359, allocations: 93.41 kB / 0.6469 GB, free: 84.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001557/0.8375, allocations: 220.1 kB / 0.6471 GB, free: 84.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.8396, allocations: 1.557 MB / 0.6487 GB, free: 83.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.8411, allocations: 116.6 kB / 0.6488 GB, free: 83.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.8413, allocations: 46.8 kB / 0.6488 GB, free: 83.27 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.0003976/0.8417, allocations: 234 kB / 0.649 GB, free: 83.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.8421, allocations: 82.81 kB / 0.6491 GB, free: 82.95 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006648/0.8487, allocations: 1.187 MB / 0.6503 GB, free: 81.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.8488, allocations: 8 kB / 0.6503 GB, free: 81.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.8488, allocations: 0 / 0.6503 GB, free: 81.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/0.8488, allocations: 7.938 kB / 0.6503 GB, free: 81.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005323/0.8542, allocations: 2.055 MB / 0.6523 GB, free: 80.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.984e-06/0.8542, allocations: 0 / 0.6523 GB, free: 80.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006976/0.8549, allocations: 90.84 kB / 0.6524 GB, free: 80.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003816/0.8588, allocations: 0.544 MB / 0.6529 GB, free: 79.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.8589, allocations: 31.78 kB / 0.6529 GB, free: 79.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001097/0.86, allocations: 0.8571 MB / 0.6538 GB, free: 78.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.86, allocations: 7.828 kB / 0.6538 GB, free: 78.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002952/0.863, allocations: 1.335 MB / 0.6551 GB, free: 77.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.8636, allocations: 245.6 kB / 0.6553 GB, free: 77.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.8639, allocations: 27.95 kB / 0.6554 GB, free: 77.21 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007936/0.8647, allocations: 51.19 kB / 0.6554 GB, free: 77.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.8648, allocations: 38.56 kB / 0.6554 GB, free: 77.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.841e-05/0.8649, allocations: 38.05 kB / 0.6555 GB, free: 77.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008548/0.8658, allocations: 493.5 kB / 0.6559 GB, free: 76.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.8658, allocations: 0 / 0.6559 GB, free: 76.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001492/0.8673, allocations: 362.6 kB / 0.6563 GB, free: 76.32 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.003282/0.8706, allocations: 2.693 MB / 0.6589 GB, free: 73.91 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.8721, allocations: 0.9268 MB / 0.6598 GB, free: 72.98 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8721, allocations: 0 / 0.6598 GB, free: 72.98 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000607/0.8727, allocations: 474.4 kB / 0.6603 GB, free: 72.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008002/0.8735, allocations: 153.3 kB / 0.6604 GB, free: 72.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.8765, allocations: 1.444 MB / 0.6618 GB, free: 71.06 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/0.877, allocations: 1.03 MB / 0.6628 GB, free: 70.14 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004889/0.8775, allocations: 113.7 kB / 0.663 GB, free: 70.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004588/0.878, allocations: 389.6 kB / 0.6633 GB, free: 69.71 MB / 394.7 MB Notification: Performance of SimCode: time 4.2e-07/0.878, allocations: 0 / 0.6633 GB, free: 69.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04023/0.9182, allocations: 20.66 MB / 0.6835 GB, free: 49.62 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.9184, allocations: 223.8 kB / 0.6837 GB, free: 49.39 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.665/3.583, allocations: 0 / 0.6837 GB, free: 49.39 MB / 394.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)