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.03197/0.03197, allocations: 5.383 MB / 20.36 MB, free: 2.227 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.0007578/0.0007579, allocations: 101.5 kB / 22.34 MB, free: 0.7617 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.0008408/0.0008408, allocations: 177.3 kB / 24.41 MB, free: 1.969 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.391/1.391, allocations: 223.3 MB / 249.6 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008672/0.008672, allocations: 2.308 MB / 304.2 MB, free: 3.867 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004312, allocations: 15.98 kB / 368.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1089, allocations: 52.2 MB / 420.4 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160808): time 0.006952/0.1159, allocations: 5.993 MB / 426.4 MB, free: 328 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1905/0.3064, allocations: 3.698 MB / 430.1 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007743/0.3073, allocations: 23.78 kB / 430.2 MB, free: 35.86 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.3083, allocations: 409.8 kB / 430.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.3098, allocations: 0.703 MB / 431.3 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.3111, allocations: 470.4 kB / 431.7 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001306/0.3124, allocations: 1.239 MB / 433 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002167/0.3146, allocations: 1.245 MB / 434.2 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000839/0.3154, allocations: 452.1 kB / 434.6 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000762/0.3162, allocations: 0.5552 MB / 435.2 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.3163, allocations: 56.44 kB / 435.3 MB, free: 34.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007538/0.3171, allocations: 329.5 kB / 435.6 MB, free: 34.75 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.3173, allocations: 200.3 kB / 435.8 MB, free: 34.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.3175, allocations: 228.5 kB / 436 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001375/0.3189, allocations: 1.309 MB / 437.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3189, allocations: 4.656 kB / 437.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.565e-06/0.3189, allocations: 0 / 437.3 MB, free: 34.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.402e-05/0.319, allocations: 0 / 437.3 MB, free: 34.52 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.003388/0.3224, allocations: 1.593 MB / 438.9 MB, free: 33.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.3224, allocations: 9.812 kB / 438.9 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002006/0.3244, allocations: 384.2 kB / 439.3 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.3261, allocations: 0.7792 MB / 440.1 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.251e-05/0.3261, allocations: 79.12 kB / 440.1 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.3263, allocations: 106.5 kB / 440.2 MB, free: 33.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/0.3282, allocations: 1.137 MB / 441.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.83e-05/0.3282, allocations: 0 / 441.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.086e-05/0.3283, allocations: 42.53 kB / 441.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.756e-05/0.3283, allocations: 22.47 kB / 441.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.3301, allocations: 0.9502 MB / 442.4 MB, free: 33.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.3356, allocations: 4.347 MB / 446.7 MB, free: 31.2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002004/0.3376, allocations: 1.677 MB / 448.4 MB, free: 29.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.3382, allocations: 329.9 kB / 448.7 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.3383, allocations: 90.48 kB / 448.8 MB, free: 29.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007607/0.3391, allocations: 462.8 kB / 449.3 MB, free: 29.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.524e-06/0.3391, allocations: 1.875 kB / 449.3 MB, free: 29.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.00531/0.3444, allocations: 1.583 MB / 450.9 MB, free: 28.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.659e-05/0.3445, allocations: 274.8 kB / 451.1 MB, free: 28.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009272/0.3455, allocations: 0.6618 MB / 451.8 MB, free: 28.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.126e-05/0.3455, allocations: 40.86 kB / 451.8 MB, free: 28.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.3459, allocations: 0.5194 MB / 452.4 MB, free: 27.74 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001597/0.3461, allocations: 214 kB / 452.6 MB, free: 27.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.3461, allocations: 15.09 kB / 452.6 MB, free: 27.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001124/0.3463, allocations: 389.9 kB / 453 MB, free: 27.22 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000584/0.3468, allocations: 285.6 kB / 453.2 MB, free: 27.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006342/0.3475, allocations: 0.5329 MB / 453.8 MB, free: 26.71 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/0.3482, allocations: 408.3 kB / 454.2 MB, free: 26.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/0.3482, allocations: 3.953 kB / 454.2 MB, free: 26.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001922/0.3501, allocations: 1.072 MB / 455.3 MB, free: 26.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.3502, allocations: 60.91 kB / 455.3 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.3502, allocations: 10.73 kB / 455.3 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004391/0.3506, allocations: 92.69 kB / 455.4 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.3515, allocations: 218.3 kB / 455.6 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001223/0.3527, allocations: 1.47 MB / 457.1 MB, free: 24.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008332/0.3536, allocations: 119 kB / 457.2 MB, free: 24.42 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.779e-05/0.3536, allocations: 47.05 kB / 457.3 MB, free: 24.41 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.0006158/0.3543, allocations: 340.2 kB / 457.6 MB, free: 24.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.3544, allocations: 81 kB / 457.7 MB, free: 24.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.3561, allocations: 0.9217 MB / 458.6 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.057e-06/0.3561, allocations: 6.531 kB / 458.6 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.3562, allocations: 3.781 kB / 458.6 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.3562, allocations: 3.281 kB / 458.6 MB, free: 23.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/0.3613, allocations: 2.245 MB / 460.8 MB, free: 22.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.692e-06/0.3613, allocations: 2.812 kB / 460.9 MB, free: 22.69 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.3617, allocations: 85.55 kB / 460.9 MB, free: 22.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007175/0.3624, allocations: 342 kB / 461.3 MB, free: 22.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.072e-05/0.3625, allocations: 23.86 kB / 461.3 MB, free: 22.56 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.3635, allocations: 0.903 MB / 462.2 MB, free: 21.89 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3635, allocations: 7.031 kB / 462.2 MB, free: 21.88 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004519/0.3681, allocations: 1.665 MB / 463.9 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004195/0.3685, allocations: 226.7 kB / 464.1 MB, free: 21.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.3686, allocations: 21 kB / 464.1 MB, free: 21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005057/0.3692, allocations: 62.12 kB / 464.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.3693, allocations: 36.5 kB / 464.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.3693, allocations: 27.19 kB / 464.2 MB, free: 20.98 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006671/0.37, allocations: 459.1 kB / 464.7 MB, free: 20.78 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.37, allocations: 4.562 kB / 464.7 MB, free: 20.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001235/0.3713, allocations: 314 kB / 465 MB, free: 20.69 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.001432/0.3727, allocations: 0.6594 MB / 465.6 MB, free: 20.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.3744, allocations: 0.965 MB / 466.6 MB, free: 20.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3744, allocations: 1.438 kB / 466.6 MB, free: 20.02 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007566/0.3752, allocations: 489.8 kB / 467.1 MB, free: 19.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008987/0.3761, allocations: 172.6 kB / 467.3 MB, free: 19.69 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.3792, allocations: 2.116 MB / 469.4 MB, free: 18.41 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.3797, allocations: 1.007 MB / 470.4 MB, free: 17.69 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005442/0.3802, allocations: 125.5 kB / 470.5 MB, free: 17.65 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/0.3804, allocations: 75.47 kB / 470.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of SimCode: time 9.62e-07/0.3804, allocations: 3.219 kB / 470.6 MB, free: 17.64 MB / 350.1 MB Notification: Performance of Templates: time 0.0214/0.4018, allocations: 11.31 MB / 481.9 MB, free: 16.43 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: