Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.ES.ST5B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",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.007142/0.007142, allocations: 170.6 kB / 15.11 MB, free: 5.992 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.431/1.431, allocations: 223.2 MB / 239 MB, free: 1.762 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.001051/0.001051, allocations: 100.5 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5132/0.5132, allocations: 78.52 MB / 419.8 MB, free: 44.06 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003951/0.0003952, allocations: 16 kB / 499.8 MB, free: 2.602 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4599/0.4603, allocations: 69.35 MB / 0.5558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.6162, allocations: 111.8 MB / 0.665 GB, free: 10.53 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.6165, allocations: 89.48 kB / 0.665 GB, free: 10.45 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1368/0.7534, allocations: 52.97 MB / 0.7168 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.543e-06/0.7534, allocations: 0 / 0.7168 GB, free: 5.227 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001357/0.7536, allocations: 47.94 kB / 0.7168 GB, free: 5.18 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.008516/0.7621, allocations: 3.077 MB / 0.7198 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.561e-05/0.7622, allocations: 12.03 kB / 0.7198 GB, free: 2.031 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000408/0.7626, allocations: 215.1 kB / 0.72 GB, free: 1.812 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/0.7657, allocations: 0.6257 MB / 0.7206 GB, free: 1.184 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002637/0.7683, allocations: 1.387 MB / 0.722 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004665/0.7688, allocations: 473.5 kB / 0.7224 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.7691, allocations: 147.9 kB / 0.7226 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004044/0.7731, allocations: 2.141 MB / 0.7247 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.664e-05/0.7732, allocations: 0 / 0.7247 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.7733, allocations: 60 kB / 0.7247 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.559e-05/0.7734, allocations: 36 kB / 0.7248 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00407/0.7774, allocations: 1.939 MB / 0.7267 GB, free: 10.8 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.0135/0.791, allocations: 7.384 MB / 0.7339 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00965/0.8006, allocations: 3.999 MB / 0.7378 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002872/0.801, allocations: 37.27 kB / 0.7378 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003085/0.8041, allocations: 1.403 MB / 0.7392 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=163): time 5.901e-06/0.8041, allocations: 3.984 kB / 0.7392 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=163): time 0.04474/0.8488, allocations: 12.82 MB / 0.7517 GB, free: 0.6836 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.8491, allocations: 304 kB / 0.752 GB, free: 328 kB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003059/0.8521, allocations: 1.523 MB / 0.7535 GB, free: 14.76 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005352/0.8527, allocations: 49.7 kB / 0.7535 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007961/0.8535, allocations: 0.876 MB / 0.7544 GB, free: 13.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008557/0.8544, allocations: 0.5776 MB / 0.755 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001214/0.8545, allocations: 40.06 kB / 0.755 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001889/0.8547, allocations: 373.9 kB / 0.7554 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002363/0.8571, allocations: 1.093 MB / 0.7564 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.8596, allocations: 1.406 MB / 0.7578 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002383/0.862, allocations: 1.181 MB / 0.7589 GB, free: 9.039 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.647e-05/0.862, allocations: 4 kB / 0.7589 GB, free: 9.035 MB / 0.5573 GB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01023/0.8723, allocations: 4.366 MB / 0.7632 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001102/0.8734, allocations: 2.485 MB / 0.7656 GB, free: 1.984 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.8735, allocations: 8 kB / 0.7656 GB, free: 1.977 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3881/1.262, allocations: 4.151 MB / 0.7697 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.263, allocations: 207.6 kB / 0.7699 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/1.276, allocations: 6.61 MB / 0.7764 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/1.279, allocations: 334.4 kB / 0.7767 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/1.279, allocations: 65.11 kB / 0.7767 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/1.279, allocations: 6.25 kB / 0.7767 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007647/1.287, allocations: 3.579 MB / 0.7802 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/1.287, allocations: 6.031 kB / 0.7802 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/1.298, allocations: 3.894 MB / 0.784 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000937/1.299, allocations: 206.2 kB / 0.7842 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01224/1.312, allocations: 9.652 MB / 0.7937 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002845/1.315, allocations: 275.3 kB / 0.7939 GB, free: 119.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001949/1.315, allocations: 69.48 kB / 0.794 GB, free: 119.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.001189/1.316, allocations: 454.9 kB / 0.7944 GB, free: 119.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004893/1.316, allocations: 214.8 kB / 0.7946 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/1.335, allocations: 6.368 MB / 0.8009 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.314e-05/1.335, allocations: 16.5 kB / 0.8009 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/1.335, allocations: 1.281 kB / 0.8009 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.575e-05/1.335, allocations: 9.344 kB / 0.8009 GB, free: 119.3 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.0234/1.358, allocations: 8.974 MB / 0.8096 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/1.358, allocations: 1.312 kB / 0.8096 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.36, allocations: 248.5 kB / 0.8099 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008273/1.368, allocations: 2.508 MB / 0.8123 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004588/1.369, allocations: 41.94 kB / 0.8124 GB, free: 118.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02814/1.397, allocations: 10.87 MB / 0.823 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.397, allocations: 0 / 0.823 GB, free: 114.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02307/1.42, allocations: 7.878 MB / 0.8307 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/1.421, allocations: 331.9 kB / 0.831 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00107/1.422, allocations: 34.16 kB / 0.831 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/1.425, allocations: 230.7 kB / 0.8312 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001272/1.426, allocations: 277.3 kB / 0.8315 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003439/1.427, allocations: 52.05 kB / 0.8316 GB, free: 111.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00293/1.43, allocations: 1.171 MB / 0.8327 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.3e-07/1.43, allocations: 0 / 0.8327 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005426/1.435, allocations: 0.9898 MB / 0.8337 GB, free: 111.1 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02104/1.456, allocations: 8.647 MB / 0.8421 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01862/1.475, allocations: 6.585 MB / 0.8485 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.475, allocations: 0 / 0.8485 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00684/1.482, allocations: 2.414 MB / 0.8509 GB, free: 105.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.484, allocations: 205.6 kB / 0.8511 GB, free: 105.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01324/1.497, allocations: 9.663 MB / 0.8605 GB, free: 97.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.499, allocations: 1.477 MB / 0.862 GB, free: 96.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001269/1.5, allocations: 188.2 kB / 0.8622 GB, free: 96.03 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001366/1.501, allocations: 0.8341 MB / 0.863 GB, free: 95.26 MB / 0.5573 GB Notification: Performance of SimCode: time 2.575e-06/1.501, allocations: 0 / 0.863 GB, free: 95.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09223/1.594, allocations: 56.8 MB / 0.9184 GB, free: 49.99 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000159/1.594, allocations: 188 kB / 0.9186 GB, free: 49.75 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_ES_ST5B.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_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_ES_ST5B.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_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_ES_ST5B.o] Error 1