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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001506/0.001506, allocations: 219.2 kB / 22.99 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.379/1.379, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo): time 0.02922/0.02922, allocations: 5.492 MB / 318.7 MB, free: 13.53 MB / 254.1 MB " [Timeout remaining time 180] Using package PhotoVoltaics with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.1.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") [Timeout 660] "Notification: PhotoVoltaics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 76.11 kB / 443.4 MB, free: 7.051 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09221/0.09417, allocations: 54.61 MB / 498 MB, free: 344 kB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009381/0.1035, allocations: 7.24 MB / 0.4934 GB, free: 9.059 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004609/0.1082, allocations: 2.499 MB / 0.4959 GB, free: 6.551 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006087/0.1088, allocations: 75.62 kB / 0.496 GB, free: 6.477 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006146/0.1149, allocations: 2.806 MB / 0.4987 GB, free: 3.664 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.1172, allocations: 0.7135 MB / 0.4994 GB, free: 2.949 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002132/0.1193, allocations: 0.9192 MB / 0.5003 GB, free: 2.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003967/0.1233, allocations: 3.67 MB / 0.5039 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008113/0.1314, allocations: 6.278 MB / 0.51 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002711/0.1341, allocations: 2.198 MB / 0.5121 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003257/0.1374, allocations: 2.301 MB / 0.5144 GB, free: 3.457 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009104/0.1383, allocations: 0.6641 MB / 0.515 GB, free: 2.793 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00168/0.14, allocations: 0.9528 MB / 0.516 GB, free: 1.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001087/0.1411, allocations: 1.228 MB / 0.5172 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1837/0.3248, allocations: 1.801 MB / 0.5189 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00815/0.3329, allocations: 8.625 MB / 0.5274 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.3329, allocations: 1.562 kB / 0.5274 GB, free: 15.11 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3329, allocations: 0.5312 kB / 0.5274 GB, free: 15.11 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002082/0.3332, allocations: 1.406 kB / 0.5274 GB, free: 15.11 MB / 382.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.01239/0.3455, allocations: 4.794 MB / 0.532 GB, free: 13.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.3456, allocations: 9.625 kB / 0.532 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009222/0.3548, allocations: 1.587 MB / 0.5336 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00569/0.3605, allocations: 2.629 MB / 0.5362 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002622/0.3608, allocations: 304.5 kB / 0.5365 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001286/0.362, allocations: 388.2 kB / 0.5368 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01269/0.3747, allocations: 6.376 MB / 0.5431 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.245e-05/0.3748, allocations: 5.156 kB / 0.5431 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000434/0.3753, allocations: 158.2 kB / 0.5432 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001965/0.3755, allocations: 194.8 kB / 0.5434 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008966/0.3844, allocations: 5.355 MB / 0.5486 GB, free: 4.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02906/0.4135, allocations: 17.92 MB / 0.5661 GB, free: 6.832 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004318/0.4178, allocations: 1.889 MB / 0.568 GB, free: 4.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.4189, allocations: 0.6481 MB / 0.5686 GB, free: 4.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.419, allocations: 40.95 kB / 0.5686 GB, free: 4.285 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.419, allocations: 48.91 kB / 0.5687 GB, free: 4.234 MB / 398.1 MB Notification: Performance of pre-optimization done (n=86): time 2.885e-06/0.419, allocations: 0 / 0.5687 GB, free: 4.234 MB / 398.1 MB Notification: Performance of matching and sorting (n=86): time 0.002885/0.4219, allocations: 1.623 MB / 0.5703 GB, free: 2.605 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.422, allocations: 86.11 kB / 0.5704 GB, free: 2.504 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.4245, allocations: 1.634 MB / 0.572 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 7.813e-05/0.4245, allocations: 41.7 kB / 0.572 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001376/0.4259, allocations: 1.841 MB / 0.5738 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003507/0.4263, allocations: 343.5 kB / 0.5741 GB, free: 14.63 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007544/0.427, allocations: 0.4906 MB / 0.5746 GB, free: 14.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001968/0.4272, allocations: 349.9 kB / 0.5749 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/0.4289, allocations: 1.083 MB / 0.576 GB, free: 12.69 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002445/0.4313, allocations: 2.013 MB / 0.578 GB, free: 10.19 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004037/0.4353, allocations: 3.057 MB / 0.5809 GB, free: 6.781 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.439e-05/0.4354, allocations: 15.94 kB / 0.581 GB, free: 6.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.0051/0.4405, allocations: 3.079 MB / 0.584 GB, free: 3.895 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.4405, allocations: 20 kB / 0.584 GB, free: 3.875 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.232e-05/0.4406, allocations: 36 kB / 0.584 GB, free: 3.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.08e-05/0.4406, allocations: 52 kB / 0.5841 GB, free: 3.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.4425, allocations: 0.5667 MB / 0.5846 GB, free: 3.262 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.68e-05/0.4426, allocations: 83.42 kB / 0.5847 GB, free: 3.195 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.4443, allocations: 322 kB / 0.585 GB, free: 2.879 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001885/0.4445, allocations: 124 kB / 0.5851 GB, free: 2.758 MB / 414.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 (278): * Single equations (assignments): 277 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002881/0.4474, allocations: 1.651 MB / 0.5867 GB, free: 1.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000354/0.4477, allocations: 127.2 kB / 0.5869 GB, free: 1.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002492/0.4502, allocations: 1.393 MB / 0.5882 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001647/0.4519, allocations: 1.065 MB / 0.5893 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.4519, allocations: 0 / 0.5893 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.089e-05/0.4519, allocations: 3.984 kB / 0.5893 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006897/0.4588, allocations: 3.381 MB / 0.5926 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.4588, allocations: 4 kB / 0.5926 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008773/0.4597, allocations: 212.1 kB / 0.5928 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/0.4597, allocations: 4 kB / 0.5928 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.846e-05/0.4597, allocations: 23.98 kB / 0.5928 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.274e-06/0.4597, allocations: 4 kB / 0.5928 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4598, allocations: 128 / 0.5928 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/0.4629, allocations: 2.114 MB / 0.5949 GB, free: 8.785 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/0.4636, allocations: 230.9 kB / 0.5951 GB, free: 8.559 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/0.4638, allocations: 23.95 kB / 0.5951 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005931/0.4644, allocations: 55.92 kB / 0.5952 GB, free: 8.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001423/0.4645, allocations: 64.83 kB / 0.5952 GB, free: 8.414 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.588e-05/0.4646, allocations: 27.98 kB / 0.5952 GB, free: 8.387 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001679/0.4663, allocations: 1.073 MB / 0.5963 GB, free: 7.309 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4663, allocations: 4.062 kB / 0.5963 GB, free: 7.305 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002564/0.4688, allocations: 0.8639 MB / 0.5971 GB, free: 6.438 MB / 430.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 (96): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003506/0.4692, allocations: 178.6 kB / 0.5973 GB, free: 6.27 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00337/0.4726, allocations: 1.936 MB / 0.5992 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4726, allocations: 0 / 0.5992 GB, free: 4.438 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008862/0.4735, allocations: 0.532 MB / 0.5997 GB, free: 3.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.4751, allocations: 313 kB / 0.6 GB, free: 3.645 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01061/0.4857, allocations: 5.77 MB / 0.6057 GB, free: 13.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002769/0.4884, allocations: 2.27 MB / 0.6079 GB, free: 11.52 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000576/0.489, allocations: 143.4 kB / 0.608 GB, free: 11.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.382e-06/0.489, allocations: 0.6562 kB / 0.608 GB, free: 11.38 MB / 446.1 MB Notification: Performance of Templates: time 0.07712/0.5661, allocations: 51.52 MB / 0.6583 GB, free: 7.965 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile [Timeout 660] make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -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 In file included from OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverterCalcHelperMain.cpp:29: ./OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverterInitialize.cpp:1145:77: error: use of undeclared identifier 'converter_P_vAC_' _functions->Modelica_Units_SI_ComplexVoltage__omcQ_27_2A_27_scalarProduct(converter_P_vAC_, tmp46, tmp50); ^ 1 error generated. make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverterCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.137052785605192] Failed to read output from testmodel.py, exit status != 0: 0.5741772339679301 0.590445587 0.254371187 Calling exit ...