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) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 102 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001514/0.001514, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 249.9 MB, free: 3.191 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.03084/0.03084, allocations: 5.468 MB / 310.5 MB, free: 3.07 MB / 238.1 MB [Timeout remaining time 90] 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=500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 75.88 kB / 432.2 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2423, allocations: 53.38 MB / 485.6 MB, free: 26.55 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.008069/0.2504, allocations: 8.183 MB / 493.8 MB, free: 20.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004725/0.2551, allocations: 2.565 MB / 496.4 MB, free: 18.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009416/0.256, allocations: 66.81 kB / 496.4 MB, free: 18.89 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006446/0.2625, allocations: 3.048 MB / 499.5 MB, free: 17.04 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002619/0.2651, allocations: 0.8573 MB / 0.4886 GB, free: 16.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001769/0.2669, allocations: 0.8306 MB / 0.4894 GB, free: 15.98 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003449/0.2703, allocations: 3.648 MB / 0.493 GB, free: 14.05 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008923/0.2792, allocations: 7.799 MB / 0.5006 GB, free: 10.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002603/0.2818, allocations: 2.154 MB / 0.5027 GB, free: 9.148 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002959/0.2848, allocations: 2.408 MB / 0.5051 GB, free: 7.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008918/0.2857, allocations: 0.6612 MB / 0.5057 GB, free: 7.762 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.2875, allocations: 0.9266 MB / 0.5066 GB, free: 7.629 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00087/0.2884, allocations: 1.221 MB / 0.5078 GB, free: 6.617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001807/0.2902, allocations: 2.363 MB / 0.5101 GB, free: 4.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007407/0.2976, allocations: 8.555 MB / 0.5185 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2976, allocations: 4 kB / 0.5185 GB, free: 11.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2976, allocations: 4 kB / 0.5185 GB, free: 11.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001481/0.2978, allocations: 0 / 0.5185 GB, free: 11.82 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.01215/0.3099, allocations: 4.862 MB / 0.5232 GB, free: 6.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.31, allocations: 8.031 kB / 0.5232 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00976/0.3197, allocations: 1.563 MB / 0.5248 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004813/0.3245, allocations: 2.624 MB / 0.5273 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002484/0.3248, allocations: 300.1 kB / 0.5276 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000794/0.3256, allocations: 396 kB / 0.528 GB, free: 1.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01221/0.3378, allocations: 6.356 MB / 0.5342 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.126e-05/0.3379, allocations: 11.94 kB / 0.5342 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004145/0.3383, allocations: 164 kB / 0.5344 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002318/0.3385, allocations: 199.4 kB / 0.5346 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01011/0.3486, allocations: 5.354 MB / 0.5398 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03304/0.3816, allocations: 21.41 MB / 0.5607 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005458/0.3871, allocations: 3.717 MB / 0.5643 GB, free: 11.54 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/0.3883, allocations: 0.6598 MB / 0.565 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001473/0.3884, allocations: 110.1 kB / 0.5651 GB, free: 10.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.3884, allocations: 39.56 kB / 0.5651 GB, free: 10.71 MB / 430.1 MB Notification: Performance of pre-optimization done (n=86): time 2.635e-06/0.3884, allocations: 0 / 0.5651 GB, free: 10.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=86): time 0.003091/0.3915, allocations: 1.616 MB / 0.5667 GB, free: 9.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.995e-05/0.3916, allocations: 86.11 kB / 0.5668 GB, free: 8.98 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00248/0.3941, allocations: 1.614 MB / 0.5683 GB, free: 7.355 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001065/0.3942, allocations: 45.64 kB / 0.5684 GB, free: 7.305 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001408/0.3956, allocations: 1.842 MB / 0.5702 GB, free: 5.441 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003022/0.3959, allocations: 333.3 kB / 0.5705 GB, free: 5.113 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008/0.3967, allocations: 0.4919 MB / 0.571 GB, free: 4.613 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.3969, allocations: 357.9 kB / 0.5713 GB, free: 4.258 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001758/0.3987, allocations: 1.075 MB / 0.5724 GB, free: 3.172 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002638/0.4013, allocations: 2.005 MB / 0.5743 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004305/0.4056, allocations: 3.058 MB / 0.5773 GB, free: 13.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-05/0.4056, allocations: 12 kB / 0.5773 GB, free: 13.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.00534/0.411, allocations: 3.078 MB / 0.5803 GB, free: 10 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.301e-05/0.411, allocations: 20 kB / 0.5804 GB, free: 9.984 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.991e-05/0.411, allocations: 36 kB / 0.5804 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.861e-05/0.4111, allocations: 48 kB / 0.5804 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001992/0.4131, allocations: 0.5661 MB / 0.581 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.431e-05/0.4132, allocations: 75.72 kB / 0.5811 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/0.4147, allocations: 337.8 kB / 0.5814 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001828/0.4149, allocations: 124 kB / 0.5815 GB, free: 8.809 MB / 446.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.002578/0.4175, allocations: 1.636 MB / 0.5831 GB, free: 7.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/0.4177, allocations: 135.1 kB / 0.5832 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00265/0.4204, allocations: 1.382 MB / 0.5846 GB, free: 5.633 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001803/0.4222, allocations: 1.061 MB / 0.5856 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.4222, allocations: 0 / 0.5856 GB, free: 4.566 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4222, allocations: 3.984 kB / 0.5856 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007523/0.4297, allocations: 4.263 MB / 0.5898 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.4297, allocations: 0 / 0.5898 GB, free: 232 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009556/0.4307, allocations: 207.8 kB / 0.59 GB, free: 24 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.066e-05/0.4307, allocations: 11.94 kB / 0.59 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-05/0.4308, allocations: 27.81 kB / 0.59 GB, free: 15.99 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.4308, allocations: 8 kB / 0.59 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.4308, allocations: 4 kB / 0.59 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/0.4341, allocations: 2.099 MB / 0.5921 GB, free: 13.85 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005515/0.4347, allocations: 319.9 kB / 0.5924 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/0.4348, allocations: 27.92 kB / 0.5924 GB, free: 13.49 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006562/0.4355, allocations: 59.88 kB / 0.5925 GB, free: 13.43 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.4356, allocations: 60.98 kB / 0.5925 GB, free: 13.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.4357, allocations: 31.98 kB / 0.5926 GB, free: 13.34 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001585/0.4373, allocations: 1.101 MB / 0.5936 GB, free: 12.24 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4373, allocations: 0 / 0.5936 GB, free: 12.24 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002383/0.4396, allocations: 0.86 MB / 0.5945 GB, free: 11.38 MB / 462.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.0003097/0.44, allocations: 183.7 kB / 0.5946 GB, free: 11.18 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003379/0.4433, allocations: 1.931 MB / 0.5965 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4433, allocations: 448 / 0.5965 GB, free: 9.25 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009805/0.4443, allocations: 0.5325 MB / 0.597 GB, free: 8.719 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/0.4458, allocations: 299 kB / 0.5973 GB, free: 8.441 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00984/0.4557, allocations: 5.793 MB / 0.603 GB, free: 2.586 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1878/0.6435, allocations: 2.823 MB / 0.6057 GB, free: 101 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006254/0.6441, allocations: 139.7 kB / 0.6059 GB, free: 101 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.6441, allocations: 2.156 kB / 0.6059 GB, free: 101 MB / 462.1 MB Notification: Performance of Templates: time 0.06003/0.7041, allocations: 49.89 MB / 0.6546 GB, free: 76.7 MB / 462.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:1007:77: error: use of undeclared identifier 'converter_P_vAC_' _functions->Modelica_Units_SI_ComplexVoltage__omcQ_27_2A_27_scalarProduct(converter_P_vAC_, tmp26, tmp30); ^ 1 error generated. make: *** [: OMCppPhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverterCalcHelperMain.o] Error 1