Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004",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.001032/0.001033, 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.554/1.554, allocations: 221.5 MB / 229.6 MB, free: 7.559 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.0009337/0.0009336, allocations: 101.3 kB / 280.5 MB, free: 5.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02385/0.02385, allocations: 5.293 MB / 336.5 MB, free: 9.898 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008474/0.008474, allocations: 2.298 MB / 390.8 MB, free: 3.52 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.512e-05, allocations: 0 / 452 MB, free: 46.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2961, allocations: 52.2 MB / 0.4924 GB, free: 6.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1369/0.4331, allocations: 98.07 MB / 0.5882 GB, free: 14.29 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002024/0.4333, allocations: 67.97 kB / 0.5883 GB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09417/0.5275, allocations: 35.97 MB / 0.6234 GB, free: 9.918 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5276, allocations: 0 / 0.6234 GB, free: 9.918 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.266e-05/0.5276, allocations: 20 kB / 0.6234 GB, free: 9.898 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.00382/0.5315, allocations: 1.367 MB / 0.6247 GB, free: 8.469 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.827e-05/0.5316, allocations: 8.031 kB / 0.6247 GB, free: 8.461 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001602/0.5332, allocations: 306.3 kB / 0.625 GB, free: 8.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.5344, allocations: 0.6486 MB / 0.6257 GB, free: 7.469 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.5345, allocations: 39.98 kB / 0.6257 GB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.5347, allocations: 71.89 kB / 0.6258 GB, free: 7.359 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002176/0.5369, allocations: 1.027 MB / 0.6268 GB, free: 6.328 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001826/0.5387, allocations: 0.9774 MB / 0.6277 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.5387, allocations: 0 / 0.6277 GB, free: 5.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.589e-05/0.5388, allocations: 4 kB / 0.6277 GB, free: 5.289 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.5389, allocations: 24 kB / 0.6278 GB, free: 5.266 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007212/0.5461, allocations: 4.394 MB / 0.6321 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002205/0.5483, allocations: 1.769 MB / 0.6338 GB, free: 14.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004624/0.5488, allocations: 291.7 kB / 0.6341 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001149/0.5489, allocations: 93.66 kB / 0.6341 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006443/0.5496, allocations: 441.5 kB / 0.6346 GB, free: 13.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.845e-06/0.5496, allocations: 3.938 kB / 0.6346 GB, free: 13.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.003878/0.5535, allocations: 1.049 MB / 0.6356 GB, free: 12.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/0.5536, allocations: 251.8 kB / 0.6358 GB, free: 12.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008926/0.5545, allocations: 0.597 MB / 0.6364 GB, free: 11.85 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.5546, allocations: 37.69 kB / 0.6365 GB, free: 11.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005045/0.5551, allocations: 0.5141 MB / 0.637 GB, free: 11.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/0.5554, allocations: 228.8 kB / 0.6372 GB, free: 11.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.791e-05/0.5554, allocations: 4 kB / 0.6372 GB, free: 11.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00021/0.5556, allocations: 390.8 kB / 0.6376 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004994/0.5561, allocations: 270.6 kB / 0.6378 GB, free: 10.39 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006424/0.5568, allocations: 0.5014 MB / 0.6383 GB, free: 9.785 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/0.5577, allocations: 412.3 kB / 0.6387 GB, free: 9.383 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.5577, allocations: 4 kB / 0.6387 GB, free: 9.379 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002132/0.5598, allocations: 1.028 MB / 0.6397 GB, free: 8.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.256e-05/0.5599, allocations: 59.53 kB / 0.6398 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.5599, allocations: 12 kB / 0.6398 GB, free: 8.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005133/0.5605, allocations: 100.7 kB / 0.6399 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008605/0.5613, allocations: 219.6 kB / 0.6401 GB, free: 7.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00176/0.5631, allocations: 1.514 MB / 0.6416 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007957/0.5639, allocations: 79.11 kB / 0.6416 GB, free: 6.234 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.631e-05/0.564, allocations: 47.97 kB / 0.6417 GB, free: 6.188 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.0002683/0.5643, allocations: 198.4 kB / 0.6419 GB, free: 5.977 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003742/0.568, allocations: 1.104 MB / 0.6429 GB, free: 4.859 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.5682, allocations: 83.05 kB / 0.643 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/0.5722, allocations: 1.211 MB / 0.6442 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.5722, allocations: 4 kB / 0.6442 GB, free: 3.543 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.5722, allocations: 4 kB / 0.6442 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.144e-05/0.5723, allocations: 3.984 kB / 0.6442 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.576, allocations: 2.054 MB / 0.6462 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.576, allocations: 0 / 0.6462 GB, free: 1.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004448/0.5765, allocations: 115.8 kB / 0.6463 GB, free: 1.312 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002339/0.5788, allocations: 0.5333 MB / 0.6469 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.5789, allocations: 19.97 kB / 0.6469 GB, free: 0.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3001/0.8791, allocations: 0.8455 MB / 0.6477 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/0.8791, allocations: 4.25 kB / 0.6477 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004318/0.8835, allocations: 1.363 MB / 0.649 GB, free: 112.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008558/0.8844, allocations: 253.8 kB / 0.6493 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002281/0.8846, allocations: 11.64 kB / 0.6493 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008657/0.8855, allocations: 36.92 kB / 0.6493 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000191/0.8857, allocations: 51.62 kB / 0.6494 GB, free: 112.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/0.8858, allocations: 33.78 kB / 0.6494 GB, free: 112.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001077/0.8869, allocations: 454.8 kB / 0.6498 GB, free: 112 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.383e-06/0.887, allocations: 0 / 0.6498 GB, free: 112 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002184/0.8891, allocations: 347.1 kB / 0.6502 GB, free: 112 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.005793/0.895, allocations: 2.594 MB / 0.6527 GB, free: 111 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002443/0.8974, allocations: 0.9353 MB / 0.6536 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.8975, allocations: 0 / 0.6536 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009654/0.8984, allocations: 498.9 kB / 0.6541 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/0.8996, allocations: 108.9 kB / 0.6542 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.905, allocations: 1.444 MB / 0.6556 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000846/0.9059, allocations: 1.05 MB / 0.6566 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007878/0.9067, allocations: 122.4 kB / 0.6567 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007824/0.9075, allocations: 410.6 kB / 0.6571 GB, free: 109.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.9075, allocations: 0 / 0.6571 GB, free: 109.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05719/0.9647, allocations: 18.78 MB / 0.6755 GB, free: 108.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.9649, allocations: 189.2 kB / 0.6757 GB, free: 108.1 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.684/3.648, allocations: 2.969 kB / 0.6757 GB, free: 108.1 MB / 426.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Trina_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.pipe 2>&1)