Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02891/0.02891, allocations: 5.378 MB / 21.31 MB, free: 1.938 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.0006491/0.0006491, allocations: 98.59 kB / 23.3 MB, free: 312 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.0009815/0.0009817, allocations: 179.6 kB / 25.4 MB, free: 1.762 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.29/1.29, allocations: 223.3 MB / 250.6 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008222/0.008222, allocations: 2.303 MB / 305.2 MB, free: 3.906 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003883, allocations: 12 kB / 369.5 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09471/0.09511, allocations: 52.2 MB / 421.7 MB, free: 5.895 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.2057/0.3009, allocations: 6.324 MB / 428.1 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007261/0.3082, allocations: 3.836 MB / 431.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008705/0.3091, allocations: 22.91 kB / 431.9 MB, free: 35.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001224/0.3103, allocations: 449 kB / 432.4 MB, free: 35.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001777/0.3121, allocations: 0.7579 MB / 433.1 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.3137, allocations: 0.4931 MB / 433.6 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.3149, allocations: 1.31 MB / 434.9 MB, free: 34.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.3169, allocations: 1.405 MB / 436.3 MB, free: 34.72 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006501/0.3176, allocations: 460.8 kB / 436.8 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006034/0.3182, allocations: 0.588 MB / 437.4 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.987e-05/0.3183, allocations: 57.66 kB / 437.4 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007175/0.319, allocations: 345.9 kB / 437.8 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.3192, allocations: 223 kB / 438 MB, free: 34.38 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.3196, allocations: 0.5623 MB / 438.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3206, allocations: 1.344 MB / 439.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3206, allocations: 3.5 kB / 439.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3207, allocations: 0 / 439.9 MB, free: 34.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.3207, allocations: 0 / 439.9 MB, free: 34.04 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.003457/0.3241, allocations: 1.576 MB / 441.5 MB, free: 33.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.3242, allocations: 13.56 kB / 441.5 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002009/0.3262, allocations: 374.2 kB / 441.8 MB, free: 33.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001529/0.3277, allocations: 0.8299 MB / 442.7 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.698e-05/0.3278, allocations: 84.27 kB / 442.8 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001408/0.328, allocations: 103.2 kB / 442.9 MB, free: 32.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.3298, allocations: 1.183 MB / 444 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.3298, allocations: 2.969 kB / 444 MB, free: 32.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-05/0.3299, allocations: 49.11 kB / 444.1 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.169e-05/0.3299, allocations: 31.84 kB / 444.1 MB, free: 32.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.3317, allocations: 1.071 MB / 445.2 MB, free: 32.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005322/0.337, allocations: 4.397 MB / 449.6 MB, free: 30.13 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.3392, allocations: 1.744 MB / 451.3 MB, free: 28.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.3398, allocations: 333 kB / 451.7 MB, free: 28.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.369e-05/0.3399, allocations: 103.2 kB / 451.8 MB, free: 28.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007301/0.3407, allocations: 464 kB / 452.2 MB, free: 28.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.345e-06/0.3407, allocations: 0 / 452.2 MB, free: 28.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005142/0.3458, allocations: 1.638 MB / 453.9 MB, free: 27.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.475e-05/0.3459, allocations: 223 kB / 454.1 MB, free: 27.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006851/0.3466, allocations: 0.6504 MB / 454.7 MB, free: 27.15 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.654e-05/0.3466, allocations: 43.8 kB / 454.8 MB, free: 27.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/0.3469, allocations: 0.5298 MB / 455.3 MB, free: 26.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.347, allocations: 226.9 kB / 455.5 MB, free: 26.52 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.132e-05/0.3471, allocations: 84.91 kB / 455.6 MB, free: 26.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.3472, allocations: 393.2 kB / 456 MB, free: 26.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.3478, allocations: 307.2 kB / 456.3 MB, free: 26.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.3484, allocations: 0.5319 MB / 456.8 MB, free: 25.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.3496, allocations: 0.9412 MB / 457.8 MB, free: 24.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.3496, allocations: 3.156 kB / 457.8 MB, free: 24.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001902/0.3515, allocations: 1.117 MB / 458.9 MB, free: 24.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.3516, allocations: 64.48 kB / 458.9 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.3516, allocations: 6.219 kB / 458.9 MB, free: 24.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004396/0.3521, allocations: 92.2 kB / 459 MB, free: 24.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007876/0.3529, allocations: 228.8 kB / 459.3 MB, free: 24.33 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001104/0.354, allocations: 1.472 MB / 460.7 MB, free: 22.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007409/0.3547, allocations: 108 kB / 460.8 MB, free: 22.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/0.3548, allocations: 47.98 kB / 460.9 MB, free: 22.85 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.0005588/0.3554, allocations: 342.9 kB / 461.2 MB, free: 22.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001221/0.3555, allocations: 90 kB / 461.3 MB, free: 22.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.3574, allocations: 1.015 MB / 462.3 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.3574, allocations: 8.469 kB / 462.3 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3574, allocations: 0.625 kB / 462.3 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.3574, allocations: 6.703 kB / 462.3 MB, free: 22.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005482/0.3629, allocations: 2.35 MB / 464.7 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3629, allocations: 0 / 464.7 MB, free: 21.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/0.3633, allocations: 91.17 kB / 464.8 MB, free: 21.06 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007326/0.364, allocations: 342.7 kB / 465.1 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.3641, allocations: 27.73 kB / 465.1 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/0.3652, allocations: 0.9094 MB / 466 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.3652, allocations: 5.812 kB / 466.1 MB, free: 20.26 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.3675, allocations: 1.415 MB / 467.5 MB, free: 19.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002891/0.3678, allocations: 235.1 kB / 467.7 MB, free: 19.39 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001114/0.3679, allocations: 24.42 kB / 467.7 MB, free: 19.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.3684, allocations: 52.59 kB / 467.8 MB, free: 19.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.3685, allocations: 49.12 kB / 467.8 MB, free: 19.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.475e-05/0.3686, allocations: 32.38 kB / 467.9 MB, free: 19.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004723/0.369, allocations: 454.5 kB / 468.3 MB, free: 19.15 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3691, allocations: 0 / 468.3 MB, free: 19.15 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009414/0.37, allocations: 322.2 kB / 468.6 MB, free: 19.06 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.001354/0.3714, allocations: 0.6634 MB / 469.3 MB, free: 18.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001645/0.373, allocations: 0.9975 MB / 470.3 MB, free: 18.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.373, allocations: 0 / 470.3 MB, free: 18.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007141/0.3738, allocations: 0.4932 MB / 470.8 MB, free: 18.09 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008254/0.3746, allocations: 147.2 kB / 470.9 MB, free: 18.03 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/0.3777, allocations: 2.324 MB / 473.2 MB, free: 16.58 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.3782, allocations: 1.014 MB / 474.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.3784, allocations: 88.7 kB / 474.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3784, allocations: 0.9062 kB / 474.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of Templates: time 0.02726/0.4057, allocations: 17.12 MB / 491.5 MB, free: 11.07 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704.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_20160704CalcHelperMain.o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704CalcHelperMain.o] Error 1