Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02648/0.02648, allocations: 5.394 MB / 20.51 MB, free: 2.062 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.0008682/0.0008682, allocations: 112.1 kB / 22.5 MB, free: 468 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.0009627/0.0009627, allocations: 188 kB / 24.58 MB, free: 1.777 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.266/1.266, allocations: 222.9 MB / 249.4 MB, free: 14.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008647/0.008647, allocations: 2.308 MB / 303.1 MB, free: 3.809 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 91.84 kB / 366.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1015, allocations: 51.2 MB / 417.6 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.007416/0.109, allocations: 6.859 MB / 424.5 MB, free: 2.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1947/0.3037, allocations: 3.972 MB / 428.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008625/0.3046, allocations: 23.05 kB / 428.5 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002333/0.307, allocations: 1.089 MB / 429.6 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001714/0.3087, allocations: 0.7923 MB / 430.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.3103, allocations: 0.5422 MB / 430.9 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.3115, allocations: 1.32 MB / 432.2 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001106/0.3126, allocations: 0.8502 MB / 433.1 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005207/0.3131, allocations: 0.5034 MB / 433.6 MB, free: 35.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000613/0.3137, allocations: 0.6422 MB / 434.2 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.3139, allocations: 84.5 kB / 434.3 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007666/0.3146, allocations: 375.2 kB / 434.7 MB, free: 35.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3148, allocations: 243 kB / 434.9 MB, free: 35.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.3152, allocations: 0.5818 MB / 435.5 MB, free: 34.86 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00113/0.3164, allocations: 1.688 MB / 437.2 MB, free: 34.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3164, allocations: 0 / 437.2 MB, free: 34.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.92e-07/0.3164, allocations: 4 kB / 437.2 MB, free: 34.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.3164, allocations: 0 / 437.2 MB, free: 34.61 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.003592/0.32, allocations: 1.798 MB / 439 MB, free: 33.75 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.32, allocations: 9.156 kB / 439 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001979/0.322, allocations: 377.6 kB / 439.4 MB, free: 33.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.3235, allocations: 0.808 MB / 440.2 MB, free: 33.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.873e-05/0.3236, allocations: 78.41 kB / 440.2 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.3237, allocations: 100.2 kB / 440.3 MB, free: 33.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001698/0.3254, allocations: 1.13 MB / 441.5 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.3254, allocations: 0 / 441.5 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.974e-05/0.3255, allocations: 49.25 kB / 441.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.3256, allocations: 25.91 kB / 441.5 MB, free: 32.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/0.3272, allocations: 0.9503 MB / 442.5 MB, free: 32.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004777/0.332, allocations: 4.342 MB / 446.8 MB, free: 29.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.3341, allocations: 1.665 MB / 448.5 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005642/0.3347, allocations: 323.4 kB / 448.8 MB, free: 28.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.875e-05/0.3347, allocations: 88.55 kB / 448.9 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007206/0.3355, allocations: 459.9 kB / 449.4 MB, free: 27.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.325e-06/0.3355, allocations: 0 / 449.4 MB, free: 27.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005604/0.3411, allocations: 1.55 MB / 450.9 MB, free: 27.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.944e-05/0.3412, allocations: 285 kB / 451.2 MB, free: 27.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007285/0.3419, allocations: 0.6597 MB / 451.8 MB, free: 26.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.229e-05/0.342, allocations: 39.98 kB / 451.9 MB, free: 26.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002503/0.3422, allocations: 0.5178 MB / 452.4 MB, free: 26.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.3424, allocations: 214.1 kB / 452.6 MB, free: 26.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002181/0.3426, allocations: 184.6 kB / 452.8 MB, free: 26.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.577e-05/0.3427, allocations: 393.5 kB / 453.2 MB, free: 25.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005555/0.3432, allocations: 279.5 kB / 453.4 MB, free: 25.61 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006762/0.3439, allocations: 0.5405 MB / 454 MB, free: 25.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.3452, allocations: 0.9125 MB / 454.9 MB, free: 24.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3452, allocations: 3.156 kB / 454.9 MB, free: 24.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002081/0.3473, allocations: 1.069 MB / 456 MB, free: 24.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.3474, allocations: 64.59 kB / 456 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.3474, allocations: 10.88 kB / 456 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005175/0.3479, allocations: 84.44 kB / 456.1 MB, free: 23.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.3492, allocations: 221.1 kB / 456.3 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001568/0.3507, allocations: 1.466 MB / 457.8 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008335/0.3516, allocations: 123.4 kB / 457.9 MB, free: 22.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-05/0.3517, allocations: 47.05 kB / 458 MB, free: 22.42 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.0004283/0.3521, allocations: 335.4 kB / 458.3 MB, free: 22.14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.3522, allocations: 79.84 kB / 458.4 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001817/0.3541, allocations: 0.9189 MB / 459.3 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.3541, allocations: 6.438 kB / 459.3 MB, free: 21.69 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.3541, allocations: 7.219 kB / 459.3 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.3541, allocations: 3.188 kB / 459.3 MB, free: 21.68 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005969/0.3601, allocations: 2.208 MB / 461.5 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.3601, allocations: 0 / 461.5 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.3604, allocations: 92.16 kB / 461.6 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008069/0.3613, allocations: 333.9 kB / 461.9 MB, free: 20.58 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.425e-05/0.3613, allocations: 34.75 kB / 462 MB, free: 20.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001133/0.3625, allocations: 0.8815 MB / 462.9 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.3625, allocations: 6.312 kB / 462.9 MB, free: 19.9 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005108/0.3676, allocations: 1.629 MB / 464.5 MB, free: 19.21 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000293/0.3679, allocations: 221 kB / 464.7 MB, free: 19.04 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001381/0.3681, allocations: 21.47 kB / 464.7 MB, free: 19.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005608/0.3686, allocations: 49.77 kB / 464.8 MB, free: 19.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.67e-05/0.3687, allocations: 40.75 kB / 464.8 MB, free: 19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.251e-05/0.3688, allocations: 34.09 kB / 464.9 MB, free: 19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004772/0.3693, allocations: 460.6 kB / 465.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.51e-07/0.3693, allocations: 0 / 465.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009268/0.3702, allocations: 323.8 kB / 465.6 MB, free: 18.7 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.001204/0.3714, allocations: 0.6521 MB / 466.3 MB, free: 18.46 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001593/0.373, allocations: 0.9607 MB / 467.2 MB, free: 17.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.373, allocations: 3.938 kB / 467.2 MB, free: 17.97 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007527/0.3738, allocations: 487.5 kB / 467.7 MB, free: 17.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008203/0.3746, allocations: 166.1 kB / 467.9 MB, free: 17.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00291/0.3776, allocations: 2.158 MB / 470 MB, free: 16.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.378, allocations: 1.014 MB / 471 MB, free: 15.56 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000467/0.3784, allocations: 118.1 kB / 471.2 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.3786, allocations: 78.41 kB / 471.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3787, allocations: 0 / 471.2 MB, free: 15.51 MB / 350.1 MB Notification: Performance of Templates: time 0.0206/0.3993, allocations: 11.68 MB / 482.9 MB, free: 14.14 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704.pipe 2>&1)