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) 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.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001239/0.00124, allocations: 107 kB / 16.41 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 187 kB / 17.34 MB, free: 5.742 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.04423/0.04423, allocations: 5.407 MB / 296.6 MB, free: 9.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 63.91 kB / 409.9 MB, free: 26.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08345/0.08465, allocations: 50.63 MB / 460.6 MB, free: 7.375 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter): time 0.009151/0.09384, allocations: 8.128 MB / 468.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004989/0.09887, allocations: 2.554 MB / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.1001, allocations: 59.81 kB / 471.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006479/0.1066, allocations: 3.025 MB / 474.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.1097, allocations: 0.8469 MB / 475.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002111/0.1118, allocations: 0.8258 MB / 476 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004365/0.1162, allocations: 3.654 MB / 479.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01371/0.1299, allocations: 10.37 MB / 490 MB, free: 9.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003183/0.1331, allocations: 2.147 MB / 492.2 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004426/0.1376, allocations: 2.387 MB / 494.6 MB, free: 5.191 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002124/0.1398, allocations: 0.6602 MB / 495.2 MB, free: 4.531 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003401/0.1432, allocations: 0.9294 MB / 496.2 MB, free: 3.602 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002704/0.1459, allocations: 1.216 MB / 497.4 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004734/0.1507, allocations: 2.362 MB / 499.7 MB, free: 12 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009284/0.16, allocations: 8.543 MB / 0.4964 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.16, allocations: 0 / 0.4964 GB, free: 7.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.16, allocations: 0 / 0.4964 GB, free: 7.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002405/0.1603, allocations: 0 / 0.4964 GB, free: 7.445 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.01419/0.1745, allocations: 4.785 MB / 0.501 GB, free: 2.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/0.1746, allocations: 12.03 kB / 0.5011 GB, free: 2.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009892/0.1845, allocations: 1.55 MB / 0.5026 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2219/0.4064, allocations: 2.6 MB / 0.5051 GB, free: 44.24 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003195/0.4068, allocations: 299.5 kB / 0.5054 GB, free: 44.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001273/0.4081, allocations: 392.6 kB / 0.5058 GB, free: 44.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01329/0.4214, allocations: 6.362 MB / 0.512 GB, free: 41.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001007/0.4215, allocations: 4.5 kB / 0.512 GB, free: 41.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004234/0.4219, allocations: 164 kB / 0.5121 GB, free: 41.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003401/0.4223, allocations: 196.5 kB / 0.5123 GB, free: 41.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.4329, allocations: 5.363 MB / 0.5176 GB, free: 39.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02497/0.4579, allocations: 21.35 MB / 0.5384 GB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003802/0.4617, allocations: 3.789 MB / 0.5421 GB, free: 18.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008226/0.4626, allocations: 0.7112 MB / 0.5428 GB, free: 17.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.4627, allocations: 111.9 kB / 0.5429 GB, free: 17.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.4627, allocations: 43.5 kB / 0.543 GB, free: 17.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=86): time 2.705e-06/0.4627, allocations: 0 / 0.543 GB, free: 17.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=86): time 0.002168/0.4649, allocations: 1.618 MB / 0.5445 GB, free: 15.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.4649, allocations: 90.05 kB / 0.5446 GB, free: 15.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.4666, allocations: 1.602 MB / 0.5462 GB, free: 13.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.2e-05/0.4667, allocations: 41.7 kB / 0.5462 GB, free: 13.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006011/0.4673, allocations: 1.779 MB / 0.548 GB, free: 12.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.4674, allocations: 321.1 kB / 0.5483 GB, free: 11.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005291/0.468, allocations: 495.4 kB / 0.5487 GB, free: 11.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.4681, allocations: 357.9 kB / 0.5491 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001176/0.4692, allocations: 1.074 MB / 0.5501 GB, free: 9.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/0.4707, allocations: 2.009 MB / 0.5521 GB, free: 7.336 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002481/0.4732, allocations: 3.054 MB / 0.5551 GB, free: 3.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/0.4732, allocations: 8 kB / 0.5551 GB, free: 3.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=279) (initialization): time 0.003604/0.4768, allocations: 3.074 MB / 0.5581 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.4769, allocations: 23.94 kB / 0.5581 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.4769, allocations: 36 kB / 0.5581 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.375e-05/0.477, allocations: 52 kB / 0.5582 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/0.4786, allocations: 0.5615 MB / 0.5587 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.686e-05/0.4787, allocations: 75.78 kB / 0.5588 GB, free: 15.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0015/0.4802, allocations: 329.1 kB / 0.5591 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.4804, allocations: 124 kB / 0.5592 GB, free: 15.5 MB / 398.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.002392/0.4828, allocations: 1.633 MB / 0.5608 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.4831, allocations: 130.3 kB / 0.561 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002345/0.4854, allocations: 1.379 MB / 0.5623 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001528/0.4869, allocations: 1.059 MB / 0.5633 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.487, allocations: 0 / 0.5633 GB, free: 11.28 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.487, allocations: 7.984 kB / 0.5634 GB, free: 11.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.4936, allocations: 4.269 MB / 0.5675 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/0.4937, allocations: 0 / 0.5675 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008752/0.4946, allocations: 203.7 kB / 0.5677 GB, free: 6.758 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.4946, allocations: 4 kB / 0.5677 GB, free: 6.754 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.707e-05/0.4946, allocations: 29.62 kB / 0.5678 GB, free: 6.727 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.4947, allocations: 11.94 kB / 0.5678 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.4947, allocations: 0 / 0.5678 GB, free: 6.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002887/0.4976, allocations: 2.098 MB / 0.5698 GB, free: 4.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.4981, allocations: 319.1 kB / 0.5701 GB, free: 4.254 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.4983, allocations: 20 kB / 0.5701 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005938/0.4989, allocations: 59.92 kB / 0.5702 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.499, allocations: 60.86 kB / 0.5703 GB, free: 4.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.4991, allocations: 28 kB / 0.5703 GB, free: 4.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001547/0.5006, allocations: 1.105 MB / 0.5714 GB, free: 2.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5006, allocations: 0 / 0.5714 GB, free: 2.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002298/0.5029, allocations: 0.8513 MB / 0.5722 GB, free: 2.129 MB / 398.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.0003346/0.5033, allocations: 183.5 kB / 0.5724 GB, free: 1.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.5064, allocations: 2.015 MB / 0.5743 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.5065, allocations: 0 / 0.5743 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008782/0.5073, allocations: 0.5771 MB / 0.5749 GB, free: 15.38 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001794/0.5091, allocations: 299.3 kB / 0.5752 GB, free: 15.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/0.5197, allocations: 5.697 MB / 0.5807 GB, free: 9.348 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002559/0.5223, allocations: 2.826 MB / 0.5835 GB, free: 6.492 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005555/0.5228, allocations: 139.4 kB / 0.5836 GB, free: 6.355 MB / 414.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5228, allocations: 0 / 0.5836 GB, free: 6.355 MB / 414.1 MB Notification: Performance of Templates: time 0.06348/0.5863, allocations: 49.37 MB / 0.6318 GB, free: 5.059 MB / 462.1 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile 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:1002: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