Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.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_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02918/0.02918, allocations: 5.383 MB / 20.5 MB, free: 2.109 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.000918/0.0009181, allocations: 112.1 kB / 22.5 MB, free: 492 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.001186/0.001186, allocations: 185.8 kB / 24.59 MB, free: 0.7227 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.222/1.222, allocations: 222.9 MB / 249.4 MB, free: 8.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008402/0.008402, allocations: 2.322 MB / 303.1 MB, free: 6.758 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 83.88 kB / 366.4 MB, free: 7.379 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2201, allocations: 51.21 MB / 417.6 MB, free: 26.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004): time 0.006346/0.2265, allocations: 6.855 MB / 424.5 MB, free: 19.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004878/0.2314, allocations: 3.982 MB / 428.5 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006851/0.2321, allocations: 23.94 kB / 428.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.234, allocations: 1.096 MB / 429.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.2354, allocations: 0.7893 MB / 430.4 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00122/0.2366, allocations: 0.552 MB / 430.9 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008551/0.2375, allocations: 1.308 MB / 432.2 MB, free: 11.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/0.2384, allocations: 0.8476 MB / 433.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003734/0.2388, allocations: 0.5172 MB / 433.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004547/0.2393, allocations: 0.6378 MB / 434.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001097/0.2394, allocations: 84 kB / 434.3 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005701/0.2399, allocations: 375.6 kB / 434.7 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.2401, allocations: 247 kB / 434.9 MB, free: 9.133 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003213/0.2404, allocations: 0.5672 MB / 435.5 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009666/0.2414, allocations: 1.702 MB / 437.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.2414, allocations: 0 / 437.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.61e-07/0.2414, allocations: 0 / 437.2 MB, free: 6.855 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.2414, allocations: 4 kB / 437.2 MB, free: 6.852 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.003116/0.2445, allocations: 1.791 MB / 439 MB, free: 4.996 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 1.917e-05/0.2446, allocations: 12.03 kB / 439 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/0.2465, allocations: 379.1 kB / 439.4 MB, free: 4.613 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.2478, allocations: 0.801 MB / 440.2 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.2479, allocations: 78 kB / 440.3 MB, free: 3.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001118/0.248, allocations: 103.9 kB / 440.4 MB, free: 3.594 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001591/0.2496, allocations: 1.134 MB / 441.5 MB, free: 2.402 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.2496, allocations: 3.938 kB / 441.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.2497, allocations: 47.94 kB / 441.5 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.2498, allocations: 24 kB / 441.6 MB, free: 2.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001623/0.2514, allocations: 0.9485 MB / 442.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005783/0.2572, allocations: 4.334 MB / 446.8 MB, free: 12.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/0.2599, allocations: 1.67 MB / 448.5 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006621/0.2605, allocations: 312.9 kB / 448.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.2606, allocations: 97.52 kB / 448.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000862/0.2615, allocations: 458.6 kB / 449.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.174e-06/0.2615, allocations: 0 / 449.4 MB, free: 10.04 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005946/0.2675, allocations: 1.545 MB / 450.9 MB, free: 8.461 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000166/0.2677, allocations: 281.5 kB / 451.2 MB, free: 8.125 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009006/0.2686, allocations: 0.6643 MB / 451.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.281e-05/0.2686, allocations: 41.7 kB / 451.9 MB, free: 7.402 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.2691, allocations: 0.5218 MB / 452.4 MB, free: 6.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001971/0.2693, allocations: 209.1 kB / 452.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002658/0.2695, allocations: 182.4 kB / 452.8 MB, free: 6.48 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2697, allocations: 386.7 kB / 453.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000713/0.2704, allocations: 289.8 kB / 453.5 MB, free: 5.809 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007876/0.2712, allocations: 0.5286 MB / 454 MB, free: 5.168 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001486/0.2727, allocations: 0.914 MB / 454.9 MB, free: 4.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.2727, allocations: 11.94 kB / 454.9 MB, free: 4.109 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.00213/0.2749, allocations: 1.071 MB / 456 MB, free: 3.016 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.2749, allocations: 70.05 kB / 456 MB, free: 2.938 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.2749, allocations: 8 kB / 456.1 MB, free: 2.93 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.2755, allocations: 93 kB / 456.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008198/0.2763, allocations: 211.7 kB / 456.4 MB, free: 2.629 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00179/0.2781, allocations: 1.479 MB / 457.8 MB, free: 1.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009751/0.2791, allocations: 115.2 kB / 457.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.558e-05/0.2792, allocations: 43.98 kB / 458 MB, free: 0.8555 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 (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.0005059/0.2797, allocations: 331.6 kB / 458.3 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.2799, allocations: 87.05 kB / 458.4 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002042/0.2819, allocations: 0.9129 MB / 459.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.2819, allocations: 8 kB / 459.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.2819, allocations: 0 / 459.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.2819, allocations: 3.984 kB / 459.3 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006133/0.2881, allocations: 2.21 MB / 461.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.2881, allocations: 4.094 kB / 461.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003406/0.2885, allocations: 91.84 kB / 461.6 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008914/0.2894, allocations: 334.2 kB / 461.9 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.415e-05/0.2894, allocations: 23.98 kB / 462 MB, free: 12.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001457/0.2909, allocations: 0.8935 MB / 462.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.2909, allocations: 0 / 462.9 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005633/0.2965, allocations: 1.63 MB / 464.5 MB, free: 10.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002829/0.2968, allocations: 220 kB / 464.7 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001333/0.297, allocations: 16 kB / 464.7 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006664/0.2977, allocations: 55.89 kB / 464.8 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.2978, allocations: 44.36 kB / 464.8 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.389e-05/0.2978, allocations: 27.98 kB / 464.9 MB, free: 9.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005364/0.2984, allocations: 463 kB / 465.3 MB, free: 9.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2984, allocations: 4 kB / 465.3 MB, free: 9.297 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0008649/0.2992, allocations: 323 kB / 465.6 MB, free: 8.98 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.001185/0.3004, allocations: 0.6514 MB / 466.3 MB, free: 8.555 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.3022, allocations: 0.9629 MB / 467.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.3022, allocations: 0 / 467.2 MB, free: 7.555 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008083/0.303, allocations: 486.6 kB / 467.7 MB, free: 7.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/0.3039, allocations: 158 kB / 467.9 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.3069, allocations: 2.158 MB / 470 MB, free: 4.715 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.3075, allocations: 1.006 MB / 471 MB, free: 3.684 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.3079, allocations: 126.4 kB / 471.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000186/0.3081, allocations: 75.39 kB / 471.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3081, allocations: 0 / 471.2 MB, free: 3.48 MB / 334.1 MB Notification: Performance of Templates: time 0.01761/0.3257, allocations: 11.68 MB / 482.9 MB, free: 7.887 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160626_to_20161004.pipe 2>&1)