Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02576/0.02576, allocations: 5.392 MB / 20.51 MB, free: 2.062 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.0008332/0.0008332, allocations: 112.1 kB / 22.5 MB, free: 472 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.0009292/0.0009292, allocations: 192.7 kB / 24.58 MB, free: 1.777 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.214/1.214, allocations: 222.9 MB / 249.5 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008226/0.008226, allocations: 2.321 MB / 303.1 MB, free: 3.688 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 87.86 kB / 366.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08276/0.08422, allocations: 51.21 MB / 417.6 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.006753/0.091, allocations: 6.817 MB / 424.5 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.152/0.2431, allocations: 3.886 MB / 428.3 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008621/0.244, allocations: 25.09 kB / 428.4 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.2464, allocations: 1.074 MB / 429.4 MB, free: 35.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.2481, allocations: 0.7668 MB / 430.2 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001283/0.2494, allocations: 497.5 kB / 430.7 MB, free: 35.88 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008824/0.2503, allocations: 1.318 MB / 432 MB, free: 35.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009614/0.2512, allocations: 0.8553 MB / 432.9 MB, free: 35.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003687/0.2516, allocations: 0.4996 MB / 433.4 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005234/0.2521, allocations: 0.6444 MB / 434 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.2523, allocations: 83.81 kB / 434.1 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005782/0.2529, allocations: 377.4 kB / 434.5 MB, free: 35.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.253, allocations: 255.4 kB / 434.7 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.2534, allocations: 0.586 MB / 435.3 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009692/0.2544, allocations: 1.723 MB / 437 MB, free: 35.09 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2544, allocations: 0 / 437 MB, free: 35.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.31e-07/0.2544, allocations: 1.594 kB / 437 MB, free: 35.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.096e-05/0.2544, allocations: 0 / 437 MB, free: 35.09 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003224/0.2576, allocations: 1.812 MB / 438.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.744e-05/0.2577, allocations: 9.125 kB / 438.8 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.2596, allocations: 378 kB / 439.2 MB, free: 34.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.261, allocations: 0.824 MB / 440 MB, free: 33.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.566e-05/0.2611, allocations: 85.39 kB / 440.1 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001229/0.2612, allocations: 110.3 kB / 440.2 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00158/0.2628, allocations: 1.165 MB / 441.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.351e-05/0.2628, allocations: 0 / 441.4 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/0.2629, allocations: 47.89 kB / 441.4 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.55e-05/0.2629, allocations: 25.47 kB / 441.5 MB, free: 33.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001752/0.2647, allocations: 1.071 MB / 442.5 MB, free: 32.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004565/0.2693, allocations: 4.378 MB / 446.9 MB, free: 30.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.2713, allocations: 1.742 MB / 448.6 MB, free: 28.67 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.2719, allocations: 328.8 kB / 449 MB, free: 28.54 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.38e-05/0.272, allocations: 99.44 kB / 449.1 MB, free: 28.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006993/0.2727, allocations: 461.7 kB / 449.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 1.914e-06/0.2727, allocations: 0 / 449.5 MB, free: 28.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005338/0.278, allocations: 1.598 MB / 451.1 MB, free: 27.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.2781, allocations: 223 kB / 451.3 MB, free: 27.39 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005712/0.2787, allocations: 0.6504 MB / 452 MB, free: 27.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.2787, allocations: 40.89 kB / 452 MB, free: 27.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/0.2789, allocations: 0.5243 MB / 452.5 MB, free: 26.63 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.279, allocations: 228.7 kB / 452.8 MB, free: 26.46 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.2793, allocations: 186.7 kB / 453 MB, free: 26.38 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.133e-05/0.2793, allocations: 391.5 kB / 453.3 MB, free: 26.03 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.2799, allocations: 301.3 kB / 453.6 MB, free: 25.92 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006261/0.2805, allocations: 0.5322 MB / 454.2 MB, free: 25.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001134/0.2817, allocations: 0.9393 MB / 455.1 MB, free: 24.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2817, allocations: 3.219 kB / 455.1 MB, free: 24.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001797/0.2835, allocations: 1.111 MB / 456.2 MB, free: 24.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.2835, allocations: 63.91 kB / 456.3 MB, free: 24.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.2835, allocations: 13.06 kB / 456.3 MB, free: 24.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004372/0.284, allocations: 86.69 kB / 456.4 MB, free: 24.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007731/0.2848, allocations: 224.5 kB / 456.6 MB, free: 24.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/0.2858, allocations: 1.469 MB / 458.1 MB, free: 22.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006686/0.2865, allocations: 115.4 kB / 458.2 MB, free: 22.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.965e-05/0.2866, allocations: 46.02 kB / 458.2 MB, free: 22.74 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 21 (writeCSV.firstTrigger,$PRE.writeCSV.firstTrigger,mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,$PRE.combiTimeTable.nextTimeEvent,$whenCondition3,writeCSV.sampleTrigger,$whenCondition2,mpTracker.sampleTrigger,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0003455/0.2869, allocations: 340.4 kB / 458.6 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.287, allocations: 80.41 kB / 458.6 MB, free: 22.42 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0018/0.2889, allocations: 1.01 MB / 459.6 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2889, allocations: 6.438 kB / 459.6 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.175e-06/0.2889, allocations: 4.875 kB / 459.7 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2889, allocations: 3.469 kB / 459.7 MB, free: 21.97 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005558/0.2945, allocations: 2.319 MB / 462 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.2945, allocations: 0 / 462 MB, free: 20.96 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003447/0.2948, allocations: 93.47 kB / 462.1 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007338/0.2956, allocations: 333.7 kB / 462.4 MB, free: 20.84 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.2956, allocations: 33.09 kB / 462.4 MB, free: 20.83 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001098/0.2967, allocations: 0.8902 MB / 463.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2968, allocations: 0 / 463.3 MB, free: 20.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.299, allocations: 1.4 MB / 464.7 MB, free: 19.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002393/0.2993, allocations: 226 kB / 464.9 MB, free: 19.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.2994, allocations: 17.88 kB / 465 MB, free: 19.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.3, allocations: 56.14 kB / 465 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.819e-05/0.3001, allocations: 42.44 kB / 465.1 MB, free: 19.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.575e-05/0.3002, allocations: 30.84 kB / 465.1 MB, free: 19.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004572/0.3006, allocations: 457.2 kB / 465.5 MB, free: 19.06 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3006, allocations: 0 / 465.5 MB, free: 19.06 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008495/0.3015, allocations: 317.1 kB / 465.8 MB, free: 18.98 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (voltageSource.pin_p.reference.gamma,converter.integrator.y,integrator.y) * Number of discrete variables: 12 ($whenCondition3,$whenCondition1,$whenCondition2,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,writeCSV.sampleTrigger,writeCSV.firstTrigger) * Number of discrete states: 12 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled,mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power,writeCSV.firstTrigger,$whenCondition2,writeCSV.sampleTrigger) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001204/0.3027, allocations: 0.667 MB / 466.5 MB, free: 18.73 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.3044, allocations: 0.9905 MB / 467.5 MB, free: 18.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3044, allocations: 2.906 kB / 467.5 MB, free: 18.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007204/0.3051, allocations: 0.4938 MB / 468 MB, free: 17.96 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000736/0.3058, allocations: 146.1 kB / 468.1 MB, free: 17.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/0.3087, allocations: 2.207 MB / 470.3 MB, free: 16.51 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.3091, allocations: 1.017 MB / 471.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004843/0.3096, allocations: 131.2 kB / 471.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.3099, allocations: 85.38 kB / 471.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3099, allocations: 0 / 471.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of Templates: time 0.01957/0.3294, allocations: 11.55 MB / 483.1 MB, free: 14.5 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile (rm -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; mkfifo PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe ; head -c 1048576 < PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe >> ../files/PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.sim & ./PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.pipe 2>&1)