Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001111/0.001111, allocations: 170.2 kB / 7.646 MB, free: 1.434 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.322/1.322, allocations: 221.5 MB / 229.6 MB, free: 7.578 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.0008127/0.0008127, allocations: 89.84 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02282/0.02282, allocations: 5.284 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.009546/0.009545, allocations: 2.298 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.503e-05/1.505e-05, allocations: 0 / 450 MB, free: 48.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2822, allocations: 52.19 MB / 0.4904 GB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.4156, allocations: 98.06 MB / 0.5862 GB, free: 14.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4159, allocations: 67.97 kB / 0.5862 GB, free: 14.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09235/0.5083, allocations: 35.97 MB / 0.6214 GB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.5084, allocations: 0 / 0.6214 GB, free: 10.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001206/0.5085, allocations: 23.94 kB / 0.6214 GB, free: 10.27 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.004168/0.5127, allocations: 1.351 MB / 0.6227 GB, free: 8.859 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.5127, allocations: 12.03 kB / 0.6227 GB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00205/0.5148, allocations: 306.3 kB / 0.623 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/0.5166, allocations: 0.6525 MB / 0.6237 GB, free: 7.852 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.571e-05/0.5167, allocations: 36 kB / 0.6237 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002841/0.517, allocations: 71.92 kB / 0.6238 GB, free: 7.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002253/0.5192, allocations: 1.023 MB / 0.6248 GB, free: 6.719 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002063/0.5213, allocations: 0.9773 MB / 0.6257 GB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.117e-05/0.5214, allocations: 7.984 kB / 0.6257 GB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-05/0.5215, allocations: 0 / 0.6257 GB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/0.5215, allocations: 28 kB / 0.6257 GB, free: 5.648 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/0.5289, allocations: 4.394 MB / 0.63 GB, free: 1.062 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.5311, allocations: 1.767 MB / 0.6318 GB, free: 15.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004944/0.5317, allocations: 287.7 kB / 0.632 GB, free: 14.78 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/0.5318, allocations: 93.66 kB / 0.6321 GB, free: 14.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006739/0.5325, allocations: 445.4 kB / 0.6326 GB, free: 14.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=70): time 3.386e-06/0.5325, allocations: 0 / 0.6326 GB, free: 14.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=70): time 0.004084/0.5366, allocations: 1.053 MB / 0.6336 GB, free: 13.13 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001352/0.5368, allocations: 247.9 kB / 0.6338 GB, free: 12.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.5379, allocations: 0.5971 MB / 0.6344 GB, free: 12.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.74e-05/0.5379, allocations: 33.7 kB / 0.6344 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004645/0.5384, allocations: 0.5179 MB / 0.6349 GB, free: 11.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002328/0.5386, allocations: 228.8 kB / 0.6352 GB, free: 11.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.5387, allocations: 0 / 0.6352 GB, free: 11.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.5389, allocations: 386.8 kB / 0.6355 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.5394, allocations: 278.6 kB / 0.6358 GB, free: 10.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006225/0.54, allocations: 0.5014 MB / 0.6363 GB, free: 10.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008754/0.5409, allocations: 416.3 kB / 0.6367 GB, free: 9.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.648e-06/0.5409, allocations: 0 / 0.6367 GB, free: 9.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002186/0.5431, allocations: 1.035 MB / 0.6377 GB, free: 8.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.014e-05/0.5432, allocations: 64.64 kB / 0.6377 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.5432, allocations: 12.06 kB / 0.6378 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/0.5437, allocations: 96.73 kB / 0.6379 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008344/0.5446, allocations: 219.6 kB / 0.6381 GB, free: 8.324 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001725/0.5463, allocations: 1.514 MB / 0.6395 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008752/0.5472, allocations: 79.11 kB / 0.6396 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.5473, allocations: 51.97 kB / 0.6397 GB, free: 6.566 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.0003315/0.5477, allocations: 200.5 kB / 0.6399 GB, free: 6.355 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002551/0.548, allocations: 79.06 kB / 0.6399 GB, free: 6.277 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.552, allocations: 1.211 MB / 0.6411 GB, free: 5.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.552, allocations: 8 kB / 0.6411 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5521, allocations: 0 / 0.6411 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.5521, allocations: 3.984 kB / 0.6411 GB, free: 5.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/0.556, allocations: 2.042 MB / 0.6431 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.556, allocations: 3.984 kB / 0.6431 GB, free: 2.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004484/0.5565, allocations: 111.8 kB / 0.6432 GB, free: 2.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002426/0.5589, allocations: 0.5372 MB / 0.6438 GB, free: 2.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.721e-05/0.559, allocations: 23.97 kB / 0.6438 GB, free: 2.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008951/0.5599, allocations: 0.8568 MB / 0.6446 GB, free: 1.367 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.5599, allocations: 3.984 kB / 0.6446 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2904/0.8503, allocations: 1.357 MB / 0.6459 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009963/0.8514, allocations: 255.8 kB / 0.6462 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002358/0.8516, allocations: 15.09 kB / 0.6462 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008927/0.8525, allocations: 31.89 kB / 0.6462 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000171/0.8527, allocations: 50.44 kB / 0.6463 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/0.8528, allocations: 34.25 kB / 0.6463 GB, free: 111.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001139/0.854, allocations: 458.6 kB / 0.6468 GB, free: 111.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.854, allocations: 0 / 0.6468 GB, free: 111.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002157/0.8562, allocations: 338.1 kB / 0.6471 GB, free: 111.5 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.00224/0.8584, allocations: 0.6471 MB / 0.6477 GB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00251/0.861, allocations: 0.9306 MB / 0.6486 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.861, allocations: 7.25 kB / 0.6486 GB, free: 111.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.8623, allocations: 496.8 kB / 0.6491 GB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/0.8638, allocations: 110.2 kB / 0.6492 GB, free: 110.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004629/0.8685, allocations: 1.258 MB / 0.6504 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/0.8696, allocations: 1.049 MB / 0.6515 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0009563/0.8705, allocations: 122.8 kB / 0.6516 GB, free: 109.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003818/0.8709, allocations: 81.89 kB / 0.6516 GB, free: 109.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.871, allocations: 0 / 0.6516 GB, free: 109.8 MB / 426.7 MB Notification: Performance of Templates: time 0.03677/0.9077, allocations: 11.41 MB / 0.6628 GB, free: 109.1 MB / 426.7 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.pipe 2>&1)