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.0009776/0.0009775, allocations: 100.2 kB / 15.71 MB, free: 452 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.001116/0.001117, allocations: 176.8 kB / 16.58 MB, free: 6.422 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.519/1.519, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.2302/0.2302, allocations: 5.376 MB / 297.1 MB, free: 3.93 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003626, allocations: 8 kB / 359.2 MB, free: 1.617 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1365, allocations: 51.6 MB / 410.8 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.008678/0.1452, allocations: 6.98 MB / 417.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006019/0.1513, allocations: 2.313 MB / 420.1 MB, free: 4.637 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.1524, allocations: 51.88 kB / 420.1 MB, free: 4.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001119/0.1535, allocations: 357.8 kB / 420.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002553/0.1561, allocations: 0.6962 MB / 421.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001622/0.1577, allocations: 0.6346 MB / 421.8 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.285/0.4427, allocations: 3.343 MB / 425.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.4557, allocations: 8.366 MB / 433.5 MB, free: 32.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002336/0.458, allocations: 1.421 MB / 434.9 MB, free: 32.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002473/0.4605, allocations: 1.663 MB / 436.6 MB, free: 32.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004553/0.461, allocations: 252.3 kB / 436.9 MB, free: 32.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.4624, allocations: 0.4915 MB / 437.3 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008251/0.4632, allocations: 0.7009 MB / 438 MB, free: 32.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001532/0.4647, allocations: 0.8112 MB / 438.9 MB, free: 32.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008168/0.4729, allocations: 7.221 MB / 446.1 MB, free: 32.24 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.929e-06/0.473, allocations: 3.406 kB / 446.1 MB, free: 32.24 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.62e-06/0.473, allocations: 0 / 446.1 MB, free: 32.24 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002982/0.4733, allocations: 0 / 446.1 MB, free: 32.24 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.01172/0.485, allocations: 3.935 MB / 450 MB, free: 30.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.4851, allocations: 9.438 kB / 450 MB, free: 30.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009438/0.4946, allocations: 1.55 MB / 451.6 MB, free: 30.65 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005025/0.4996, allocations: 2.51 MB / 454.1 MB, free: 29.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002512/0.4999, allocations: 302.6 kB / 454.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007329/0.5006, allocations: 392.7 kB / 454.8 MB, free: 29.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01339/0.514, allocations: 6.359 MB / 461.1 MB, free: 26.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.652e-05/0.5142, allocations: 2.031 kB / 461.1 MB, free: 26.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004262/0.5146, allocations: 163.8 kB / 461.3 MB, free: 26.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003488/0.5149, allocations: 201 kB / 461.5 MB, free: 26.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.5271, allocations: 5.357 MB / 466.8 MB, free: 24.44 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03818/0.5653, allocations: 21.65 MB / 488.5 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004349/0.5697, allocations: 3.833 MB / 492.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.5709, allocations: 0.756 MB / 493.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001726/0.5711, allocations: 108.6 kB / 493.2 MB, free: 5.379 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.5712, allocations: 58.06 kB / 493.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of pre-optimization done (n=92): time 3.747e-06/0.5712, allocations: 0 / 493.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of matching and sorting (n=92): time 0.003176/0.5743, allocations: 1.753 MB / 495 MB, free: 4.402 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.5744, allocations: 87.92 kB / 495.1 MB, free: 4.309 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002524/0.5769, allocations: 1.588 MB / 496.7 MB, free: 3.305 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.932e-05/0.577, allocations: 41.7 kB / 496.7 MB, free: 3.258 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009431/0.578, allocations: 1.771 MB / 498.5 MB, free: 1.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.5782, allocations: 342.2 kB / 498.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.993e-05/0.5783, allocations: 44 kB / 498.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.5785, allocations: 451.2 kB / 499.3 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001538/0.5801, allocations: 1.114 MB / 0.4887 GB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002336/0.5824, allocations: 2.049 MB / 0.4907 GB, free: 12.97 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002076/0.5845, allocations: 1.524 MB / 0.4922 GB, free: 11.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/0.5845, allocations: 16 kB / 0.4922 GB, free: 11.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=285) (initialization): time 0.004916/0.5895, allocations: 3.145 MB / 0.4953 GB, free: 8.285 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.086e-05/0.5895, allocations: 27.89 kB / 0.4953 GB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.461e-05/0.5896, allocations: 40.03 kB / 0.4953 GB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.163e-05/0.5896, allocations: 56 kB / 0.4954 GB, free: 8.164 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.5915, allocations: 0.5732 MB / 0.4959 GB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.17e-05/0.5915, allocations: 71.72 kB / 0.496 GB, free: 7.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.5932, allocations: 340.9 kB / 0.4963 GB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.5934, allocations: 124 kB / 0.4964 GB, free: 7.062 MB / 366.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00314/0.5965, allocations: 1.633 MB / 0.498 GB, free: 5.418 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003641/0.5969, allocations: 126.4 kB / 0.4982 GB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/0.5994, allocations: 1.487 MB / 0.4996 GB, free: 3.797 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001614/0.6011, allocations: 1.151 MB / 0.5007 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.6011, allocations: 0 / 0.5007 GB, free: 2.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.543e-05/0.6011, allocations: 11.95 kB / 0.5007 GB, free: 2.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007551/0.6087, allocations: 4.43 MB / 0.5051 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.408e-06/0.6087, allocations: 0 / 0.5051 GB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008662/0.6096, allocations: 223.8 kB / 0.5053 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-05/0.6096, allocations: 4 kB / 0.5053 GB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/0.6097, allocations: 23.98 kB / 0.5053 GB, free: 13.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.237e-05/0.6097, allocations: 7.938 kB / 0.5053 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.6097, allocations: 0 / 0.5053 GB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.6129, allocations: 2.262 MB / 0.5075 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006234/0.6135, allocations: 343 kB / 0.5079 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001447/0.6137, allocations: 16 kB / 0.5079 GB, free: 11.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.6142, allocations: 59.94 kB / 0.5079 GB, free: 11.18 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.6143, allocations: 64.84 kB / 0.508 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.399e-05/0.6144, allocations: 24 kB / 0.508 GB, free: 11.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001657/0.616, allocations: 1.093 MB / 0.5091 GB, free: 9.992 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6161, allocations: 4.062 kB / 0.5091 GB, free: 9.988 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002648/0.6187, allocations: 0.8509 MB / 0.5099 GB, free: 9.133 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003672/0.6191, allocations: 187.9 kB / 0.5101 GB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00348/0.6226, allocations: 2.103 MB / 0.5121 GB, free: 6.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.6226, allocations: 4.125 kB / 0.5122 GB, free: 6.836 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00089/0.6235, allocations: 0.6263 MB / 0.5128 GB, free: 6.207 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6251, allocations: 286.8 kB / 0.513 GB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01224/0.6373, allocations: 7.073 MB / 0.5199 GB, free: 14.8 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002931/0.6403, allocations: 2.832 MB / 0.5227 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006727/0.641, allocations: 143.3 kB / 0.5228 GB, free: 11.8 MB / 398.1 MB Notification: Performance of SimCode: time 1.212e-06/0.641, allocations: 0 / 0.5228 GB, free: 11.8 MB / 398.1 MB Notification: Performance of Templates: time 0.08153/0.7226, allocations: 49.41 MB / 0.5711 GB, free: 10.52 MB / 446.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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