Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC1A,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.005843/0.005843, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 221.3 MB, free: 13.83 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008432/0.000843, allocations: 94.84 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0719/0.0719, allocations: 12.2 MB / 330.1 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.415/0.415, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005438/0.0005438, allocations: 21.47 kB / 0.528 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1519, allocations: 69.24 MB / 0.5956 GB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4765/0.6285, allocations: 115.1 MB / 0.7081 GB, free: 33.12 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002812/0.6288, allocations: 92.89 kB / 0.7082 GB, free: 33.12 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1172/0.746, allocations: 46.59 MB / 0.7537 GB, free: 22.46 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7461, allocations: 0 / 0.7537 GB, free: 22.46 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001662/0.7462, allocations: 35.03 kB / 0.7537 GB, free: 22.45 MB / 474.7 MB 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.008902/0.7552, allocations: 2.679 MB / 0.7563 GB, free: 20.94 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7552, allocations: 11.83 kB / 0.7563 GB, free: 20.93 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007/0.7559, allocations: 167.4 kB / 0.7565 GB, free: 20.87 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003452/0.7594, allocations: 0.5778 MB / 0.7571 GB, free: 20.64 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003304/0.7627, allocations: 1.143 MB / 0.7582 GB, free: 20.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004422/0.7632, allocations: 466.9 kB / 0.7586 GB, free: 19.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004928/0.7637, allocations: 107.6 kB / 0.7587 GB, free: 19.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003507/0.7672, allocations: 1.591 MB / 0.7603 GB, free: 19.22 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.7672, allocations: 3.938 kB / 0.7603 GB, free: 19.22 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.7674, allocations: 43.22 kB / 0.7603 GB, free: 19.22 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.7674, allocations: 31.36 kB / 0.7603 GB, free: 19.21 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003183/0.7706, allocations: 1.509 MB / 0.7618 GB, free: 18.97 MB / 474.7 MB 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.01062/0.7813, allocations: 5.38 MB / 0.7671 GB, free: 16.22 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008841/0.7901, allocations: 3.636 MB / 0.7706 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006014/0.7908, allocations: 0.7318 MB / 0.7713 GB, free: 14.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002706/0.7935, allocations: 1.201 MB / 0.7725 GB, free: 13.68 MB / 474.7 MB Notification: Performance of pre-optimization done (n=133): time 5.15e-06/0.7935, allocations: 0 / 0.7725 GB, free: 13.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=133): time 0.04293/0.8365, allocations: 12.44 MB / 0.7847 GB, free: 5.625 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.8365, allocations: 120.1 kB / 0.7848 GB, free: 5.484 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.8394, allocations: 1.319 MB / 0.7861 GB, free: 4.512 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003902/0.8398, allocations: 55.77 kB / 0.7861 GB, free: 4.469 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005466/0.8403, allocations: 0.6837 MB / 0.7868 GB, free: 4.121 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007387/0.8411, allocations: 471.4 kB / 0.7872 GB, free: 3.727 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.8413, allocations: 32.94 kB / 0.7873 GB, free: 3.719 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001374/0.8415, allocations: 355.5 kB / 0.7876 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002037/0.8435, allocations: 0.9269 MB / 0.7885 GB, free: 2.746 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002057/0.8456, allocations: 1.106 MB / 0.7896 GB, free: 1.898 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/0.8477, allocations: 0.9875 MB / 0.7906 GB, free: 1.27 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/0.8477, allocations: 7.953 kB / 0.7906 GB, free: 1.262 MB / 474.7 MB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007118/0.8548, allocations: 3.081 MB / 0.7936 GB, free: 15.04 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/0.8549, allocations: 8 kB / 0.7936 GB, free: 15.03 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.379e-05/0.8549, allocations: 8.062 kB / 0.7936 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01004/0.865, allocations: 3.047 MB / 0.7966 GB, free: 12.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.8664, allocations: 247.1 kB / 0.7968 GB, free: 12.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/0.8736, allocations: 3.009 MB / 0.7997 GB, free: 9.426 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/0.8764, allocations: 270.7 kB / 0.8 GB, free: 9.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003477/0.8767, allocations: 55.91 kB / 0.8 GB, free: 9.105 MB / 490.7 MB 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.001204/0.878, allocations: 302.4 kB / 0.8003 GB, free: 8.801 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007557/0.8787, allocations: 177.8 kB / 0.8005 GB, free: 8.625 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/0.8968, allocations: 6.024 MB / 0.8064 GB, free: 2.578 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.219e-05/0.8968, allocations: 12 kB / 0.8064 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.8968, allocations: 4 kB / 0.8064 GB, free: 2.562 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.309e-05/0.8969, allocations: 11.97 kB / 0.8064 GB, free: 2.551 MB / 490.7 MB 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.02262/0.9195, allocations: 8.156 MB / 0.8144 GB, free: 10.29 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.9196, allocations: 4.031 kB / 0.8144 GB, free: 10.29 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/0.9208, allocations: 167.8 kB / 0.8145 GB, free: 10.12 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008038/0.9289, allocations: 2.501 MB / 0.817 GB, free: 7.617 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004048/0.9293, allocations: 36 kB / 0.817 GB, free: 7.582 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02756/0.9569, allocations: 10.89 MB / 0.8276 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9569, allocations: 0 / 0.8276 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02143/0.9784, allocations: 7.28 MB / 0.8348 GB, free: 5.238 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009862/0.9794, allocations: 286.5 kB / 0.835 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008322/0.9803, allocations: 28 kB / 0.8351 GB, free: 4.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002442/0.9827, allocations: 191.8 kB / 0.8352 GB, free: 4.723 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001112/0.9839, allocations: 273.2 kB / 0.8355 GB, free: 4.453 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002621/0.9841, allocations: 35.98 kB / 0.8355 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002481/0.9866, allocations: 1.024 MB / 0.8365 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.31e-07/0.9867, allocations: 0 / 0.8365 GB, free: 3.398 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002609/0.9893, allocations: 0.5346 MB / 0.8371 GB, free: 2.863 MB / 0.5105 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.02279/1.012, allocations: 8.05 MB / 0.8449 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01085/1.023, allocations: 3.03 MB / 0.8479 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/1.023, allocations: 0.875 kB / 0.8479 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007243/1.03, allocations: 2.241 MB / 0.8501 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001849/1.032, allocations: 138.5 kB / 0.8502 GB, free: 5.344 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01148/1.044, allocations: 7.071 MB / 0.8571 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/1.045, allocations: 1.305 MB / 0.8584 GB, free: 12.8 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.000902/1.046, allocations: 141.4 kB / 0.8585 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.047, allocations: 0.6555 MB / 0.8592 GB, free: 12 MB / 0.5417 GB Notification: Performance of SimCode: time 1.403e-06/1.047, allocations: 0 / 0.8592 GB, free: 12 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07391/1.121, allocations: 39.55 MB / 0.8978 GB, free: 4.586 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/1.121, allocations: 191.5 kB / 0.898 GB, free: 4.348 MB / 0.573 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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC1A.o] Error 1