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.03323/0.03323, allocations: 5.38 MB / 20.34 MB, free: 1.52 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.0008183/0.0008182, allocations: 106 kB / 22.32 MB, free: 284 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.001054/0.001054, allocations: 179.9 kB / 24.39 MB, free: 1.941 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.321/1.321, allocations: 223.2 MB / 249.5 MB, free: 15.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00819/0.00819, allocations: 2.322 MB / 304.1 MB, free: 3.832 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003949/0.000395, allocations: 16 kB / 368.1 MB, free: 11.98 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1173, allocations: 52.2 MB / 420.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006612/0.1239, allocations: 5.67 MB / 426 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1953/0.3192, allocations: 3.693 MB / 429.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007374/0.32, allocations: 20.06 kB / 429.7 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001193/0.3212, allocations: 383.7 kB / 430.1 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00158/0.3228, allocations: 0.7532 MB / 430.9 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001195/0.324, allocations: 479.4 kB / 431.3 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009847/0.325, allocations: 0.8816 MB / 432.2 MB, free: 34.76 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001682/0.3267, allocations: 1.231 MB / 433.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005249/0.3272, allocations: 448.3 kB / 433.9 MB, free: 34.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000679/0.3279, allocations: 0.5349 MB / 434.4 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3281, allocations: 55.94 kB / 434.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008871/0.329, allocations: 287.8 kB / 434.7 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001964/0.3292, allocations: 196.7 kB / 434.9 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.3294, allocations: 229.1 kB / 435.2 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001368/0.3308, allocations: 1.302 MB / 436.5 MB, free: 34.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3308, allocations: 4 kB / 436.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3308, allocations: 0 / 436.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.019e-05/0.3308, allocations: 0.9375 kB / 436.5 MB, free: 34.16 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.003631/0.3345, allocations: 1.59 MB / 438.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.3345, allocations: 9.531 kB / 438.1 MB, free: 33.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002025/0.3365, allocations: 377.7 kB / 438.4 MB, free: 33.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/0.3382, allocations: 0.7857 MB / 439.2 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.3383, allocations: 83.19 kB / 439.3 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.3384, allocations: 102.7 kB / 439.4 MB, free: 32.92 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00176/0.3402, allocations: 1.118 MB / 440.5 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.3402, allocations: 7.375 kB / 440.5 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.982e-05/0.3403, allocations: 40.94 kB / 440.6 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-05/0.3404, allocations: 27.31 kB / 440.6 MB, free: 32.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001611/0.342, allocations: 0.9502 MB / 441.5 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004918/0.3469, allocations: 4.35 MB / 445.9 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002064/0.349, allocations: 1.68 MB / 447.6 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.174e-05/0.3491, allocations: 99.39 kB / 447.7 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00073/0.3498, allocations: 459.1 kB / 448.1 MB, free: 29.44 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 3.517e-06/0.3498, allocations: 4.547 kB / 448.1 MB, free: 29.44 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005118/0.355, allocations: 1.66 MB / 449.8 MB, free: 29.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.855e-05/0.3551, allocations: 286.6 kB / 450.1 MB, free: 28.74 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00067/0.3557, allocations: 0.6539 MB / 450.7 MB, free: 28.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.389e-05/0.3558, allocations: 42.95 kB / 450.8 MB, free: 28.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002716/0.3561, allocations: 0.5132 MB / 451.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001621/0.3562, allocations: 214.6 kB / 451.5 MB, free: 28.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.835e-05/0.3563, allocations: 18.38 kB / 451.5 MB, free: 28.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.3564, allocations: 393.4 kB / 451.9 MB, free: 27.81 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005289/0.3569, allocations: 284.2 kB / 452.2 MB, free: 27.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000593/0.3575, allocations: 0.5351 MB / 452.7 MB, free: 27.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.3581, allocations: 408.5 kB / 453.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/0.3581, allocations: 0 / 453.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001728/0.3599, allocations: 1.073 MB / 454.2 MB, free: 26.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.506e-05/0.3599, allocations: 64.33 kB / 454.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.3599, allocations: 7.531 kB / 454.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004324/0.3604, allocations: 84.53 kB / 454.3 MB, free: 26.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007597/0.3612, allocations: 229.8 kB / 454.5 MB, free: 26.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.3622, allocations: 1.476 MB / 456 MB, free: 25.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007002/0.3629, allocations: 115.4 kB / 456.1 MB, free: 25.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.363, allocations: 43.58 kB / 456.2 MB, free: 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.0004327/0.3635, allocations: 343.5 kB / 456.5 MB, free: 24.72 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.3636, allocations: 85.27 kB / 456.6 MB, free: 24.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.3652, allocations: 0.9199 MB / 457.5 MB, free: 24.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3652, allocations: 10.44 kB / 457.5 MB, free: 24.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.3653, allocations: 0 / 457.5 MB, free: 24.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.3653, allocations: 3.562 kB / 457.5 MB, free: 24.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005182/0.3705, allocations: 2.247 MB / 459.8 MB, free: 23.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3705, allocations: 0 / 459.8 MB, free: 23.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.3708, allocations: 87.03 kB / 459.9 MB, free: 23.26 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007101/0.3715, allocations: 337.8 kB / 460.2 MB, free: 23.15 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.239e-05/0.3716, allocations: 28.72 kB / 460.2 MB, free: 23.14 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001087/0.3727, allocations: 0.9051 MB / 461.1 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.3727, allocations: 0 / 461.1 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004732/0.3774, allocations: 1.7 MB / 462.8 MB, free: 21.72 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003506/0.3778, allocations: 227.5 kB / 463 MB, free: 21.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.378, allocations: 21.78 kB / 463.1 MB, free: 21.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005999/0.3786, allocations: 57.47 kB / 463.1 MB, free: 21.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.3787, allocations: 41.22 kB / 463.2 MB, free: 21.51 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.3788, allocations: 31.02 kB / 463.2 MB, free: 21.5 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004944/0.3793, allocations: 459.2 kB / 463.6 MB, free: 21.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3793, allocations: 0 / 463.6 MB, free: 21.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000967/0.3802, allocations: 315.4 kB / 463.9 MB, free: 21.21 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.001317/0.3816, allocations: 0.666 MB / 464.6 MB, free: 20.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001616/0.3832, allocations: 0.9584 MB / 465.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.3832, allocations: 0 / 465.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007142/0.3839, allocations: 499.8 kB / 466.1 MB, free: 20.24 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007381/0.3847, allocations: 145 kB / 466.2 MB, free: 20.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00294/0.3876, allocations: 2.102 MB / 468.3 MB, free: 18.9 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.3881, allocations: 1.036 MB / 469.3 MB, free: 18.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005319/0.3887, allocations: 118.5 kB / 469.5 MB, free: 18.15 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.3889, allocations: 80.52 kB / 469.5 MB, free: 18.13 MB / 350.1 MB Notification: Performance of SimCode: time 1.422e-06/0.3889, allocations: 0 / 469.5 MB, free: 18.13 MB / 350.1 MB Notification: Performance of Templates: time 0.02175/0.4107, allocations: 11.28 MB / 480.8 MB, free: 16.9 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: