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.05047/0.05047, allocations: 5.375 MB / 20.99 MB, free: 1.723 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.0009264/0.0009265, allocations: 99.7 kB / 22.97 MB, free: 448 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.001825/0.001825, allocations: 185.5 kB / 25.05 MB, free: 1.781 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.545/1.545, allocations: 223.3 MB / 250.3 MB, free: 15.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00856/0.00856, allocations: 2.309 MB / 304.8 MB, free: 3.281 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004431, allocations: 16 kB / 368.9 MB, free: 10.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1268, allocations: 52.2 MB / 421.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160629): time 0.007586/0.1344, allocations: 5.958 MB / 427 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3143/0.4488, allocations: 3.617 MB / 430.6 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00117/0.45, allocations: 23.47 kB / 430.7 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.4514, allocations: 387.2 kB / 431 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.4535, allocations: 0.6934 MB / 431.7 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0015/0.4551, allocations: 414.1 kB / 432.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001698/0.4568, allocations: 1.241 MB / 433.4 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002848/0.4596, allocations: 1.238 MB / 434.6 MB, free: 34.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001061/0.4607, allocations: 446.9 kB / 435.1 MB, free: 34.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008311/0.4615, allocations: 0.5606 MB / 435.6 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001165/0.4617, allocations: 64.42 kB / 435.7 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.463, allocations: 325.2 kB / 436 MB, free: 34.33 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003402/0.4633, allocations: 214.3 kB / 436.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.4636, allocations: 233.6 kB / 436.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.4648, allocations: 1.333 MB / 437.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.4648, allocations: 0 / 437.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4648, allocations: 0 / 437.8 MB, free: 34.11 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.4648, allocations: 0 / 437.8 MB, free: 34.11 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.003379/0.4682, allocations: 1.59 MB / 439.4 MB, free: 33.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4683, allocations: 14.88 kB / 439.4 MB, free: 33.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001966/0.4703, allocations: 376.3 kB / 439.7 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.4722, allocations: 0.8087 MB / 440.6 MB, free: 32.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-05/0.4723, allocations: 79.58 kB / 440.6 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.4725, allocations: 110.8 kB / 440.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00243/0.4749, allocations: 1.168 MB / 441.9 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.475, allocations: 0 / 441.9 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.875e-05/0.4751, allocations: 46.53 kB / 442 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.363e-05/0.4751, allocations: 24.91 kB / 442 MB, free: 32.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001957/0.4771, allocations: 1.072 MB / 443 MB, free: 32.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00588/0.483, allocations: 4.394 MB / 447.4 MB, free: 30.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002422/0.4854, allocations: 1.74 MB / 449.2 MB, free: 29.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.486, allocations: 328.3 kB / 449.5 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.193e-05/0.4861, allocations: 96.2 kB / 449.6 MB, free: 29.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008783/0.487, allocations: 475.7 kB / 450.1 MB, free: 29.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.665e-06/0.487, allocations: 0 / 450.1 MB, free: 29.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.00542/0.4924, allocations: 1.63 MB / 451.7 MB, free: 28.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.706e-05/0.4925, allocations: 227.9 kB / 451.9 MB, free: 28.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008232/0.4933, allocations: 0.6475 MB / 452.6 MB, free: 28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.4934, allocations: 36.8 kB / 452.6 MB, free: 27.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/0.4939, allocations: 0.5224 MB / 453.1 MB, free: 27.54 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.4941, allocations: 235.5 kB / 453.3 MB, free: 27.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.4941, allocations: 22.47 kB / 453.4 MB, free: 27.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.4943, allocations: 387.7 kB / 453.7 MB, free: 27.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005934/0.4949, allocations: 298.3 kB / 454 MB, free: 26.9 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.4955, allocations: 0.5394 MB / 454.6 MB, free: 26.49 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006875/0.4962, allocations: 419 kB / 455 MB, free: 26.26 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.4963, allocations: 0 / 455 MB, free: 26.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002007/0.4983, allocations: 1.117 MB / 456.1 MB, free: 25.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.411e-05/0.4983, allocations: 65.53 kB / 456.2 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4984, allocations: 6.438 kB / 456.2 MB, free: 25.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004499/0.4988, allocations: 88.2 kB / 456.3 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008057/0.4996, allocations: 221.5 kB / 456.5 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.5009, allocations: 1.469 MB / 457.9 MB, free: 24.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.5016, allocations: 117 kB / 458.1 MB, free: 24.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.79e-05/0.5017, allocations: 46.33 kB / 458.1 MB, free: 24.18 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.0006169/0.5023, allocations: 347.2 kB / 458.4 MB, free: 23.9 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.5024, allocations: 79.81 kB / 458.5 MB, free: 23.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001918/0.5044, allocations: 1.015 MB / 459.5 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.5044, allocations: 6.594 kB / 459.5 MB, free: 23.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.5044, allocations: 7.422 kB / 459.6 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5044, allocations: 3.031 kB / 459.6 MB, free: 23.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005658/0.5101, allocations: 2.346 MB / 461.9 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.5101, allocations: 0 / 461.9 MB, free: 22.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003563/0.5105, allocations: 98.16 kB / 462 MB, free: 22.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007329/0.5112, allocations: 336.6 kB / 462.3 MB, free: 22.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.5113, allocations: 27.41 kB / 462.4 MB, free: 22.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.5124, allocations: 0.9072 MB / 463.3 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.5125, allocations: 0 / 463.3 MB, free: 21.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/0.5148, allocations: 1.409 MB / 464.7 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.5151, allocations: 237.1 kB / 464.9 MB, free: 20.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.5152, allocations: 21.19 kB / 464.9 MB, free: 20.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004883/0.5157, allocations: 57.61 kB / 465 MB, free: 20.71 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9e-05/0.5158, allocations: 41.98 kB / 465 MB, free: 20.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.46e-05/0.5159, allocations: 32.72 kB / 465 MB, free: 20.69 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005094/0.5164, allocations: 448.7 kB / 465.5 MB, free: 20.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5164, allocations: 0 / 465.5 MB, free: 20.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001171/0.5176, allocations: 329.2 kB / 465.8 MB, free: 20.4 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.001838/0.5194, allocations: 0.6667 MB / 466.5 MB, free: 20.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002075/0.5215, allocations: 0.9898 MB / 467.5 MB, free: 19.67 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.082e-06/0.5215, allocations: 0 / 467.5 MB, free: 19.67 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008999/0.5225, allocations: 0.5052 MB / 468 MB, free: 19.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.5234, allocations: 145.8 kB / 468.1 MB, free: 19.34 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.5273, allocations: 2.201 MB / 470.3 MB, free: 18.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000577/0.5279, allocations: 1.012 MB / 471.3 MB, free: 17.29 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002608/0.5281, allocations: 95.05 kB / 471.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.5281, allocations: 0 / 471.4 MB, free: 17.27 MB / 350.1 MB Notification: Performance of Templates: time 0.03575/0.5639, allocations: 17.13 MB / 488.5 MB, free: 12.72 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++ 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_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