Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_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_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02678/0.02678, allocations: 5.4 MB / 21.66 MB, free: 1.453 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.001028/0.001029, allocations: 110.8 kB / 23.66 MB, free: 0.8984 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.001204/0.001204, allocations: 197.8 kB / 25.78 MB, free: 4.754 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 250.7 MB, free: 8.457 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009232/0.009232, allocations: 2.314 MB / 304.3 MB, free: 6.551 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001767/0.001767, allocations: 87.86 kB / 368.6 MB, free: 6.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2244/0.2262, allocations: 51.21 MB / 419.8 MB, free: 26.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.006571/0.2328, allocations: 6.891 MB / 426.7 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.2384, allocations: 4.021 MB / 430.7 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009633/0.2394, allocations: 27.88 kB / 430.8 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002447/0.2419, allocations: 1.158 MB / 431.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00192/0.2438, allocations: 0.8856 MB / 432.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001909/0.2457, allocations: 0.6199 MB / 433.4 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.2473, allocations: 1.402 MB / 434.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.2485, allocations: 1.009 MB / 435.8 MB, free: 10.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007325/0.2493, allocations: 0.5798 MB / 436.4 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01231/0.2616, allocations: 0.6831 MB / 437.1 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00034/0.262, allocations: 140 kB / 437.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009232/0.2629, allocations: 435.6 kB / 437.7 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.2631, allocations: 291 kB / 437.9 MB, free: 8.121 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005268/0.2637, allocations: 0.6258 MB / 438.6 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001815/0.2655, allocations: 1.768 MB / 440.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2655, allocations: 0 / 440.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.2655, allocations: 0 / 440.3 MB, free: 5.719 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.442e-05/0.2656, allocations: 0 / 440.3 MB, free: 5.719 MB / 302.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.003755/0.2693, allocations: 1.801 MB / 442.1 MB, free: 3.852 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2694, allocations: 12.02 kB / 442.2 MB, free: 3.84 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001919/0.2713, allocations: 375.1 kB / 442.5 MB, free: 3.473 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/0.2729, allocations: 0.8127 MB / 443.3 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.273, allocations: 81.92 kB / 443.4 MB, free: 2.535 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.2731, allocations: 107.9 kB / 443.5 MB, free: 2.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.2747, allocations: 1.126 MB / 444.6 MB, free: 1.246 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.949e-05/0.2748, allocations: 7.938 kB / 444.7 MB, free: 1.238 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.2749, allocations: 48 kB / 444.7 MB, free: 1.191 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.599e-05/0.2749, allocations: 24 kB / 444.7 MB, free: 1.168 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.2765, allocations: 0.9485 MB / 445.7 MB, free: 228 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00614/0.2827, allocations: 4.302 MB / 450 MB, free: 11.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.2851, allocations: 1.67 MB / 451.6 MB, free: 9.816 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/0.2858, allocations: 316.5 kB / 452 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001088/0.2859, allocations: 89.55 kB / 452 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008534/0.2868, allocations: 462.6 kB / 452.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 4.238e-06/0.2868, allocations: 0 / 452.5 MB, free: 8.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005945/0.2928, allocations: 1.552 MB / 454 MB, free: 7.324 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001814/0.293, allocations: 273.6 kB / 454.3 MB, free: 6.996 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.294, allocations: 0.6604 MB / 455 MB, free: 6.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.018e-05/0.2941, allocations: 45.73 kB / 455 MB, free: 6.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.2945, allocations: 0.5179 MB / 455.5 MB, free: 5.75 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002013/0.2947, allocations: 213.1 kB / 455.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002837/0.295, allocations: 186.4 kB / 455.9 MB, free: 5.352 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001638/0.2952, allocations: 386.7 kB / 456.3 MB, free: 4.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006375/0.2959, allocations: 285.8 kB / 456.6 MB, free: 4.684 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008243/0.2967, allocations: 0.5325 MB / 457.1 MB, free: 4.043 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/0.2982, allocations: 0.9177 MB / 458 MB, free: 2.996 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/0.2982, allocations: 7.938 kB / 458 MB, free: 2.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002411/0.3006, allocations: 1.075 MB / 459.1 MB, free: 1.891 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.552e-05/0.3007, allocations: 59.41 kB / 459.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3007, allocations: 8.062 kB / 459.2 MB, free: 1.812 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004979/0.3012, allocations: 93.06 kB / 459.3 MB, free: 1.719 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000883/0.3021, allocations: 215.6 kB / 459.5 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.3039, allocations: 1.581 MB / 461.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009341/0.3048, allocations: 111.2 kB / 461.2 MB, free: 15.67 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-05/0.3049, allocations: 44.03 kB / 461.2 MB, free: 15.63 MB / 334.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.0005538/0.3055, allocations: 339.5 kB / 461.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000166/0.3057, allocations: 83 kB / 461.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002085/0.3077, allocations: 0.9128 MB / 462.5 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.3078, allocations: 11.98 kB / 462.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.3078, allocations: 4 kB / 462.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.3078, allocations: 0 / 462.6 MB, free: 14.23 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006146/0.3139, allocations: 2.203 MB / 464.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.314, allocations: 0 / 464.8 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.3144, allocations: 83.91 kB / 464.8 MB, free: 11.87 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009537/0.3153, allocations: 334.3 kB / 465.2 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.807e-05/0.3154, allocations: 19.98 kB / 465.2 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.3167, allocations: 0.8974 MB / 466.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3167, allocations: 0 / 466.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005249/0.322, allocations: 1.643 MB / 467.7 MB, free: 8.898 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004402/0.3225, allocations: 215.9 kB / 467.9 MB, free: 8.668 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.3226, allocations: 27.92 kB / 468 MB, free: 8.641 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005545/0.3232, allocations: 47.97 kB / 468 MB, free: 8.594 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.3233, allocations: 40.38 kB / 468 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.3234, allocations: 23.98 kB / 468.1 MB, free: 8.531 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000593/0.324, allocations: 471 kB / 468.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.324, allocations: 0 / 468.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001063/0.325, allocations: 315 kB / 468.8 MB, free: 7.77 MB / 334.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.001412/0.3265, allocations: 0.6687 MB / 469.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.3283, allocations: 0.9678 MB / 470.5 MB, free: 6.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3283, allocations: 4 kB / 470.5 MB, free: 6.316 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008275/0.3292, allocations: 477.2 kB / 470.9 MB, free: 5.828 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.33, allocations: 166.1 kB / 471.1 MB, free: 5.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002961/0.333, allocations: 1.706 MB / 472.8 MB, free: 3.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/0.3336, allocations: 1.01 MB / 473.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004441/0.334, allocations: 126.3 kB / 473.9 MB, free: 2.754 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.3342, allocations: 71.41 kB / 474 MB, free: 2.688 MB / 334.1 MB Notification: Performance of SimCode: time 2.094e-06/0.3342, allocations: 4 kB / 474 MB, free: 2.684 MB / 334.1 MB Notification: Performance of Templates: time 0.02162/0.3559, allocations: 12.18 MB / 486.2 MB, free: 6.59 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)