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.04642/0.04642, allocations: 5.384 MB / 20.66 MB, free: 1.66 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.001039/0.001039, allocations: 98.28 kB / 22.64 MB, free: 436 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.001228/0.001228, allocations: 181.2 kB / 24.74 MB, free: 1.828 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.383/1.383, allocations: 223.3 MB / 250 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00811/0.00811, allocations: 2.314 MB / 304.6 MB, free: 3.281 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004715, allocations: 20 kB / 368.9 MB, free: 10.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1016, allocations: 52.2 MB / 421.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.1883/0.2899, allocations: 6.366 MB / 427.5 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007848/0.2978, allocations: 3.909 MB / 431.4 MB, free: 35.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001299/0.2991, allocations: 19.56 kB / 431.4 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00189/0.301, allocations: 464.4 kB / 431.9 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002747/0.3038, allocations: 0.7812 MB / 432.6 MB, free: 35.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.3058, allocations: 0.5427 MB / 433.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002082/0.3079, allocations: 1.316 MB / 434.5 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.3107, allocations: 1.41 MB / 435.9 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008725/0.3116, allocations: 468.2 kB / 436.4 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.3129, allocations: 0.5868 MB / 436.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004404/0.3134, allocations: 58.69 kB / 437 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.3148, allocations: 346.2 kB / 437.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.3151, allocations: 204.8 kB / 437.5 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009373/0.3161, allocations: 0.5632 MB / 438.1 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002144/0.3182, allocations: 1.643 MB / 439.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3182, allocations: 0 / 439.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3182, allocations: 0 / 439.7 MB, free: 33.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.193e-05/0.3183, allocations: 0 / 439.7 MB, free: 33.95 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.004075/0.3224, allocations: 1.581 MB / 441.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.3224, allocations: 9.531 kB / 441.3 MB, free: 33.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002225/0.3247, allocations: 381.1 kB / 441.7 MB, free: 33.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001739/0.3264, allocations: 0.8117 MB / 442.5 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.586e-05/0.3265, allocations: 74.34 kB / 442.6 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.3267, allocations: 101.1 kB / 442.7 MB, free: 32.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.3285, allocations: 1.145 MB / 443.8 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/0.3286, allocations: 7.438 kB / 443.8 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.505e-05/0.3287, allocations: 41.34 kB / 443.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.3287, allocations: 24.5 kB / 443.9 MB, free: 32.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001729/0.3304, allocations: 0.9537 MB / 444.9 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005063/0.3355, allocations: 4.36 MB / 449.2 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/0.3376, allocations: 1.674 MB / 450.9 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005757/0.3382, allocations: 317.9 kB / 451.2 MB, free: 28.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.829e-05/0.3383, allocations: 97.16 kB / 451.3 MB, free: 27.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007395/0.3391, allocations: 468.1 kB / 451.8 MB, free: 27.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.294e-06/0.3391, allocations: 0 / 451.8 MB, free: 27.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00548/0.3446, allocations: 1.591 MB / 453.3 MB, free: 27.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.693e-05/0.3447, allocations: 272.4 kB / 453.6 MB, free: 26.86 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/0.3454, allocations: 0.6708 MB / 454.3 MB, free: 26.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.849e-05/0.3455, allocations: 44.14 kB / 454.3 MB, free: 26.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.3458, allocations: 0.5166 MB / 454.8 MB, free: 26.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001366/0.3459, allocations: 216.6 kB / 455.1 MB, free: 25.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.353e-05/0.346, allocations: 81.17 kB / 455.1 MB, free: 25.88 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.217e-05/0.3461, allocations: 386.6 kB / 455.5 MB, free: 25.54 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005805/0.3467, allocations: 294.8 kB / 455.8 MB, free: 25.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006336/0.3473, allocations: 0.5307 MB / 456.3 MB, free: 25.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.3486, allocations: 0.9334 MB / 457.3 MB, free: 24.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.3486, allocations: 3.938 kB / 457.3 MB, free: 24.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001962/0.3505, allocations: 1.067 MB / 458.3 MB, free: 23.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.979e-05/0.3506, allocations: 69.06 kB / 458.4 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3506, allocations: 9.312 kB / 458.4 MB, free: 23.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000472/0.3511, allocations: 87.39 kB / 458.5 MB, free: 23.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008126/0.3519, allocations: 217.2 kB / 458.7 MB, free: 23.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001208/0.3531, allocations: 1.478 MB / 460.2 MB, free: 22.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008873/0.354, allocations: 107.4 kB / 460.3 MB, free: 22.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-05/0.3541, allocations: 46.53 kB / 460.3 MB, free: 22.26 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 (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.0005502/0.3547, allocations: 344 kB / 460.7 MB, free: 21.98 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.3548, allocations: 82.91 kB / 460.8 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001776/0.3566, allocations: 0.9308 MB / 461.7 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3566, allocations: 10.16 kB / 461.7 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3567, allocations: 3.094 kB / 461.7 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.3567, allocations: 3.422 kB / 461.7 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0056/0.3623, allocations: 2.232 MB / 463.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.004e-06/0.3623, allocations: 2.969 kB / 463.9 MB, free: 20.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003634/0.3627, allocations: 88.48 kB / 464 MB, free: 20.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007994/0.3635, allocations: 346.7 kB / 464.4 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.59e-05/0.3636, allocations: 23.73 kB / 464.4 MB, free: 20.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/0.3647, allocations: 0.9015 MB / 465.3 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.3647, allocations: 4.062 kB / 465.3 MB, free: 19.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005024/0.3698, allocations: 1.664 MB / 467 MB, free: 19.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.3702, allocations: 243.3 kB / 467.2 MB, free: 18.86 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.3703, allocations: 15.91 kB / 467.2 MB, free: 18.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000582/0.3709, allocations: 62.34 kB / 467.3 MB, free: 18.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.371, allocations: 48.2 kB / 467.3 MB, free: 18.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.371, allocations: 28.5 kB / 467.3 MB, free: 18.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005639/0.3716, allocations: 461.2 kB / 467.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.3716, allocations: 0 / 467.8 MB, free: 18.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001082/0.3727, allocations: 316.8 kB / 468.1 MB, free: 18.52 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 (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.00144/0.3742, allocations: 0.6505 MB / 468.8 MB, free: 18.29 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.3759, allocations: 0.9715 MB / 469.7 MB, free: 17.8 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.376, allocations: 0 / 469.7 MB, free: 17.8 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007426/0.3767, allocations: 489.5 kB / 470.2 MB, free: 17.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001/0.3777, allocations: 157.9 kB / 470.4 MB, free: 17.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.3807, allocations: 2.239 MB / 472.6 MB, free: 16.08 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/0.3812, allocations: 1.007 MB / 473.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005136/0.3817, allocations: 124.5 kB / 473.7 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001982/0.3819, allocations: 74.59 kB / 473.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.3819, allocations: 0 / 473.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of Templates: time 0.02111/0.4031, allocations: 11.58 MB / 485.4 MB, free: 13.73 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: