Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.conf.json 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 2.0.0/package.mo", uses=false) Using package PhotoVoltaics with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 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) Running command: translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") translateModel(PhotoVoltaics.Examples.SimpleModuleMP3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005203/0.005203, allocations: 100.7 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 189 kB / 16.79 MB, free: 5.809 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.199/0.199, allocations: 5.39 MB / 296 MB, free: 2.934 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 360.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1284, allocations: 50.62 MB / 411.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.Examples.SimpleModuleMP3): time 0.01268/0.1411, allocations: 9.987 MB / 421.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2164/0.3576, allocations: 3.485 MB / 424.9 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001719/0.3593, allocations: 64.72 kB / 424.9 MB, free: 38.83 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005407/0.3647, allocations: 3.069 MB / 428 MB, free: 38.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004295/0.3691, allocations: 0.8962 MB / 428.9 MB, free: 38.71 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00316/0.3722, allocations: 0.8885 MB / 429.8 MB, free: 38.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004811/0.3771, allocations: 4.067 MB / 433.9 MB, free: 37.15 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009975/0.3871, allocations: 8.914 MB / 442.8 MB, free: 32.99 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002902/0.39, allocations: 2.051 MB / 444.8 MB, free: 32.07 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003473/0.3935, allocations: 2.544 MB / 447.4 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.3946, allocations: 494.2 kB / 447.9 MB, free: 30.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.3968, allocations: 0.7453 MB / 448.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008778/0.3977, allocations: 1.087 MB / 449.7 MB, free: 30.1 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002808/0.4005, allocations: 2.366 MB / 452.1 MB, free: 28.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006043/0.4066, allocations: 7.883 MB / 459.9 MB, free: 26.21 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.4066, allocations: 0 / 459.9 MB, free: 26.21 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4066, allocations: 0 / 459.9 MB, free: 26.21 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002477/0.4069, allocations: 0 / 459.9 MB, free: 26.21 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: 1141 * Number of variables: 1141 Notification: Performance of Generate backend data structure: time 0.01677/0.4236, allocations: 5.354 MB / 465.3 MB, free: 23.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/0.4237, allocations: 9.625 kB / 465.3 MB, free: 23.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009795/0.4335, allocations: 1.592 MB / 466.9 MB, free: 23.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006655/0.4402, allocations: 2.865 MB / 469.8 MB, free: 21.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.4406, allocations: 320.7 kB / 470.1 MB, free: 21.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.4423, allocations: 412.7 kB / 470.5 MB, free: 21.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01705/0.4593, allocations: 6.689 MB / 477.2 MB, free: 18.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-05/0.4595, allocations: 6.406 kB / 477.2 MB, free: 18.55 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004399/0.4599, allocations: 169.7 kB / 477.3 MB, free: 18.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002804/0.4602, allocations: 211.2 kB / 477.5 MB, free: 18.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01073/0.471, allocations: 5.641 MB / 483.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03089/0.5019, allocations: 22.76 MB / 0.4941 GB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005756/0.5077, allocations: 4.423 MB / 0.4984 GB, free: 4.891 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001441/0.5092, allocations: 0.8785 MB / 0.4993 GB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/0.5094, allocations: 112.7 kB / 0.4994 GB, free: 3.887 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/0.5111, allocations: 0.8292 MB / 0.5002 GB, free: 3.031 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 2.845e-06/0.5111, allocations: 0 / 0.5002 GB, free: 3.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=112): time 0.005029/0.5161, allocations: 2.378 MB / 0.5025 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.5162, allocations: 149.5 kB / 0.5026 GB, free: 456 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002793/0.519, allocations: 1.82 MB / 0.5044 GB, free: 14.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.5191, allocations: 41.7 kB / 0.5045 GB, free: 14.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00194/0.5211, allocations: 1.96 MB / 0.5064 GB, free: 12.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003965/0.5215, allocations: 402.4 kB / 0.5068 GB, free: 12.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000823/0.5223, allocations: 0.5434 MB / 0.5073 GB, free: 11.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.5225, allocations: 305.1 kB / 0.5076 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001811/0.5243, allocations: 1.125 MB / 0.5087 GB, free: 10.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002548/0.5268, allocations: 2.216 MB / 0.5108 GB, free: 7.488 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004314/0.5312, allocations: 3.458 MB / 0.5142 GB, free: 3.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.538e-05/0.5312, allocations: 12 kB / 0.5142 GB, free: 3.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=322) (initialization): time 0.006101/0.5373, allocations: 3.56 MB / 0.5177 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.639e-05/0.5374, allocations: 49.64 kB / 0.5178 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.126e-05/0.5375, allocations: 36 kB / 0.5178 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005291/0.538, allocations: 132.9 kB / 0.5179 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002054/0.5401, allocations: 0.6083 MB / 0.5185 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001665/0.5417, allocations: 1.532 MB / 0.52 GB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.5439, allocations: 364.9 kB / 0.5204 GB, free: 13.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002147/0.5442, allocations: 140 kB / 0.5205 GB, free: 12.91 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 168 * Number of states: 0 () * Number of discrete variables: 11 (mpTracker.signv,$PRE.mpTracker.signv,mpTracker.firstTrigger,$PRE.mpTracker.firstTrigger,mpTracker.counter,$PRE.mpTracker.counter,mpTracker.sampleTrigger,$whenCondition1,mpTracker.vRef,$PRE.mpTracker.vRef,converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (316): * Single equations (assignments): 310 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.002994/0.5472, allocations: 1.716 MB / 0.5222 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000424/0.5476, allocations: 158 kB / 0.5223 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003341/0.5509, allocations: 1.867 MB / 0.5241 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002503/0.5535, allocations: 1.508 MB / 0.5256 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.5535, allocations: 11.98 kB / 0.5256 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.467e-05/0.5535, allocations: 7.922 kB / 0.5256 GB, free: 7.586 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01022/0.5637, allocations: 5.287 MB / 0.5308 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5638, allocations: 4 kB / 0.5308 GB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008196/0.5646, allocations: 211.7 kB / 0.531 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006108/0.5652, allocations: 258.5 kB / 0.5312 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.649e-05/0.5653, allocations: 28 kB / 0.5313 GB, free: 1.738 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001108/0.5664, allocations: 0.8389 MB / 0.5321 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.5664, allocations: 0 / 0.5321 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005879/0.5723, allocations: 2.879 MB / 0.5349 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008934/0.5732, allocations: 366.8 kB / 0.5353 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.5735, allocations: 31.89 kB / 0.5353 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008264/0.5743, allocations: 83.91 kB / 0.5354 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001697/0.5745, allocations: 72.97 kB / 0.5354 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/0.5746, allocations: 39.92 kB / 0.5355 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001882/0.5765, allocations: 1.241 MB / 0.5367 GB, free: 12.1 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5765, allocations: 0 / 0.5367 GB, free: 12.1 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002836/0.5793, allocations: 0.9444 MB / 0.5376 GB, free: 11.15 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (converter.integrator.y,voltageSource.plug_p.reference.gamma) * Number of discrete variables: 6 ($whenCondition1,mpTracker.firstTrigger,mpTracker.sampleTrigger,mpTracker.counter,mpTracker.signv,mpTracker.vRef) * Number of discrete states: 7 (mpTracker.signv,mpTracker.vRef,mpTracker.firstTrigger,mpTracker.counter,$whenCondition1,mpTracker.sampleTrigger,mpTracker.power) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 105 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * 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,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004017/0.5797, allocations: 191 kB / 0.5378 GB, free: 10.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004376/0.5841, allocations: 2.551 MB / 0.5403 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.5842, allocations: 0 / 0.5403 GB, free: 8.387 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00133/0.5855, allocations: 0.8367 MB / 0.5411 GB, free: 7.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.5874, allocations: 347.5 kB / 0.5414 GB, free: 7.207 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01313/0.6005, allocations: 8.11 MB / 0.5493 GB, free: 15.05 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002817/0.6034, allocations: 2.962 MB / 0.5522 GB, free: 12.06 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007569/0.6042, allocations: 155.4 kB / 0.5524 GB, free: 11.91 MB / 430.1 MB Notification: Performance of SimCode: time 1.954e-06/0.6042, allocations: 0 / 0.5524 GB, free: 11.91 MB / 430.1 MB Notification: Performance of Templates: time 0.3237/0.9279, allocations: 79.19 MB / 0.6297 GB, free: 102.7 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.Examples.SimpleModuleMP3CalcHelperMain.o] Error 1