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.03045/0.03045, allocations: 5.385 MB / 20.34 MB, free: 1.844 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.0008135/0.0008134, allocations: 107.3 kB / 22.31 MB, free: 0.6094 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.001075/0.001075, allocations: 185 kB / 24.4 MB, free: 1.977 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.225/1.225, allocations: 223.2 MB / 249.5 MB, free: 7.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008111/0.008111, allocations: 2.313 MB / 304.1 MB, free: 6.484 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003883/0.0003884, allocations: 16 kB / 368.1 MB, free: 6.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2314/0.2318, allocations: 52.21 MB / 420.3 MB, free: 25.84 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.005609/0.2374, allocations: 5.628 MB / 426 MB, free: 20.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005828/0.2433, allocations: 3.626 MB / 429.6 MB, free: 16.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005931/0.2439, allocations: 19.94 kB / 429.6 MB, free: 16.53 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.245, allocations: 374 kB / 430 MB, free: 16.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.2465, allocations: 0.7437 MB / 430.7 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001075/0.2476, allocations: 417.9 kB / 431.1 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009629/0.2486, allocations: 0.8932 MB / 432 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.2503, allocations: 1.224 MB / 433.2 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.2508, allocations: 442.3 kB / 433.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005136/0.2513, allocations: 0.5359 MB / 434.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.106e-05/0.2514, allocations: 60 kB / 434.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005708/0.252, allocations: 291.6 kB / 434.6 MB, free: 11.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.2521, allocations: 211.1 kB / 434.8 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.2523, allocations: 233.1 kB / 435 MB, free: 11.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009025/0.2532, allocations: 1.328 MB / 436.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.2532, allocations: 0 / 436.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2532, allocations: 0 / 436.3 MB, free: 9.758 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.2532, allocations: 0 / 436.3 MB, free: 9.758 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: 269 * Number of variables: 269 Notification: Performance of Generate backend data structure: time 0.003173/0.2564, allocations: 1.584 MB / 437.9 MB, free: 8.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.2565, allocations: 8.031 kB / 437.9 MB, free: 8.102 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001874/0.2583, allocations: 386.1 kB / 438.3 MB, free: 7.723 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001494/0.2598, allocations: 0.8043 MB / 439.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.326e-05/0.2599, allocations: 78.08 kB / 439.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/0.26, allocations: 112 kB / 439.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001626/0.2617, allocations: 1.165 MB / 440.4 MB, free: 5.461 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.538e-05/0.2617, allocations: 4 kB / 440.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.575e-05/0.2618, allocations: 47.92 kB / 440.5 MB, free: 5.41 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.675e-05/0.2618, allocations: 28 kB / 440.5 MB, free: 5.383 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.2635, allocations: 1.066 MB / 441.6 MB, free: 4.316 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004833/0.2683, allocations: 4.396 MB / 446 MB, free: 15.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.2709, allocations: 1.751 MB / 447.7 MB, free: 13.75 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-05/0.271, allocations: 101.6 kB / 447.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008364/0.2718, allocations: 457.8 kB / 448.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.304e-06/0.2718, allocations: 0 / 448.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.005471/0.2773, allocations: 1.708 MB / 450 MB, free: 11.39 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.2775, allocations: 230.1 kB / 450.2 MB, free: 11.12 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007823/0.2783, allocations: 0.6408 MB / 450.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.2783, allocations: 45.7 kB / 450.9 MB, free: 10.41 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003914/0.2787, allocations: 0.5257 MB / 451.4 MB, free: 9.879 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001817/0.2789, allocations: 216.9 kB / 451.6 MB, free: 9.664 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-05/0.279, allocations: 24 kB / 451.7 MB, free: 9.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.2791, allocations: 394.7 kB / 452 MB, free: 9.246 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006107/0.2798, allocations: 297.8 kB / 452.3 MB, free: 8.957 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007469/0.2805, allocations: 0.5348 MB / 452.9 MB, free: 8.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007388/0.2813, allocations: 418.5 kB / 453.3 MB, free: 7.895 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.2813, allocations: 4 kB / 453.3 MB, free: 7.891 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002009/0.2833, allocations: 1.118 MB / 454.4 MB, free: 6.75 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.569e-05/0.2834, allocations: 63.39 kB / 454.5 MB, free: 6.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/0.2834, allocations: 8.281 kB / 454.5 MB, free: 6.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004267/0.2838, allocations: 84.78 kB / 454.5 MB, free: 6.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008051/0.2846, allocations: 223.6 kB / 454.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/0.286, allocations: 1.475 MB / 456.2 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000713/0.2868, allocations: 118.9 kB / 456.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/0.2868, allocations: 43.98 kB / 456.4 MB, free: 4.59 MB / 318.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 ($PRE.writeCSV.firstTrigger,writeCSV.firstTrigger,$PRE.mpTracker.signv,mpTracker.signv,$PRE.mpTracker.firstTrigger,mpTracker.firstTrigger,$PRE.mpTracker.counter,mpTracker.counter,$whenCondition3,$PRE.combiTimeTable.nextTimeEvent,$whenCondition2,writeCSV.sampleTrigger,$whenCondition1,mpTracker.sampleTrigger,$PRE.mpTracker.vRef,mpTracker.vRef,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.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 (118): * Single equations (assignments): 115 * 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.0004968/0.2873, allocations: 343.3 kB / 456.7 MB, free: 4.234 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.2875, allocations: 94.95 kB / 456.8 MB, free: 4.141 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.2895, allocations: 1.003 MB / 457.8 MB, free: 3.109 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.2895, allocations: 8 kB / 457.8 MB, free: 3.102 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.2895, allocations: 3.953 kB / 457.8 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.2895, allocations: 3.984 kB / 457.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005919/0.2955, allocations: 2.349 MB / 460.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.241e-06/0.2955, allocations: 4 kB / 460.2 MB, free: 0.668 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003728/0.2959, allocations: 103.8 kB / 460.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008139/0.2967, allocations: 338.2 kB / 460.6 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.286e-05/0.2968, allocations: 27.97 kB / 460.7 MB, free: 204 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.2981, allocations: 0.9013 MB / 461.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.2981, allocations: 4.031 kB / 461.6 MB, free: 15.26 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002573/0.3007, allocations: 1.428 MB / 463 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003564/0.301, allocations: 232 kB / 463.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.3012, allocations: 27.94 kB / 463.2 MB, free: 13.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.3017, allocations: 55.95 kB / 463.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.398e-05/0.3018, allocations: 36.52 kB / 463.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.499e-05/0.3019, allocations: 39.92 kB / 463.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005694/0.3025, allocations: 447 kB / 463.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3025, allocations: 0 / 463.8 MB, free: 12.95 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001047/0.3035, allocations: 326.9 kB / 464.1 MB, free: 12.63 MB / 334.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 (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.001452/0.305, allocations: 0.6592 MB / 464.8 MB, free: 12.21 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.3068, allocations: 0.9999 MB / 465.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.3068, allocations: 0 / 465.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008184/0.3077, allocations: 0.4942 MB / 466.3 MB, free: 10.65 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006269/0.3083, allocations: 130.2 kB / 466.4 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.3115, allocations: 2.152 MB / 468.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006702/0.3122, allocations: 1.045 MB / 469.6 MB, free: 7.258 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0004737/0.3127, allocations: 134.4 kB / 469.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.3129, allocations: 79.41 kB / 469.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3129, allocations: 0 / 469.8 MB, free: 7.043 MB / 334.1 MB Notification: Performance of Templates: time 0.01866/0.3316, allocations: 11.15 MB / 481 MB, free: 11.98 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: