Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02836/0.02836, allocations: 5.387 MB / 20.34 MB, free: 1.844 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.0007743/0.0007743, allocations: 110 kB / 22.31 MB, free: 0.6094 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.0009242/0.0009244, allocations: 183.2 kB / 24.39 MB, free: 1.855 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.345/1.345, allocations: 223.2 MB / 249.5 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008368/0.008368, allocations: 2.326 MB / 304.1 MB, free: 3.824 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004783/0.0004785, allocations: 12 kB / 368.1 MB, free: 12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 52.22 MB / 420.3 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.006485/0.1131, allocations: 5.67 MB / 426 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2082/0.3213, allocations: 3.69 MB / 429.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006883/0.322, allocations: 22.75 kB / 429.7 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001016/0.323, allocations: 378.1 kB / 430.1 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.3246, allocations: 0.7589 MB / 430.9 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.3258, allocations: 470.9 kB / 431.3 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.327, allocations: 0.8839 MB / 432.2 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001777/0.3288, allocations: 1.229 MB / 433.4 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005336/0.3293, allocations: 451 kB / 433.9 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000642/0.33, allocations: 0.5271 MB / 434.4 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.3301, allocations: 63.31 kB / 434.5 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007595/0.3309, allocations: 289.9 kB / 434.7 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001802/0.3311, allocations: 198.2 kB / 434.9 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000184/0.3312, allocations: 227.2 kB / 435.2 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001136/0.3324, allocations: 1.301 MB / 436.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.3324, allocations: 0 / 436.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.3324, allocations: 3.344 kB / 436.5 MB, free: 34.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.3324, allocations: 0 / 436.5 MB, free: 34.7 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.003404/0.3358, allocations: 1.589 MB / 438 MB, free: 33.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3359, allocations: 10 kB / 438.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001916/0.3378, allocations: 378.6 kB / 438.4 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001547/0.3394, allocations: 0.7888 MB / 439.2 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.183e-05/0.3394, allocations: 80.31 kB / 439.3 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3396, allocations: 105.1 kB / 439.4 MB, free: 33.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.3412, allocations: 1.123 MB / 440.5 MB, free: 33.28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.3412, allocations: 7.844 kB / 440.5 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.3413, allocations: 44.81 kB / 440.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.637e-05/0.3413, allocations: 21.91 kB / 440.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.3429, allocations: 0.9481 MB / 441.5 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004809/0.3478, allocations: 4.351 MB / 445.9 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001999/0.3498, allocations: 1.681 MB / 447.6 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.616e-05/0.3498, allocations: 100.1 kB / 447.7 MB, free: 30.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007059/0.3506, allocations: 462.8 kB / 448.1 MB, free: 29.97 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.706e-06/0.3506, allocations: 0 / 448.1 MB, free: 29.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.004947/0.3555, allocations: 1.654 MB / 449.8 MB, free: 29.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.175e-05/0.3556, allocations: 278.1 kB / 450 MB, free: 29.28 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007978/0.3564, allocations: 0.6614 MB / 450.7 MB, free: 29.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.3565, allocations: 40.3 kB / 450.7 MB, free: 29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002797/0.3568, allocations: 0.521 MB / 451.3 MB, free: 28.58 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.3569, allocations: 214 kB / 451.5 MB, free: 28.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.21e-05/0.357, allocations: 21.72 kB / 451.5 MB, free: 28.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.876e-05/0.3571, allocations: 383.5 kB / 451.9 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005317/0.3576, allocations: 285 kB / 452.2 MB, free: 27.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006095/0.3582, allocations: 0.5354 MB / 452.7 MB, free: 27.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.3589, allocations: 403.7 kB / 453.1 MB, free: 27.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.3589, allocations: 0 / 453.1 MB, free: 27.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001799/0.3607, allocations: 1.081 MB / 454.2 MB, free: 26.85 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.61e-05/0.3607, allocations: 63.75 kB / 454.2 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.3608, allocations: 8.406 kB / 454.2 MB, free: 26.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004189/0.3612, allocations: 90.14 kB / 454.3 MB, free: 26.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007653/0.362, allocations: 218.1 kB / 454.5 MB, free: 26.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/0.3631, allocations: 1.483 MB / 456 MB, free: 25.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007569/0.3638, allocations: 112 kB / 456.1 MB, free: 25.26 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.3639, allocations: 46.98 kB / 456.2 MB, free: 25.25 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.0004773/0.3644, allocations: 335.2 kB / 456.5 MB, free: 24.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.3645, allocations: 89.25 kB / 456.6 MB, free: 24.93 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001661/0.3662, allocations: 0.9135 MB / 457.5 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3662, allocations: 11.25 kB / 457.5 MB, free: 24.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3662, allocations: 3.938 kB / 457.5 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.3662, allocations: 3.328 kB / 457.5 MB, free: 24.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005384/0.3716, allocations: 2.249 MB / 459.8 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.662e-06/0.3716, allocations: 2.906 kB / 459.8 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.372, allocations: 86.81 kB / 459.9 MB, free: 23.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007329/0.3727, allocations: 331.8 kB / 460.2 MB, free: 23.4 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.778e-05/0.3728, allocations: 27.59 kB / 460.2 MB, free: 23.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001084/0.3739, allocations: 0.9077 MB / 461.1 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3739, allocations: 3.281 kB / 461.1 MB, free: 22.71 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004795/0.3787, allocations: 1.692 MB / 462.8 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005126/0.3792, allocations: 235.2 kB / 463 MB, free: 21.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/0.3794, allocations: 21.03 kB / 463.1 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.3799, allocations: 56.72 kB / 463.1 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.045e-05/0.38, allocations: 44.48 kB / 463.2 MB, free: 21.76 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/0.3801, allocations: 32.58 kB / 463.2 MB, free: 21.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005842/0.3807, allocations: 455.4 kB / 463.6 MB, free: 21.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3807, allocations: 0 / 463.6 MB, free: 21.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001155/0.3818, allocations: 322.8 kB / 464 MB, free: 21.46 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.001559/0.3834, allocations: 0.6547 MB / 464.6 MB, free: 21.24 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001679/0.3851, allocations: 0.9643 MB / 465.6 MB, free: 20.76 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3851, allocations: 4.188 kB / 465.6 MB, free: 20.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007263/0.3858, allocations: 488.3 kB / 466.1 MB, free: 20.5 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007836/0.3866, allocations: 141.4 kB / 466.2 MB, free: 20.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.3897, allocations: 2.107 MB / 468.3 MB, free: 19.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004245/0.3902, allocations: 1.034 MB / 469.3 MB, free: 18.44 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005039/0.3907, allocations: 123 kB / 469.5 MB, free: 18.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.3909, allocations: 77.33 kB / 469.5 MB, free: 18.39 MB / 350.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3909, allocations: 0 / 469.5 MB, free: 18.39 MB / 350.1 MB Notification: Performance of Templates: time 0.02218/0.4131, allocations: 11.29 MB / 480.8 MB, free: 17.15 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1) Environment - environmentSimulation: