Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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) Ignoring simflag -noemit -cpu=() since it seems broken on HelloWorld Running command: translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004,tolerance=1e-08,outputFormat="empty",numberOfIntervals=195840,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02962/0.02962, allocations: 5.376 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.0006585/0.0006587, 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.001026/0.001026, allocations: 185.5 kB / 25.04 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.572/1.572, 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.00915/0.009151, allocations: 2.312 MB / 304.8 MB, free: 3.223 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005805/0.0005807, allocations: 20.22 kB / 372.2 MB, free: 7.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1531, allocations: 52.2 MB / 424.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004): time 0.3369/0.4901, allocations: 5.951 MB / 430.4 MB, free: 38.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006979/0.4971, allocations: 3.625 MB / 434 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008254/0.498, allocations: 19.16 kB / 434 MB, free: 38.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.4993, allocations: 391.8 kB / 434.4 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.5012, allocations: 0.6838 MB / 435.1 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00148/0.5027, allocations: 424.7 kB / 435.5 MB, free: 38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001401/0.5041, allocations: 1.236 MB / 436.7 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002389/0.5065, allocations: 1.256 MB / 438 MB, free: 37.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008182/0.5073, allocations: 439.6 kB / 438.4 MB, free: 37.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008178/0.5082, allocations: 0.5631 MB / 439 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.5083, allocations: 58.62 kB / 439 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008519/0.5092, allocations: 331.3 kB / 439.4 MB, free: 37.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001928/0.5094, allocations: 210.3 kB / 439.6 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003661/0.5097, allocations: 234.2 kB / 439.8 MB, free: 36.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001196/0.5109, allocations: 1.335 MB / 441.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.511, allocations: 0 / 441.1 MB, free: 36.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.255e-06/0.511, allocations: 4 kB / 441.1 MB, free: 36.67 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.511, allocations: 0 / 441.1 MB, free: 36.67 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.003358/0.5143, allocations: 1.583 MB / 442.7 MB, free: 35.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.5144, allocations: 13.97 kB / 442.7 MB, free: 35.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00187/0.5163, allocations: 384.9 kB / 443.1 MB, free: 35.6 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.5179, allocations: 0.7998 MB / 443.9 MB, free: 35.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.518, allocations: 83.11 kB / 444 MB, free: 35.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.5181, allocations: 112.9 kB / 444.1 MB, free: 35.03 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001984/0.5201, allocations: 1.17 MB / 445.3 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.5202, allocations: 6.844 kB / 445.3 MB, free: 34.47 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.429e-05/0.5203, allocations: 41.31 kB / 445.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.542e-05/0.5203, allocations: 28.53 kB / 445.3 MB, free: 34.44 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001944/0.5223, allocations: 1.066 MB / 446.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005872/0.5281, allocations: 4.39 MB / 450.8 MB, free: 31.22 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002223/0.5304, allocations: 1.744 MB / 452.5 MB, free: 29.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006299/0.531, allocations: 327.5 kB / 452.9 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001071/0.5312, allocations: 101.5 kB / 453 MB, free: 29.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009039/0.5321, allocations: 462 kB / 453.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 4.037e-06/0.5321, allocations: 2.812 kB / 453.4 MB, free: 29.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005114/0.5372, allocations: 1.635 MB / 455 MB, free: 28.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.5373, allocations: 215.7 kB / 455.3 MB, free: 28.54 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008376/0.5382, allocations: 0.6498 MB / 455.9 MB, free: 28.24 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.422e-05/0.5383, allocations: 44.02 kB / 455.9 MB, free: 28.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/0.5386, allocations: 0.5159 MB / 456.5 MB, free: 27.78 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.5388, allocations: 237.6 kB / 456.7 MB, free: 27.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/0.5389, allocations: 19.25 kB / 456.7 MB, free: 27.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001555/0.539, allocations: 390.3 kB / 457.1 MB, free: 27.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.5396, allocations: 299.1 kB / 457.4 MB, free: 27.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/0.5403, allocations: 0.5348 MB / 457.9 MB, free: 26.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006923/0.541, allocations: 423.1 kB / 458.3 MB, free: 26.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.541, allocations: 5.938 kB / 458.3 MB, free: 26.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001931/0.543, allocations: 1.109 MB / 459.4 MB, free: 26.01 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.45e-05/0.5431, allocations: 68.05 kB / 459.5 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.5431, allocations: 13.25 kB / 459.5 MB, free: 25.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004284/0.5435, allocations: 81.52 kB / 459.6 MB, free: 25.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007846/0.5443, allocations: 228.9 kB / 459.8 MB, free: 25.91 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00136/0.5457, allocations: 1.477 MB / 461.3 MB, free: 24.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006762/0.5464, allocations: 111.8 kB / 461.4 MB, free: 24.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.947e-05/0.5465, allocations: 47.45 kB / 461.5 MB, free: 24.4 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.0004815/0.5469, allocations: 336.9 kB / 461.8 MB, free: 24.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.5471, allocations: 84.95 kB / 461.9 MB, free: 24.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001857/0.5489, allocations: 1.014 MB / 462.9 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-06/0.5489, allocations: 6 kB / 462.9 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.549, allocations: 7.797 kB / 462.9 MB, free: 23.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.549, allocations: 7.516 kB / 462.9 MB, free: 23.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/0.5549, allocations: 2.337 MB / 465.2 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.5549, allocations: 0 / 465.2 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003759/0.5553, allocations: 99.08 kB / 465.3 MB, free: 22.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007922/0.5561, allocations: 333.2 kB / 465.7 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.132e-05/0.5562, allocations: 23.41 kB / 465.7 MB, free: 22.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.5574, allocations: 0.9114 MB / 466.6 MB, free: 21.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5574, allocations: 0 / 466.6 MB, free: 21.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002648/0.56, allocations: 1.413 MB / 468 MB, free: 21.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.5605, allocations: 235.1 kB / 468.2 MB, free: 20.94 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.5606, allocations: 24.12 kB / 468.3 MB, free: 20.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.5611, allocations: 53.86 kB / 468.3 MB, free: 20.92 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/0.5613, allocations: 39.7 kB / 468.4 MB, free: 20.91 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.163e-05/0.5614, allocations: 34.06 kB / 468.4 MB, free: 20.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007194/0.5621, allocations: 454.1 kB / 468.8 MB, free: 20.7 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5621, allocations: 0 / 468.8 MB, free: 20.7 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001397/0.5635, allocations: 324.4 kB / 469.2 MB, free: 20.61 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.001904/0.5654, allocations: 0.6712 MB / 469.8 MB, free: 20.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.5673, allocations: 0.9955 MB / 470.8 MB, free: 19.85 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5674, allocations: 0 / 470.8 MB, free: 19.85 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007666/0.5681, allocations: 0.4951 MB / 471.3 MB, free: 19.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008056/0.569, allocations: 149.2 kB / 471.5 MB, free: 19.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.5733, allocations: 2.195 MB / 473.7 MB, free: 18.2 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008025/0.5741, allocations: 1.024 MB / 474.7 MB, free: 17.47 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.5744, allocations: 86.52 kB / 474.8 MB, free: 17.45 MB / 350.1 MB Notification: Performance of SimCode: time 1.162e-06/0.5744, allocations: 3.938 kB / 474.8 MB, free: 17.45 MB / 350.1 MB Notification: Performance of Templates: time 0.03767/0.6121, allocations: 17.14 MB / 491.9 MB, free: 12.57 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004.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_20160626_to_20161004CalcHelperMain.o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160626_to_20161004CalcHelperMain.o] Error 1