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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009268/0.0009271, allocations: 169.2 kB / 7.64 MB, free: 1.414 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.326/1.326, allocations: 221.5 MB / 229.6 MB, free: 7.516 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.0008232/0.0008233, allocations: 93.34 kB / 280.5 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02232/0.02232, allocations: 5.285 MB / 336.5 MB, free: 9.918 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008399/0.008399, allocations: 2.297 MB / 390.8 MB, free: 3.539 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.236e-05/1.239e-05, allocations: 0 / 450 MB, free: 48.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2816/0.2816, allocations: 52.2 MB / 0.4904 GB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1388/0.4205, allocations: 97.86 MB / 0.586 GB, free: 14.86 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002106/0.4208, allocations: 68.56 kB / 0.5861 GB, free: 14.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09329/0.5141, allocations: 36.52 MB / 0.6217 GB, free: 9.945 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.5141, allocations: 0 / 0.6217 GB, free: 9.945 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.775e-05/0.5142, allocations: 28 kB / 0.6218 GB, free: 9.918 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.002816/0.517, allocations: 1.352 MB / 0.6231 GB, free: 8.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.5171, allocations: 8.031 kB / 0.6231 GB, free: 8.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.5185, allocations: 302.2 kB / 0.6234 GB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001092/0.5197, allocations: 0.6604 MB / 0.624 GB, free: 7.496 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.895e-05/0.5197, allocations: 39.95 kB / 0.6241 GB, free: 7.457 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.5199, allocations: 64 kB / 0.6241 GB, free: 7.395 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001614/0.5215, allocations: 0.8591 MB / 0.625 GB, free: 6.535 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.5231, allocations: 0.9351 MB / 0.6259 GB, free: 5.543 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.5232, allocations: 7.938 kB / 0.6259 GB, free: 5.535 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.001e-05/0.5232, allocations: 4 kB / 0.6259 GB, free: 5.531 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.093e-05/0.5233, allocations: 24 kB / 0.6259 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006344/0.5296, allocations: 4.319 MB / 0.6301 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001857/0.5315, allocations: 1.641 MB / 0.6317 GB, free: 15.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004326/0.532, allocations: 276.4 kB / 0.632 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001204/0.5321, allocations: 93.53 kB / 0.6321 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006738/0.5328, allocations: 422.5 kB / 0.6325 GB, free: 14.26 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 3.296e-06/0.5328, allocations: 3.938 kB / 0.6325 GB, free: 14.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=67): time 0.003623/0.5364, allocations: 1.001 MB / 0.6335 GB, free: 13.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.5366, allocations: 299.3 kB / 0.6337 GB, free: 12.89 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008279/0.5374, allocations: 0.5816 MB / 0.6343 GB, free: 12.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.459e-05/0.5375, allocations: 29.7 kB / 0.6343 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.5379, allocations: 0.5141 MB / 0.6348 GB, free: 11.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.538, allocations: 217 kB / 0.635 GB, free: 11.52 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.109e-05/0.5381, allocations: 0 / 0.635 GB, free: 11.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.5382, allocations: 394.7 kB / 0.6354 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003855/0.5386, allocations: 246.6 kB / 0.6357 GB, free: 10.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005292/0.5392, allocations: 0.499 MB / 0.6361 GB, free: 10.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/0.5399, allocations: 376.3 kB / 0.6365 GB, free: 9.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5399, allocations: 0 / 0.6365 GB, free: 9.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001906/0.5419, allocations: 0.9727 MB / 0.6375 GB, free: 8.926 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.205e-05/0.5419, allocations: 63.41 kB / 0.6375 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.5419, allocations: 8 kB / 0.6375 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004889/0.5424, allocations: 93.09 kB / 0.6376 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008001/0.5432, allocations: 219.6 kB / 0.6378 GB, free: 8.535 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001455/0.5447, allocations: 1.51 MB / 0.6393 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007363/0.5455, allocations: 91.2 kB / 0.6394 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.664e-05/0.5455, allocations: 51.92 kB / 0.6394 GB, free: 6.766 MB / 426.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.0002531/0.5458, allocations: 207.2 kB / 0.6396 GB, free: 6.543 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.546, allocations: 79.06 kB / 0.6397 GB, free: 6.465 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003775/0.5497, allocations: 1.101 MB / 0.6408 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.5498, allocations: 11.98 kB / 0.6408 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.247e-06/0.5498, allocations: 4 kB / 0.6408 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5498, allocations: 0 / 0.6408 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003072/0.5529, allocations: 1.859 MB / 0.6426 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/0.5529, allocations: 4.031 kB / 0.6426 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.5533, allocations: 83.91 kB / 0.6427 GB, free: 3.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.5557, allocations: 0.5332 MB / 0.6432 GB, free: 2.789 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.067e-05/0.5557, allocations: 19.97 kB / 0.6432 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008357/0.5566, allocations: 0.8684 MB / 0.6441 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.5566, allocations: 0 / 0.6441 GB, free: 1.875 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001935/0.5585, allocations: 1.25 MB / 0.6453 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003714/0.5589, allocations: 244 kB / 0.6455 GB, free: 328 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/0.5591, allocations: 8 kB / 0.6455 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005227/0.5596, allocations: 39.97 kB / 0.6456 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.5597, allocations: 44.58 kB / 0.6456 GB, free: 236 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.658e-05/0.5598, allocations: 31.98 kB / 0.6457 GB, free: 204 kB / 426.7 MB Notification: Performance of sorting global known variables: time 0.2174/0.7772, allocations: 449.1 kB / 0.6461 GB, free: 110.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.022e-06/0.7772, allocations: 1.406 kB / 0.6461 GB, free: 110.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001606/0.7789, allocations: 326.8 kB / 0.6464 GB, free: 110.9 MB / 426.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.001317/0.7802, allocations: 0.6425 MB / 0.647 GB, free: 110.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.7816, allocations: 0.8732 MB / 0.6479 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.7816, allocations: 2.375 kB / 0.6479 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006151/0.7823, allocations: 454.3 kB / 0.6483 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008999/0.7832, allocations: 135.8 kB / 0.6484 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002428/0.7856, allocations: 1.199 MB / 0.6496 GB, free: 110 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.7862, allocations: 1.034 MB / 0.6506 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004884/0.7867, allocations: 106.9 kB / 0.6507 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.787, allocations: 75.5 kB / 0.6508 GB, free: 109.3 MB / 426.7 MB Notification: Performance of SimCode: time 6.21e-07/0.787, allocations: 0 / 0.6508 GB, free: 109.3 MB / 426.7 MB Notification: Performance of Templates: time 0.02183/0.8088, allocations: 11.25 MB / 0.6618 GB, free: 108.6 MB / 426.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)