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.02869/0.02869, allocations: 5.382 MB / 20.34 MB, free: 1.438 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.0007484/0.0007485, allocations: 106.6 kB / 22.32 MB, free: 200 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.0009805/0.0009805, allocations: 175.7 kB / 24.39 MB, free: 1.809 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.332/1.332, allocations: 223.2 MB / 249.5 MB, free: 6.059 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008469/0.008469, allocations: 2.306 MB / 304.1 MB, free: 6.258 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003926/0.0003927, allocations: 12 kB / 368.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2275, allocations: 52.21 MB / 420.3 MB, free: 25.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.005186/0.2328, allocations: 5.68 MB / 426 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00479/0.2376, allocations: 3.685 MB / 429.7 MB, free: 16.4 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006053/0.2382, allocations: 23.94 kB / 429.7 MB, free: 16.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008693/0.2391, allocations: 378 kB / 430.1 MB, free: 16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001298/0.2404, allocations: 0.7658 MB / 430.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009987/0.2414, allocations: 473.9 kB / 431.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008015/0.2422, allocations: 0.8853 MB / 432.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.2437, allocations: 1.222 MB / 433.4 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003761/0.2441, allocations: 454.1 kB / 433.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005035/0.2446, allocations: 0.5367 MB / 434.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.694e-05/0.2447, allocations: 56 kB / 434.5 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000527/0.2453, allocations: 291.6 kB / 434.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001288/0.2454, allocations: 191.2 kB / 434.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.2455, allocations: 233.1 kB / 435.2 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.2464, allocations: 1.297 MB / 436.5 MB, free: 9.574 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.2464, allocations: 4 kB / 436.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2464, allocations: 0 / 436.5 MB, free: 9.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.2464, allocations: 0 / 436.5 MB, free: 9.57 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.003/0.2494, allocations: 1.588 MB / 438.1 MB, free: 7.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.113e-05/0.2495, allocations: 12.03 kB / 438.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001859/0.2514, allocations: 378.1 kB / 438.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.2528, allocations: 0.7848 MB / 439.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.115e-05/0.2528, allocations: 78 kB / 439.3 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.253, allocations: 103.9 kB / 439.4 MB, free: 6.531 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/0.2545, allocations: 1.13 MB / 440.5 MB, free: 5.344 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.2545, allocations: 3.938 kB / 440.5 MB, free: 5.34 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.362e-05/0.2546, allocations: 47.94 kB / 440.6 MB, free: 5.293 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.2546, allocations: 24 kB / 440.6 MB, free: 5.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001522/0.2562, allocations: 0.9485 MB / 441.5 MB, free: 4.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004714/0.2609, allocations: 4.346 MB / 445.9 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002461/0.2634, allocations: 1.69 MB / 447.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.523e-05/0.2635, allocations: 93.48 kB / 447.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007859/0.2643, allocations: 458.6 kB / 448.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.946e-06/0.2643, allocations: 0 / 448.1 MB, free: 13.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005454/0.2697, allocations: 1.656 MB / 449.8 MB, free: 11.55 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/0.2699, allocations: 285.5 kB / 450.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007968/0.2707, allocations: 0.6603 MB / 450.7 MB, free: 10.54 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.2707, allocations: 41.7 kB / 450.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003638/0.2711, allocations: 0.5179 MB / 451.3 MB, free: 9.969 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.2713, allocations: 209.1 kB / 451.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.2713, allocations: 20 kB / 451.5 MB, free: 9.742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.2715, allocations: 382.8 kB / 451.9 MB, free: 9.359 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005974/0.2721, allocations: 285.8 kB / 452.2 MB, free: 9.082 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.2729, allocations: 0.5325 MB / 452.7 MB, free: 8.438 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007022/0.2736, allocations: 410.5 kB / 453.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.2736, allocations: 8 kB / 453.1 MB, free: 8.016 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002028/0.2756, allocations: 1.071 MB / 454.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.732e-05/0.2757, allocations: 59.41 kB / 454.2 MB, free: 6.852 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2757, allocations: 8.281 kB / 454.2 MB, free: 6.844 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004468/0.2762, allocations: 88.84 kB / 454.3 MB, free: 6.754 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008092/0.277, allocations: 219.6 kB / 454.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.2784, allocations: 1.491 MB / 456 MB, free: 4.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.2792, allocations: 103.1 kB / 456.1 MB, free: 4.809 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/0.2793, allocations: 47.97 kB / 456.2 MB, free: 4.762 MB / 318.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.0005538/0.2798, allocations: 351.7 kB / 456.5 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.28, allocations: 79.06 kB / 456.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001914/0.2819, allocations: 0.9167 MB / 457.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.2819, allocations: 8 kB / 457.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2819, allocations: 0 / 457.5 MB, free: 3.367 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.434e-05/0.2819, allocations: 11.98 kB / 457.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005955/0.2879, allocations: 2.237 MB / 459.8 MB, free: 1.035 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.2879, allocations: 4 kB / 459.8 MB, free: 1.031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003495/0.2883, allocations: 83.89 kB / 459.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008109/0.2891, allocations: 346.1 kB / 460.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.2892, allocations: 27.97 kB / 460.2 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.2904, allocations: 0.9014 MB / 461.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.2904, allocations: 8 kB / 461.1 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.2955, allocations: 1.705 MB / 462.8 MB, free: 13.86 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.2959, allocations: 227.9 kB / 463.1 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.296, allocations: 16 kB / 463.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/0.2966, allocations: 55.95 kB / 463.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.2967, allocations: 44.33 kB / 463.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.114e-05/0.2967, allocations: 31.98 kB / 463.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006008/0.2973, allocations: 455 kB / 463.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2973, allocations: 0 / 463.6 MB, free: 13.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001037/0.2984, allocations: 319 kB / 464 MB, free: 12.72 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 (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.001545/0.2999, allocations: 0.6641 MB / 464.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002002/0.302, allocations: 0.9678 MB / 465.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.302, allocations: 0 / 465.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008257/0.3028, allocations: 481.6 kB / 466.1 MB, free: 10.8 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007429/0.3036, allocations: 144.7 kB / 466.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004012/0.3076, allocations: 2.106 MB / 468.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006324/0.3082, allocations: 1.03 MB / 469.3 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004655/0.3087, allocations: 126.4 kB / 469.5 MB, free: 7.328 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.3089, allocations: 83.33 kB / 469.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.3089, allocations: 0 / 469.5 MB, free: 7.246 MB / 334.1 MB Notification: Performance of Templates: time 0.01911/0.328, allocations: 11.29 MB / 480.8 MB, free: 12.04 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1) Environment - environmentSimulation: