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: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704",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.001764/0.001764, 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.389/1.389, 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.0008756/0.0008755, allocations: 83.42 kB / 285.6 MB, free: 13.02 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02474/0.02474, allocations: 5.293 MB / 341.8 MB, free: 4.836 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007876/0.007876, allocations: 2.294 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.721e-05/3.735e-05, allocations: 11.98 kB / 457.3 MB, free: 9.395 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2743, allocations: 52.18 MB / 0.4975 GB, free: 41.48 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.119/0.3933, allocations: 98.54 MB / 0.5938 GB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002008/0.3936, allocations: 60.61 kB / 0.5938 GB, free: 7.773 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.329/0.7225, allocations: 37.06 MB / 0.63 GB, free: 93.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.7226, allocations: 0 / 0.63 GB, free: 93.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.605e-05/0.7226, allocations: 30.45 kB / 0.6301 GB, free: 93.97 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.002648/0.7253, allocations: 1.349 MB / 0.6314 GB, free: 93.21 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.7253, allocations: 15.69 kB / 0.6314 GB, free: 93.21 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.7255, allocations: 153 kB / 0.6315 GB, free: 93.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/0.7269, allocations: 305.2 kB / 0.6318 GB, free: 93.11 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009791/0.7279, allocations: 0.6498 MB / 0.6325 GB, free: 92.82 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.45e-05/0.728, allocations: 77.53 kB / 0.6325 GB, free: 92.82 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/0.7281, allocations: 105.8 kB / 0.6326 GB, free: 92.81 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/0.7298, allocations: 1.095 MB / 0.6337 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.7298, allocations: 3.906 kB / 0.6337 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.241e-05/0.7299, allocations: 39.66 kB / 0.6337 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.7299, allocations: 27.3 kB / 0.6338 GB, free: 92.64 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.7314, allocations: 0.9282 MB / 0.6347 GB, free: 92.63 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005444/0.7368, allocations: 4.499 MB / 0.6391 GB, free: 90.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.7385, allocations: 1.678 MB / 0.6407 GB, free: 88.86 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004215/0.7389, allocations: 300.6 kB / 0.641 GB, free: 88.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.607e-05/0.739, allocations: 97.19 kB / 0.6411 GB, free: 88.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005616/0.7396, allocations: 453.6 kB / 0.6415 GB, free: 88.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=67): time 3.075e-06/0.7396, allocations: 0 / 0.6415 GB, free: 88.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=67): time 0.003541/0.7432, allocations: 1.067 MB / 0.6426 GB, free: 87.96 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.77e-05/0.7433, allocations: 296.6 kB / 0.6428 GB, free: 87.61 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/0.7441, allocations: 0.6269 MB / 0.6435 GB, free: 87.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.205e-05/0.7442, allocations: 36.92 kB / 0.6435 GB, free: 87.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000304/0.7445, allocations: 0.516 MB / 0.644 GB, free: 86.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.7447, allocations: 215.3 kB / 0.6442 GB, free: 86.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.7447, allocations: 23.81 kB / 0.6442 GB, free: 86.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7449, allocations: 393 kB / 0.6446 GB, free: 86.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.7453, allocations: 265.4 kB / 0.6448 GB, free: 86.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004831/0.7458, allocations: 0.5195 MB / 0.6454 GB, free: 85.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004993/0.7463, allocations: 401.2 kB / 0.6457 GB, free: 85.6 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.7463, allocations: 0 / 0.6457 GB, free: 85.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001709/0.748, allocations: 1.049 MB / 0.6468 GB, free: 85.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.7481, allocations: 58.78 kB / 0.6468 GB, free: 85.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.7481, allocations: 14.91 kB / 0.6468 GB, free: 85.07 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005063/0.7486, allocations: 101.3 kB / 0.6469 GB, free: 85.06 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/0.7494, allocations: 213.8 kB / 0.6471 GB, free: 85.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001252/0.7507, allocations: 1.562 MB / 0.6487 GB, free: 83.39 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007892/0.7515, allocations: 117.8 kB / 0.6488 GB, free: 83.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.902e-05/0.7516, allocations: 50.72 kB / 0.6488 GB, free: 83.25 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.000225/0.7518, allocations: 234.7 kB / 0.649 GB, free: 83 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.7519, allocations: 83.16 kB / 0.6491 GB, free: 82.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/0.7554, allocations: 1.181 MB / 0.6503 GB, free: 81.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.7554, allocations: 4 kB / 0.6503 GB, free: 81.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.7554, allocations: 7.938 kB / 0.6503 GB, free: 81.9 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/0.7555, allocations: 3.938 kB / 0.6503 GB, free: 81.9 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.7581, allocations: 2.064 MB / 0.6523 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.7581, allocations: 0 / 0.6523 GB, free: 80.12 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003362/0.7585, allocations: 90.86 kB / 0.6524 GB, free: 80.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002215/0.7607, allocations: 0.5439 MB / 0.6529 GB, free: 79.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.145e-05/0.7608, allocations: 22.94 kB / 0.6529 GB, free: 79.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006904/0.7615, allocations: 0.868 MB / 0.6538 GB, free: 78.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.7615, allocations: 0 / 0.6538 GB, free: 78.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001665/0.7632, allocations: 1.336 MB / 0.6551 GB, free: 77.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004716/0.7636, allocations: 247.9 kB / 0.6553 GB, free: 77.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/0.7638, allocations: 27.95 kB / 0.6554 GB, free: 77.18 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006195/0.7645, allocations: 50.83 kB / 0.6554 GB, free: 77.14 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.194e-05/0.7646, allocations: 39.84 kB / 0.6554 GB, free: 77.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.456e-05/0.7646, allocations: 27.36 kB / 0.6555 GB, free: 77.09 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006096/0.7653, allocations: 492.2 kB / 0.6559 GB, free: 76.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7653, allocations: 4 kB / 0.6559 GB, free: 76.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001093/0.7664, allocations: 366.4 kB / 0.6563 GB, free: 76.3 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.003239/0.7696, allocations: 2.685 MB / 0.6589 GB, free: 73.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001424/0.7711, allocations: 0.9298 MB / 0.6598 GB, free: 72.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7711, allocations: 0 / 0.6598 GB, free: 72.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005882/0.7717, allocations: 472.3 kB / 0.6603 GB, free: 72.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008097/0.7725, allocations: 148.3 kB / 0.6604 GB, free: 72.38 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003008/0.7755, allocations: 1.447 MB / 0.6618 GB, free: 71.04 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.7759, allocations: 1.034 MB / 0.6628 GB, free: 70.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000435/0.7764, allocations: 111.5 kB / 0.6629 GB, free: 70.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004549/0.7768, allocations: 392 kB / 0.6633 GB, free: 69.69 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.7768, allocations: 3.938 kB / 0.6633 GB, free: 69.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03749/0.8143, allocations: 20.66 MB / 0.6835 GB, free: 49.57 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002156/0.8146, allocations: 223.7 kB / 0.6837 GB, free: 49.34 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.609/3.424, allocations: 0 / 0.6837 GB, free: 49.34 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160704.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)