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.02983/0.02983, allocations: 5.382 MB / 20.99 MB, free: 1.727 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.0007141/0.0007142, allocations: 105.7 kB / 22.97 MB, free: 452 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.001327/0.001327, allocations: 183.1 kB / 25.05 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.53/1.53, allocations: 223.3 MB / 250.3 MB, free: 13.8 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008852/0.008852, allocations: 2.314 MB / 304.9 MB, free: 3.855 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004469/0.0004469, allocations: 12 kB / 368.9 MB, free: 10.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 52.21 MB / 421.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160704): time 0.007747/0.1486, allocations: 5.946 MB / 427 MB, free: 348 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3423/0.491, allocations: 3.629 MB / 430.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001149/0.4922, allocations: 22.25 kB / 430.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001391/0.4936, allocations: 393 kB / 431.1 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.4957, allocations: 0.684 MB / 431.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001586/0.4973, allocations: 415.3 kB / 432.1 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001864/0.4992, allocations: 1.241 MB / 433.4 MB, free: 34.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00276/0.502, allocations: 1.245 MB / 434.6 MB, free: 34.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001009/0.503, allocations: 447.2 kB / 435.1 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009595/0.5039, allocations: 0.5588 MB / 435.6 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001421/0.5041, allocations: 62.17 kB / 435.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001324/0.5054, allocations: 329.8 kB / 436 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000254/0.5057, allocations: 212.4 kB / 436.2 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004574/0.5062, allocations: 233.1 kB / 436.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002267/0.5084, allocations: 1.33 MB / 437.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.5085, allocations: 0 / 437.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.381e-06/0.5085, allocations: 4 kB / 437.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.804e-05/0.5085, allocations: 0 / 437.8 MB, free: 33.95 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.004197/0.5127, allocations: 1.589 MB / 439.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/0.5128, allocations: 13.88 kB / 439.4 MB, free: 33.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002085/0.5149, allocations: 385 kB / 439.8 MB, free: 33.04 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.5167, allocations: 0.7989 MB / 440.6 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.223e-05/0.5168, allocations: 76.98 kB / 440.6 MB, free: 32.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001771/0.5169, allocations: 118.1 kB / 440.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00234/0.5193, allocations: 1.166 MB / 441.9 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.5193, allocations: 4.781 kB / 441.9 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.5195, allocations: 46.19 kB / 442 MB, free: 32.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.133e-05/0.5195, allocations: 30.33 kB / 442 MB, free: 32.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002084/0.5216, allocations: 1.061 MB / 443.1 MB, free: 32.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007141/0.5287, allocations: 4.396 MB / 447.4 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002703/0.5315, allocations: 1.746 MB / 449.2 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006938/0.5322, allocations: 329.4 kB / 449.5 MB, free: 29.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.5324, allocations: 96.09 kB / 449.6 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009982/0.5334, allocations: 469.1 kB / 450.1 MB, free: 29.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 3.977e-06/0.5334, allocations: 4 kB / 450.1 MB, free: 29.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005956/0.5394, allocations: 1.625 MB / 451.7 MB, free: 28.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001983/0.5396, allocations: 222.8 kB / 451.9 MB, free: 28.36 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001271/0.5409, allocations: 0.6457 MB / 452.6 MB, free: 28.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.057e-05/0.541, allocations: 47.53 kB / 452.6 MB, free: 28.01 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005421/0.5415, allocations: 0.5211 MB / 453.1 MB, free: 27.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.5418, allocations: 235.9 kB / 453.4 MB, free: 27.43 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.863e-05/0.5418, allocations: 15.25 kB / 453.4 MB, free: 27.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.542, allocations: 391.2 kB / 453.8 MB, free: 27.06 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/0.5426, allocations: 303.6 kB / 454.1 MB, free: 26.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007717/0.5434, allocations: 0.5273 MB / 454.6 MB, free: 26.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007255/0.5441, allocations: 425.1 kB / 455 MB, free: 26.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.5441, allocations: 3.281 kB / 455 MB, free: 26.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002008/0.5462, allocations: 1.106 MB / 456.1 MB, free: 25.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.652e-05/0.5462, allocations: 72.58 kB / 456.2 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.597e-05/0.5463, allocations: 6.281 kB / 456.2 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/0.5467, allocations: 85.38 kB / 456.3 MB, free: 25.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008005/0.5475, allocations: 224.6 kB / 456.5 MB, free: 25.74 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.5489, allocations: 1.477 MB / 458 MB, free: 24.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007411/0.5496, allocations: 112 kB / 458.1 MB, free: 24.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.4e-05/0.5497, allocations: 47.67 kB / 458.1 MB, free: 24.25 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 ($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.0006538/0.5504, allocations: 344.7 kB / 458.5 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.5505, allocations: 85.88 kB / 458.5 MB, free: 23.92 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001803/0.5523, allocations: 1.007 MB / 459.5 MB, free: 23.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.5523, allocations: 6.5 kB / 459.5 MB, free: 23.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.5524, allocations: 11.2 kB / 459.6 MB, free: 23.48 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.5524, allocations: 3.469 kB / 459.6 MB, free: 23.48 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005463/0.5578, allocations: 2.339 MB / 461.9 MB, free: 22.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.5579, allocations: 3.938 kB / 461.9 MB, free: 22.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.5583, allocations: 98.12 kB / 462 MB, free: 22.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008302/0.5591, allocations: 338.1 kB / 462.3 MB, free: 22.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-05/0.5592, allocations: 23.89 kB / 462.4 MB, free: 22.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001188/0.5604, allocations: 0.9041 MB / 463.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5604, allocations: 6.812 kB / 463.3 MB, free: 21.67 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/0.5629, allocations: 1.417 MB / 464.7 MB, free: 20.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004527/0.5633, allocations: 230.2 kB / 464.9 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.5636, allocations: 24.97 kB / 464.9 MB, free: 20.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005958/0.5642, allocations: 54.02 kB / 465 MB, free: 20.78 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.5643, allocations: 38.59 kB / 465 MB, free: 20.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/0.5644, allocations: 36.16 kB / 465.1 MB, free: 20.77 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007381/0.5651, allocations: 449.9 kB / 465.5 MB, free: 20.57 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5651, allocations: 0 / 465.5 MB, free: 20.57 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001473/0.5666, allocations: 319.8 kB / 465.8 MB, free: 20.48 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 (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.001853/0.5685, allocations: 0.6685 MB / 466.5 MB, free: 20.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.5705, allocations: 0.9933 MB / 467.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.5705, allocations: 320 / 467.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.5714, allocations: 0.4915 MB / 468 MB, free: 19.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.5724, allocations: 152.2 kB / 468.1 MB, free: 19.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004803/0.5772, allocations: 2.198 MB / 470.3 MB, free: 18.12 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008009/0.5781, allocations: 1.017 MB / 471.3 MB, free: 17.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/0.5785, allocations: 80.27 kB / 471.4 MB, free: 17.39 MB / 350.1 MB Notification: Performance of SimCode: time 2.014e-06/0.5785, allocations: 1.094 kB / 471.4 MB, free: 17.39 MB / 350.1 MB Notification: Performance of Templates: time 0.05159/0.6301, allocations: 17.15 MB / 488.6 MB, free: 12.9 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++ NOTFOUND -Winvalid-pch -O0 -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/c/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