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"}) [: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.002198/0.002198, allocations: 177.8 kB / 7.455 MB, free: 2.512 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.184/1.184, allocations: 221.4 MB / 229.3 MB, free: 3 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.000885/0.000885, allocations: 98.48 kB / 280.1 MB, free: 1.191 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02414/0.02414, allocations: 5.298 MB / 336.2 MB, free: 9.164 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007938/0.007937, allocations: 2.303 MB / 390.5 MB, free: 74.61 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.09736/0.1053, allocations: 59.05 MB / 449.5 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.3315, allocations: 52.18 MB / 0.4899 GB, free: 43.15 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1087/0.4402, allocations: 98.04 MB / 0.5857 GB, free: 12.47 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.4404, allocations: 67.89 kB / 0.5857 GB, free: 12.41 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.1022/0.5427, allocations: 38.74 MB / 0.6236 GB, free: 5.438 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.5427, allocations: 17.5 kB / 0.6236 GB, free: 5.422 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001654/0.5444, allocations: 322.2 kB / 0.6239 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.5457, allocations: 0.6564 MB / 0.6245 GB, free: 4.402 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.653e-05/0.5458, allocations: 36 kB / 0.6246 GB, free: 4.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001943/0.546, allocations: 64 kB / 0.6246 GB, free: 4.305 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002085/0.5481, allocations: 1.023 MB / 0.6256 GB, free: 3.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.55, allocations: 0.9696 MB / 0.6266 GB, free: 2.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.55, allocations: 7.906 kB / 0.6266 GB, free: 2.242 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.585e-05/0.5501, allocations: 7.922 kB / 0.6266 GB, free: 2.234 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/0.5501, allocations: 28 kB / 0.6266 GB, free: 2.207 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1444/0.6945, allocations: 4.382 MB / 0.6309 GB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008514/0.6954, allocations: 0.6785 MB / 0.6315 GB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/0.6958, allocations: 317.8 kB / 0.6319 GB, free: 135.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.127e-05/0.6959, allocations: 90.77 kB / 0.6319 GB, free: 135.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004925/0.6964, allocations: 460 kB / 0.6324 GB, free: 135 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 2.816e-06/0.6964, allocations: 0 / 0.6324 GB, free: 135 MB / 410.7 MB Notification: Performance of matching and sorting (n=70): time 0.004088/0.7005, allocations: 1.007 MB / 0.6334 GB, free: 135 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.686e-05/0.7006, allocations: 250.2 kB / 0.6336 GB, free: 134.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008884/0.7015, allocations: 0.5997 MB / 0.6342 GB, free: 134.6 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.56e-05/0.7016, allocations: 32.05 kB / 0.6342 GB, free: 134.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004539/0.7021, allocations: 450.4 kB / 0.6346 GB, free: 134.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/0.7023, allocations: 228.3 kB / 0.6349 GB, free: 134.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.7024, allocations: 0 / 0.6349 GB, free: 134.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.7026, allocations: 390.3 kB / 0.6352 GB, free: 133.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004978/0.7031, allocations: 289.2 kB / 0.6355 GB, free: 133.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.7036, allocations: 0.5128 MB / 0.636 GB, free: 133.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000788/0.7044, allocations: 368.7 kB / 0.6364 GB, free: 133.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.7045, allocations: 0 / 0.6364 GB, free: 133.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.001951/0.7064, allocations: 1.003 MB / 0.6373 GB, free: 133.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7064, allocations: 9.156 kB / 0.6374 GB, free: 133.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.7065, allocations: 6.188 kB / 0.6374 GB, free: 133.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005106/0.707, allocations: 97.39 kB / 0.6374 GB, free: 133.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/0.7079, allocations: 221.6 kB / 0.6377 GB, free: 133.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001393/0.7093, allocations: 1.497 MB / 0.6391 GB, free: 132.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008154/0.7101, allocations: 87.58 kB / 0.6392 GB, free: 132.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.596e-05/0.7102, allocations: 53.64 kB / 0.6393 GB, free: 132.2 MB / 410.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.0002538/0.7105, allocations: 199.1 kB / 0.6394 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.7107, allocations: 82.5 kB / 0.6395 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.7155, allocations: 1.182 MB / 0.6407 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.417e-05/0.7155, allocations: 10.84 kB / 0.6407 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.7156, allocations: 3.188 kB / 0.6407 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.7156, allocations: 8.703 kB / 0.6407 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005322/0.7209, allocations: 2.232 MB / 0.6429 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.721, allocations: 0 / 0.6429 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004518/0.7214, allocations: 112.7 kB / 0.643 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002376/0.7238, allocations: 0.5503 MB / 0.6435 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.588e-05/0.7239, allocations: 16.27 kB / 0.6435 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007914/0.7247, allocations: 0.838 MB / 0.6444 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.7247, allocations: 0.875 kB / 0.6444 GB, free: 130.9 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004244/0.729, allocations: 1.603 MB / 0.6459 GB, free: 130.7 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004794/0.7338, allocations: 2.368 MB / 0.6482 GB, free: 130.1 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004389/0.7343, allocations: 263.8 kB / 0.6485 GB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.7344, allocations: 18.58 kB / 0.6485 GB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000559/0.735, allocations: 34.92 kB / 0.6485 GB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.24e-05/0.7351, allocations: 41.62 kB / 0.6486 GB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.7352, allocations: 31.67 kB / 0.6486 GB, free: 129.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004983/0.7357, allocations: 462.4 kB / 0.6491 GB, free: 129.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001531/0.7372, allocations: 390.7 kB / 0.6494 GB, free: 129.8 MB / 410.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.001051/0.7383, allocations: 0.5853 MB / 0.65 GB, free: 129.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001353/0.7396, allocations: 0.909 MB / 0.6509 GB, free: 129.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.7396, allocations: 3.391 kB / 0.6509 GB, free: 129.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005861/0.7402, allocations: 448.8 kB / 0.6513 GB, free: 129.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.741, allocations: 115.4 kB / 0.6514 GB, free: 129.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.7435, allocations: 1.293 MB / 0.6527 GB, free: 129 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007465/0.7442, allocations: 1.141 MB / 0.6538 GB, free: 128.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/0.7442, allocations: 0 / 0.6538 GB, free: 128.3 MB / 410.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)