Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_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.007693/0.007693, allocations: 171.1 kB / 15.11 MB, free: 5.988 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.48/1.48, allocations: 223.2 MB / 239 MB, free: 1.785 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.00106/0.001059, allocations: 99.11 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5145/0.5145, allocations: 78.52 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004167/0.0004167, allocations: 12 kB / 499.8 MB, free: 2.625 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4749, allocations: 69.34 MB / 0.5558 GB, free: 39 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1677/0.6426, allocations: 115.6 MB / 0.6687 GB, free: 6.738 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.643, allocations: 92.61 kB / 0.6688 GB, free: 6.648 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1921/0.8352, allocations: 69.04 MB / 0.7362 GB, free: 1.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.955e-06/0.8353, allocations: 4 kB / 0.7362 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002234/0.8355, allocations: 59.94 kB / 0.7363 GB, free: 1.277 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.01234/0.8478, allocations: 3.698 MB / 0.7399 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.731e-05/0.8479, allocations: 8.031 kB / 0.7399 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001027/0.849, allocations: 227.5 kB / 0.7401 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003972/0.8529, allocations: 0.6873 MB / 0.7408 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005898/0.8588, allocations: 1.967 MB / 0.7427 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008526/0.8597, allocations: 0.7659 MB / 0.7434 GB, free: 9.641 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003496/0.8601, allocations: 163.9 kB / 0.7436 GB, free: 9.48 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005044/0.8651, allocations: 2.22 MB / 0.7458 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.055e-05/0.8652, allocations: 0 / 0.7458 GB, free: 7.211 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.8654, allocations: 60 kB / 0.7458 GB, free: 7.152 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.237e-05/0.8654, allocations: 39.94 kB / 0.7458 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005362/0.8708, allocations: 2.252 MB / 0.748 GB, free: 4.855 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.01614/0.887, allocations: 7.428 MB / 0.7553 GB, free: 13.22 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.8993, allocations: 4.698 MB / 0.7599 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.8996, allocations: 37.95 kB / 0.7599 GB, free: 8.348 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003511/0.9032, allocations: 1.599 MB / 0.7615 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=182): time 7.033e-06/0.9032, allocations: 0 / 0.7615 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=182): time 0.4424/1.346, allocations: 14.05 MB / 0.7752 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/1.346, allocations: 263.7 kB / 0.7755 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005211/1.351, allocations: 2.267 MB / 0.7777 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0006305/1.352, allocations: 65.58 kB / 0.7777 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008927/1.353, allocations: 1.011 MB / 0.7787 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008135/1.353, allocations: 0.6367 MB / 0.7793 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/1.354, allocations: 39.75 kB / 0.7794 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001522/1.354, allocations: 379.8 kB / 0.7797 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002754/1.356, allocations: 1.251 MB / 0.781 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00293/1.359, allocations: 1.494 MB / 0.7824 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002687/1.362, allocations: 1.331 MB / 0.7837 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.025e-06/1.362, allocations: 0 / 0.7837 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.008904/1.371, allocations: 4.14 MB / 0.7878 GB, free: 122.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003857/1.371, allocations: 1.429 MB / 0.7892 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/1.371, allocations: 2.625 kB / 0.7892 GB, free: 120.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/1.383, allocations: 3.896 MB / 0.793 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00168/1.385, allocations: 305.2 kB / 0.7933 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009732/1.395, allocations: 4.122 MB / 0.7973 GB, free: 120 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/1.399, allocations: 465.6 kB / 0.7977 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004427/1.4, allocations: 69.25 kB / 0.7978 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.4, allocations: 2.781 kB / 0.7978 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01005/1.41, allocations: 3.629 MB / 0.8013 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.95e-05/1.41, allocations: 3.281 kB / 0.8013 GB, free: 119.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/1.423, allocations: 3.681 MB / 0.8049 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.425, allocations: 308.7 kB / 0.8052 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/1.436, allocations: 3.75 MB / 0.8089 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004327/1.44, allocations: 421 kB / 0.8093 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005731/1.441, allocations: 67.25 kB / 0.8094 GB, free: 118.9 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.002148/1.443, allocations: 0.5047 MB / 0.8098 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00149/1.444, allocations: 265 kB / 0.8101 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02279/1.467, allocations: 7.007 MB / 0.8169 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.805e-05/1.467, allocations: 22.91 kB / 0.817 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.348e-05/1.467, allocations: 0 / 0.817 GB, free: 117.1 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.618e-05/1.467, allocations: 14.34 kB / 0.817 GB, free: 117.1 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.03124/1.499, allocations: 10.16 MB / 0.8269 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.737e-05/1.499, allocations: 3.625 kB / 0.8269 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/1.501, allocations: 267.6 kB / 0.8272 GB, free: 113.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008402/1.509, allocations: 2.688 MB / 0.8298 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006469/1.51, allocations: 52.77 kB / 0.8298 GB, free: 113.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03026/1.54, allocations: 13.38 MB / 0.8429 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.54, allocations: 6.906 kB / 0.8429 GB, free: 107.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02503/1.565, allocations: 8.752 MB / 0.8515 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.567, allocations: 408.6 kB / 0.8518 GB, free: 104.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001326/1.568, allocations: 42.92 kB / 0.8519 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003847/1.572, allocations: 347.8 kB / 0.8522 GB, free: 104.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001348/1.573, allocations: 315.9 kB / 0.8525 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004594/1.574, allocations: 53.69 kB / 0.8526 GB, free: 104.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.004965/1.579, allocations: 1.807 MB / 0.8543 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.81e-07/1.579, allocations: 0 / 0.8543 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005918/1.585, allocations: 1.053 MB / 0.8554 GB, free: 103.2 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.02605/1.611, allocations: 9.604 MB / 0.8647 GB, free: 95.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01955/1.63, allocations: 6.247 MB / 0.8708 GB, free: 89.87 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/1.63, allocations: 0.875 kB / 0.8708 GB, free: 89.87 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007813/1.638, allocations: 2.753 MB / 0.8735 GB, free: 87.47 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002871/1.641, allocations: 267.5 kB / 0.8738 GB, free: 87.25 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01665/1.658, allocations: 9.024 MB / 0.8826 GB, free: 78.72 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/1.659, allocations: 1.684 MB / 0.8842 GB, free: 77.37 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001959/1.661, allocations: 325.2 kB / 0.8846 GB, free: 77.15 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001761/1.663, allocations: 1.008 MB / 0.8855 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of SimCode: time 1.432e-06/1.663, allocations: 0 / 0.8855 GB, free: 76.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1084/1.772, allocations: 64.95 MB / 0.949 GB, free: 19.16 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/1.772, allocations: 184.2 kB / 0.9491 GB, free: 18.92 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_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.o] Error 1