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.02612/0.02612, 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.0008161/0.0008161, 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.001141/0.001141, allocations: 187.1 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.248/1.248, allocations: 222.9 MB / 249.5 MB, free: 7.051 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008438/0.008438, allocations: 2.326 MB / 303.1 MB, free: 5.449 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001442, allocations: 87.88 kB / 366.4 MB, free: 6.078 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2095, allocations: 51.23 MB / 417.6 MB, free: 26.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629): time 0.006196/0.2158, allocations: 6.862 MB / 424.5 MB, free: 19.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004631/0.2204, allocations: 3.971 MB / 428.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005466/0.221, allocations: 23.88 kB / 428.5 MB, free: 15.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.2231, allocations: 1.089 MB / 429.6 MB, free: 14.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.2245, allocations: 0.8001 MB / 430.4 MB, free: 13.69 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.226, allocations: 0.5375 MB / 430.9 MB, free: 13.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008946/0.2269, allocations: 1.312 MB / 432.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009295/0.2279, allocations: 0.8515 MB / 433.1 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.2283, allocations: 0.5095 MB / 433.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009125/0.2374, allocations: 0.6417 MB / 434.2 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003041/0.2378, allocations: 84 kB / 434.3 MB, free: 9.719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008766/0.2387, allocations: 371.7 kB / 434.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.2389, allocations: 246.9 kB / 434.9 MB, free: 9.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004609/0.2393, allocations: 0.5711 MB / 435.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.2405, allocations: 1.698 MB / 437.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2405, allocations: 0 / 437.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2406, allocations: 0 / 437.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.2406, allocations: 0 / 437.2 MB, free: 6.836 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.003623/0.2442, allocations: 1.794 MB / 439 MB, free: 4.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2442, allocations: 15.97 kB / 439 MB, free: 4.961 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001942/0.2462, allocations: 379.1 kB / 439.4 MB, free: 4.59 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.2477, allocations: 0.7971 MB / 440.2 MB, free: 3.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.551e-05/0.2477, allocations: 74 kB / 440.2 MB, free: 3.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.2479, allocations: 123.8 kB / 440.4 MB, free: 3.559 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.2497, allocations: 1.122 MB / 441.5 MB, free: 2.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/0.2498, allocations: 7.938 kB / 441.5 MB, free: 2.371 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-05/0.2499, allocations: 47.94 kB / 441.5 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.2499, allocations: 24 kB / 441.6 MB, free: 2.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001694/0.2516, allocations: 0.9485 MB / 442.5 MB, free: 1.352 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005647/0.2573, allocations: 4.338 MB / 446.8 MB, free: 12.81 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002371/0.2596, allocations: 1.662 MB / 448.5 MB, free: 10.92 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006427/0.2603, allocations: 322.8 kB / 448.8 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.083e-05/0.2604, allocations: 97.53 kB / 448.9 MB, free: 10.49 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008388/0.2613, allocations: 462.6 kB / 449.4 MB, free: 10 MB / 318.1 MB Notification: Performance of pre-optimization done (n=66): time 2.204e-06/0.2613, allocations: 0 / 449.4 MB, free: 10 MB / 318.1 MB Notification: Performance of matching and sorting (n=66): time 0.005824/0.2671, allocations: 1.545 MB / 450.9 MB, free: 8.426 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.2673, allocations: 277.5 kB / 451.2 MB, free: 8.094 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008832/0.2682, allocations: 0.6604 MB / 451.8 MB, free: 7.422 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.2683, allocations: 41.7 kB / 451.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.2687, allocations: 0.5179 MB / 452.4 MB, free: 6.848 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.2689, allocations: 217.1 kB / 452.6 MB, free: 6.633 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.2692, allocations: 190.4 kB / 452.8 MB, free: 6.441 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.2694, allocations: 390.8 kB / 453.2 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.27, allocations: 281.8 kB / 453.5 MB, free: 5.773 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007739/0.2708, allocations: 0.5326 MB / 454 MB, free: 5.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001404/0.2722, allocations: 0.9137 MB / 454.9 MB, free: 4.082 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.2722, allocations: 3.938 kB / 454.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002194/0.2744, allocations: 1.067 MB / 456 MB, free: 2.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/0.2745, allocations: 67.39 kB / 456 MB, free: 2.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.2745, allocations: 8.281 kB / 456.1 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.275, allocations: 92.72 kB / 456.1 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008327/0.2759, allocations: 211.7 kB / 456.3 MB, free: 2.602 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.2773, allocations: 1.479 MB / 457.8 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007709/0.2781, allocations: 111 kB / 457.9 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.942e-05/0.2782, allocations: 44.3 kB / 458 MB, free: 0.832 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.0006215/0.2788, allocations: 339.5 kB / 458.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.279, allocations: 83.2 kB / 458.4 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002353/0.2814, allocations: 0.9206 MB / 459.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/0.2814, allocations: 4 kB / 459.3 MB, free: 15.45 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.2814, allocations: 7.984 kB / 459.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.2814, allocations: 0 / 459.3 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006845/0.2883, allocations: 2.206 MB / 461.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.2883, allocations: 0 / 461.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003464/0.2887, allocations: 83.91 kB / 461.6 MB, free: 13.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009094/0.2896, allocations: 346.1 kB / 462 MB, free: 12.72 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-05/0.2897, allocations: 19.98 kB / 462 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.2911, allocations: 0.9013 MB / 462.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.2911, allocations: 0 / 462.9 MB, free: 11.77 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005565/0.2966, allocations: 1.634 MB / 464.5 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004774/0.2972, allocations: 212 kB / 464.7 MB, free: 9.863 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001924/0.2974, allocations: 19.98 kB / 464.7 MB, free: 9.844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006506/0.298, allocations: 51.91 kB / 464.8 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000112/0.2981, allocations: 44.38 kB / 464.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-05/0.2982, allocations: 27.98 kB / 464.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007438/0.299, allocations: 467 kB / 465.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.299, allocations: 0 / 465.3 MB, free: 9.266 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001171/0.3001, allocations: 319 kB / 465.6 MB, free: 8.953 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.001521/0.3017, allocations: 0.6568 MB / 466.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002094/0.3038, allocations: 0.9524 MB / 467.2 MB, free: 7.539 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.3038, allocations: 3.938 kB / 467.2 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009444/0.3048, allocations: 489.4 kB / 467.7 MB, free: 7.035 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.3059, allocations: 159.2 kB / 467.9 MB, free: 6.883 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.3097, allocations: 2.158 MB / 470 MB, free: 4.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007643/0.3105, allocations: 1.01 MB / 471 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005812/0.3111, allocations: 122.3 kB / 471.2 MB, free: 3.527 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.3113, allocations: 79.39 kB / 471.2 MB, free: 3.449 MB / 334.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3113, allocations: 4 kB / 471.2 MB, free: 3.445 MB / 334.1 MB Notification: Performance of Templates: time 0.02206/0.3334, allocations: 11.67 MB / 482.9 MB, free: 7.855 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 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Comax_Measurement_20160629.pipe 2>&1)