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.0007279/0.0007279, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0007227/0.0007227, allocations: 173.9 kB / 23.22 MB, free: 1.344 MB / 18.57 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 0.8727/0.8727, allocations: 177.2 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.01668/0.01668, allocations: 4.215 MB / 264.2 MB, free: 9.145 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 3.938 kB / 389 MB, free: 9.559 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.395e-05/2.558e-05, allocations: 2.281 kB / 389 MB, free: 9.555 MB / 362.7 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.006708/0.006733, allocations: 7.262 MB / 396.3 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004517/0.01125, allocations: 2.495 MB / 398.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005666/0.01182, allocations: 75.62 kB / 398.8 MB, free: 15.67 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002597/0.01441, allocations: 2.974 MB / 401.8 MB, free: 12.69 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.01571, allocations: 0.7219 MB / 402.5 MB, free: 11.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009807/0.01669, allocations: 0.9189 MB / 403.4 MB, free: 11.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00229/0.01898, allocations: 3.782 MB / 407.2 MB, free: 7.242 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004947/0.02393, allocations: 6.302 MB / 413.5 MB, free: 0.8477 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002272/0.0262, allocations: 3.308 MB / 416.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.02778, allocations: 2.066 MB / 418.9 MB, free: 11.46 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004175/0.0282, allocations: 0.6641 MB / 419.6 MB, free: 10.8 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001218/0.02942, allocations: 0.9564 MB / 420.5 MB, free: 9.844 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006169/0.03004, allocations: 1.247 MB / 421.8 MB, free: 8.594 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.03104, allocations: 1.56 MB / 423.3 MB, free: 7.031 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005088/0.03613, allocations: 8.7 MB / 432 MB, free: 14.31 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.03613, allocations: 4 kB / 432 MB, free: 14.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.03613, allocations: 0 / 432 MB, free: 14.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.704e-05/0.03618, allocations: 3.938 kB / 432 MB, free: 14.3 MB / 410.7 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.006014/0.0422, allocations: 4.759 MB / 436.8 MB, free: 9.488 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.04224, allocations: 12.02 kB / 436.8 MB, free: 9.477 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/0.04675, allocations: 1.591 MB / 438.4 MB, free: 7.883 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002513/0.04927, allocations: 2.629 MB / 441 MB, free: 5.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.04941, allocations: 296.4 kB / 441.3 MB, free: 4.93 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003837/0.04979, allocations: 388.4 kB / 441.7 MB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1751/0.2248, allocations: 6.365 MB / 448.1 MB, free: 85.98 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.671e-05/0.2249, allocations: 10.59 kB / 448.1 MB, free: 85.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/0.2251, allocations: 162.5 kB / 448.2 MB, free: 85.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001122/0.2253, allocations: 199.4 kB / 448.4 MB, free: 85.84 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004993/0.2303, allocations: 5.356 MB / 453.8 MB, free: 83.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.2431, allocations: 17.94 MB / 471.7 MB, free: 73.68 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.2451, allocations: 1.882 MB / 473.6 MB, free: 73.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005528/0.2457, allocations: 0.6507 MB / 474.3 MB, free: 72.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.13e-05/0.2458, allocations: 40.92 kB / 474.3 MB, free: 72.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.522e-05/0.2458, allocations: 46.62 kB / 474.3 MB, free: 72.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=86): time 2.304e-06/0.2458, allocations: 0 / 474.3 MB, free: 72.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=86): time 0.001474/0.2473, allocations: 1.618 MB / 476 MB, free: 72.18 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.2473, allocations: 90.89 kB / 476 MB, free: 72.08 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001104/0.2484, allocations: 1.635 MB / 477.7 MB, free: 71.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.2484, allocations: 37.08 kB / 477.7 MB, free: 71.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000448/0.2489, allocations: 1.84 MB / 479.6 MB, free: 70.17 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001143/0.249, allocations: 332.2 kB / 479.9 MB, free: 69.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003672/0.2494, allocations: 499 kB / 480.4 MB, free: 69.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.2494, allocations: 352.6 kB / 480.7 MB, free: 69.36 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008261/0.2502, allocations: 1.082 MB / 481.8 MB, free: 68.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001029/0.2513, allocations: 2.01 MB / 483.8 MB, free: 67.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.2533, allocations: 3.065 MB / 486.9 MB, free: 64.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.426e-05/0.2533, allocations: 9.719 kB / 486.9 MB, free: 64.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.002799/0.2561, allocations: 3.081 MB / 490 MB, free: 63.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.2561, allocations: 19.53 kB / 490 MB, free: 63.76 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.138e-05/0.2562, allocations: 35.34 kB / 490 MB, free: 63.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.773e-05/0.2562, allocations: 50.22 kB / 490.1 MB, free: 63.76 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/0.2572, allocations: 0.5691 MB / 490.6 MB, free: 63.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.564e-05/0.2572, allocations: 67.3 kB / 490.7 MB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008046/0.258, allocations: 342.4 kB / 491 MB, free: 63.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.2582, allocations: 125.4 kB / 491.2 MB, free: 63.47 MB / 410.7 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.0014/0.2596, allocations: 1.635 MB / 492.8 MB, free: 62.63 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001282/0.2597, allocations: 128.2 kB / 492.9 MB, free: 62.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.2612, allocations: 1.385 MB / 494.3 MB, free: 62.01 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001043/0.2622, allocations: 1.065 MB / 495.4 MB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2622, allocations: 1.031 kB / 495.4 MB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.2622, allocations: 9.891 kB / 495.4 MB, free: 61.6 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003482/0.2657, allocations: 3.381 MB / 498.8 MB, free: 60.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.187e-06/0.2657, allocations: 5.922 kB / 498.8 MB, free: 60.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.2662, allocations: 211.1 kB / 499 MB, free: 60.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.2662, allocations: 3.969 kB / 499 MB, free: 60.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/0.2662, allocations: 22.53 kB / 499 MB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.2662, allocations: 3.938 kB / 499 MB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2662, allocations: 8.438 kB / 499 MB, free: 60.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.268, allocations: 2.102 MB / 0.4894 GB, free: 59.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/0.2682, allocations: 229.6 kB / 0.4896 GB, free: 59.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.745e-05/0.2683, allocations: 20.56 kB / 0.4896 GB, free: 59.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.2686, allocations: 57.5 kB / 0.4897 GB, free: 59.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.176e-05/0.2686, allocations: 72.34 kB / 0.4897 GB, free: 59.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-05/0.2687, allocations: 28.91 kB / 0.4898 GB, free: 59.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008117/0.2695, allocations: 1.074 MB / 0.4908 GB, free: 58.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2695, allocations: 0 / 0.4908 GB, free: 58.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001303/0.2708, allocations: 0.868 MB / 0.4917 GB, free: 58.28 MB / 410.7 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.0002067/0.271, allocations: 180.4 kB / 0.4918 GB, free: 58.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00161/0.2726, allocations: 1.938 MB / 0.4937 GB, free: 57.46 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.342e-06/0.2726, allocations: 0 / 0.4937 GB, free: 57.46 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004617/0.2731, allocations: 0.539 MB / 0.4942 GB, free: 57.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000764/0.2738, allocations: 299.9 kB / 0.4945 GB, free: 57.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004488/0.2783, allocations: 5.729 MB / 0.5001 GB, free: 52.19 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001239/0.2796, allocations: 2.272 MB / 0.5023 GB, free: 50.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002524/0.2798, allocations: 148.4 kB / 0.5025 GB, free: 49.93 MB / 410.7 MB Notification: Performance of SimCode: time 4.71e-07/0.2798, allocations: 6.188 kB / 0.5025 GB, free: 49.92 MB / 410.7 MB Notification: Performance of Templates: time 0.02752/0.3073, allocations: 51.48 MB / 0.5528 GB, free: 14.51 MB / 426.7 MB " [Timeout remaining time 660] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins/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_' 1145 | _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: 2.6770997093990445] Failed to read output from testmodel.py, exit status != 0: 0.31305934209376574 0.32044174200000003 0.282726578 Calling exit ...