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.02403/0.02403, allocations: 5.395 MB / 21.28 MB, free: 1.777 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.0009619/0.000962, allocations: 114.4 kB / 23.27 MB, free: 68 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.001177/0.001178, allocations: 190.5 kB / 25.37 MB, free: 1.602 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.296/1.296, allocations: 222.9 MB / 250.2 MB, free: 14.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.0086/0.0086, allocations: 2.318 MB / 303.8 MB, free: 3.785 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 95.86 kB / 367.3 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09855/0.1002, allocations: 51.21 MB / 418.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160704): time 0.008909/0.1092, allocations: 6.862 MB / 425.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2088/0.318, allocations: 3.935 MB / 429.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001083/0.3192, allocations: 25.05 kB / 429.3 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002651/0.3219, allocations: 1.093 MB / 430.4 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001948/0.3238, allocations: 0.7729 MB / 431.2 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002145/0.326, allocations: 0.5513 MB / 431.7 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001868/0.3279, allocations: 1.412 MB / 433.1 MB, free: 35.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001604/0.3295, allocations: 1.082 MB / 434.2 MB, free: 35.31 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007464/0.3302, allocations: 0.5686 MB / 434.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007978/0.331, allocations: 0.6811 MB / 435.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001664/0.3312, allocations: 140.1 kB / 435.6 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000866/0.3321, allocations: 439.5 kB / 436 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001919/0.3323, allocations: 291 kB / 436.3 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004401/0.3327, allocations: 0.6353 MB / 437 MB, free: 34.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.3341, allocations: 1.365 MB / 438.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3341, allocations: 0 / 438.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3341, allocations: 4 kB / 438.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.3341, allocations: 1.688 kB / 438.3 MB, free: 34.72 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.003667/0.3378, allocations: 1.802 MB / 440.1 MB, free: 33.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.3378, allocations: 9.562 kB / 440.1 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001997/0.3398, allocations: 369.9 kB / 440.5 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001562/0.3414, allocations: 0.8063 MB / 441.3 MB, free: 33.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.255e-05/0.3415, allocations: 84.91 kB / 441.4 MB, free: 33.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.3416, allocations: 102.1 kB / 441.5 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001879/0.3435, allocations: 1.129 MB / 442.6 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.224e-05/0.3435, allocations: 0 / 442.6 MB, free: 32.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.3437, allocations: 45.56 kB / 442.7 MB, free: 32.75 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.496e-05/0.3437, allocations: 29.64 kB / 442.7 MB, free: 32.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001762/0.3455, allocations: 0.954 MB / 443.6 MB, free: 32.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005158/0.3506, allocations: 4.34 MB / 448 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002101/0.3527, allocations: 1.665 MB / 449.6 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005727/0.3533, allocations: 315.3 kB / 450 MB, free: 28.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.22e-05/0.3534, allocations: 96.7 kB / 450 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007456/0.3542, allocations: 451.5 kB / 450.5 MB, free: 27.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=66): time 2.736e-06/0.3542, allocations: 0 / 450.5 MB, free: 27.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=66): time 0.005462/0.3597, allocations: 1.562 MB / 452 MB, free: 27.15 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.295e-05/0.3598, allocations: 277.1 kB / 452.3 MB, free: 26.84 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007501/0.3605, allocations: 0.6557 MB / 453 MB, free: 26.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.3606, allocations: 44.14 kB / 453 MB, free: 26.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/0.3608, allocations: 0.5142 MB / 453.5 MB, free: 26.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.361, allocations: 220 kB / 453.7 MB, free: 25.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002319/0.3612, allocations: 191.5 kB / 453.9 MB, free: 25.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.639e-05/0.3613, allocations: 386.5 kB / 454.3 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.3619, allocations: 279.8 kB / 454.6 MB, free: 25.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006439/0.3625, allocations: 0.5446 MB / 455.1 MB, free: 24.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.3637, allocations: 0.9139 MB / 456 MB, free: 24.27 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3637, allocations: 3.219 kB / 456 MB, free: 24.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.001914/0.3656, allocations: 1.071 MB / 457.1 MB, free: 23.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.3657, allocations: 66.39 kB / 457.2 MB, free: 23.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.3657, allocations: 8.938 kB / 457.2 MB, free: 23.74 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/0.3662, allocations: 79.06 kB / 457.3 MB, free: 23.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007941/0.367, allocations: 225.7 kB / 457.5 MB, free: 23.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.3683, allocations: 1.582 MB / 459.1 MB, free: 22.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000765/0.369, allocations: 110.7 kB / 459.2 MB, free: 22.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/0.3691, allocations: 47.73 kB / 459.2 MB, free: 22.1 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.0004232/0.3695, allocations: 333.8 kB / 459.6 MB, free: 21.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3697, allocations: 88.28 kB / 459.6 MB, free: 21.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/0.3714, allocations: 0.9147 MB / 460.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.3714, allocations: 6.031 kB / 460.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.3714, allocations: 0 / 460.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.287e-06/0.3715, allocations: 8.844 kB / 460.6 MB, free: 21.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.3771, allocations: 2.215 MB / 462.8 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3771, allocations: 7.062 kB / 462.8 MB, free: 20.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/0.3775, allocations: 80.11 kB / 462.9 MB, free: 20.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000774/0.3783, allocations: 331.3 kB / 463.2 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.834e-05/0.3783, allocations: 24.08 kB / 463.2 MB, free: 20.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.3795, allocations: 0.8879 MB / 464.1 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3795, allocations: 0 / 464.1 MB, free: 19.58 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005004/0.3845, allocations: 1.64 MB / 465.7 MB, free: 18.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.3848, allocations: 216.2 kB / 466 MB, free: 18.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.385, allocations: 29.47 kB / 466 MB, free: 18.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005594/0.3855, allocations: 46.88 kB / 466 MB, free: 18.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.426e-05/0.3856, allocations: 40.31 kB / 466.1 MB, free: 18.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.169e-05/0.3857, allocations: 33.3 kB / 466.1 MB, free: 18.67 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005267/0.3862, allocations: 463.9 kB / 466.6 MB, free: 18.47 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3862, allocations: 0 / 466.6 MB, free: 18.47 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009652/0.3872, allocations: 313.9 kB / 466.9 MB, free: 18.38 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.001413/0.3886, allocations: 0.6659 MB / 467.5 MB, free: 18.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001832/0.3905, allocations: 0.9881 MB / 468.5 MB, free: 17.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3905, allocations: 448 / 468.5 MB, free: 17.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007239/0.3912, allocations: 493.6 kB / 469 MB, free: 17.38 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008341/0.3921, allocations: 172.1 kB / 469.2 MB, free: 17.31 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003104/0.3952, allocations: 2.195 MB / 471.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000457/0.3957, allocations: 1.009 MB / 472.4 MB, free: 15.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.3959, allocations: 82.25 kB / 472.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3959, allocations: 0 / 472.4 MB, free: 15.16 MB / 350.1 MB Notification: Performance of Templates: time 0.03189/0.4278, allocations: 17.27 MB / 489.7 MB, free: 10.52 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)