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/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/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 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 175.5 kB / 16.1 MB, free: 0 / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.427/1.427, allocations: 223.3 MB / 240.1 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008055/0.0008056, allocations: 94.61 kB / 291.3 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02351/0.02351, allocations: 5.394 MB / 347.8 MB, free: 7.848 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics_TGM 2.0.0/package.mo): time 0.00881/0.00881, allocations: 2.318 MB / 402.5 MB, free: 1.191 MB / 286.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Rkfix4" Notification: Performance of FrontEnd - loaded program: time 0.0004273/0.0004273, allocations: 16 kB / 466.7 MB, free: 42.33 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3614, allocations: 52.2 MB / 0.5068 GB, free: 7.281 MB / 286.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics_TGM.TGM_Trina_Measurement_20160808): time 0.007382/0.3688, allocations: 6.325 MB / 0.513 GB, free: 2.621 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.007263/0.3761, allocations: 3.836 MB / 0.5167 GB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.3773, allocations: 20.44 kB / 0.5167 GB, free: 15.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.3794, allocations: 453.5 kB / 0.5172 GB, free: 15.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002465/0.3819, allocations: 0.7566 MB / 0.5179 GB, free: 15.2 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002009/0.3839, allocations: 0.4915 MB / 0.5184 GB, free: 14.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001781/0.3857, allocations: 1.312 MB / 0.5197 GB, free: 14.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002416/0.3882, allocations: 1.42 MB / 0.521 GB, free: 13.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008281/0.389, allocations: 461.3 kB / 0.5215 GB, free: 12.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.3898, allocations: 0.5798 MB / 0.522 GB, free: 12.44 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.3899, allocations: 63.59 kB / 0.5221 GB, free: 12.44 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.391, allocations: 351.7 kB / 0.5224 GB, free: 12.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.3913, allocations: 220.9 kB / 0.5227 GB, free: 12.12 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.3919, allocations: 0.5662 MB / 0.5232 GB, free: 11.7 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.3934, allocations: 1.335 MB / 0.5245 GB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3934, allocations: 0 / 0.5245 GB, free: 10.7 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.3934, allocations: 0 / 0.5245 GB, free: 10.7 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3934, allocations: 1.031 kB / 0.5245 GB, free: 10.7 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.003978/0.3974, allocations: 1.578 MB / 0.526 GB, free: 9.523 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.3975, allocations: 9.781 kB / 0.5261 GB, free: 9.523 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002188/0.3996, allocations: 377.7 kB / 0.5264 GB, free: 9.363 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.4015, allocations: 0.8364 MB / 0.5272 GB, free: 8.695 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.607e-05/0.4017, allocations: 78.98 kB / 0.5273 GB, free: 8.66 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00019/0.4018, allocations: 106.8 kB / 0.5274 GB, free: 8.625 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002327/0.4042, allocations: 1.176 MB / 0.5286 GB, free: 7.648 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.4042, allocations: 4 kB / 0.5286 GB, free: 7.645 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.4043, allocations: 48 kB / 0.5286 GB, free: 7.598 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.629e-05/0.4044, allocations: 28 kB / 0.5286 GB, free: 7.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.4064, allocations: 1.077 MB / 0.5297 GB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006291/0.4127, allocations: 4.388 MB / 0.534 GB, free: 1.902 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00255/0.4153, allocations: 1.747 MB / 0.5357 GB, free: 15.95 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006479/0.4159, allocations: 332.2 kB / 0.536 GB, free: 15.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.312e-05/0.416, allocations: 93.66 kB / 0.5361 GB, free: 15.5 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008297/0.4169, allocations: 473.7 kB / 0.5365 GB, free: 15.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=69): time 2.535e-06/0.4169, allocations: 0 / 0.5365 GB, free: 15.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=69): time 0.00564/0.4225, allocations: 1.631 MB / 0.5381 GB, free: 13.34 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001344/0.4227, allocations: 226.2 kB / 0.5383 GB, free: 13.07 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008479/0.4235, allocations: 0.6486 MB / 0.539 GB, free: 12.41 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.671e-05/0.4236, allocations: 41.7 kB / 0.539 GB, free: 12.37 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.424, allocations: 0.5257 MB / 0.5395 GB, free: 11.83 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.4242, allocations: 228.8 kB / 0.5398 GB, free: 11.61 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.4244, allocations: 85.66 kB / 0.5398 GB, free: 11.52 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.4246, allocations: 402.7 kB / 0.5402 GB, free: 11.11 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006242/0.4252, allocations: 293.8 kB / 0.5405 GB, free: 10.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008022/0.426, allocations: 0.5387 MB / 0.541 GB, free: 10.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.4275, allocations: 0.9478 MB / 0.5419 GB, free: 9.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.4275, allocations: 4 kB / 0.542 GB, free: 9.102 MB / 318.1 MB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002209/0.4297, allocations: 1.114 MB / 0.543 GB, free: 7.965 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.4298, allocations: 71.67 kB / 0.5431 GB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.4298, allocations: 8 kB / 0.5431 GB, free: 7.875 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004703/0.4303, allocations: 80.78 kB / 0.5432 GB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008396/0.4311, allocations: 231.5 kB / 0.5434 GB, free: 7.566 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001511/0.4326, allocations: 1.476 MB / 0.5449 GB, free: 5.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008118/0.4335, allocations: 107 kB / 0.545 GB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.121e-05/0.4335, allocations: 43.98 kB / 0.545 GB, free: 5.809 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.0006715/0.4342, allocations: 348 kB / 0.5453 GB, free: 5.445 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001359/0.4344, allocations: 86.91 kB / 0.5454 GB, free: 5.359 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.4365, allocations: 1.014 MB / 0.5464 GB, free: 4.312 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.4365, allocations: 4 kB / 0.5464 GB, free: 4.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.4365, allocations: 8 kB / 0.5464 GB, free: 4.301 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-06/0.4365, allocations: 3.984 kB / 0.5464 GB, free: 4.297 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006072/0.4426, allocations: 2.345 MB / 0.5487 GB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.4426, allocations: 0 / 0.5487 GB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.443, allocations: 95.89 kB / 0.5488 GB, free: 1.785 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008553/0.4439, allocations: 338.3 kB / 0.5491 GB, free: 1.445 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.971e-05/0.444, allocations: 31.95 kB / 0.5492 GB, free: 1.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/0.4454, allocations: 0.9014 MB / 0.55 GB, free: 492 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.4454, allocations: 3.938 kB / 0.55 GB, free: 488 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00283/0.4482, allocations: 1.416 MB / 0.5514 GB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004236/0.4487, allocations: 235.9 kB / 0.5516 GB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001198/0.4488, allocations: 24 kB / 0.5517 GB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005507/0.4493, allocations: 55.97 kB / 0.5517 GB, free: 14.69 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.4495, allocations: 44.5 kB / 0.5518 GB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.4495, allocations: 31.97 kB / 0.5518 GB, free: 14.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0005926/0.4501, allocations: 459 kB / 0.5522 GB, free: 14.17 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4501, allocations: 0 / 0.5522 GB, free: 14.17 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.001144/0.4513, allocations: 326.9 kB / 0.5525 GB, free: 13.85 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.001472/0.4528, allocations: 0.6532 MB / 0.5532 GB, free: 13.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.4547, allocations: 1.004 MB / 0.5542 GB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.4547, allocations: 0 / 0.5542 GB, free: 12.39 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.4556, allocations: 0.4943 MB / 0.5546 GB, free: 11.88 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009584/0.4566, allocations: 152 kB / 0.5548 GB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00401/0.4606, allocations: 2.321 MB / 0.5571 GB, free: 9.363 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007212/0.4613, allocations: 1.014 MB / 0.558 GB, free: 8.324 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.4617, allocations: 87.39 kB / 0.5581 GB, free: 8.238 MB / 334.1 MB Notification: Performance of SimCode: time 4.468e-06/0.4617, allocations: 0 / 0.5581 GB, free: 8.238 MB / 334.1 MB Notification: Performance of Templates: time 0.02583/0.4875, allocations: 17.11 MB / 0.5748 GB, free: 7.168 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++ -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_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