Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") translateModel(PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005928/0.005927, allocations: 171.8 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.2 MB / 239 MB, free: 60 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008264/0.0008264, allocations: 98.47 kB / 290.2 MB, free: 4.508 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02432/0.02432, allocations: 5.402 MB / 346.7 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003335/0.000334, allocations: 8 kB / 408.8 MB, free: 9.551 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2386/0.2389, allocations: 51.59 MB / 460.4 MB, free: 73.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09431/0.3333, allocations: 86.93 MB / 0.5345 GB, free: 2.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.3335, allocations: 71.97 kB / 0.5346 GB, free: 2.859 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03877/0.3723, allocations: 17.82 MB / 0.552 GB, free: 0.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.562e-06/0.3723, allocations: 0 / 0.552 GB, free: 0.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.424e-05/0.3724, allocations: 11.94 kB / 0.552 GB, free: 0.8203 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.1859/0.5583, allocations: 0.8123 MB / 0.5528 GB, free: 87.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.5583, allocations: 9.094 kB / 0.5528 GB, free: 87.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/0.56, allocations: 232.5 kB / 0.553 GB, free: 87.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.5605, allocations: 348.3 kB / 0.5533 GB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.5606, allocations: 51.31 kB / 0.5534 GB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5607, allocations: 66.31 kB / 0.5534 GB, free: 86.81 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001348/0.5621, allocations: 0.697 MB / 0.5541 GB, free: 86.72 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.5621, allocations: 2.922 kB / 0.5541 GB, free: 86.72 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.742e-05/0.5622, allocations: 28.39 kB / 0.5542 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.5622, allocations: 16.31 kB / 0.5542 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001015/0.5632, allocations: 0.5943 MB / 0.5548 GB, free: 86.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003565/0.5668, allocations: 2.799 MB / 0.5575 GB, free: 85.51 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001036/0.5678, allocations: 0.9893 MB / 0.5585 GB, free: 84.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.808e-05/0.5679, allocations: 95.19 kB / 0.5585 GB, free: 84.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.5679, allocations: 35.58 kB / 0.5586 GB, free: 84.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.683e-06/0.568, allocations: 0 / 0.5586 GB, free: 84.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007438/0.5687, allocations: 359.7 kB / 0.5589 GB, free: 84.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.5687, allocations: 80.58 kB / 0.559 GB, free: 84.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.569, allocations: 265.3 kB / 0.5593 GB, free: 84.32 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.569, allocations: 29.98 kB / 0.5593 GB, free: 84.29 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.5692, allocations: 312.9 kB / 0.5596 GB, free: 84.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.5692, allocations: 99.22 kB / 0.5597 GB, free: 84.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/0.5693, allocations: 8.219 kB / 0.5597 GB, free: 84.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.5693, allocations: 337.2 kB / 0.56 GB, free: 83.75 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002748/0.5696, allocations: 159.7 kB / 0.5602 GB, free: 83.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/0.57, allocations: 264.7 kB / 0.5604 GB, free: 83.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003678/0.5703, allocations: 174.6 kB / 0.5606 GB, free: 83.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5703, allocations: 1.531 kB / 0.5606 GB, free: 83.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0008396/0.5712, allocations: 474.7 kB / 0.561 GB, free: 83.51 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.5712, allocations: 6.5 kB / 0.561 GB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.5712, allocations: 4.906 kB / 0.561 GB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.103e-05/0.5713, allocations: 7.312 kB / 0.561 GB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.5717, allocations: 112.7 kB / 0.5612 GB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/0.5717, allocations: 12.67 kB / 0.5612 GB, free: 83.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.5721, allocations: 59.59 kB / 0.5612 GB, free: 83.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-05/0.5721, allocations: 26.03 kB / 0.5612 GB, free: 83.48 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: voltageSource.pin_p.reference.gamma:VARIABLE(start = 0.0 unit = "rad" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (57): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000315/0.5724, allocations: 188.8 kB / 0.5614 GB, free: 83.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.982e-05/0.5725, allocations: 29 kB / 0.5615 GB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/0.5731, allocations: 327.2 kB / 0.5618 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.5732, allocations: 7.906 kB / 0.5618 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.5732, allocations: 0 / 0.5618 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.5732, allocations: 2.531 kB / 0.5618 GB, free: 83.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001147/0.5743, allocations: 0.9155 MB / 0.5627 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.5744, allocations: 0 / 0.5627 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.5746, allocations: 61.25 kB / 0.5627 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.5746, allocations: 3.5 kB / 0.5627 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/0.5746, allocations: 3.75 kB / 0.5627 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.267e-06/0.5746, allocations: 7.109 kB / 0.5627 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5746, allocations: 0 / 0.5627 GB, free: 82.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006302/0.5753, allocations: 0.5886 MB / 0.5633 GB, free: 82.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.5754, allocations: 108.1 kB / 0.5634 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.945e-05/0.5754, allocations: 7.375 kB / 0.5634 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.5756, allocations: 14.97 kB / 0.5634 GB, free: 82.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.335e-05/0.5757, allocations: 30.22 kB / 0.5635 GB, free: 82.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.5757, allocations: 7.406 kB / 0.5635 GB, free: 82.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001447/0.5758, allocations: 203.3 kB / 0.5637 GB, free: 82.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5759, allocations: 4.062 kB / 0.5637 GB, free: 82.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004901/0.5763, allocations: 150.5 kB / 0.5638 GB, free: 82.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (converter.integrator.y,voltageSource.pin_p.reference.gamma) * 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 (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001864/0.5765, allocations: 150.8 kB / 0.564 GB, free: 82.35 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005016/0.577, allocations: 329.7 kB / 0.5643 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5771, allocations: 0 / 0.5643 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001864/0.5773, allocations: 123.1 kB / 0.5644 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.5775, allocations: 21.47 kB / 0.5644 GB, free: 82.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.5786, allocations: 1.036 MB / 0.5654 GB, free: 81.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002197/0.5789, allocations: 0.8344 MB / 0.5662 GB, free: 81.02 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/0.5791, allocations: 49.17 kB / 0.5663 GB, free: 81.01 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.839e-05/0.5791, allocations: 30.62 kB / 0.5663 GB, free: 81.01 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5791, allocations: 0 / 0.5663 GB, free: 81.01 MB / 378.7 MB Notification: Performance of Templates: time 0.006224/0.5854, allocations: 3.215 MB / 0.5695 GB, free: 80.8 MB / 378.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_ComponentTesting_SinglePhaseVoltageControlledConverter -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.o PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.c In file included from PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.c:7: In file included from ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter_model.h:24: ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter_functions.h:281:1: error: unknown type name '_omcQComplexOutput_24converter_24potentialSensor_24v' _omcQComplexOutput_24converter_24potentialSensor_24v omc__omcQComplexOutput_24converter_24potentialSensor_24v (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ ./PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter_functions.h:290:1: error: unknown type name '_omcQComplexOutput_24converter_24powerSensor_24apparentPower' _omcQComplexOutput_24converter_24powerSensor_24apparentPower omc__omcQComplexOutput_24converter_24powerSensor_24apparentPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 2 errors generated. make: *** [: PhotoVoltaics_PhotoVoltaics.ComponentTesting.SinglePhaseVoltageControlledConverter.o] Error 1