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: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 176.2 kB / 7.643 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.495/1.495, allocations: 221.5 MB / 229.6 MB, free: 7.562 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.0009599/0.0009598, allocations: 86.98 kB / 280.5 MB, free: 5.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02311/0.02311, allocations: 5.28 MB / 336.5 MB, free: 9.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008393/0.008393, allocations: 2.279 MB / 390.8 MB, free: 3.527 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 1.36e-05/1.356e-05, allocations: 0 / 450 MB, free: 48.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3117, allocations: 52.19 MB / 0.4904 GB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1766/0.4884, allocations: 98.06 MB / 0.5862 GB, free: 14.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003088/0.4888, allocations: 63.98 kB / 0.5862 GB, free: 14.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1201/0.6089, allocations: 35.97 MB / 0.6214 GB, free: 10.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.6089, allocations: 0 / 0.6214 GB, free: 10.28 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.787e-05/0.609, allocations: 27.88 kB / 0.6214 GB, free: 10.25 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003195/0.6122, allocations: 1.357 MB / 0.6227 GB, free: 8.832 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.6122, allocations: 11.97 kB / 0.6227 GB, free: 8.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001631/0.6139, allocations: 306.3 kB / 0.623 GB, free: 8.52 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001231/0.6151, allocations: 0.6485 MB / 0.6237 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.197e-05/0.6152, allocations: 40 kB / 0.6237 GB, free: 7.789 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002013/0.6154, allocations: 63.95 kB / 0.6238 GB, free: 7.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001897/0.6173, allocations: 1.027 MB / 0.6248 GB, free: 6.695 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.6191, allocations: 0.9735 MB / 0.6257 GB, free: 5.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.6191, allocations: 7.938 kB / 0.6257 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/0.6192, allocations: 0 / 0.6257 GB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.122e-05/0.6193, allocations: 28 kB / 0.6258 GB, free: 5.629 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00676/0.626, allocations: 4.394 MB / 0.63 GB, free: 1.043 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002216/0.6283, allocations: 1.761 MB / 0.6318 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.6288, allocations: 298 kB / 0.632 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.979e-05/0.6289, allocations: 93.66 kB / 0.6321 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006517/0.6296, allocations: 437.5 kB / 0.6326 GB, free: 14.18 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 2.866e-06/0.6296, allocations: 4 kB / 0.6326 GB, free: 14.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.003658/0.6332, allocations: 1.057 MB / 0.6336 GB, free: 13.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.6334, allocations: 251.9 kB / 0.6338 GB, free: 12.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.6344, allocations: 0.5932 MB / 0.6344 GB, free: 12.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.054e-05/0.6345, allocations: 29.7 kB / 0.6344 GB, free: 12.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005163/0.6351, allocations: 0.5257 MB / 0.6349 GB, free: 11.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/0.6353, allocations: 228.8 kB / 0.6352 GB, free: 11.42 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.6354, allocations: 0 / 0.6352 GB, free: 11.42 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.6356, allocations: 382.8 kB / 0.6355 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/0.6361, allocations: 278.6 kB / 0.6358 GB, free: 10.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006209/0.6367, allocations: 0.5014 MB / 0.6363 GB, free: 10.15 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009268/0.6377, allocations: 416.2 kB / 0.6367 GB, free: 9.746 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.6377, allocations: 4 kB / 0.6367 GB, free: 9.742 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002035/0.6397, allocations: 1.023 MB / 0.6377 GB, free: 8.707 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.79e-05/0.6398, allocations: 68.44 kB / 0.6378 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6398, allocations: 8.594 kB / 0.6378 GB, free: 8.621 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005075/0.6403, allocations: 104.7 kB / 0.6379 GB, free: 8.516 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/0.6412, allocations: 215.7 kB / 0.6381 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.6427, allocations: 1.506 MB / 0.6395 GB, free: 6.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.6434, allocations: 87.27 kB / 0.6396 GB, free: 6.598 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.413e-05/0.6435, allocations: 43.98 kB / 0.6397 GB, free: 6.555 MB / 426.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.0002424/0.6438, allocations: 206.3 kB / 0.6399 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/0.6439, allocations: 79.06 kB / 0.6399 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.6478, allocations: 1.219 MB / 0.6411 GB, free: 5.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6478, allocations: 8 kB / 0.6411 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6478, allocations: 0 / 0.6411 GB, free: 5.012 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.6478, allocations: 3.984 kB / 0.6411 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003279/0.6511, allocations: 2.042 MB / 0.6431 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.6511, allocations: 0 / 0.6431 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.6515, allocations: 111.8 kB / 0.6432 GB, free: 2.797 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002216/0.6538, allocations: 0.541 MB / 0.6438 GB, free: 2.246 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/0.6539, allocations: 19.97 kB / 0.6438 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007972/0.6547, allocations: 0.8567 MB / 0.6446 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.6547, allocations: 0 / 0.6446 GB, free: 1.344 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2354/0.8901, allocations: 1.358 MB / 0.6459 GB, free: 111.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000745/0.8909, allocations: 250.3 kB / 0.6462 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/0.8912, allocations: 14.42 kB / 0.6462 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/0.8919, allocations: 32.88 kB / 0.6462 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.892, allocations: 48.72 kB / 0.6463 GB, free: 111.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.55e-05/0.8921, allocations: 32.34 kB / 0.6463 GB, free: 111.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007149/0.8928, allocations: 459.8 kB / 0.6467 GB, free: 111.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.81e-07/0.8928, allocations: 3 kB / 0.6467 GB, free: 111.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001305/0.8942, allocations: 338.7 kB / 0.6471 GB, free: 111.2 MB / 426.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.001386/0.8955, allocations: 0.6426 MB / 0.6477 GB, free: 111 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001494/0.8971, allocations: 0.929 MB / 0.6486 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8971, allocations: 3.828 kB / 0.6486 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006694/0.8977, allocations: 0.4908 MB / 0.6491 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.8985, allocations: 110.8 kB / 0.6492 GB, free: 110.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002456/0.901, allocations: 1.26 MB / 0.6504 GB, free: 110.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006475/0.9016, allocations: 1.053 MB / 0.6515 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005019/0.9021, allocations: 119.5 kB / 0.6516 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.9024, allocations: 78.47 kB / 0.6516 GB, free: 109.5 MB / 426.7 MB Notification: Performance of SimCode: time 6.01e-07/0.9024, allocations: 3.969 kB / 0.6516 GB, free: 109.5 MB / 426.7 MB Notification: Performance of Templates: time 0.02228/0.9247, allocations: 11.41 MB / 0.6628 GB, free: 108.8 MB / 426.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile (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 & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1)