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.03/0.03001, 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.0006929/0.000693, allocations: 98.72 kB / 22.65 MB, free: 432 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.0008716/0.0008718, allocations: 181.2 kB / 24.74 MB, free: 1.832 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.008399/0.008399, allocations: 2.316 MB / 304.6 MB, free: 3.301 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.000379/0.0003791, allocations: 16 kB / 368.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1061, allocations: 52.2 MB / 421.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.1904/0.2966, allocations: 6.363 MB / 427.5 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006031/0.3027, allocations: 3.911 MB / 431.4 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006621/0.3034, allocations: 22.03 kB / 431.4 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001264/0.3046, allocations: 461.5 kB / 431.8 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.3066, allocations: 0.788 MB / 432.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3084, allocations: 0.5337 MB / 433.2 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001338/0.3097, allocations: 1.316 MB / 434.5 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.3117, allocations: 1.407 MB / 435.9 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005889/0.3123, allocations: 472.2 kB / 436.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007054/0.313, allocations: 0.5881 MB / 436.9 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.3132, allocations: 58.88 kB / 437 MB, free: 34.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007901/0.314, allocations: 350 kB / 437.3 MB, free: 34.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001929/0.3142, allocations: 200.5 kB / 437.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005466/0.3147, allocations: 0.5577 MB / 438.1 MB, free: 34.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001349/0.3161, allocations: 1.646 MB / 439.7 MB, free: 33.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3161, allocations: 0 / 439.7 MB, free: 33.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3161, allocations: 0 / 439.7 MB, free: 33.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.3161, allocations: 0 / 439.7 MB, free: 33.87 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.003338/0.3195, allocations: 1.581 MB / 441.3 MB, free: 33.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.3195, allocations: 9.188 kB / 441.3 MB, free: 33.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00204/0.3215, allocations: 378.2 kB / 441.7 MB, free: 32.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.3232, allocations: 0.8134 MB / 442.5 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.466e-05/0.3233, allocations: 75.81 kB / 442.6 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3235, allocations: 101.3 kB / 442.7 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/0.3254, allocations: 1.147 MB / 443.8 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.561e-05/0.3255, allocations: 3.156 kB / 443.8 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.3256, allocations: 39.77 kB / 443.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.3256, allocations: 27.59 kB / 443.9 MB, free: 32.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.3274, allocations: 0.9563 MB / 444.9 MB, free: 32.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005616/0.333, allocations: 4.362 MB / 449.2 MB, free: 29.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.3352, allocations: 1.672 MB / 450.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/0.3358, allocations: 318.7 kB / 451.2 MB, free: 28.01 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-05/0.3359, allocations: 98.17 kB / 451.3 MB, free: 27.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007352/0.3366, allocations: 465 kB / 451.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.184e-06/0.3366, allocations: 3.125 kB / 451.8 MB, free: 27.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005425/0.3421, allocations: 1.589 MB / 453.3 MB, free: 27.11 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.655e-05/0.3421, allocations: 278.8 kB / 453.6 MB, free: 26.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007513/0.3429, allocations: 0.668 MB / 454.3 MB, free: 26.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.343, allocations: 44.05 kB / 454.3 MB, free: 26.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/0.3433, allocations: 0.5167 MB / 454.8 MB, free: 26.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000132/0.3434, allocations: 212.9 kB / 455.1 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.351e-05/0.3435, allocations: 85.08 kB / 455.1 MB, free: 25.82 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.3436, allocations: 383.2 kB / 455.5 MB, free: 25.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/0.3442, allocations: 291.7 kB / 455.8 MB, free: 25.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006187/0.3448, allocations: 0.5383 MB / 456.3 MB, free: 24.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/0.346, allocations: 0.9238 MB / 457.3 MB, free: 24.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.346, allocations: 7.344 kB / 457.3 MB, free: 24.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001947/0.348, allocations: 1.078 MB / 458.3 MB, free: 23.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.066e-05/0.3481, allocations: 64.39 kB / 458.4 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.3481, allocations: 6.375 kB / 458.4 MB, free: 23.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004577/0.3485, allocations: 79.41 kB / 458.5 MB, free: 23.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008089/0.3494, allocations: 231.9 kB / 458.7 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.3505, allocations: 1.479 MB / 460.2 MB, free: 22.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008622/0.3514, allocations: 111.9 kB / 460.3 MB, free: 22.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/0.3514, allocations: 47.25 kB / 460.3 MB, free: 22.18 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.0005531/0.352, allocations: 325 kB / 460.7 MB, free: 21.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001286/0.3521, allocations: 88.11 kB / 460.8 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.3539, allocations: 0.9295 MB / 461.7 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.354, allocations: 6.875 kB / 461.7 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.354, allocations: 2.438 kB / 461.7 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.354, allocations: 10.47 kB / 461.7 MB, free: 21.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005468/0.3595, allocations: 2.234 MB / 463.9 MB, free: 20.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3595, allocations: 4.031 kB / 463.9 MB, free: 20.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.3598, allocations: 87.41 kB / 464 MB, free: 20.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007525/0.3606, allocations: 341.5 kB / 464.4 MB, free: 20.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.268e-05/0.3607, allocations: 23.91 kB / 464.4 MB, free: 20.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/0.3618, allocations: 0.9109 MB / 465.3 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3618, allocations: 0 / 465.3 MB, free: 19.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00488/0.3667, allocations: 1.663 MB / 467 MB, free: 18.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/0.367, allocations: 236.1 kB / 467.2 MB, free: 18.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.3671, allocations: 19.31 kB / 467.2 MB, free: 18.78 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005684/0.3677, allocations: 61.78 kB / 467.3 MB, free: 18.77 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.021e-05/0.3678, allocations: 43.89 kB / 467.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.376e-05/0.3678, allocations: 29.28 kB / 467.3 MB, free: 18.75 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004926/0.3683, allocations: 466.1 kB / 467.8 MB, free: 18.54 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3684, allocations: 0 / 467.8 MB, free: 18.54 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009158/0.3693, allocations: 312.2 kB / 468.1 MB, free: 18.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 (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.001255/0.3705, allocations: 0.6581 MB / 468.8 MB, free: 18.22 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001585/0.3721, allocations: 0.9668 MB / 469.7 MB, free: 17.73 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3722, allocations: 0 / 469.7 MB, free: 17.73 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007237/0.3729, allocations: 483.2 kB / 470.2 MB, free: 17.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000934/0.3738, allocations: 160.6 kB / 470.4 MB, free: 17.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.3766, allocations: 2.243 MB / 472.6 MB, free: 16.02 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.377, allocations: 1.008 MB / 473.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004918/0.3775, allocations: 123.6 kB / 473.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.3777, allocations: 78.48 kB / 473.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3777, allocations: 0 / 473.8 MB, free: 15.26 MB / 350.1 MB Notification: Performance of Templates: time 0.02237/0.4001, allocations: 11.6 MB / 485.4 MB, free: 13.7 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: