Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_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_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03139/0.03139, allocations: 5.384 MB / 21.16 MB, free: 1.898 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.000894/0.0008935, allocations: 111.6 kB / 23.15 MB, free: 196 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.001671/0.001671, allocations: 190.2 kB / 25.25 MB, free: 0.6406 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.443/1.443, allocations: 222.9 MB / 250.1 MB, free: 7.031 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.009018/0.009018, allocations: 2.315 MB / 303.7 MB, free: 6.559 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 83.88 kB / 367.1 MB, free: 7.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2509/0.2524, allocations: 51.21 MB / 418.3 MB, free: 26.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.006558/0.259, allocations: 6.83 MB / 425.1 MB, free: 19.78 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005377/0.2644, allocations: 3.896 MB / 429 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009208/0.2654, allocations: 20 kB / 429 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.2678, allocations: 1.081 MB / 430.1 MB, free: 14.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.2696, allocations: 0.7814 MB / 430.9 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.2712, allocations: 497 kB / 431.4 MB, free: 13.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.2723, allocations: 1.304 MB / 432.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.2734, allocations: 0.8513 MB / 433.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004876/0.2739, allocations: 0.5018 MB / 434 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005865/0.2745, allocations: 0.6457 MB / 434.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001365/0.2746, allocations: 84 kB / 434.7 MB, free: 10.08 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000792/0.2754, allocations: 379.7 kB / 435.1 MB, free: 9.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001828/0.2756, allocations: 258.8 kB / 435.4 MB, free: 9.457 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004084/0.276, allocations: 0.5867 MB / 436 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000971/0.277, allocations: 1.356 MB / 437.3 MB, free: 7.508 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.277, allocations: 4 kB / 437.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.277, allocations: 0 / 437.3 MB, free: 7.504 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.277, allocations: 0 / 437.3 MB, free: 7.504 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.004215/0.2813, allocations: 1.814 MB / 439.1 MB, free: 5.625 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.704e-05/0.2813, allocations: 12.03 kB / 439.1 MB, free: 5.613 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002082/0.2834, allocations: 375.1 kB / 439.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.2851, allocations: 0.8244 MB / 440.3 MB, free: 4.379 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.2851, allocations: 78.08 kB / 440.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.2853, allocations: 104 kB / 440.5 MB, free: 4.199 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.2871, allocations: 1.173 MB / 441.7 MB, free: 2.965 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.2872, allocations: 7.938 kB / 441.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.661e-05/0.2873, allocations: 44 kB / 441.7 MB, free: 2.914 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.2873, allocations: 28 kB / 441.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.2891, allocations: 1.07 MB / 442.8 MB, free: 1.816 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005985/0.2951, allocations: 4.372 MB / 447.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.2978, allocations: 1.751 MB / 449 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006591/0.2985, allocations: 331.3 kB / 449.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001166/0.2986, allocations: 97.66 kB / 449.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000885/0.2995, allocations: 465.7 kB / 449.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.134e-06/0.2995, allocations: 0 / 449.8 MB, free: 10.36 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.006123/0.3056, allocations: 1.588 MB / 451.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/0.3058, allocations: 230.1 kB / 451.6 MB, free: 8.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.3067, allocations: 0.6485 MB / 452.3 MB, free: 7.801 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.3067, allocations: 41.7 kB / 452.3 MB, free: 7.754 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.3071, allocations: 0.5219 MB / 452.9 MB, free: 7.223 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.3073, allocations: 232.7 kB / 453.1 MB, free: 6.992 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002737/0.3076, allocations: 182.5 kB / 453.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.3078, allocations: 394.7 kB / 453.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006519/0.3085, allocations: 293.8 kB / 453.9 MB, free: 6.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008099/0.3093, allocations: 0.5426 MB / 454.5 MB, free: 5.477 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.3108, allocations: 0.9321 MB / 455.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3108, allocations: 0 / 455.4 MB, free: 4.418 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002298/0.3131, allocations: 1.118 MB / 456.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/0.3132, allocations: 59.41 kB / 456.6 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.3132, allocations: 15.92 kB / 456.6 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005198/0.3137, allocations: 85.08 kB / 456.7 MB, free: 3.105 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009198/0.3147, allocations: 227.6 kB / 456.9 MB, free: 2.883 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001558/0.3162, allocations: 1.464 MB / 458.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008085/0.317, allocations: 111.2 kB / 458.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/0.3171, allocations: 51.97 kB / 458.5 MB, free: 1.125 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.0005263/0.3177, allocations: 339.2 kB / 458.9 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/0.3178, allocations: 83 kB / 458.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002131/0.32, allocations: 1.007 MB / 459.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.32, allocations: 15.94 kB / 460 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.054e-06/0.32, allocations: 0 / 460 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.32, allocations: 3.984 kB / 460 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006202/0.3262, allocations: 2.306 MB / 462.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/0.3262, allocations: 4 kB / 462.3 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/0.3267, allocations: 99.92 kB / 462.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000866/0.3275, allocations: 334.1 kB / 462.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.3276, allocations: 23.97 kB / 462.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.3289, allocations: 0.8974 MB / 463.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.541e-06/0.3289, allocations: 7.969 kB / 463.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002725/0.3317, allocations: 1.397 MB / 465 MB, free: 10.4 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003693/0.332, allocations: 227.9 kB / 465.2 MB, free: 10.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000137/0.3322, allocations: 23.94 kB / 465.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005565/0.3328, allocations: 43.97 kB / 465.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.835e-05/0.3329, allocations: 48.5 kB / 465.4 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.588e-05/0.3329, allocations: 31.97 kB / 465.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006013/0.3336, allocations: 447 kB / 465.8 MB, free: 9.582 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3336, allocations: 4 kB / 465.8 MB, free: 9.578 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001087/0.3347, allocations: 323 kB / 466.1 MB, free: 9.262 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.001569/0.3362, allocations: 0.6564 MB / 466.8 MB, free: 8.836 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002025/0.3383, allocations: 0.9921 MB / 467.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3383, allocations: 320 / 467.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000907/0.3392, allocations: 0.4938 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.0008526/0.3401, allocations: 156.3 kB / 468.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003581/0.3437, allocations: 2.234 MB / 470.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005834/0.3443, allocations: 1.018 MB / 471.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002659/0.3445, allocations: 87.39 kB / 471.8 MB, free: 3.738 MB / 334.1 MB Notification: Performance of SimCode: time 8.82e-07/0.3445, allocations: 4 kB / 471.8 MB, free: 3.734 MB / 334.1 MB Notification: Performance of Templates: time 0.0256/0.3702, allocations: 17.25 MB / 489 MB, free: 2.527 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629.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_20160629CalcHelperMain.o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629CalcHelperMain.o] Error 1