Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_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.001684/0.001684, 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.686/1.686, allocations: 221.5 MB / 229.6 MB, free: 7.57 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.0009856/0.0009856, allocations: 93.84 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03255/0.03255, allocations: 5.283 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.0128/0.0128, allocations: 2.29 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 2.373e-05/2.376e-05, allocations: 3.938 kB / 450.1 MB, free: 48.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3032, allocations: 52.21 MB / 0.4905 GB, free: 5.676 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4382, allocations: 98.06 MB / 0.5863 GB, free: 14.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.4385, allocations: 63.98 kB / 0.5863 GB, free: 14.48 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09623/0.5347, allocations: 35.98 MB / 0.6215 GB, free: 10.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.5348, allocations: 0 / 0.6215 GB, free: 10.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.593e-05/0.5348, allocations: 20 kB / 0.6215 GB, free: 10.15 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.002957/0.5378, allocations: 1.373 MB / 0.6228 GB, free: 8.719 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5379, allocations: 8.031 kB / 0.6228 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.5394, allocations: 298.3 kB / 0.6231 GB, free: 8.418 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001313/0.5407, allocations: 0.6602 MB / 0.6238 GB, free: 7.715 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.5408, allocations: 36 kB / 0.6238 GB, free: 7.68 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.541, allocations: 67.95 kB / 0.6239 GB, free: 7.613 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00193/0.5429, allocations: 1.027 MB / 0.6249 GB, free: 6.582 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00182/0.5447, allocations: 0.9774 MB / 0.6258 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.5448, allocations: 0 / 0.6258 GB, free: 5.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.002e-05/0.5449, allocations: 4 kB / 0.6258 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.5449, allocations: 24 kB / 0.6259 GB, free: 5.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007059/0.552, allocations: 4.39 MB / 0.6301 GB, free: 0.9375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/0.5543, allocations: 1.769 MB / 0.6319 GB, free: 14.94 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000465/0.5548, allocations: 291.7 kB / 0.6322 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001072/0.5549, allocations: 97.64 kB / 0.6322 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006575/0.5555, allocations: 433.5 kB / 0.6327 GB, free: 14.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.796e-06/0.5556, allocations: 3.938 kB / 0.6327 GB, free: 14.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.003919/0.5595, allocations: 1.053 MB / 0.6337 GB, free: 13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001492/0.5596, allocations: 251.8 kB / 0.6339 GB, free: 12.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009098/0.5606, allocations: 0.5971 MB / 0.6345 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.974e-05/0.5606, allocations: 33.7 kB / 0.6345 GB, free: 12.07 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.5611, allocations: 0.5218 MB / 0.6351 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.5613, allocations: 228.8 kB / 0.6353 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.5613, allocations: 4 kB / 0.6353 GB, free: 11.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.5615, allocations: 390.7 kB / 0.6356 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00042/0.5619, allocations: 266.6 kB / 0.6359 GB, free: 10.65 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006015/0.5626, allocations: 0.5092 MB / 0.6364 GB, free: 10.04 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000822/0.5634, allocations: 404.3 kB / 0.6368 GB, free: 9.641 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.5634, allocations: 4 kB / 0.6368 GB, free: 9.637 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002127/0.5655, allocations: 1.031 MB / 0.6378 GB, free: 8.594 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.5656, allocations: 63.39 kB / 0.6379 GB, free: 8.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.5657, allocations: 8 kB / 0.6379 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005281/0.5662, allocations: 101.2 kB / 0.638 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008871/0.5671, allocations: 223.6 kB / 0.6382 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001967/0.5691, allocations: 1.506 MB / 0.6396 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000895/0.57, allocations: 83.27 kB / 0.6397 GB, free: 6.488 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-05/0.5701, allocations: 47.97 kB / 0.6398 GB, free: 6.441 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.0003443/0.5704, allocations: 198.4 kB / 0.64 GB, free: 6.23 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003879/0.5743, allocations: 1.104 MB / 0.641 GB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.5745, allocations: 79.06 kB / 0.6411 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.5786, allocations: 1.219 MB / 0.6423 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.5786, allocations: 12 kB / 0.6423 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5786, allocations: 0 / 0.6423 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.124e-05/0.5786, allocations: 3.984 kB / 0.6423 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003419/0.5821, allocations: 2.042 MB / 0.6443 GB, free: 1.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.5821, allocations: 4 kB / 0.6443 GB, free: 1.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004499/0.5825, allocations: 115.8 kB / 0.6444 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/0.5849, allocations: 0.5294 MB / 0.6449 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.772e-05/0.585, allocations: 19.97 kB / 0.645 GB, free: 1.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009746/0.586, allocations: 0.853 MB / 0.6458 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.503e-06/0.586, allocations: 3.938 kB / 0.6458 GB, free: 128 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.262/0.848, allocations: 1.354 MB / 0.6471 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005558/0.8487, allocations: 257.2 kB / 0.6474 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.8488, allocations: 11.36 kB / 0.6474 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005561/0.8494, allocations: 34.55 kB / 0.6474 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001297/0.8495, allocations: 56.05 kB / 0.6475 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.698e-05/0.8496, allocations: 34.41 kB / 0.6475 GB, free: 111.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006547/0.8503, allocations: 457.7 kB / 0.6479 GB, free: 111.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.8503, allocations: 0 / 0.6479 GB, free: 111.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00124/0.8515, allocations: 348.6 kB / 0.6483 GB, free: 111.3 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.005604/0.8572, allocations: 2.584 MB / 0.6508 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002498/0.8597, allocations: 0.9297 MB / 0.6517 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/0.8597, allocations: 0 / 0.6517 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001132/0.8609, 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.001207/0.8621, allocations: 114.9 kB / 0.6523 GB, free: 109.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006529/0.8687, allocations: 1.434 MB / 0.6537 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/0.8699, allocations: 1.049 MB / 0.6547 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009584/0.8709, allocations: 130.4 kB / 0.6548 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008238/0.8717, allocations: 407.5 kB / 0.6552 GB, free: 108.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.8717, allocations: 2.344 kB / 0.6552 GB, free: 108.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04935/0.9211, allocations: 18.78 MB / 0.6736 GB, free: 107.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001752/0.9213, allocations: 171 kB / 0.6737 GB, free: 107.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.615/3.537, allocations: 7.938 kB / 0.6737 GB, free: 107.4 MB / 426.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160629.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)