Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.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.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",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.007635/0.007635, allocations: 172.4 kB / 15.12 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.642/1.642, allocations: 223.2 MB / 239 MB, free: 1.801 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.000936/0.000936, allocations: 94.25 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.5352/0.5352, allocations: 79.44 MB / 420.7 MB, free: 43.66 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.00041, allocations: 12 kB / 0.4891 GB, free: 1.965 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5028/0.5033, allocations: 69.5 MB / 0.557 GB, free: 38.71 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1713/0.6746, allocations: 114.2 MB / 0.6686 GB, free: 7.324 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003655/0.6751, allocations: 83.95 kB / 0.6687 GB, free: 7.242 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1273/0.8024, allocations: 45.56 MB / 0.7131 GB, free: 9.453 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.504e-06/0.8025, allocations: 4 kB / 0.7131 GB, free: 9.449 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.488e-05/0.8026, allocations: 32 kB / 0.7132 GB, free: 9.418 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: 263 * Number of variables: 263 Notification: Performance of Generate backend data structure: time 0.008264/0.8108, allocations: 2.681 MB / 0.7158 GB, free: 6.676 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.8109, allocations: 8.031 kB / 0.7158 GB, free: 6.668 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000613/0.8115, allocations: 168.5 kB / 0.716 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/0.8161, allocations: 0.7507 MB / 0.7167 GB, free: 5.738 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003279/0.8194, allocations: 1.191 MB / 0.7179 GB, free: 4.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005118/0.8199, allocations: 466.5 kB / 0.7183 GB, free: 3.969 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.8202, allocations: 119.8 kB / 0.7184 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003387/0.8236, allocations: 1.59 MB / 0.72 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.8236, allocations: 0 / 0.72 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.8238, allocations: 44 kB / 0.72 GB, free: 2.168 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.8238, allocations: 28 kB / 0.72 GB, free: 2.141 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003302/0.8271, allocations: 1.503 MB / 0.7215 GB, free: 0.6289 MB / 0.5105 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.01227/0.8394, allocations: 5.539 MB / 0.7269 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009531/0.849, allocations: 3.641 MB / 0.7305 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007187/0.8497, allocations: 0.7336 MB / 0.7312 GB, free: 6.184 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002591/0.8523, allocations: 1.192 MB / 0.7323 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=133): time 5.411e-06/0.8523, allocations: 0 / 0.7323 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of matching and sorting (n=133): time 0.04518/0.8975, allocations: 12.45 MB / 0.7445 GB, free: 8.477 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.34e-05/0.8977, allocations: 120.1 kB / 0.7446 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.9004, allocations: 1.372 MB / 0.746 GB, free: 6.957 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004389/0.9009, allocations: 49.69 kB / 0.746 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.9015, allocations: 0.6835 MB / 0.7467 GB, free: 6.211 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006306/0.9021, allocations: 481.1 kB / 0.7471 GB, free: 5.734 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.9022, allocations: 28 kB / 0.7472 GB, free: 5.707 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000194/0.9024, allocations: 361.9 kB / 0.7475 GB, free: 5.348 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002073/0.9045, allocations: 0.9214 MB / 0.7484 GB, free: 4.426 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00211/0.9066, allocations: 1.109 MB / 0.7495 GB, free: 3.262 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002099/0.9087, allocations: 0.9899 MB / 0.7505 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.814e-06/0.9088, allocations: 0 / 0.7505 GB, free: 2.277 MB / 0.5417 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007121/0.9159, allocations: 3.095 MB / 0.7535 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.9159, allocations: 4 kB / 0.7535 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.451e-05/0.916, allocations: 8 kB / 0.7535 GB, free: 15.15 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009862/0.9258, allocations: 3.046 MB / 0.7565 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/0.9272, allocations: 239.7 kB / 0.7567 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006847/0.9341, allocations: 3.003 MB / 0.7596 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0029/0.937, allocations: 286.6 kB / 0.7599 GB, free: 8.559 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002138/0.9373, allocations: 51.98 kB / 0.76 GB, free: 8.508 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: 3 ($whenCondition1,$whenCondition2,eSDC1A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * 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.0009193/0.9382, allocations: 305.5 kB / 0.7602 GB, free: 8.199 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/0.9387, allocations: 173.8 kB / 0.7604 GB, free: 8.027 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/0.9566, allocations: 6.02 MB / 0.7663 GB, free: 1.988 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-05/0.9567, allocations: 16 kB / 0.7663 GB, free: 1.973 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.9567, allocations: 3.953 kB / 0.7663 GB, free: 1.969 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.306e-05/0.9568, allocations: 7.969 kB / 0.7663 GB, free: 1.961 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.4827/1.439, allocations: 8.2 MB / 0.7743 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.299e-05/1.44, allocations: 0.9844 kB / 0.7743 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00153/1.441, allocations: 168.5 kB / 0.7745 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009945/1.451, allocations: 2.502 MB / 0.7769 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004935/1.452, allocations: 37.45 kB / 0.777 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03377/1.485, allocations: 10.88 MB / 0.7876 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.485, allocations: 5.031 kB / 0.7876 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02705/1.513, allocations: 7.269 MB / 0.7947 GB, free: 130.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/1.514, allocations: 309.2 kB / 0.795 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/1.514, allocations: 26.25 kB / 0.795 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002409/1.517, allocations: 198.7 kB / 0.7952 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001239/1.518, allocations: 270.8 kB / 0.7955 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001651/1.518, allocations: 34.56 kB / 0.7955 GB, free: 130.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002656/1.521, allocations: 1.066 MB / 0.7965 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.9e-07/1.521, allocations: 4 kB / 0.7965 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002799/1.524, allocations: 0.5398 MB / 0.7971 GB, free: 130.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSDC1A.imDerivativeLag.x,eSDC1A.imLeadLag.TF.x_scaled[1],eSDC1A.simpleLagLim.state,eSDC1A.rotatingExciterLimited.sISO.y,eSDC1A.TransducerDelay.state) * 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 (90): * Single equations (assignments): 89 * 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.02971/1.553, allocations: 8.056 MB / 0.8049 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01313/1.566, allocations: 3.034 MB / 0.8079 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/1.567, allocations: 0.8438 kB / 0.8079 GB, free: 128.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/1.577, allocations: 2.23 MB / 0.8101 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002086/1.579, allocations: 140 kB / 0.8102 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01213/1.591, allocations: 7.145 MB / 0.8172 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001275/1.592, allocations: 1.311 MB / 0.8185 GB, free: 121.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001138/1.593, allocations: 142.8 kB / 0.8186 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.595, allocations: 0.6556 MB / 0.8192 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/1.595, allocations: 3.219 kB / 0.8192 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09879/1.694, allocations: 40.07 MB / 0.8584 GB, free: 113.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/1.694, allocations: 196.2 kB / 0.8586 GB, free: 113.1 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_ES_ESDC1A.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_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_ES_ESDC1A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_functions.h:169: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_ES_ESDC1A.o] Error 1