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.02678/0.02678, allocations: 5.386 MB / 21.16 MB, free: 1.906 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.0008572/0.0008572, allocations: 102.6 kB / 23.15 MB, free: 212 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.001394/0.001394, allocations: 195.6 kB / 25.25 MB, free: 0.6562 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.419/1.419, allocations: 222.9 MB / 250.1 MB, free: 7.043 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.0109/0.0109, allocations: 2.319 MB / 303.7 MB, free: 6.547 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 87.88 kB / 367.1 MB, free: 7.176 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2766, allocations: 51.22 MB / 418.3 MB, free: 26.62 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.007021/0.2837, allocations: 6.808 MB / 425.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005868/0.2896, allocations: 3.897 MB / 429 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001212/0.2909, allocations: 23.94 kB / 429 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002573/0.2934, allocations: 1.093 MB / 430.1 MB, free: 14.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002183/0.2956, allocations: 0.7659 MB / 430.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00171/0.2974, allocations: 0.4926 MB / 431.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.2988, allocations: 1.304 MB / 432.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.3002, allocations: 0.8513 MB / 433.5 MB, free: 11.31 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000898/0.3011, allocations: 0.5018 MB / 434 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000976/0.3021, allocations: 0.6457 MB / 434.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.3023, allocations: 88 kB / 434.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009641/0.3033, allocations: 375.6 kB / 435.1 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.3035, allocations: 254.9 kB / 435.4 MB, free: 9.453 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000563/0.3041, allocations: 0.5944 MB / 436 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.3053, allocations: 1.36 MB / 437.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.3053, allocations: 0 / 437.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.3053, allocations: 0 / 437.3 MB, free: 7.492 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.3054, allocations: 0 / 437.3 MB, free: 7.492 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.004275/0.3096, allocations: 1.816 MB / 439.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.3097, allocations: 8.031 kB / 439.1 MB, free: 5.605 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002026/0.3117, allocations: 387.1 kB / 439.5 MB, free: 5.227 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.3133, allocations: 0.8128 MB / 440.3 MB, free: 4.371 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.3134, allocations: 82.02 kB / 440.4 MB, free: 4.289 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.3135, allocations: 112 kB / 440.5 MB, free: 4.18 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001845/0.3154, allocations: 1.173 MB / 441.7 MB, free: 2.945 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.892e-05/0.3154, allocations: 4 kB / 441.7 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.52e-05/0.3155, allocations: 48 kB / 441.7 MB, free: 2.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.3156, allocations: 24 kB / 441.8 MB, free: 2.871 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.3174, allocations: 1.066 MB / 442.8 MB, free: 1.805 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00592/0.3233, allocations: 4.38 MB / 447.2 MB, free: 13.22 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002652/0.326, allocations: 1.732 MB / 448.9 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006935/0.3267, allocations: 329.5 kB / 449.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.3268, allocations: 97.66 kB / 449.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008631/0.3277, allocations: 469.6 kB / 449.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 4.919e-06/0.3277, allocations: 0 / 449.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.006121/0.3338, allocations: 1.592 MB / 451.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001449/0.334, allocations: 226.2 kB / 451.6 MB, free: 8.457 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009283/0.3349, allocations: 0.6525 MB / 452.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/0.335, allocations: 41.7 kB / 452.3 MB, free: 7.746 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.3354, allocations: 0.518 MB / 452.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.3356, allocations: 232.7 kB / 453.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002717/0.3359, allocations: 182.5 kB / 453.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001841/0.3361, allocations: 398.7 kB / 453.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.3368, allocations: 297.9 kB / 453.9 MB, free: 6.113 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008258/0.3376, allocations: 0.5348 MB / 454.5 MB, free: 5.473 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001514/0.3391, allocations: 0.936 MB / 455.4 MB, free: 4.41 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.3391, allocations: 4 kB / 455.4 MB, free: 4.406 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002271/0.3414, allocations: 1.114 MB / 456.5 MB, free: 3.27 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/0.3415, allocations: 67.33 kB / 456.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.3415, allocations: 8 kB / 456.6 MB, free: 3.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004932/0.342, allocations: 85.06 kB / 456.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008931/0.3429, allocations: 231.6 kB / 456.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/0.3444, allocations: 1.468 MB / 458.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.3453, allocations: 115.1 kB / 458.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.762e-05/0.3454, allocations: 47.92 kB / 458.5 MB, free: 1.109 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 (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.0008061/0.3462, allocations: 331.2 kB / 458.9 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002841/0.3465, allocations: 86.98 kB / 458.9 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/0.3488, allocations: 1.007 MB / 459.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3488, allocations: 4 kB / 459.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.3488, allocations: 4 kB / 460 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/0.3489, allocations: 7.984 kB / 460 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006668/0.3555, allocations: 2.313 MB / 462.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3556, allocations: 0 / 462.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003815/0.3559, allocations: 95.83 kB / 462.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008428/0.3568, allocations: 334.3 kB / 462.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.459e-05/0.3569, allocations: 27.98 kB / 462.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/0.3582, allocations: 0.8974 MB / 463.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3583, allocations: 3.938 kB / 463.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002873/0.3611, allocations: 1.401 MB / 465 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004645/0.3616, allocations: 228 kB / 465.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/0.3618, allocations: 19.94 kB / 465.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006631/0.3625, allocations: 51.95 kB / 465.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3627, allocations: 36.52 kB / 465.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-05/0.3627, allocations: 35.97 kB / 465.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007301/0.3635, allocations: 455 kB / 465.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3635, allocations: 0 / 465.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001252/0.3647, allocations: 322.9 kB / 466.1 MB, free: 9.258 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 (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.001667/0.3664, allocations: 0.663 MB / 466.8 MB, free: 8.832 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002222/0.3687, allocations: 0.9923 MB / 467.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3687, allocations: 0 / 467.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009676/0.3697, allocations: 0.4902 MB / 468.3 MB, free: 7.289 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.3707, allocations: 146.8 kB / 468.4 MB, free: 7.145 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004377/0.3751, allocations: 2.249 MB / 470.7 MB, free: 4.855 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008803/0.376, allocations: 1.018 MB / 471.7 MB, free: 3.812 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.3763, allocations: 83.39 kB / 471.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of SimCode: time 1.002e-06/0.3763, allocations: 0 / 471.8 MB, free: 3.73 MB / 334.1 MB Notification: Performance of Templates: time 0.03017/0.4065, allocations: 17.24 MB / 489 MB, free: 2.523 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808CalcHelperMain.o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808CalcHelperMain.o] Error 1