Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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.001121/0.001121, allocations: 173.9 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.453/1.453, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.001007/0.001007, allocations: 93.59 kB / 280.5 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02253/0.02253, allocations: 5.302 MB / 336.5 MB, free: 9.926 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008969/0.008969, allocations: 2.282 MB / 390.8 MB, free: 3.555 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.974e-05/1.976e-05, allocations: 0 / 450.1 MB, free: 48.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3004, allocations: 52.19 MB / 0.4905 GB, free: 5.691 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1445/0.4449, allocations: 98.07 MB / 0.5863 GB, free: 14.57 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/0.4452, allocations: 63.97 kB / 0.5863 GB, free: 14.5 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09532/0.5406, allocations: 35.98 MB / 0.6215 GB, free: 10.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.5406, allocations: 0 / 0.6215 GB, free: 10.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.032e-05/0.5407, allocations: 20 kB / 0.6215 GB, free: 10.17 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003062/0.5438, allocations: 1.363 MB / 0.6228 GB, free: 8.742 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.5438, allocations: 8.031 kB / 0.6228 GB, free: 8.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001513/0.5453, allocations: 306.3 kB / 0.6231 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.5464, allocations: 0.6486 MB / 0.6238 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/0.5465, allocations: 36 kB / 0.6238 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001374/0.5466, allocations: 75.88 kB / 0.6239 GB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00182/0.5484, allocations: 1.027 MB / 0.6249 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.5502, allocations: 0.9696 MB / 0.6258 GB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.725e-05/0.5502, allocations: 0 / 0.6258 GB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.5503, allocations: 15.98 kB / 0.6258 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.5503, allocations: 24 kB / 0.6259 GB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006533/0.5569, allocations: 4.382 MB / 0.6301 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002154/0.559, allocations: 1.77 MB / 0.6319 GB, free: 14.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004551/0.5595, allocations: 295.7 kB / 0.6321 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/0.5596, allocations: 93.64 kB / 0.6322 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006788/0.5603, allocations: 445.5 kB / 0.6327 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.976e-06/0.5603, allocations: 3.938 kB / 0.6327 GB, free: 14.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.00397/0.5643, allocations: 1.053 MB / 0.6337 GB, free: 13.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.5645, allocations: 247.8 kB / 0.6339 GB, free: 12.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008855/0.5654, allocations: 0.5932 MB / 0.6345 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.708e-05/0.5655, allocations: 33.7 kB / 0.6345 GB, free: 12.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.5659, allocations: 0.5218 MB / 0.6351 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002098/0.5661, allocations: 232.7 kB / 0.6353 GB, free: 11.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/0.5662, allocations: 0 / 0.6353 GB, free: 11.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000198/0.5664, allocations: 390.8 kB / 0.6356 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004381/0.5668, allocations: 270.6 kB / 0.6359 GB, free: 10.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006164/0.5674, allocations: 0.5092 MB / 0.6364 GB, free: 10.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/0.5683, allocations: 408.3 kB / 0.6368 GB, free: 9.652 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.5683, allocations: 4 kB / 0.6368 GB, free: 9.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002042/0.5704, allocations: 1.024 MB / 0.6378 GB, free: 8.613 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.2e-05/0.5705, allocations: 67.58 kB / 0.6379 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.5705, allocations: 8 kB / 0.6379 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005068/0.571, allocations: 96.73 kB / 0.638 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008246/0.5718, allocations: 223.6 kB / 0.6382 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.5734, allocations: 1.502 MB / 0.6396 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006933/0.5741, allocations: 79.11 kB / 0.6397 GB, free: 6.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.52e-05/0.5742, allocations: 47.97 kB / 0.6398 GB, free: 6.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * 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.0002725/0.5745, allocations: 206.4 kB / 0.64 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003683/0.5782, allocations: 1.096 MB / 0.641 GB, free: 5.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001521/0.5784, allocations: 83.05 kB / 0.6411 GB, free: 5.059 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003986/0.5824, allocations: 1.227 MB / 0.6423 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.5824, allocations: 4 kB / 0.6423 GB, free: 3.809 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5824, allocations: 11.98 kB / 0.6423 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.5824, allocations: 0 / 0.6423 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.5856, allocations: 2.038 MB / 0.6443 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5856, allocations: 0 / 0.6443 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000418/0.5861, allocations: 111.8 kB / 0.6444 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002268/0.5883, allocations: 0.5372 MB / 0.6449 GB, free: 1.047 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.01e-05/0.5884, allocations: 19.97 kB / 0.645 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008698/0.5893, allocations: 0.849 MB / 0.6458 GB, free: 156 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.5893, allocations: 4.031 kB / 0.6458 GB, free: 152 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2497/0.839, allocations: 1.356 MB / 0.6471 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005371/0.8396, allocations: 255.7 kB / 0.6474 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.8397, allocations: 13.47 kB / 0.6474 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005671/0.8403, allocations: 32.16 kB / 0.6474 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.8404, allocations: 56.31 kB / 0.6475 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-05/0.8405, allocations: 32.58 kB / 0.6475 GB, free: 111.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006934/0.8412, allocations: 458.2 kB / 0.6479 GB, free: 111.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8412, allocations: 0 / 0.6479 GB, free: 111.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001241/0.8425, allocations: 348.2 kB / 0.6483 GB, free: 111.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.003804/0.8463, allocations: 2.588 MB / 0.6508 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.8478, allocations: 0.9304 MB / 0.6517 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8479, allocations: 0 / 0.6517 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007234/0.8486, allocations: 0.4931 MB / 0.6522 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007813/0.8494, allocations: 113.8 kB / 0.6523 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003297/0.8527, allocations: 1.441 MB / 0.6537 GB, free: 109.6 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.8534, allocations: 1.05 MB / 0.6547 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005069/0.8539, allocations: 122.3 kB / 0.6548 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005022/0.8544, allocations: 410.9 kB / 0.6552 GB, free: 108.9 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.8544, allocations: 0 / 0.6552 GB, free: 108.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04604/0.9004, allocations: 18.78 MB / 0.6736 GB, free: 107.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001406/0.9006, allocations: 174.9 kB / 0.6737 GB, free: 107.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.531/3.432, allocations: 0 / 0.6737 GB, free: 107.6 MB / 426.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160704.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)