Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.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/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest") translateModel(OpenIPSL.Tests.Solar.PSAT.SolarPQTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004895/0.004895, allocations: 169.5 kB / 15.11 MB, free: 5.984 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.252/1.252, allocations: 223.2 MB / 239 MB, free: 1.789 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.0008858/0.0008857, allocations: 99.56 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4349/0.4349, allocations: 79.43 MB / 420.8 MB, free: 43.72 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003373/0.0003373, allocations: 8 kB / 0.489 GB, free: 2.082 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3909/0.3913, allocations: 69.5 MB / 0.5569 GB, free: 38.87 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1319/0.5232, allocations: 99.45 MB / 0.654 GB, free: 6.164 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.5235, allocations: 84.58 kB / 0.6541 GB, free: 6.082 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07792/0.6014, allocations: 29.12 MB / 0.6825 GB, free: 8.797 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.305e-06/0.6015, allocations: 0 / 0.6825 GB, free: 8.797 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.123e-05/0.6015, allocations: 24 kB / 0.6826 GB, free: 8.773 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 178 * Number of variables: 178 Notification: Performance of Generate backend data structure: time 0.005078/0.6066, allocations: 1.834 MB / 0.6844 GB, free: 6.887 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.6067, allocations: 8.031 kB / 0.6844 GB, free: 6.879 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.6094, allocations: 490 kB / 0.6848 GB, free: 6.398 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.6106, allocations: 0.6705 MB / 0.6855 GB, free: 5.684 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000388/0.611, allocations: 365.2 kB / 0.6858 GB, free: 5.273 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.6112, allocations: 71.91 kB / 0.6859 GB, free: 5.203 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.6136, allocations: 1.2 MB / 0.6871 GB, free: 3.988 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.948e-05/0.6136, allocations: 3.984 kB / 0.6871 GB, free: 3.984 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.733e-05/0.6137, allocations: 28 kB / 0.6871 GB, free: 3.957 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.883e-05/0.6138, allocations: 20 kB / 0.6871 GB, free: 3.938 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002454/0.6162, allocations: 1.144 MB / 0.6882 GB, free: 2.793 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007114/0.6233, allocations: 3.756 MB / 0.6919 GB, free: 14.82 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007968/0.6313, allocations: 3.06 MB / 0.6949 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.6315, allocations: 16.98 kB / 0.6949 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.655e-05/0.6315, allocations: 47.52 kB / 0.695 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=92): time 3.907e-06/0.6315, allocations: 0 / 0.695 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92): time 0.03204/0.6636, allocations: 9.351 MB / 0.7041 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.6637, allocations: 94.11 kB / 0.7042 GB, free: 2.07 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.6648, allocations: 0.7207 MB / 0.7049 GB, free: 1.328 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000148/0.665, allocations: 41.7 kB / 0.7049 GB, free: 1.281 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/0.6653, allocations: 452.5 kB / 0.7054 GB, free: 0.832 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.6656, allocations: 323.2 kB / 0.7057 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.6657, allocations: 20 kB / 0.7057 GB, free: 0.4922 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.6658, allocations: 337.9 kB / 0.706 GB, free: 160 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001473/0.6673, allocations: 0.6853 MB / 0.7067 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/0.6688, allocations: 0.8119 MB / 0.7075 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001428/0.6702, allocations: 0.7311 MB / 0.7082 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/0.6703, allocations: 4 kB / 0.7082 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.01508/0.6853, allocations: 5.293 MB / 0.7134 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.6854, allocations: 5.562 kB / 0.7134 GB, free: 8.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/0.6854, allocations: 4 kB / 0.7134 GB, free: 8.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007383/0.6928, allocations: 2.424 MB / 0.7157 GB, free: 6.133 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005978/0.6934, allocations: 111.8 kB / 0.7158 GB, free: 6.023 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02704/0.7205, allocations: 11.6 MB / 0.7272 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.722, allocations: 195.1 kB / 0.7274 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.189e-05/0.7221, allocations: 32 kB / 0.7274 GB, free: 10.06 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: SPQ.iq:VARIABLE(start = SPQ.iqref unit = "1" fixed = true ) "q-axis current" type: Real SPQ.id:VARIABLE(start = SPQ.idref unit = "1" fixed = true ) "d-axis current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of prepare postOptimizeDAE: time 0.0005161/0.7226, allocations: 233.7 kB / 0.7276 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/0.7228, allocations: 110.7 kB / 0.7277 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01455/0.7374, allocations: 5.266 MB / 0.7329 GB, free: 4.43 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.7374, allocations: 12 kB / 0.7329 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.7374, allocations: 0 / 0.7329 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.908e-06/0.7374, allocations: 3.984 kB / 0.7329 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01662/0.7541, allocations: 6.788 MB / 0.7395 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.7541, allocations: 4 kB / 0.7395 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004928/0.7546, allocations: 83.91 kB / 0.7396 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006766/0.7614, allocations: 2.33 MB / 0.7419 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/0.7615, allocations: 19.98 kB / 0.7419 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02403/0.7855, allocations: 10.25 MB / 0.7519 GB, free: 0.6719 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.7856, allocations: 8 kB / 0.7519 GB, free: 0.6641 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01705/0.8026, allocations: 6.362 MB / 0.7581 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004798/0.8031, allocations: 207.6 kB / 0.7583 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001471/0.8033, allocations: 16 kB / 0.7583 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/0.8044, allocations: 143.9 kB / 0.7585 GB, free: 9.895 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007162/0.8051, allocations: 220.6 kB / 0.7587 GB, free: 9.68 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.799e-05/0.8052, allocations: 27.98 kB / 0.7587 GB, free: 9.652 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0007694/0.806, allocations: 0.5661 MB / 0.7593 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.7e-07/0.806, allocations: 0 / 0.7593 GB, free: 9.074 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00134/0.8073, allocations: 423.5 kB / 0.7597 GB, free: 8.66 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (gENCLS.delta,gENCLS.eq,SPQ.id,SPQ.iq,gENCLS.omega) * 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 (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002617/0.8076, allocations: 139.1 kB / 0.7598 GB, free: 8.512 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.007627/0.8153, allocations: 2.715 MB / 0.7624 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.8153, allocations: 0 / 0.7624 GB, free: 5.785 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005717/0.821, allocations: 1.935 MB / 0.7643 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/0.8218, allocations: 75.33 kB / 0.7644 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003714/0.8255, allocations: 2.384 MB / 0.7667 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007314/0.8262, allocations: 1.08 MB / 0.7678 GB, free: 240 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003955/0.8266, allocations: 61.47 kB / 0.7678 GB, free: 176 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/0.8268, allocations: 51.42 kB / 0.7679 GB, free: 124 kB / 0.5573 GB Notification: Performance of SimCode: time 1.673e-06/0.8268, allocations: 0 / 0.7679 GB, free: 124 kB / 0.5573 GB Notification: Performance of Templates: time 0.2685/1.095, allocations: 22.76 MB / 0.7901 GB, free: 148.9 MB / 0.5573 GB make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.makefile make -j1 -f OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_dev_OpenIPSL_Tests_Solar_PSAT_SolarPQTest -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.o OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.c In file included from OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.c:7: In file included from ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest_model.h:24: ./OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest_functions.h:137:1: error: unknown type name 'OpenIPSL_Types_ComplexPower' OpenIPSL_Types_ComplexPower omc_OpenIPSL_Types_ComplexPower (threadData_t *threadData, modelica_real omc_re, modelica_real omc_im); ^ 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL.Tests.Solar.PSAT.SolarPQTest.o] Error 1