Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.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.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001094, 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.001123/0.001123, allocations: 201.5 kB / 16.79 MB, free: 6.828 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.393/1.393, allocations: 222.9 MB / 240.4 MB, free: 4.656 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.1573/0.1573, allocations: 5.381 MB / 296 MB, free: 3.043 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 59.91 kB / 357.4 MB, free: 2.133 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1188, allocations: 50.62 MB / 408 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter): time 0.005903/0.1247, allocations: 4.367 MB / 412.4 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002969/0.1277, allocations: 1.577 MB / 413.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003338/0.1281, allocations: 12 kB / 413.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002105/0.1302, allocations: 0.8445 MB / 414.8 MB, free: 8.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.1317, allocations: 0.5795 MB / 415.4 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.1322, allocations: 199.7 kB / 415.6 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006392/0.1328, allocations: 0.5335 MB / 416.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.1339, allocations: 0.6098 MB / 416.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/0.1342, allocations: 219.2 kB / 416.9 MB, free: 6.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004003/0.1347, allocations: 306.7 kB / 417.2 MB, free: 6.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.079e-05/0.1347, allocations: 48 kB / 417.3 MB, free: 6.148 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004583/0.1352, allocations: 195.8 kB / 417.5 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.1353, allocations: 127.5 kB / 417.6 MB, free: 5.832 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002839/0.1356, allocations: 286.7 kB / 417.9 MB, free: 5.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000801/0.1364, allocations: 0.717 MB / 418.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1364, allocations: 0 / 418.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1364, allocations: 0 / 418.6 MB, free: 4.832 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.758e-06/0.1365, allocations: 3.938 kB / 418.6 MB, free: 4.828 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002386/0.1389, allocations: 0.9838 MB / 419.6 MB, free: 3.793 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1389, allocations: 12.03 kB / 419.6 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/0.1409, allocations: 304 kB / 419.9 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.1414, allocations: 365.3 kB / 420.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.324e-05/0.1414, allocations: 50.38 kB / 420.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.1415, allocations: 68.38 kB / 420.3 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001335/0.1429, allocations: 0.6969 MB / 421 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.743e-05/0.1429, allocations: 3.984 kB / 421 MB, free: 2.254 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.691e-05/0.143, allocations: 32 kB / 421.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.143, allocations: 16 kB / 421.1 MB, free: 2.207 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.1442, allocations: 0.5751 MB / 421.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2051/0.3492, allocations: 2.757 MB / 424.4 MB, free: 45.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.3505, allocations: 0.8983 MB / 425.3 MB, free: 45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002621/0.3508, allocations: 128.8 kB / 425.4 MB, free: 44.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.396e-05/0.3508, allocations: 89.22 kB / 425.5 MB, free: 44.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/0.3509, allocations: 42.72 kB / 425.6 MB, free: 44.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=27): time 2.194e-06/0.3509, allocations: 0 / 425.6 MB, free: 44.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=27): time 0.0007757/0.3517, allocations: 335.5 kB / 425.9 MB, free: 44.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.3517, allocations: 80.27 kB / 426 MB, free: 44.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002542/0.352, allocations: 296.2 kB / 426.3 MB, free: 44.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.352, allocations: 29.14 kB / 426.3 MB, free: 44.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.3521, allocations: 318.7 kB / 426.6 MB, free: 44.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.359e-05/0.3522, allocations: 99.86 kB / 426.7 MB, free: 44.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/0.3523, allocations: 91.73 kB / 426.8 MB, free: 44.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.125e-05/0.3524, allocations: 339.8 kB / 427.1 MB, free: 44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.3526, allocations: 150.3 kB / 427.3 MB, free: 43.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002751/0.3529, allocations: 261.9 kB / 427.5 MB, free: 43.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004852/0.3534, allocations: 395.9 kB / 427.9 MB, free: 43.69 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.868e-06/0.3534, allocations: 3.281 kB / 427.9 MB, free: 43.69 MB / 350.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0006744/0.3541, allocations: 454.5 kB / 428.4 MB, free: 43.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.3541, allocations: 6.625 kB / 428.4 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3542, allocations: 6.312 kB / 428.4 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.3542, allocations: 14.3 kB / 428.4 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004541/0.3546, allocations: 122.2 kB / 428.5 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.3547, allocations: 10.31 kB / 428.5 MB, free: 43.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.3549, allocations: 56.98 kB / 428.6 MB, free: 43.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.355, allocations: 16.84 kB / 428.6 MB, free: 43.61 MB / 350.1 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_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: 19 * 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 (56): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.000317/0.3553, allocations: 202.3 kB / 428.8 MB, free: 43.49 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.3554, allocations: 24.97 kB / 428.8 MB, free: 43.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005745/0.356, allocations: 303.6 kB / 429.1 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.356, allocations: 3.375 kB / 429.1 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.356, allocations: 3.281 kB / 429.1 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.356, allocations: 3.281 kB / 429.1 MB, free: 43.38 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.3571, allocations: 0.8728 MB / 430 MB, free: 42.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.3572, allocations: 3.938 kB / 430 MB, free: 42.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003245/0.3575, allocations: 75.77 kB / 430.1 MB, free: 42.85 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3575, allocations: 3.75 kB / 430.1 MB, free: 42.85 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.3575, allocations: 7.281 kB / 430.1 MB, free: 42.85 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.3575, allocations: 6.812 kB / 430.1 MB, free: 42.85 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.3575, allocations: 0 / 430.1 MB, free: 42.85 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006987/0.3582, allocations: 0.5356 MB / 430.6 MB, free: 42.51 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.756e-05/0.3583, allocations: 111 kB / 430.7 MB, free: 42.4 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.313e-05/0.3584, allocations: 11.84 kB / 430.7 MB, free: 42.39 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001999/0.3586, allocations: 18.75 kB / 430.8 MB, free: 42.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.3586, allocations: 25.53 kB / 430.8 MB, free: 42.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.287e-05/0.3587, allocations: 6.219 kB / 430.8 MB, free: 42.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001628/0.3588, allocations: 202.9 kB / 431 MB, free: 42.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3588, allocations: 1.531 kB / 431 MB, free: 42.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004818/0.3593, allocations: 142.9 kB / 431.1 MB, free: 42.21 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (voltageSource.pin_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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001879/0.3595, allocations: 129.4 kB / 431.3 MB, free: 42.12 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005209/0.36, allocations: 311.3 kB / 431.6 MB, free: 42.03 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3601, allocations: 0 / 431.6 MB, free: 42.03 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.3603, allocations: 121.5 kB / 431.7 MB, free: 42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004363/0.3607, allocations: 36.48 kB / 431.7 MB, free: 41.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.362, allocations: 1.084 MB / 432.8 MB, free: 41.23 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000247/0.3622, allocations: 0.8255 MB / 433.6 MB, free: 40.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.3623, allocations: 33.62 kB / 433.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3623, allocations: 0 / 433.7 MB, free: 40.51 MB / 350.1 MB Notification: Performance of Templates: time 0.006222/0.3686, allocations: 4.985 MB / 438.6 MB, free: 39.95 MB / 350.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.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.SinglePhaseVoltageControlledConverterCalcHelperMain.o OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverterCalcHelperMain.o] Error 1