Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007077/0.007077, allocations: 169.3 kB / 15.11 MB, free: 5.582 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.487/1.487, allocations: 223.2 MB / 239 MB, free: 1.809 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.001547/0.001547, allocations: 92.42 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5517/0.5517, allocations: 79.44 MB / 420.8 MB, free: 43.63 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004368, allocations: 16 kB / 0.4891 GB, free: 1.938 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5061/0.5066, allocations: 69.49 MB / 0.557 GB, free: 38.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.6738, allocations: 116.2 MB / 0.6705 GB, free: 5.312 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/0.6741, allocations: 91.94 kB / 0.6706 GB, free: 5.223 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2013/0.8754, allocations: 66.86 MB / 0.7359 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.034e-06/0.8755, allocations: 0 / 0.7359 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0004057/0.8759, allocations: 55.92 kB / 0.736 GB, free: 2.047 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.01394/0.8899, allocations: 3.726 MB / 0.7396 GB, free: 14.25 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.8899, allocations: 12.03 kB / 0.7396 GB, free: 14.24 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001117/0.891, allocations: 231.5 kB / 0.7398 GB, free: 14 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005345/0.8964, allocations: 0.8475 MB / 0.7407 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007285/0.9037, allocations: 2.029 MB / 0.7426 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001021/0.9048, allocations: 0.7699 MB / 0.7434 GB, free: 10.15 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008676/0.9057, allocations: 159.9 kB / 0.7435 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007042/0.9127, allocations: 2.216 MB / 0.7457 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.445e-05/0.9128, allocations: 4 kB / 0.7457 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004399/0.9133, allocations: 63.94 kB / 0.7458 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.578e-05/0.9133, allocations: 36 kB / 0.7458 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006343/0.9197, allocations: 2.241 MB / 0.748 GB, free: 5.379 MB / 0.5417 GB 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.02115/0.9408, allocations: 7.533 MB / 0.7553 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01312/0.954, allocations: 4.701 MB / 0.7599 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003519/0.9544, allocations: 33.97 kB / 0.76 GB, free: 8.766 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004621/0.959, allocations: 1.599 MB / 0.7615 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=182): time 6.152e-06/0.9591, allocations: 0 / 0.7615 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of matching and sorting (n=182): time 0.4049/1.364, allocations: 14.06 MB / 0.7753 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/1.364, allocations: 254.9 kB / 0.7755 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/1.37, allocations: 2.332 MB / 0.7778 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006532/1.371, allocations: 64.03 kB / 0.7778 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001058/1.372, allocations: 1.006 MB / 0.7788 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009255/1.373, allocations: 0.6455 MB / 0.7795 GB, free: 123 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.373, allocations: 37.09 kB / 0.7795 GB, free: 123 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000124/1.373, allocations: 378.3 kB / 0.7799 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/1.376, allocations: 1.251 MB / 0.7811 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00295/1.379, allocations: 1.492 MB / 0.7825 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002853/1.381, allocations: 1.343 MB / 0.7838 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.636e-06/1.381, allocations: 2.875 kB / 0.7838 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.009213/1.391, allocations: 4.132 MB / 0.7879 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00036/1.391, allocations: 1.429 MB / 0.7893 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/1.391, allocations: 2.625 kB / 0.7893 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01237/1.403, allocations: 3.895 MB / 0.7931 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.405, allocations: 302.3 kB / 0.7934 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009887/1.415, allocations: 4.126 MB / 0.7974 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004354/1.42, allocations: 466.3 kB / 0.7978 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004521/1.42, allocations: 68.08 kB / 0.7979 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.893e-05/1.42, allocations: 5.719 kB / 0.7979 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009049/1.429, allocations: 3.629 MB / 0.8015 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/1.429, allocations: 3.938 kB / 0.8015 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0126/1.442, allocations: 3.683 MB / 0.8051 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/1.444, allocations: 300.9 kB / 0.8053 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009608/1.453, allocations: 3.758 MB / 0.809 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00424/1.458, allocations: 418.3 kB / 0.8094 GB, free: 118.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004319/1.458, allocations: 67.97 kB / 0.8095 GB, free: 118.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (142): * Single equations (assignments): 141 * 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 {35 73} Notification: Performance of prepare postOptimizeDAE: time 0.001683/1.46, allocations: 0.5111 MB / 0.81 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001044/1.461, allocations: 261 kB / 0.8102 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02151/1.482, allocations: 7.015 MB / 0.8171 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.714e-05/1.482, allocations: 19.25 kB / 0.8171 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.791e-05/1.482, allocations: 0.9844 kB / 0.8171 GB, free: 116.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.501e-05/1.483, allocations: 8.859 kB / 0.8171 GB, free: 116.8 MB / 0.5573 GB 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 postOpt removeSimpleEquations (simulation): time 0.03179/1.514, allocations: 10.2 MB / 0.8271 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.45e-05/1.514, allocations: 0 / 0.8271 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001997/1.516, allocations: 269.9 kB / 0.8273 GB, free: 113.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008689/1.525, allocations: 2.675 MB / 0.8299 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006499/1.526, allocations: 52.66 kB / 0.83 GB, free: 113 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03092/1.557, allocations: 13.39 MB / 0.8431 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/1.557, allocations: 2.5 kB / 0.8431 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02662/1.583, allocations: 8.764 MB / 0.8516 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001661/1.585, allocations: 420.6 kB / 0.852 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/1.587, allocations: 44.25 kB / 0.8521 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004178/1.591, allocations: 351.4 kB / 0.8524 GB, free: 104 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001553/1.593, allocations: 312 kB / 0.8527 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000473/1.593, allocations: 51.05 kB / 0.8528 GB, free: 103.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005747/1.599, allocations: 1.858 MB / 0.8546 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.7e-07/1.599, allocations: 0 / 0.8546 GB, free: 103.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006377/1.605, allocations: 1.067 MB / 0.8556 GB, free: 103 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.TF.x_scaled[1]) * Number of discrete variables: 2 ($whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 128 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02626/1.632, allocations: 9.597 MB / 0.865 GB, free: 94.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02038/1.652, allocations: 6.251 MB / 0.8711 GB, free: 89.61 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.27e-05/1.652, allocations: 0 / 0.8711 GB, free: 89.61 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008039/1.66, allocations: 2.747 MB / 0.8738 GB, free: 87.23 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002972/1.663, allocations: 262.8 kB / 0.874 GB, free: 87 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/1.68, allocations: 9.132 MB / 0.8829 GB, free: 78.34 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/1.682, allocations: 1.69 MB / 0.8846 GB, free: 76.99 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.002035/1.684, allocations: 321.6 kB / 0.8849 GB, free: 76.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001843/1.686, allocations: 1.005 MB / 0.8859 GB, free: 75.85 MB / 0.5573 GB Notification: Performance of SimCode: time 1.934e-06/1.686, allocations: 0 / 0.8859 GB, free: 75.85 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1095/1.795, allocations: 65.49 MB / 0.9498 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/1.796, allocations: 191.7 kB / 0.95 GB, free: 17.85 MB / 0.5573 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_functions.h:153: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); ^ 2 warnings and 1 error generated. make: *** [: OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.o] Error 1