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"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002141/0.002141, allocations: 185.1 kB / 7.459 MB, free: 2.516 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.128/1.128, allocations: 221.4 MB / 229.3 MB, free: 3.012 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.001013/0.001013, allocations: 102.5 kB / 280.1 MB, free: 1.305 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02332/0.02332, allocations: 5.299 MB / 336.2 MB, free: 9.281 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00776/0.00776, allocations: 2.297 MB / 390.4 MB, free: 74.73 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.1103/0.1181, allocations: 60.95 MB / 451.4 MB, free: 13.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.3181, allocations: 52.17 MB / 0.4918 GB, free: 43.89 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09888/0.417, allocations: 98.04 MB / 0.5875 GB, free: 12.5 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001798/0.4172, allocations: 67.97 kB / 0.5876 GB, free: 12.44 MB / 378.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.2361/0.6533, allocations: 38.74 MB / 0.6254 GB, free: 92.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.6534, allocations: 11.12 kB / 0.6254 GB, free: 92.54 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.655, allocations: 319.8 kB / 0.6257 GB, free: 92.47 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.6561, allocations: 0.6606 MB / 0.6264 GB, free: 92.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.6562, allocations: 37.22 kB / 0.6264 GB, free: 92.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.6563, allocations: 67.38 kB / 0.6265 GB, free: 92.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001773/0.6581, allocations: 1.022 MB / 0.6275 GB, free: 92.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.6596, allocations: 0.9754 MB / 0.6284 GB, free: 92.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.347e-05/0.6597, allocations: 0 / 0.6284 GB, free: 92.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.6598, allocations: 3.438 kB / 0.6284 GB, free: 92.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.6598, allocations: 28.88 kB / 0.6284 GB, free: 92.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/0.6655, allocations: 4.385 MB / 0.6327 GB, free: 90.28 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009251/0.6665, allocations: 0.6794 MB / 0.6334 GB, free: 90.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.667, allocations: 310.6 kB / 0.6337 GB, free: 90.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.638e-05/0.667, allocations: 96.17 kB / 0.6338 GB, free: 90.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004959/0.6675, allocations: 451.1 kB / 0.6342 GB, free: 89.96 MB / 394.7 MB Notification: Performance of pre-optimization done (n=70): time 2.655e-06/0.6676, allocations: 4 kB / 0.6342 GB, free: 89.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=70): time 0.003706/0.6713, allocations: 1.009 MB / 0.6352 GB, free: 89.85 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.6713, allocations: 246.2 kB / 0.6354 GB, free: 89.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007113/0.6721, allocations: 0.6071 MB / 0.636 GB, free: 89.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.6722, allocations: 37.08 kB / 0.6361 GB, free: 89.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.6724, allocations: 441.1 kB / 0.6365 GB, free: 89.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.6725, allocations: 231.7 kB / 0.6367 GB, free: 88.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.731e-05/0.6726, allocations: 0 / 0.6367 GB, free: 88.92 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/0.6727, allocations: 390.7 kB / 0.6371 GB, free: 88.57 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.6731, allocations: 284 kB / 0.6374 GB, free: 88.45 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004692/0.6736, allocations: 0.5235 MB / 0.6379 GB, free: 88.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006454/0.6742, allocations: 366.2 kB / 0.6382 GB, free: 87.87 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/0.6742, allocations: 0 / 0.6382 GB, free: 87.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001894/0.6761, allocations: 0.9937 MB / 0.6392 GB, free: 87.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.6762, allocations: 7 kB / 0.6392 GB, free: 87.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.6762, allocations: 7.312 kB / 0.6392 GB, free: 87.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/0.6767, allocations: 99.94 kB / 0.6393 GB, free: 87.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/0.6776, allocations: 222.2 kB / 0.6395 GB, free: 87.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001334/0.6789, allocations: 1.498 MB / 0.641 GB, free: 86.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/0.6797, allocations: 87.88 kB / 0.641 GB, free: 86.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.176e-05/0.6798, allocations: 46.38 kB / 0.6411 GB, free: 86.07 MB / 394.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.000225/0.68, allocations: 209.2 kB / 0.6413 GB, free: 85.89 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.6802, allocations: 85.97 kB / 0.6414 GB, free: 85.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003823/0.684, allocations: 1.174 MB / 0.6425 GB, free: 85.47 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.6841, allocations: 7.812 kB / 0.6425 GB, free: 85.47 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6841, allocations: 0 / 0.6425 GB, free: 85.47 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.919e-06/0.6841, allocations: 3.188 kB / 0.6425 GB, free: 85.47 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005543/0.6896, allocations: 2.233 MB / 0.6447 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.6897, allocations: 0.5 kB / 0.6447 GB, free: 84.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005451/0.6902, allocations: 116.7 kB / 0.6448 GB, free: 84.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002526/0.6928, allocations: 0.5479 MB / 0.6454 GB, free: 84.35 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.088e-05/0.6929, allocations: 23.33 kB / 0.6454 GB, free: 84.35 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007626/0.6936, allocations: 0.8441 MB / 0.6462 GB, free: 83.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6937, allocations: 1.406 kB / 0.6462 GB, free: 83.68 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004437/0.6981, allocations: 1.609 MB / 0.6478 GB, free: 82.98 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004889/0.703, allocations: 2.37 MB / 0.6501 GB, free: 81.71 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004363/0.7035, allocations: 267.8 kB / 0.6503 GB, free: 81.51 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.7037, allocations: 11.62 kB / 0.6504 GB, free: 81.51 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000622/0.7043, allocations: 35.91 kB / 0.6504 GB, free: 81.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7045, allocations: 43.27 kB / 0.6504 GB, free: 81.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/0.7045, allocations: 33.59 kB / 0.6505 GB, free: 81.49 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0006516/0.7052, allocations: 463 kB / 0.6509 GB, free: 81.27 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001774/0.707, allocations: 370.7 kB / 0.6513 GB, free: 81.15 MB / 394.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.001233/0.7082, allocations: 0.6101 MB / 0.6519 GB, free: 80.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.7096, allocations: 0.9056 MB / 0.6527 GB, free: 79.97 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.7096, allocations: 448 / 0.6527 GB, free: 79.97 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.7102, allocations: 452.6 kB / 0.6532 GB, free: 79.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006979/0.7109, allocations: 114.5 kB / 0.6533 GB, free: 79.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002621/0.7135, allocations: 1.301 MB / 0.6546 GB, free: 78.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007428/0.7143, allocations: 1.137 MB / 0.6557 GB, free: 77.25 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7143, allocations: 0 / 0.6557 GB, free: 77.25 MB / 394.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)