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/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_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/PhotoVoltaics 2.0.0/package.mo): time 0.02959/0.02959, allocations: 5.38 MB / 20.36 MB, free: 2.23 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.0006456/0.0006456, allocations: 102.8 kB / 22.34 MB, free: 0.7617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009299/0.0009302, allocations: 178.3 kB / 24.41 MB, free: 1.98 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.389/1.389, allocations: 223.3 MB / 249.6 MB, free: 13.82 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009/0.009, allocations: 2.312 MB / 304.2 MB, free: 3.906 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003914/0.0003916, allocations: 12 kB / 368.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09787/0.09828, allocations: 52.21 MB / 420.5 MB, free: 6.336 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.006518/0.1048, allocations: 5.985 MB / 426.4 MB, free: 332 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1948/0.2997, allocations: 3.707 MB / 430.1 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006401/0.3004, allocations: 22.81 kB / 430.2 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001128/0.3015, allocations: 400.7 kB / 430.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.3032, allocations: 0.7021 MB / 431.3 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.3045, allocations: 475.9 kB / 431.7 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001182/0.3057, allocations: 1.242 MB / 433 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.3077, allocations: 1.247 MB / 434.2 MB, free: 34.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005771/0.3083, allocations: 449 kB / 434.7 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006392/0.3089, allocations: 0.5562 MB / 435.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.3091, allocations: 57.78 kB / 435.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007734/0.3098, allocations: 324.8 kB / 435.6 MB, free: 34.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001676/0.31, allocations: 202 kB / 435.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002373/0.3103, allocations: 229.3 kB / 436 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.3115, allocations: 1.315 MB / 437.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.3115, allocations: 0 / 437.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.3115, allocations: 0 / 437.3 MB, free: 34.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.133e-05/0.3115, allocations: 0 / 437.3 MB, free: 34.04 MB / 350.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.003114/0.3146, allocations: 1.594 MB / 438.9 MB, free: 33.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.3147, allocations: 9.828 kB / 438.9 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.3166, allocations: 379.8 kB / 439.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.3181, allocations: 0.7773 MB / 440.1 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/0.3182, allocations: 85.06 kB / 440.2 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.3183, allocations: 110.1 kB / 440.3 MB, free: 32.8 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.3202, allocations: 1.126 MB / 441.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.3202, allocations: 3.938 kB / 441.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-05/0.3203, allocations: 48.88 kB / 441.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.292e-05/0.3204, allocations: 25.16 kB / 441.5 MB, free: 32.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001681/0.322, allocations: 0.9429 MB / 442.4 MB, free: 32.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005022/0.3271, allocations: 4.352 MB / 446.8 MB, free: 30.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001872/0.329, allocations: 1.674 MB / 448.4 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/0.3296, allocations: 328.3 kB / 448.8 MB, free: 29.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.211e-05/0.3297, allocations: 93.09 kB / 448.8 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007246/0.3304, allocations: 458.9 kB / 449.3 MB, free: 29.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.464e-06/0.3304, allocations: 4 kB / 449.3 MB, free: 29.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005069/0.3355, allocations: 1.584 MB / 450.9 MB, free: 28.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3356, allocations: 273 kB / 451.1 MB, free: 28.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008758/0.3365, allocations: 0.6554 MB / 451.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.683e-05/0.3365, allocations: 40.23 kB / 451.8 MB, free: 27.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003544/0.3369, allocations: 0.5241 MB / 452.4 MB, free: 27.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/0.3371, allocations: 215.6 kB / 452.6 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3371, allocations: 19 kB / 452.6 MB, free: 27.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3372, allocations: 390.3 kB / 453 MB, free: 27.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005253/0.3377, allocations: 286.7 kB / 453.3 MB, free: 26.91 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006127/0.3384, allocations: 0.5314 MB / 453.8 MB, free: 26.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006292/0.339, allocations: 405 kB / 454.2 MB, free: 26.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.339, allocations: 7.391 kB / 454.2 MB, free: 26.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001868/0.3409, allocations: 1.072 MB / 455.3 MB, free: 25.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.261e-05/0.3409, allocations: 61.16 kB / 455.3 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.341, allocations: 9.438 kB / 455.3 MB, free: 25.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004198/0.3414, allocations: 91.77 kB / 455.4 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007596/0.3422, allocations: 223 kB / 455.6 MB, free: 25.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001152/0.3433, allocations: 1.465 MB / 457.1 MB, free: 24.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006697/0.344, allocations: 115.8 kB / 457.2 MB, free: 24.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/0.3441, allocations: 47.02 kB / 457.3 MB, free: 24.2 MB / 350.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 ($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 () * 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 (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.0004851/0.3446, allocations: 336.9 kB / 457.6 MB, free: 23.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3447, allocations: 82.58 kB / 457.7 MB, free: 23.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/0.3463, allocations: 0.9274 MB / 458.6 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.3463, allocations: 6.375 kB / 458.6 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.3463, allocations: 0 / 458.6 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/0.3463, allocations: 3.422 kB / 458.6 MB, free: 23.46 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005018/0.3514, allocations: 2.253 MB / 460.9 MB, free: 22.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.809e-06/0.3514, allocations: 2.969 kB / 460.9 MB, free: 22.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.3518, allocations: 81.59 kB / 460.9 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007359/0.3525, allocations: 335.8 kB / 461.3 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.669e-05/0.3526, allocations: 24.12 kB / 461.3 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.3536, allocations: 0.9054 MB / 462.2 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.3537, allocations: 3.031 kB / 462.2 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/0.3582, allocations: 1.665 MB / 463.9 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.3586, allocations: 225.1 kB / 464.1 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001932/0.3588, allocations: 21.94 kB / 464.1 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005782/0.3594, allocations: 61.39 kB / 464.2 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.794e-05/0.3595, allocations: 40.69 kB / 464.2 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.661e-05/0.3595, allocations: 30.22 kB / 464.2 MB, free: 20.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006354/0.3602, allocations: 458.1 kB / 464.7 MB, free: 20.56 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3602, allocations: 2.812 kB / 464.7 MB, free: 20.56 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001088/0.3613, allocations: 315.5 kB / 465 MB, free: 20.47 MB / 350.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 (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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.001383/0.3627, allocations: 0.6595 MB / 465.7 MB, free: 20.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001809/0.3645, allocations: 0.9669 MB / 466.6 MB, free: 19.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3645, allocations: 0 / 466.6 MB, free: 19.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007732/0.3653, allocations: 487.2 kB / 467.1 MB, free: 19.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009745/0.3663, allocations: 167.2 kB / 467.3 MB, free: 19.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003666/0.37, allocations: 2.112 MB / 469.4 MB, free: 18.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/0.3705, allocations: 1.012 MB / 470.4 MB, free: 17.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005847/0.3711, allocations: 124.8 kB / 470.5 MB, free: 17.44 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002183/0.3714, allocations: 74.92 kB / 470.6 MB, free: 17.43 MB / 350.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3714, allocations: 0 / 470.6 MB, free: 17.43 MB / 350.1 MB Notification: Performance of Templates: time 0.02223/0.3936, allocations: 11.31 MB / 481.9 MB, free: 16.19 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: