Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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) Running command: "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_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.00387/0.00387, allocations: 184.8 kB / 7.463 MB, free: 2.5 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.176/1.176, allocations: 221.4 MB / 229.3 MB, free: 3.078 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.0008723/0.0008723, allocations: 98.2 kB / 280.1 MB, free: 1.301 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02321/0.02321, allocations: 5.296 MB / 336.2 MB, free: 9.289 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.007647/0.007647, allocations: 2.294 MB / 390.4 MB, free: 74.75 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.08571/0.0934, allocations: 59.05 MB / 449.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.2924, allocations: 52.18 MB / 0.4899 GB, free: 43.2 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09948/0.3919, allocations: 97.84 MB / 0.5855 GB, free: 12.84 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000171/0.3921, allocations: 75.83 kB / 0.5855 GB, free: 12.77 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.1016/0.4938, allocations: 39.57 MB / 0.6242 GB, free: 4.961 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.4938, allocations: 11.94 kB / 0.6242 GB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/0.4955, allocations: 326.2 kB / 0.6245 GB, free: 4.629 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.4967, allocations: 0.6563 MB / 0.6251 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.4968, allocations: 35.98 kB / 0.6252 GB, free: 3.891 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/0.4969, allocations: 64 kB / 0.6252 GB, free: 3.828 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001674/0.4986, allocations: 0.8631 MB / 0.6261 GB, free: 2.965 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001623/0.5002, allocations: 0.9273 MB / 0.627 GB, free: 1.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.5003, allocations: 12.67 kB / 0.627 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-05/0.5004, allocations: 0 / 0.627 GB, free: 1.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.178e-05/0.5004, allocations: 28 kB / 0.627 GB, free: 1.941 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.12/0.6204, allocations: 4.302 MB / 0.6312 GB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008132/0.6212, allocations: 0.6216 MB / 0.6318 GB, free: 135.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.6217, allocations: 299.9 kB / 0.6321 GB, free: 135.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.935e-05/0.6217, allocations: 91.67 kB / 0.6322 GB, free: 135.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004658/0.6222, allocations: 432.2 kB / 0.6326 GB, free: 135 MB / 410.7 MB Notification: Performance of pre-optimization done (n=67): time 3.106e-06/0.6222, allocations: 0.9844 kB / 0.6326 GB, free: 135 MB / 410.7 MB Notification: Performance of matching and sorting (n=67): time 0.003624/0.6258, allocations: 0.9532 MB / 0.6336 GB, free: 134.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.626, allocations: 301.2 kB / 0.6338 GB, free: 134.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007803/0.6267, allocations: 0.5917 MB / 0.6344 GB, free: 134.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/0.6268, allocations: 32.86 kB / 0.6345 GB, free: 134.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/0.6271, allocations: 436 kB / 0.6349 GB, free: 134.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/0.6272, allocations: 208.4 kB / 0.6351 GB, free: 134.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.6273, allocations: 2.516 kB / 0.6351 GB, free: 134.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.372e-05/0.6274, allocations: 392.2 kB / 0.6354 GB, free: 133.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.6278, allocations: 263.9 kB / 0.6357 GB, free: 133.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004618/0.6282, allocations: 0.5108 MB / 0.6362 GB, free: 133.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006614/0.6289, allocations: 343.2 kB / 0.6365 GB, free: 133.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.6289, allocations: 2.719 kB / 0.6365 GB, free: 133.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001717/0.6306, allocations: 0.9373 MB / 0.6374 GB, free: 133.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.6307, allocations: 7.844 kB / 0.6374 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6307, allocations: 6.656 kB / 0.6375 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000507/0.6312, allocations: 98.27 kB / 0.6375 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/0.6321, allocations: 218.9 kB / 0.6378 GB, free: 133.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.6335, allocations: 1.497 MB / 0.6392 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008417/0.6343, allocations: 85.48 kB / 0.6393 GB, free: 132.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/0.6344, allocations: 49.78 kB / 0.6393 GB, free: 132.1 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.0002134/0.6346, allocations: 207.7 kB / 0.6395 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.6348, allocations: 84.91 kB / 0.6396 GB, free: 131.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/0.6385, allocations: 1.061 MB / 0.6407 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.6385, allocations: 7.875 kB / 0.6407 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.6385, allocations: 3.938 kB / 0.6407 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.6385, allocations: 3.844 kB / 0.6407 GB, free: 131.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004858/0.6434, allocations: 2.058 MB / 0.6427 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.6434, allocations: 1.875 kB / 0.6427 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003937/0.6438, allocations: 96.33 kB / 0.6428 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002386/0.6462, allocations: 0.5545 MB / 0.6433 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.485e-05/0.6463, allocations: 19.19 kB / 0.6433 GB, free: 131.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007092/0.647, allocations: 0.8385 MB / 0.6442 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6471, allocations: 3.375 kB / 0.6442 GB, free: 130.8 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004213/0.6513, allocations: 1.49 MB / 0.6456 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004481/0.6558, allocations: 2.211 MB / 0.6478 GB, free: 129.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.6562, allocations: 248.8 kB / 0.648 GB, free: 129.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.6564, allocations: 19 kB / 0.648 GB, free: 129.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005839/0.657, allocations: 37.41 kB / 0.6481 GB, free: 129.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.675e-05/0.6571, allocations: 40.14 kB / 0.6481 GB, free: 129.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.556e-05/0.6571, allocations: 32.14 kB / 0.6481 GB, free: 129.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0005034/0.6576, allocations: 454.9 kB / 0.6486 GB, free: 129.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001554/0.6592, allocations: 371.1 kB / 0.6489 GB, free: 129.6 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.0009952/0.6602, allocations: 0.5951 MB / 0.6495 GB, free: 129.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001157/0.6614, allocations: 0.8449 MB / 0.6503 GB, free: 129.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.6614, allocations: 0 / 0.6503 GB, free: 129.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.6619, allocations: 406.2 kB / 0.6507 GB, free: 129.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006378/0.6625, allocations: 131.1 kB / 0.6508 GB, free: 129.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002084/0.6646, allocations: 1.235 MB / 0.652 GB, free: 128.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005982/0.6652, allocations: 1.115 MB / 0.6531 GB, free: 128.1 MB / 410.7 MB Notification: Performance of SimCode: time 2.61e-07/0.6653, allocations: 4 kB / 0.6531 GB, free: 128.1 MB / 410.7 MB (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004_fmu --startTime=0 --stopTime=5.8752e+06 --timeout=50 --tolerance=1e-08 PhotoVoltaics_TGM_PhotoVoltaics_TGM_TGM_Comax_Measurement_20160626_to_20161004.fmu > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)