Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02737/0.02737, allocations: 5.379 MB / 20.34 MB, free: 1.441 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.0007379/0.0007381, allocations: 106.7 kB / 22.32 MB, free: 200 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.000996/0.0009958, allocations: 182.2 kB / 24.4 MB, free: 1.59 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.257/1.257, allocations: 223.2 MB / 249.5 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008162/0.008162, allocations: 2.315 MB / 304.1 MB, free: 3.922 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004017, allocations: 12 kB / 368.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.104, allocations: 52.21 MB / 420.3 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006468/0.1105, allocations: 5.627 MB / 426 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2049/0.3155, allocations: 3.623 MB / 429.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009175/0.3164, allocations: 24.45 kB / 429.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.3176, allocations: 365.5 kB / 430 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001914/0.3195, allocations: 0.7438 MB / 430.7 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001118/0.3207, allocations: 421.4 kB / 431.1 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001286/0.322, allocations: 0.8768 MB / 432 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001926/0.3239, allocations: 1.233 MB / 433.2 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005454/0.3245, allocations: 444.6 kB / 433.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006202/0.3251, allocations: 0.5297 MB / 434.2 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001076/0.3252, allocations: 64.69 kB / 434.3 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.3259, allocations: 290.6 kB / 434.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.3261, allocations: 211.2 kB / 434.8 MB, free: 34.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.3263, allocations: 232.1 kB / 435 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001048/0.3273, allocations: 1.318 MB / 436.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.3273, allocations: 0 / 436.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3273, allocations: 4.125 kB / 436.3 MB, free: 34.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.199e-05/0.3273, allocations: 0 / 436.3 MB, free: 34.66 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003149/0.3305, allocations: 1.597 MB / 437.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.3305, allocations: 12.19 kB / 437.9 MB, free: 33.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001964/0.3325, allocations: 378.5 kB / 438.3 MB, free: 33.74 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001671/0.3342, allocations: 0.7955 MB / 439.1 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.432e-05/0.3343, allocations: 84.3 kB / 439.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.3345, allocations: 110.5 kB / 439.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001783/0.3363, allocations: 1.164 MB / 440.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.3363, allocations: 7.312 kB / 440.4 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.3364, allocations: 40.47 kB / 440.5 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.009e-05/0.3364, allocations: 27.34 kB / 440.5 MB, free: 33.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.3382, allocations: 1.07 MB / 441.6 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.3435, allocations: 4.384 MB / 446 MB, free: 31.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.3457, allocations: 1.753 MB / 447.7 MB, free: 30.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.427e-05/0.3457, allocations: 99.23 kB / 447.8 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007205/0.3465, allocations: 465.2 kB / 448.3 MB, free: 30.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.094e-06/0.3465, allocations: 0 / 448.3 MB, free: 30.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005259/0.3518, allocations: 1.712 MB / 450 MB, free: 29.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.916e-05/0.3518, allocations: 229.2 kB / 450.2 MB, free: 29.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007346/0.3526, allocations: 0.6439 MB / 450.8 MB, free: 29.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/0.3526, allocations: 44.11 kB / 450.9 MB, free: 29.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002968/0.3529, allocations: 0.5177 MB / 451.4 MB, free: 28.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001392/0.3531, allocations: 238.2 kB / 451.6 MB, free: 28.54 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.074e-05/0.3531, allocations: 15.28 kB / 451.6 MB, free: 28.53 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.555e-05/0.3532, allocations: 397.8 kB / 452 MB, free: 28.17 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005461/0.3538, allocations: 293.2 kB / 452.3 MB, free: 28.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/0.3544, allocations: 0.5316 MB / 452.9 MB, free: 27.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006411/0.3551, allocations: 420.9 kB / 453.3 MB, free: 27.44 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3551, allocations: 3.375 kB / 453.3 MB, free: 27.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001871/0.357, allocations: 1.114 MB / 454.4 MB, free: 26.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.357, allocations: 64.12 kB / 454.4 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.357, allocations: 6.719 kB / 454.5 MB, free: 26.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.3575, allocations: 92.2 kB / 454.5 MB, free: 26.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007936/0.3583, allocations: 223.2 kB / 454.8 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/0.3594, allocations: 1.482 MB / 456.2 MB, free: 25.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007486/0.3602, allocations: 114.9 kB / 456.4 MB, free: 25.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.066e-05/0.3603, allocations: 42.66 kB / 456.4 MB, free: 25.35 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0004673/0.3607, allocations: 341.6 kB / 456.7 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.3609, allocations: 81.06 kB / 456.8 MB, free: 25.03 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00179/0.3627, allocations: 1.016 MB / 457.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.3627, allocations: 6.656 kB / 457.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.3627, allocations: 4.828 kB / 457.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.3627, allocations: 7.312 kB / 457.8 MB, free: 24.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00534/0.3681, allocations: 2.344 MB / 460.2 MB, free: 23.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.3681, allocations: 0 / 460.2 MB, free: 23.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000349/0.3684, allocations: 96.58 kB / 460.3 MB, free: 23.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007239/0.3692, allocations: 338.8 kB / 460.6 MB, free: 23.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.3692, allocations: 24.42 kB / 460.6 MB, free: 23.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001068/0.3703, allocations: 0.9145 MB / 461.6 MB, free: 22.76 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3703, allocations: 2.938 kB / 461.6 MB, free: 22.76 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002277/0.3726, allocations: 1.426 MB / 463 MB, free: 22.05 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003188/0.3729, allocations: 235 kB / 463.2 MB, free: 21.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.3731, allocations: 22.06 kB / 463.2 MB, free: 21.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005213/0.3736, allocations: 57.39 kB / 463.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.18e-05/0.3737, allocations: 42.3 kB / 463.3 MB, free: 21.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/0.3738, allocations: 34.25 kB / 463.4 MB, free: 21.83 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005067/0.3743, allocations: 451.6 kB / 463.8 MB, free: 21.63 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3743, allocations: 0 / 463.8 MB, free: 21.63 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009251/0.3752, allocations: 329.7 kB / 464.1 MB, free: 21.53 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001282/0.3765, allocations: 0.662 MB / 464.8 MB, free: 21.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001601/0.3781, allocations: 0.9899 MB / 465.8 MB, free: 20.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3781, allocations: 0 / 465.8 MB, free: 20.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007225/0.3789, allocations: 0.5009 MB / 466.3 MB, free: 20.54 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006008/0.3795, allocations: 124.3 kB / 466.4 MB, free: 20.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.3822, allocations: 2.159 MB / 468.6 MB, free: 19.18 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004416/0.3827, allocations: 1.045 MB / 469.6 MB, free: 18.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004431/0.3831, allocations: 129.2 kB / 469.7 MB, free: 18.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.3833, allocations: 80.16 kB / 469.8 MB, free: 18.4 MB / 350.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3834, allocations: 0 / 469.8 MB, free: 18.4 MB / 350.1 MB Notification: Performance of Templates: time 0.02353/0.4069, allocations: 11.16 MB / 481 MB, free: 17.24 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile Environment - environmentSimulation: (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.pipe 2>&1) Environment - environmentSimulation: