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/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.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/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008491/0.000849, allocations: 98.3 kB / 280.5 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PhotoVoltaics 2.0.0/package.mo): time 0.02288/0.02288, allocations: 5.277 MB / 336.5 MB, free: 9.922 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.739e-05/1.743e-05, allocations: 0 / 394.4 MB, free: 16 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2449, allocations: 51.6 MB / 446 MB, free: 13.06 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1182/0.3631, allocations: 91.57 MB / 0.5249 GB, free: 1.359 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.3634, allocations: 71.97 kB / 0.525 GB, free: 1.289 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.449/0.8125, allocations: 133.8 MB / 0.6556 GB, free: 11.72 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.8125, allocations: 0 / 0.6556 GB, free: 11.72 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001992/0.8127, allocations: 87.88 kB / 0.6557 GB, free: 11.63 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.01343/0.8261, allocations: 3.751 MB / 0.6594 GB, free: 7.824 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.8262, allocations: 8.031 kB / 0.6594 GB, free: 7.816 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005821/0.832, allocations: 0.9478 MB / 0.6603 GB, free: 6.863 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006436/0.8385, allocations: 2.735 MB / 0.663 GB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002324/0.8387, allocations: 124 kB / 0.6631 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001117/0.8399, allocations: 215.9 kB / 0.6633 GB, free: 3.75 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009408/0.8493, allocations: 4.557 MB / 0.6678 GB, free: 15.18 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01367/0.863, allocations: 5.676 MB / 0.6733 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001194/0.8632, allocations: 0 / 0.6733 GB, free: 9.344 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009216/0.8641, allocations: 4 kB / 0.6733 GB, free: 9.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003714/0.8645, allocations: 295.3 kB / 0.6736 GB, free: 9.051 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3572/1.222, allocations: 20.95 MB / 0.694 GB, free: 76.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008825/1.231, allocations: 4.125 MB / 0.6981 GB, free: 73.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002278/1.233, allocations: 0.7589 MB / 0.6988 GB, free: 73.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002437/1.233, allocations: 104 kB / 0.6989 GB, free: 73.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/1.233, allocations: 42.69 kB / 0.6989 GB, free: 73.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=93): time 5.591e-06/1.233, allocations: 2.875 kB / 0.699 GB, free: 73.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=93): time 0.003089/1.236, allocations: 1.393 MB / 0.7003 GB, free: 73.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/1.236, allocations: 89.08 kB / 0.7004 GB, free: 73.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002982/1.239, allocations: 1.342 MB / 0.7017 GB, free: 73.44 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.586e-05/1.24, allocations: 25.7 kB / 0.7017 GB, free: 73.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.241, allocations: 1.768 MB / 0.7035 GB, free: 72.61 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/1.241, allocations: 336.4 kB / 0.7038 GB, free: 72.45 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000179/1.242, allocations: 0 / 0.7038 GB, free: 72.45 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002645/1.242, allocations: 450.5 kB / 0.7042 GB, free: 72.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0015/1.243, allocations: 1.083 MB / 0.7053 GB, free: 72.12 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/1.245, allocations: 2.001 MB / 0.7072 GB, free: 70.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/1.248, allocations: 1.782 MB / 0.709 GB, free: 70.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.006e-05/1.248, allocations: 11.22 kB / 0.709 GB, free: 70.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=286) (initialization): time 0.005381/1.254, allocations: 3.197 MB / 0.7121 GB, free: 70.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.309e-05/1.254, allocations: 19.25 kB / 0.7121 GB, free: 70.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.141e-05/1.254, allocations: 44.38 kB / 0.7122 GB, free: 70.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.31e-05/1.254, allocations: 59.27 kB / 0.7122 GB, free: 70.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002061/1.256, allocations: 0.5642 MB / 0.7128 GB, free: 70.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.065e-05/1.256, allocations: 73.89 kB / 0.7128 GB, free: 70.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002452/1.259, allocations: 327.6 kB / 0.7131 GB, free: 70.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002356/1.259, allocations: 121.2 kB / 0.7133 GB, free: 70.61 MB / 426.7 MB Warning: Assuming fixed start value for the following 1 variables: converter.potentialSensor.plug_p.reference.gamma:VARIABLE(start = 0.0 unit = "rad" ) 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (282): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004208/1.259, allocations: 206 kB / 0.7135 GB, free: 70.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/1.26, allocations: 123.2 kB / 0.7136 GB, free: 70.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00287/1.262, allocations: 1.61 MB / 0.7151 GB, free: 70.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001822/1.264, allocations: 1.285 MB / 0.7164 GB, free: 70.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.064e-05/1.264, allocations: 3.25 kB / 0.7164 GB, free: 70.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.372e-05/1.264, allocations: 3.891 kB / 0.7164 GB, free: 70.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008298/1.273, allocations: 3.91 MB / 0.7202 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.273, allocations: 0 / 0.7202 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008678/1.274, allocations: 206.1 kB / 0.7204 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.628e-05/1.274, allocations: 3.688 kB / 0.7204 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-05/1.274, allocations: 14.89 kB / 0.7204 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.459e-05/1.274, allocations: 8.438 kB / 0.7204 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/1.274, allocations: 7.906 kB / 0.7205 GB, free: 69.86 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003326/1.277, allocations: 2.496 MB / 0.7229 GB, free: 69.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008408/1.278, allocations: 347.9 kB / 0.7232 GB, free: 69.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000378/1.278, allocations: 3.188 kB / 0.7232 GB, free: 69.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001074/1.279, allocations: 64.86 kB / 0.7233 GB, free: 69.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.28, allocations: 69.86 kB / 0.7234 GB, free: 69.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-05/1.28, allocations: 29.89 kB / 0.7234 GB, free: 69.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002078/1.282, allocations: 0.9902 MB / 0.7244 GB, free: 69.14 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.533e-06/1.282, allocations: 0 / 0.7244 GB, free: 69.14 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003329/1.285, allocations: 0.8154 MB / 0.7251 GB, free: 68.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (converter.potentialSensor.plug_p.reference.gamma,converter.integrator.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0004308/1.286, allocations: 169.5 kB / 0.7253 GB, free: 68.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003664/1.289, allocations: 2.027 MB / 0.7273 GB, free: 68.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/1.289, allocations: 2.688 kB / 0.7273 GB, free: 68.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009079/1.29, allocations: 0.6238 MB / 0.7279 GB, free: 68.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/1.292, allocations: 251 kB / 0.7281 GB, free: 68.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.303, allocations: 4.807 MB / 0.7328 GB, free: 67.74 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002952/1.306, allocations: 2.958 MB / 0.7357 GB, free: 66.95 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001999/1.308, allocations: 0.7748 MB / 0.7365 GB, free: 66.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003257/1.308, allocations: 119 kB / 0.7366 GB, free: 66.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/1.308, allocations: 0 / 0.7366 GB, free: 66.88 MB / 426.7 MB Notification: Performance of Templates: time 0.03047/1.339, allocations: 17.64 MB / 0.7538 GB, free: 64.43 MB / 426.7 MB make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile make -j1 -f PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=PhotoVoltaics_PhotoVoltaics_ComponentTesting_PolyphaseVoltageControlledConverter -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.PolyphaseVoltageControlledConverter.o PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.c PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.c:135:69: error: assigning to 'modelica_real' (aka 'double') from incompatible type 'Complex_array' (aka 'struct base_array_s') data->localData[0]->realVars[96] /* converter.powerAC variable */ = tmp4; ^ ~~~~ 1 error generated. make: *** [: PhotoVoltaics_PhotoVoltaics.ComponentTesting.PolyphaseVoltageControlledConverter.o] Error 1