Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.01052/0.01052, allocations: 171.2 kB / 15.11 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.46/1.46, allocations: 223.2 MB / 239 MB, free: 1.766 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.0008937/0.0008935, allocations: 90.16 kB / 290.2 MB, free: 13.91 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4964/0.4964, allocations: 78.52 MB / 419.8 MB, free: 44.1 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004165/0.0004165, allocations: 16 kB / 499.8 MB, free: 2.602 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4574/0.4578, allocations: 69.34 MB / 0.5558 GB, free: 38.39 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.165/0.6229, allocations: 114.1 MB / 0.6672 GB, free: 8.113 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003195/0.6233, allocations: 89.73 kB / 0.6673 GB, free: 8.027 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1295/0.7528, allocations: 47.71 MB / 0.7139 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.554e-06/0.7528, allocations: 0 / 0.7139 GB, free: 8.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001068/0.7529, allocations: 36 kB / 0.7139 GB, free: 8.035 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.008014/0.761, allocations: 2.836 MB / 0.7167 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.553e-05/0.761, allocations: 8.031 kB / 0.7167 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004399/0.7615, allocations: 181.3 kB / 0.7169 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003243/0.7647, allocations: 0.5945 MB / 0.7174 GB, free: 4.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002678/0.7674, allocations: 1.189 MB / 0.7186 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000479/0.7679, allocations: 478.6 kB / 0.7191 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002274/0.7682, allocations: 127.9 kB / 0.7192 GB, free: 2.434 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/0.7715, allocations: 1.683 MB / 0.7208 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.7715, allocations: 0 / 0.7208 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/0.7717, allocations: 51.98 kB / 0.7209 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/0.7717, allocations: 28 kB / 0.7209 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003228/0.7749, allocations: 1.582 MB / 0.7224 GB, free: 15.04 MB / 0.5261 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.01117/0.7861, allocations: 5.786 MB / 0.7281 GB, free: 9.035 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009255/0.7954, allocations: 3.751 MB / 0.7318 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008378/0.7963, allocations: 0.7427 MB / 0.7325 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002755/0.7991, allocations: 1.275 MB / 0.7337 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=148): time 3.727e-06/0.7991, allocations: 0 / 0.7337 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of matching and sorting (n=148): time 0.04577/0.8449, allocations: 12.67 MB / 0.7461 GB, free: 6.199 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.845, allocations: 153.8 kB / 0.7463 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00298/0.848, allocations: 1.396 MB / 0.7476 GB, free: 4.621 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005526/0.8486, allocations: 53.7 kB / 0.7477 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006323/0.8492, allocations: 0.7426 MB / 0.7484 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006902/0.8499, allocations: 0.5083 MB / 0.7489 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.85, allocations: 28 kB / 0.7489 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001787/0.8502, allocations: 369.9 kB / 0.7493 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002071/0.8523, allocations: 0.9488 MB / 0.7502 GB, free: 1.953 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00212/0.8544, allocations: 1.145 MB / 0.7513 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002123/0.8565, allocations: 1.046 MB / 0.7523 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.8566, allocations: 0 / 0.7523 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007039/0.8636, allocations: 3.194 MB / 0.7555 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 5.963e-05/0.8637, allocations: 37.66 kB / 0.7555 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.8637, allocations: 7.984 kB / 0.7555 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009696/0.8734, allocations: 3.015 MB / 0.7584 GB, free: 9.422 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.875, allocations: 263.6 kB / 0.7587 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006745/0.8818, allocations: 3.006 MB / 0.7616 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.8846, allocations: 310.4 kB / 0.7619 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.8848, allocations: 55.98 kB / 0.762 GB, free: 5.781 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009594/0.8858, allocations: 329.5 kB / 0.7623 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.8862, allocations: 189.6 kB / 0.7625 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3408/1.227, allocations: 6.177 MB / 0.7685 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.883e-05/1.227, allocations: 18.47 kB / 0.7685 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/1.227, allocations: 4.391 kB / 0.7685 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.704e-05/1.227, allocations: 12 kB / 0.7685 GB, free: 131.5 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.02382/1.251, allocations: 8.708 MB / 0.777 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.088e-05/1.251, allocations: 2.625 kB / 0.777 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.252, allocations: 169.8 kB / 0.7772 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007774/1.26, allocations: 2.603 MB / 0.7797 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003241/1.26, allocations: 34.39 kB / 0.7798 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02772/1.288, allocations: 12.84 MB / 0.7923 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.022e-06/1.288, allocations: 0 / 0.7923 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02222/1.31, allocations: 7.569 MB / 0.7997 GB, free: 127.4 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/1.312, allocations: 305.2 kB / 0.8 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008876/1.313, allocations: 29.09 kB / 0.8 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002505/1.315, allocations: 212.1 kB / 0.8002 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/1.316, allocations: 287.7 kB / 0.8005 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002907/1.317, allocations: 41.75 kB / 0.8005 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002785/1.319, allocations: 1.091 MB / 0.8016 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.319, allocations: 0 / 0.8016 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002633/1.322, allocations: 0.565 MB / 0.8022 GB, free: 127 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * 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 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02294/1.345, allocations: 8.409 MB / 0.8104 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.356, allocations: 3.175 MB / 0.8135 GB, free: 124 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.356, allocations: 0.875 kB / 0.8135 GB, free: 124 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007465/1.363, allocations: 2.425 MB / 0.8158 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/1.365, allocations: 158.3 kB / 0.816 GB, free: 123 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/1.379, allocations: 7.362 MB / 0.8232 GB, free: 117.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001719/1.381, allocations: 1.379 MB / 0.8245 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001179/1.382, allocations: 148.8 kB / 0.8247 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/1.383, allocations: 0.7066 MB / 0.8254 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/1.383, allocations: 0 / 0.8254 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08015/1.463, allocations: 42.14 MB / 0.8665 GB, free: 104.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001826/1.464, allocations: 180 kB / 0.8667 GB, free: 104.6 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_TG_GAST.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_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_TG_GAST.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_GAST_functions.h:161: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_TG_GAST.o] Error 1