Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808",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.0009887/0.0009887, allocations: 172.5 kB / 7.646 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.483/1.483, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008968/0.0008969, allocations: 92.88 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.02298/0.02298, allocations: 5.296 MB / 336.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00858/0.00858, allocations: 2.295 MB / 390.8 MB, free: 3.531 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.521e-05/1.524e-05, allocations: 0 / 450.1 MB, free: 48.86 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.3042, allocations: 52.21 MB / 0.4905 GB, free: 5.684 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.4417, allocations: 98.07 MB / 0.5863 GB, free: 14.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.442, allocations: 63.98 kB / 0.5863 GB, free: 14.49 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09175/0.5337, allocations: 35.97 MB / 0.6215 GB, free: 10.19 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.5338, allocations: 0 / 0.6215 GB, free: 10.19 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.579e-05/0.5338, 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.002738/0.5366, allocations: 1.367 MB / 0.6228 GB, free: 8.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.5366, allocations: 8.031 kB / 0.6228 GB, free: 8.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.5381, allocations: 302.3 kB / 0.6231 GB, free: 8.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.5391, allocations: 0.6487 MB / 0.6238 GB, free: 7.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.584e-05/0.5392, allocations: 36 kB / 0.6238 GB, free: 7.707 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.5393, allocations: 71.89 kB / 0.6239 GB, free: 7.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001812/0.5412, allocations: 1.035 MB / 0.6249 GB, free: 6.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.5429, allocations: 0.9735 MB / 0.6258 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.5429, allocations: 0 / 0.6258 GB, free: 5.566 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.535e-05/0.543, allocations: 7.984 kB / 0.6258 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.172e-05/0.543, allocations: 24 kB / 0.6259 GB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006975/0.55, allocations: 4.386 MB / 0.6301 GB, free: 0.957 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002362/0.5524, allocations: 1.772 MB / 0.6319 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.5529, allocations: 291.7 kB / 0.6321 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.966e-05/0.553, allocations: 93.66 kB / 0.6322 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006347/0.5537, allocations: 441.5 kB / 0.6327 GB, free: 14.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.054e-06/0.5537, allocations: 0 / 0.6327 GB, free: 14.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.004099/0.5578, allocations: 1.053 MB / 0.6337 GB, free: 13.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.5579, allocations: 251.9 kB / 0.6339 GB, free: 12.72 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001044/0.559, allocations: 0.5932 MB / 0.6345 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.5591, allocations: 29.7 kB / 0.6345 GB, free: 12.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004962/0.5596, allocations: 0.5257 MB / 0.635 GB, free: 11.55 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002103/0.5598, allocations: 224.8 kB / 0.6353 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.5598, allocations: 0 / 0.6353 GB, free: 11.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.56, allocations: 390.8 kB / 0.6356 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.5605, allocations: 274.5 kB / 0.6359 GB, free: 10.67 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006383/0.5611, allocations: 0.5054 MB / 0.6364 GB, free: 10.06 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009246/0.562, allocations: 412.3 kB / 0.6368 GB, free: 9.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.5621, allocations: 4 kB / 0.6368 GB, free: 9.652 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002166/0.5642, allocations: 1.024 MB / 0.6378 GB, free: 8.617 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.801e-05/0.5643, allocations: 67.39 kB / 0.6379 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.5643, allocations: 12.09 kB / 0.6379 GB, free: 8.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005404/0.5649, allocations: 92.73 kB / 0.638 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008676/0.5658, allocations: 223.6 kB / 0.6382 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001608/0.5674, allocations: 1.506 MB / 0.6396 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.5682, allocations: 83.11 kB / 0.6397 GB, free: 6.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.44e-05/0.5683, allocations: 47.97 kB / 0.6398 GB, free: 6.465 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.0002627/0.5686, allocations: 202.3 kB / 0.64 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003725/0.5723, allocations: 1.104 MB / 0.641 GB, free: 5.133 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.5725, allocations: 83.06 kB / 0.6411 GB, free: 5.051 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003848/0.5763, allocations: 1.219 MB / 0.6423 GB, free: 3.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.5763, allocations: 8 kB / 0.6423 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.5764, allocations: 0 / 0.6423 GB, free: 3.805 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.5764, allocations: 7.984 kB / 0.6423 GB, free: 3.797 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.5795, allocations: 2.03 MB / 0.6443 GB, free: 1.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/0.5796, allocations: 7.938 kB / 0.6443 GB, free: 1.703 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.58, allocations: 111.8 kB / 0.6444 GB, free: 1.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002285/0.5823, allocations: 0.5333 MB / 0.6449 GB, free: 1.051 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/0.5824, allocations: 23.97 kB / 0.645 GB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008619/0.5832, allocations: 0.8568 MB / 0.6458 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.5832, allocations: 0 / 0.6458 GB, free: 148 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.265/0.8483, allocations: 1.352 MB / 0.6471 GB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004234/0.8487, allocations: 255.6 kB / 0.6474 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.8489, allocations: 12.33 kB / 0.6474 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.8494, allocations: 34.08 kB / 0.6474 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.8495, allocations: 53.86 kB / 0.6475 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.8496, allocations: 41.14 kB / 0.6475 GB, free: 111.4 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005943/0.8502, allocations: 456.6 kB / 0.6479 GB, free: 111.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8502, allocations: 1 kB / 0.6479 GB, free: 111.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001125/0.8514, allocations: 345.2 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.00358/0.855, allocations: 2.582 MB / 0.6508 GB, free: 110.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001508/0.8565, allocations: 0.9303 MB / 0.6517 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.8565, allocations: 0.5469 kB / 0.6517 GB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006466/0.8571, allocations: 0.494 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.0007306/0.8579, allocations: 106.9 kB / 0.6523 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003065/0.861, allocations: 1.45 MB / 0.6537 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.8617, allocations: 1.051 MB / 0.6547 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005567/0.8622, allocations: 120 kB / 0.6548 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005726/0.8628, allocations: 412.8 kB / 0.6552 GB, free: 108.8 MB / 426.7 MB Notification: Performance of SimCode: time 7.31e-07/0.8628, allocations: 0 / 0.6552 GB, free: 108.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/0.9125, allocations: 18.79 MB / 0.6736 GB, free: 107.7 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001639/0.9127, allocations: 174.8 kB / 0.6737 GB, free: 107.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.561/3.473, allocations: 0 / 0.6737 GB, free: 107.5 MB / 426.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160808.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)