Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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/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/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 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) 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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo) Running command: translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02891/0.02891, allocations: 5.383 MB / 20.5 MB, free: 2.109 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009253/0.0009254, allocations: 112.1 kB / 22.5 MB, free: 492 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 194 kB / 24.59 MB, free: 0.7227 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 222.9 MB / 249.4 MB, free: 8.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008639/0.008639, allocations: 2.323 MB / 303.1 MB, free: 6.734 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 87.86 kB / 366.4 MB, free: 7.363 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 51.21 MB / 417.6 MB, free: 26.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006555/0.2253, allocations: 6.855 MB / 424.5 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005237/0.2305, allocations: 3.975 MB / 428.5 MB, free: 15.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000711/0.2313, allocations: 23.88 kB / 428.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.2334, allocations: 1.096 MB / 429.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001426/0.2348, allocations: 0.7854 MB / 430.4 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001319/0.2361, allocations: 0.5514 MB / 430.9 MB, free: 13.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008677/0.237, allocations: 1.308 MB / 432.2 MB, free: 12.15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009362/0.238, allocations: 0.8515 MB / 433.1 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000407/0.2384, allocations: 0.5172 MB / 433.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004939/0.2389, allocations: 0.6417 MB / 434.2 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.239, allocations: 84 kB / 434.3 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005845/0.2396, allocations: 371.6 kB / 434.7 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.2397, allocations: 247 kB / 434.9 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.2401, allocations: 0.5711 MB / 435.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.2411, allocations: 1.698 MB / 437.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2411, allocations: 0 / 437.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.12e-07/0.2411, allocations: 0 / 437.2 MB, free: 7.141 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.2411, allocations: 0 / 437.2 MB, free: 7.141 MB / 302.1 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.003214/0.2444, allocations: 1.798 MB / 439 MB, free: 5.277 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.2444, allocations: 12.03 kB / 439 MB, free: 5.266 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001882/0.2463, allocations: 375.1 kB / 439.4 MB, free: 4.898 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.2477, allocations: 0.7971 MB / 440.2 MB, free: 4.059 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.289e-05/0.2477, allocations: 82 kB / 440.2 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.2479, allocations: 103.9 kB / 440.4 MB, free: 3.879 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001612/0.2495, allocations: 1.134 MB / 441.5 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.2495, allocations: 0 / 441.5 MB, free: 2.688 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-05/0.2496, allocations: 47.94 kB / 441.5 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.493e-05/0.2496, allocations: 27.98 kB / 441.6 MB, free: 2.613 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00163/0.2513, allocations: 0.9486 MB / 442.5 MB, free: 1.664 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00572/0.257, allocations: 4.334 MB / 446.8 MB, free: 13.13 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.2597, allocations: 1.674 MB / 448.5 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/0.2604, allocations: 316.9 kB / 448.8 MB, free: 10.91 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001035/0.2605, allocations: 93.53 kB / 448.9 MB, free: 10.8 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008385/0.2614, allocations: 454.6 kB / 449.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.2614, allocations: 4 kB / 449.4 MB, free: 10.32 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005996/0.2674, allocations: 1.549 MB / 450.9 MB, free: 8.738 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001696/0.2676, allocations: 281.5 kB / 451.2 MB, free: 8.402 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009052/0.2685, allocations: 0.6604 MB / 451.8 MB, free: 7.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.922e-05/0.2686, allocations: 41.7 kB / 451.9 MB, free: 7.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003859/0.2689, allocations: 0.5179 MB / 452.4 MB, free: 7.156 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001816/0.2691, allocations: 213.1 kB / 452.6 MB, free: 6.945 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/0.2695, allocations: 186.4 kB / 452.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.2697, allocations: 390.8 kB / 453.2 MB, free: 6.367 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006332/0.2703, allocations: 285.9 kB / 453.5 MB, free: 6.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008067/0.2711, allocations: 0.5365 MB / 454 MB, free: 5.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001427/0.2726, allocations: 0.9099 MB / 454.9 MB, free: 4.395 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.2726, allocations: 7.938 kB / 454.9 MB, free: 4.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002135/0.2747, allocations: 1.071 MB / 456 MB, free: 3.293 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/0.2748, allocations: 63.67 kB / 456 MB, free: 3.219 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2748, allocations: 12 kB / 456.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004639/0.2753, allocations: 88.7 kB / 456.1 MB, free: 3.117 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/0.2761, allocations: 223.6 kB / 456.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/0.2775, allocations: 1.471 MB / 457.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007878/0.2783, allocations: 114.9 kB / 457.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.639e-05/0.2784, allocations: 39.98 kB / 458 MB, free: 1.137 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 26 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.irradianceTable.nextTimeEvent,$whenCondition4,writeCSV.sampleTrigger,$whenCondition3,mpTracker.sampleTrigger,$whenCondition2,$PRE.powerTable.nextTimeEvent,$whenCondition1,powerTable.nextTimeEventScaled,$PRE.powerTable.nextTimeEventScaled,powerTable.nextTimeEvent,irradianceTable.nextTimeEventScaled,$PRE.irradianceTable.nextTimeEventScaled,irradianceTable.nextTimeEvent,mpTracker.vRef,$PRE.mpTracker.vRef,integrator.local_reset,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004953/0.2789, allocations: 335.7 kB / 458.3 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.279, allocations: 83.06 kB / 458.4 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001953/0.281, allocations: 0.9167 MB / 459.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/0.281, allocations: 11.98 kB / 459.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.554e-06/0.281, allocations: 0 / 459.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.281, allocations: 64 / 459.3 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00577/0.2868, allocations: 2.214 MB / 461.5 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.2868, allocations: 3.938 kB / 461.5 MB, free: 13.45 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.2872, allocations: 83.91 kB / 461.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007876/0.288, allocations: 334.2 kB / 461.9 MB, free: 13.04 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.288, allocations: 19.98 kB / 462 MB, free: 13.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001255/0.2893, allocations: 0.8974 MB / 462.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2893, allocations: 0 / 462.9 MB, free: 12.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/0.2945, allocations: 1.634 MB / 464.5 MB, free: 10.41 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002915/0.2948, allocations: 216 kB / 464.7 MB, free: 10.18 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.2949, allocations: 23.98 kB / 464.7 MB, free: 10.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005536/0.2955, allocations: 47.91 kB / 464.8 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.82e-05/0.2956, allocations: 44.38 kB / 464.8 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.2957, allocations: 31.92 kB / 464.9 MB, free: 10.03 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005333/0.2962, allocations: 467 kB / 465.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2962, allocations: 0 / 465.3 MB, free: 9.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008559/0.2971, allocations: 315 kB / 465.6 MB, free: 9.266 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltageSource.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.nextTimeEventScaled,powerTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001273/0.2984, allocations: 0.6618 MB / 466.3 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001745/0.3001, allocations: 0.956 MB / 467.2 MB, free: 7.844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.3001, allocations: 4.5 kB / 467.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008556/0.301, allocations: 481.1 kB / 467.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008365/0.3018, allocations: 162 kB / 467.9 MB, free: 7.195 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.3049, allocations: 2.166 MB / 470 MB, free: 4.992 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005265/0.3054, allocations: 1.018 MB / 471.1 MB, free: 3.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004378/0.3059, allocations: 110.4 kB / 471.2 MB, free: 3.836 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001972/0.3061, allocations: 83.39 kB / 471.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3061, allocations: 0 / 471.2 MB, free: 3.754 MB / 334.1 MB Notification: Performance of Templates: time 0.01793/0.324, allocations: 11.68 MB / 482.9 MB, free: 8.156 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.pipe 2>&1)