Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") [: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.001767/0.001767, allocations: 179.4 kB / 7.455 MB, free: 2.508 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.04/1.04, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0008083/0.0008083, allocations: 93.59 kB / 280.1 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02288/0.02288, allocations: 5.306 MB / 336.2 MB, free: 9.195 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007307/0.007307, allocations: 2.301 MB / 390.4 MB, free: 74.71 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 5.6e-06/5.751e-06, allocations: 0 / 449.4 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1929/0.193, allocations: 52.19 MB / 0.4898 GB, free: 43.21 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09739/0.2904, allocations: 97.84 MB / 0.5854 GB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.2906, allocations: 67.97 kB / 0.5854 GB, free: 12.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.09488/0.3855, allocations: 38.15 MB / 0.6227 GB, free: 6.457 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.074e-05/0.3856, allocations: 24 kB / 0.6227 GB, free: 6.434 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003204/0.3888, allocations: 1.402 MB / 0.6241 GB, free: 4.973 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.3888, allocations: 8.031 kB / 0.6241 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.3905, allocations: 324.8 kB / 0.6244 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/0.3918, allocations: 0.6563 MB / 0.6251 GB, free: 3.945 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.3918, allocations: 35.94 kB / 0.6251 GB, free: 3.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.392, allocations: 68 kB / 0.6252 GB, free: 3.844 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001637/0.3937, allocations: 0.8631 MB / 0.626 GB, free: 2.977 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.3952, allocations: 0.9312 MB / 0.6269 GB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.676e-05/0.3952, allocations: 0 / 0.6269 GB, free: 1.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.3953, allocations: 4 kB / 0.6269 GB, free: 1.984 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.3953, allocations: 28 kB / 0.6269 GB, free: 1.957 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1145/0.5098, allocations: 4.306 MB / 0.6311 GB, free: 136 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008073/0.5106, allocations: 0.6164 MB / 0.6317 GB, free: 135.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004063/0.5111, allocations: 297.1 kB / 0.632 GB, free: 135.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.114e-05/0.5111, allocations: 94.23 kB / 0.6321 GB, free: 135.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.5116, allocations: 429.5 kB / 0.6325 GB, free: 135.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.396e-06/0.5116, allocations: 0 / 0.6325 GB, free: 135.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003429/0.5151, allocations: 0.9534 MB / 0.6335 GB, free: 135.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.5151, allocations: 302.8 kB / 0.6337 GB, free: 135.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006472/0.5158, allocations: 0.5854 MB / 0.6343 GB, free: 135.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.5158, allocations: 32.39 kB / 0.6344 GB, free: 135.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.516, allocations: 438.8 kB / 0.6348 GB, free: 134.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.5162, allocations: 214.4 kB / 0.635 GB, free: 134.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.5162, allocations: 0 / 0.635 GB, free: 134.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.375e-05/0.5163, allocations: 387.8 kB / 0.6353 GB, free: 134.4 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003599/0.5167, allocations: 261.6 kB / 0.6356 GB, free: 134.4 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004428/0.5171, allocations: 0.5145 MB / 0.6361 GB, free: 134.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005625/0.5177, allocations: 343 kB / 0.6364 GB, free: 134.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5177, allocations: 0 / 0.6364 GB, free: 134.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001559/0.5193, allocations: 0.9398 MB / 0.6373 GB, free: 134.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.5193, allocations: 3.844 kB / 0.6373 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.5193, allocations: 6.406 kB / 0.6373 GB, free: 134.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004707/0.5198, allocations: 104 kB / 0.6374 GB, free: 134 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007809/0.5206, allocations: 219.7 kB / 0.6377 GB, free: 134 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001199/0.5218, allocations: 1.497 MB / 0.6391 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006906/0.5225, allocations: 88.83 kB / 0.6392 GB, free: 132.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.57e-05/0.5226, allocations: 48.38 kB / 0.6393 GB, free: 132.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition4,$PRE.irradianceTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,$PRE.powerTable.nextTimeEvent,powerTable.nextTimeEvent,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEventScaled,$PRE.mpTracker.vRef,mpTracker.vRef,irradianceTable.nextTimeEvent,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEventScaled,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (118): * Single equations (assignments): 115 * 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.0001709/0.5227, allocations: 206 kB / 0.6394 GB, free: 132.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.5229, allocations: 84.34 kB / 0.6395 GB, free: 132.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/0.5263, allocations: 1.063 MB / 0.6406 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.5263, allocations: 7.625 kB / 0.6406 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.5263, allocations: 0 / 0.6406 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.5263, allocations: 3.516 kB / 0.6406 GB, free: 132.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00436/0.5307, allocations: 2.062 MB / 0.6426 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.5307, allocations: 3.406 kB / 0.6426 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003576/0.5311, allocations: 87.81 kB / 0.6427 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002249/0.5333, allocations: 0.5498 MB / 0.6432 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.5334, allocations: 18.33 kB / 0.6432 GB, free: 132 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006185/0.534, allocations: 0.8392 MB / 0.6441 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.534, allocations: 0.5 kB / 0.6441 GB, free: 131.5 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003688/0.5377, allocations: 1.49 MB / 0.6455 GB, free: 131.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002902/0.538, allocations: 251.7 kB / 0.6457 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/0.5382, allocations: 14.09 kB / 0.6458 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.5387, allocations: 35.56 kB / 0.6458 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.507e-05/0.5388, allocations: 46.31 kB / 0.6458 GB, free: 131.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.382e-05/0.5389, allocations: 31.42 kB / 0.6459 GB, free: 131.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004215/0.5393, allocations: 449.9 kB / 0.6463 GB, free: 131 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007978/0.5401, allocations: 329.1 kB / 0.6466 GB, free: 131 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.potentialSensor.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 15 ($whenCondition1,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled,$whenCondition4,$whenCondition2,$whenCondition3,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,writeCSV.sampleTrigger,writeCSV.firstTrigger,irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled) * Number of discrete states: 14 (irradianceTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition2,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition3,writeCSV.sampleTrigger,powerTable.nextTimeEvent,powerTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * 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.0009778/0.5411, allocations: 0.6008 MB / 0.6472 GB, free: 130.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001106/0.5422, allocations: 0.8458 MB / 0.648 GB, free: 130.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5422, allocations: 0 / 0.648 GB, free: 130.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004838/0.5427, allocations: 413.8 kB / 0.6484 GB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006214/0.5433, allocations: 127.2 kB / 0.6485 GB, free: 130.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.5455, allocations: 1.23 MB / 0.6497 GB, free: 130.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006386/0.5461, allocations: 1.117 MB / 0.6508 GB, free: 129.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5461, allocations: 0.9375 kB / 0.6508 GB, free: 129.5 MB / 410.7 MB Notification: Performance of Templates: time 0.01674/0.5629, allocations: 12.18 MB / 0.6627 GB, free: 128.7 MB / 410.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)