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.001335/0.001335, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001483/0.001483, allocations: 220.6 kB / 23.01 MB, free: 4.609 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.452/1.452, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.03188/0.03188, allocations: 5.482 MB / 318.7 MB, free: 13.76 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.00214/0.00214, allocations: 67.89 kB / 443.5 MB, free: 7.406 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09572, allocations: 54.61 MB / 498.1 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.01053/0.1062, allocations: 8.237 MB / 0.4945 GB, free: 8.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005181/0.1114, allocations: 2.632 MB / 0.4971 GB, free: 5.777 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001168/0.1126, allocations: 71.62 kB / 0.4971 GB, free: 5.707 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007111/0.1197, allocations: 3.051 MB / 0.5001 GB, free: 2.648 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002657/0.1224, allocations: 0.7249 MB / 0.5008 GB, free: 1.922 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.1247, allocations: 0.9697 MB / 0.5018 GB, free: 0.9492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004469/0.1291, allocations: 3.661 MB / 0.5053 GB, free: 13.27 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009438/0.1386, allocations: 6.36 MB / 0.5115 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002908/0.1415, allocations: 2.202 MB / 0.5137 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003743/0.1452, allocations: 2.41 MB / 0.516 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001259/0.1465, allocations: 0.6641 MB / 0.5167 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002242/0.1487, allocations: 0.9645 MB / 0.5176 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.1887/0.3374, allocations: 1.224 MB / 0.5188 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.3396, allocations: 2.357 MB / 0.5211 GB, free: 14.69 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008202/0.3478, allocations: 8.58 MB / 0.5295 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3479, allocations: 0 / 0.5295 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.3479, allocations: 1.562 kB / 0.5295 GB, free: 13.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001916/0.348, allocations: 0 / 0.5295 GB, free: 13.96 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.01178/0.3598, allocations: 4.801 MB / 0.5342 GB, free: 12.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.3599, allocations: 8.844 kB / 0.5342 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009851/0.3697, allocations: 1.593 MB / 0.5358 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/0.3749, allocations: 2.637 MB / 0.5383 GB, free: 10.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.3751, allocations: 292.9 kB / 0.5386 GB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009184/0.3761, allocations: 389.2 kB / 0.539 GB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01167/0.3877, allocations: 6.378 MB / 0.5452 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.051e-05/0.3878, allocations: 1.656 kB / 0.5452 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004408/0.3883, allocations: 166.7 kB / 0.5454 GB, free: 6.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.3884, allocations: 197.6 kB / 0.5456 GB, free: 6.016 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008509/0.3969, allocations: 5.37 MB / 0.5508 GB, free: 3.121 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03225/0.4292, allocations: 20.29 MB / 0.5706 GB, free: 2.328 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004435/0.4336, allocations: 1.903 MB / 0.5725 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/0.4348, allocations: 0.6542 MB / 0.5731 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.4349, allocations: 45.5 kB / 0.5732 GB, free: 15.76 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.678e-05/0.4349, allocations: 47.22 kB / 0.5732 GB, free: 15.71 MB / 414.1 MB Notification: Performance of pre-optimization done (n=86): time 3.256e-06/0.4349, allocations: 0 / 0.5732 GB, free: 15.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=86): time 0.002953/0.4379, allocations: 1.62 MB / 0.5748 GB, free: 14.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.595e-05/0.438, allocations: 90.11 kB / 0.5749 GB, free: 13.98 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002486/0.4404, allocations: 1.614 MB / 0.5765 GB, free: 12.36 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.218e-05/0.4405, allocations: 37.7 kB / 0.5765 GB, free: 12.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001337/0.4419, allocations: 1.843 MB / 0.5783 GB, free: 10.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003047/0.4422, allocations: 332.1 kB / 0.5786 GB, free: 10.15 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007798/0.4429, allocations: 0.4997 MB / 0.5791 GB, free: 9.641 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.4431, allocations: 353.9 kB / 0.5794 GB, free: 9.289 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.4448, allocations: 1.087 MB / 0.5805 GB, free: 8.191 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002441/0.4473, allocations: 2.011 MB / 0.5825 GB, free: 5.691 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004019/0.4513, allocations: 3.062 MB / 0.5855 GB, free: 2.281 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.103e-05/0.4513, allocations: 12 kB / 0.5855 GB, free: 2.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.005344/0.4566, allocations: 3.083 MB / 0.5885 GB, free: 15.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.66e-05/0.4567, allocations: 20.91 kB / 0.5885 GB, free: 15.37 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.812e-05/0.4567, allocations: 39.66 kB / 0.5885 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.744e-05/0.4568, allocations: 52 kB / 0.5886 GB, free: 15.28 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001995/0.4588, allocations: 0.561 MB / 0.5891 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-05/0.4589, allocations: 71.91 kB / 0.5892 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.4606, allocations: 341.8 kB / 0.5895 GB, free: 14.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001979/0.4608, allocations: 124 kB / 0.5896 GB, free: 14.25 MB / 430.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.003038/0.4638, allocations: 1.635 MB / 0.5912 GB, free: 12.64 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.4642, allocations: 131.1 kB / 0.5914 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/0.4669, allocations: 1.385 MB / 0.5927 GB, free: 11.12 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001733/0.4686, allocations: 1.068 MB / 0.5938 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.4686, allocations: 4 kB / 0.5938 GB, free: 10.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.429e-05/0.4686, allocations: 7.984 kB / 0.5938 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008264/0.4769, allocations: 4.254 MB / 0.5979 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.4769, allocations: 0 / 0.5979 GB, free: 5.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009391/0.4778, allocations: 214.2 kB / 0.5981 GB, free: 5.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/0.4778, allocations: 8 kB / 0.5981 GB, free: 5.543 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.203e-05/0.4779, allocations: 20 kB / 0.5982 GB, free: 5.523 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.908e-06/0.4779, allocations: 11.88 kB / 0.5982 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4779, allocations: 4.125 kB / 0.5982 GB, free: 5.508 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003289/0.4812, allocations: 2.116 MB / 0.6002 GB, free: 3.375 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/0.4819, allocations: 242.8 kB / 0.6005 GB, free: 3.137 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001795/0.4821, allocations: 16 kB / 0.6005 GB, free: 3.121 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006395/0.4827, allocations: 59.88 kB / 0.6005 GB, free: 3.062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.4828, allocations: 64.53 kB / 0.6006 GB, free: 3 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-05/0.4829, allocations: 31.98 kB / 0.6006 GB, free: 2.969 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001806/0.4847, allocations: 1.101 MB / 0.6017 GB, free: 1.863 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4847, allocations: 64 / 0.6017 GB, free: 1.863 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002732/0.4874, allocations: 0.8639 MB / 0.6026 GB, free: 0.9961 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.0003777/0.4878, allocations: 176.9 kB / 0.6027 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.003394/0.4912, allocations: 1.939 MB / 0.6046 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4912, allocations: 0 / 0.6046 GB, free: 15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009066/0.4921, allocations: 0.5322 MB / 0.6051 GB, free: 14.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001632/0.4937, allocations: 309.5 kB / 0.6054 GB, free: 14.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01118/0.5049, allocations: 5.766 MB / 0.6111 GB, free: 8.391 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003054/0.508, allocations: 2.832 MB / 0.6138 GB, free: 5.527 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000586/0.5086, allocations: 151.4 kB / 0.614 GB, free: 5.379 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.5086, allocations: 0 / 0.614 GB, free: 5.379 MB / 446.1 MB Notification: Performance of Templates: time 0.0737/0.5823, allocations: 50.44 MB / 0.6632 GB, free: 3.062 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 -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 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.5894086139742285] Failed to read output from testmodel.py, exit status != 0: 0.5906420310493559 0.607199199 0.25587625299999994 Calling exit ...