Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") translateModel(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04261/0.04261, allocations: 5.379 MB / 20.99 MB, free: 1.719 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.0007943/0.0007947, allocations: 105.7 kB / 22.97 MB, free: 440 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.001725/0.001725, allocations: 183.8 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.585/1.585, allocations: 223.3 MB / 250.3 MB, free: 15.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.008886/0.008886, allocations: 2.321 MB / 304.9 MB, free: 3.297 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0005902/0.0005906, allocations: 12 kB / 368.9 MB, free: 10.83 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1688, allocations: 52.21 MB / 421.1 MB, free: 6.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.009722/0.1786, allocations: 5.946 MB / 427 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3443/0.5229, allocations: 3.632 MB / 430.6 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.5241, allocations: 19.53 kB / 430.7 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001448/0.5255, allocations: 394.2 kB / 431.1 MB, free: 35.44 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002331/0.5279, allocations: 0.6857 MB / 431.7 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.5297, allocations: 423 kB / 432.2 MB, free: 35.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001865/0.5316, allocations: 1.231 MB / 433.4 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002341/0.5339, allocations: 1.247 MB / 434.6 MB, free: 34.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009137/0.5348, allocations: 446 kB / 435.1 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009132/0.5358, allocations: 0.5573 MB / 435.6 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001491/0.5359, allocations: 61.78 kB / 435.7 MB, free: 34.49 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001321/0.5372, allocations: 331.1 kB / 436 MB, free: 34.46 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003842/0.5376, allocations: 216.8 kB / 436.2 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.538, allocations: 229.7 kB / 436.4 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.5397, allocations: 1.334 MB / 437.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.5397, allocations: 0 / 437.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.036e-06/0.5397, allocations: 0 / 437.8 MB, free: 34.23 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.5397, allocations: 0 / 437.8 MB, free: 34.23 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.003767/0.5435, allocations: 1.592 MB / 439.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.5436, allocations: 9.594 kB / 439.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002034/0.5456, allocations: 380.7 kB / 439.7 MB, free: 33.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001838/0.5475, allocations: 0.7992 MB / 440.5 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.5476, allocations: 83.77 kB / 440.6 MB, free: 33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001836/0.5478, allocations: 109.7 kB / 440.7 MB, free: 32.99 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002215/0.55, allocations: 1.168 MB / 441.9 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.55, allocations: 3.219 kB / 441.9 MB, free: 32.82 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5501, allocations: 44.31 kB / 442 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.469e-05/0.5502, allocations: 28.19 kB / 442 MB, free: 32.81 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00193/0.5521, allocations: 1.072 MB / 443 MB, free: 32.79 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006154/0.5583, allocations: 4.386 MB / 447.4 MB, free: 30.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.5608, allocations: 1.758 MB / 449.2 MB, free: 29.69 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005922/0.5614, allocations: 329.3 kB / 449.5 MB, free: 29.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.414e-05/0.5615, allocations: 96.28 kB / 449.6 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008788/0.5624, allocations: 466.1 kB / 450.1 MB, free: 29.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=69): time 2.595e-06/0.5624, allocations: 0.75 kB / 450.1 MB, free: 29.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=69): time 0.005505/0.5679, allocations: 1.632 MB / 451.7 MB, free: 28.65 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.568, allocations: 226.5 kB / 451.9 MB, free: 28.4 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009248/0.569, allocations: 0.6439 MB / 452.6 MB, free: 28.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.569, allocations: 43.98 kB / 452.6 MB, free: 28.05 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004131/0.5694, allocations: 0.5151 MB / 453.1 MB, free: 27.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.5696, allocations: 238.5 kB / 453.4 MB, free: 27.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.756e-05/0.5697, allocations: 15.06 kB / 453.4 MB, free: 27.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.5698, allocations: 392.4 kB / 453.8 MB, free: 27.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005783/0.5704, allocations: 299.3 kB / 454 MB, free: 27.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000692/0.5711, allocations: 0.5335 MB / 454.6 MB, free: 26.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006897/0.5718, allocations: 423.5 kB / 455 MB, free: 26.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5718, allocations: 0 / 455 MB, free: 26.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00198/0.5738, allocations: 1.117 MB / 456.1 MB, free: 25.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.368e-05/0.5739, allocations: 63.53 kB / 456.2 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.5739, allocations: 12.91 kB / 456.2 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004748/0.5744, allocations: 84.53 kB / 456.3 MB, free: 25.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.5752, allocations: 224.3 kB / 456.5 MB, free: 25.78 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.5766, allocations: 1.474 MB / 458 MB, free: 24.35 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000775/0.5774, allocations: 118.3 kB / 458.1 MB, free: 24.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.231e-05/0.5775, allocations: 42.86 kB / 458.1 MB, free: 24.28 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.0006136/0.5781, allocations: 340 kB / 458.4 MB, free: 24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.5783, allocations: 85.08 kB / 458.5 MB, free: 23.96 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.5802, allocations: 1.011 MB / 459.5 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.5802, allocations: 6.344 kB / 459.5 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.5802, allocations: 7.172 kB / 459.6 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.5802, allocations: 3.469 kB / 459.6 MB, free: 23.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00584/0.5861, allocations: 2.344 MB / 461.9 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/0.5861, allocations: 7.719 kB / 461.9 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003756/0.5865, allocations: 93.75 kB / 462 MB, free: 22.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008525/0.5873, allocations: 337.5 kB / 462.3 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.955e-05/0.5874, allocations: 26.84 kB / 462.4 MB, free: 22.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001231/0.5887, allocations: 0.9011 MB / 463.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.5887, allocations: 3.938 kB / 463.3 MB, free: 21.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002617/0.5913, allocations: 1.416 MB / 464.7 MB, free: 21.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000483/0.5918, allocations: 233.2 kB / 464.9 MB, free: 20.83 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/0.592, allocations: 24.92 kB / 464.9 MB, free: 20.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000614/0.5926, allocations: 53 kB / 465 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.5927, allocations: 44.11 kB / 465 MB, free: 20.8 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.642e-05/0.5928, allocations: 31.8 kB / 465.1 MB, free: 20.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000858/0.5937, allocations: 449.8 kB / 465.5 MB, free: 20.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5937, allocations: 0 / 465.5 MB, free: 20.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001619/0.5953, allocations: 322 kB / 465.8 MB, free: 20.5 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.001988/0.5973, allocations: 0.6684 MB / 466.5 MB, free: 20.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.5996, allocations: 0.989 MB / 467.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5996, allocations: 0 / 467.5 MB, free: 19.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008981/0.6005, allocations: 0.5003 MB / 468 MB, free: 19.51 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.6015, allocations: 148 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.004422/0.606, allocations: 2.203 MB / 470.3 MB, free: 18.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008704/0.6069, allocations: 1.018 MB / 471.3 MB, free: 17.39 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003505/0.6072, allocations: 85.7 kB / 471.4 MB, free: 17.38 MB / 350.1 MB Notification: Performance of SimCode: time 1.794e-06/0.6072, allocations: 6.406 kB / 471.4 MB, free: 17.37 MB / 350.1 MB Notification: Performance of Templates: time 0.04788/0.6551, allocations: 17.13 MB / 488.6 MB, free: 12.75 MB / 350.1 MB make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.makefile make -j1 -f PhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808.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_20160808CalcHelperMain.o OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_TGM_PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808CalcHelperMain.o] Error 1