Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 96.14 kB / 15.87 MB, free: 16 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.001153/0.001152, allocations: 195 kB / 16.79 MB, free: 6.812 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.438/1.438, allocations: 222.9 MB / 240.5 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1592/0.1592, allocations: 5.377 MB / 296 MB, free: 3.004 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001088/0.001089, allocations: 59.91 kB / 357.4 MB, free: 2.086 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1152, allocations: 50.61 MB / 408 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01035/0.1256, allocations: 8.044 MB / 416 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005838/0.1315, allocations: 2.527 MB / 418.5 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.1328, allocations: 55.88 kB / 418.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006051/0.1389, allocations: 2.868 MB / 421.5 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003285/0.1422, allocations: 0.7701 MB / 422.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.144, allocations: 0.7828 MB / 423 MB, free: 328 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.237/0.3811, allocations: 3.511 MB / 426.5 MB, free: 35.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009015/0.3902, allocations: 8.767 MB / 435.3 MB, free: 33.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002314/0.3925, allocations: 1.862 MB / 437.2 MB, free: 32.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00202/0.3945, allocations: 2.299 MB / 439.5 MB, free: 31.26 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004965/0.395, allocations: 464.4 kB / 439.9 MB, free: 31.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001219/0.3963, allocations: 0.7129 MB / 440.6 MB, free: 31.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006222/0.3969, allocations: 1.007 MB / 441.6 MB, free: 30.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.3986, allocations: 2.15 MB / 443.8 MB, free: 29.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004518/0.4031, allocations: 7.447 MB / 451.2 MB, free: 27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.4031, allocations: 0 / 451.2 MB, free: 27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.4032, allocations: 3.031 kB / 451.2 MB, free: 27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001085/0.4033, allocations: 0 / 451.2 MB, free: 27 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: 1072 * Number of variables: 1072 Notification: Performance of Generate backend data structure: time 0.01085/0.4141, allocations: 4.802 MB / 456 MB, free: 24.58 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/0.4142, allocations: 9.062 kB / 456 MB, free: 24.58 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008609/0.4228, allocations: 1.54 MB / 457.6 MB, free: 24.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.4266, allocations: 2.539 MB / 460.1 MB, free: 22.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002543/0.4268, allocations: 296.6 kB / 460.4 MB, free: 22.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006242/0.4275, allocations: 388.6 kB / 460.8 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01112/0.4386, allocations: 6.391 MB / 467.2 MB, free: 20.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.972e-05/0.4387, allocations: 3.391 kB / 467.2 MB, free: 20.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.4391, allocations: 158.9 kB / 467.3 MB, free: 19.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002118/0.4393, allocations: 200.9 kB / 467.5 MB, free: 19.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009065/0.4483, allocations: 5.381 MB / 472.9 MB, free: 17.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0305/0.4789, allocations: 21.63 MB / 494.5 MB, free: 2.746 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004332/0.4833, allocations: 3.831 MB / 498.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.4844, allocations: 0.7572 MB / 499.1 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001455/0.4846, allocations: 109.2 kB / 499.2 MB, free: 13.61 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/0.4846, allocations: 47.5 kB / 499.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.965e-06/0.4846, allocations: 0 / 499.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.002905/0.4875, allocations: 1.748 MB / 0.4893 GB, free: 11.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.06e-05/0.4876, allocations: 93.56 kB / 0.4894 GB, free: 11.7 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/0.4898, allocations: 1.598 MB / 0.4909 GB, free: 10.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.4899, allocations: 41.7 kB / 0.491 GB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.491, allocations: 1.769 MB / 0.4927 GB, free: 8.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/0.4913, allocations: 342.4 kB / 0.493 GB, free: 7.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007031/0.492, allocations: 0.4957 MB / 0.4935 GB, free: 7.422 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4922, allocations: 353.9 kB / 0.4939 GB, free: 7.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.4937, allocations: 1.124 MB / 0.495 GB, free: 5.938 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/0.4959, allocations: 2.049 MB / 0.497 GB, free: 3.398 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003555/0.4994, allocations: 3.146 MB / 0.5 GB, free: 15.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.572e-05/0.4995, allocations: 8 kB / 0.5 GB, free: 15.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004555/0.504, allocations: 3.166 MB / 0.5031 GB, free: 12.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.5041, allocations: 20 kB / 0.5032 GB, free: 12.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.409e-05/0.5041, allocations: 36 kB / 0.5032 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.488e-05/0.5042, allocations: 52 kB / 0.5032 GB, free: 12.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.506, allocations: 0.5576 MB / 0.5038 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.509e-05/0.506, allocations: 71.72 kB / 0.5038 GB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001488/0.5075, allocations: 337 kB / 0.5042 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.5077, allocations: 124 kB / 0.5043 GB, free: 11.66 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.plug_p.reference.gamma:VARIABLE(flow=false start = 0.0 unit = "rad" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 161 * Number of states: 0 () * Number of discrete variables: 1 (converter.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (281): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002526/0.5103, allocations: 1.64 MB / 0.5059 GB, free: 10.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002596/0.5105, allocations: 134.3 kB / 0.506 GB, free: 9.875 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002332/0.5129, allocations: 1.472 MB / 0.5075 GB, free: 8.398 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001629/0.5145, allocations: 1.147 MB / 0.5086 GB, free: 7.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.5145, allocations: 3.938 kB / 0.5086 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/0.5145, allocations: 7.984 kB / 0.5086 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006903/0.5214, allocations: 4.428 MB / 0.5129 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.5215, allocations: 0 / 0.5129 GB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008526/0.5223, allocations: 211.7 kB / 0.5131 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.337e-06/0.5224, allocations: 4 kB / 0.5131 GB, free: 2.535 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.782e-05/0.5224, allocations: 20 kB / 0.5131 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.348e-06/0.5224, allocations: 8.109 kB / 0.5131 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5224, allocations: 8 kB / 0.5132 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.5255, allocations: 2.25 MB / 0.5153 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/0.5261, allocations: 319.1 kB / 0.5157 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001699/0.5263, allocations: 24 kB / 0.5157 GB, free: 15.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005912/0.5269, allocations: 59.92 kB / 0.5157 GB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.527, allocations: 60.86 kB / 0.5158 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.85e-05/0.5271, allocations: 27.98 kB / 0.5158 GB, free: 15.72 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001574/0.5286, allocations: 1.105 MB / 0.5169 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5287, allocations: 0 / 0.5169 GB, free: 14.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00273/0.5314, allocations: 0.8548 MB / 0.5177 GB, free: 13.75 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (voltageSource.plug_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003586/0.5318, allocations: 180.9 kB / 0.5179 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003424/0.5352, allocations: 2.099 MB / 0.52 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.5352, allocations: 0 / 0.52 GB, free: 11.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008964/0.5361, allocations: 0.6191 MB / 0.5206 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/0.5377, allocations: 292.2 kB / 0.5208 GB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/0.5486, allocations: 7.395 MB / 0.5281 GB, free: 3.121 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002683/0.5513, allocations: 2.828 MB / 0.5308 GB, free: 268 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006141/0.5519, allocations: 139.4 kB / 0.531 GB, free: 128 kB / 398.1 MB Notification: Performance of SimCode: time 1.012e-06/0.5519, allocations: 0 / 0.531 GB, free: 128 kB / 398.1 MB Notification: Performance of Templates: time 0.2662/0.8181, allocations: 49.76 MB / 0.5796 GB, free: 125.7 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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.ComponentTesting.PolyphaseVoltageControlledConverterCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverterCalcHelperMain.o] Error 1