Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXAC1.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.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1",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.009024/0.009024, allocations: 171.3 kB / 15.11 MB, free: 5.973 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.517/1.517, allocations: 205.4 MB / 221.2 MB, free: 13.84 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.00105/0.00105, allocations: 98.86 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.07019/0.07019, 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.4397/0.4397, allocations: 78.53 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000563/0.000563, allocations: 17 kB / 0.528 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1552, allocations: 69.24 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5676/0.723, allocations: 116.7 MB / 0.7097 GB, free: 33.13 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/0.7234, allocations: 88.92 kB / 0.7097 GB, free: 33.13 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1243/0.8477, allocations: 47.56 MB / 0.7562 GB, free: 21.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.8478, allocations: 0 / 0.7562 GB, free: 21.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002357/0.848, allocations: 31.25 kB / 0.7562 GB, free: 21.66 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.00942/0.8574, allocations: 2.728 MB / 0.7589 GB, free: 20.12 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/0.8575, allocations: 15.58 kB / 0.7589 GB, free: 20.12 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007519/0.8583, allocations: 175.5 kB / 0.7591 GB, free: 20.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005368/0.8637, allocations: 0.5882 MB / 0.7596 GB, free: 19.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004592/0.8683, allocations: 1.154 MB / 0.7608 GB, free: 19.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006215/0.8689, allocations: 0.5062 MB / 0.7613 GB, free: 18.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005192/0.8695, allocations: 109.9 kB / 0.7614 GB, free: 18.81 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004045/0.8735, allocations: 1.656 MB / 0.763 GB, free: 18.34 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.274e-05/0.8736, allocations: 7.875 kB / 0.763 GB, free: 18.33 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001672/0.8737, allocations: 47.44 kB / 0.763 GB, free: 18.33 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.733e-05/0.8738, allocations: 30.67 kB / 0.7631 GB, free: 18.33 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003386/0.8772, allocations: 1.559 MB / 0.7646 GB, free: 18.08 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.01043/0.8876, allocations: 5.467 MB / 0.7699 GB, free: 15.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008748/0.8964, allocations: 3.693 MB / 0.7735 GB, free: 14.01 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000503/0.8969, allocations: 0.7277 MB / 0.7742 GB, free: 13.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002416/0.8993, allocations: 1.231 MB / 0.7754 GB, free: 12.78 MB / 474.7 MB Notification: Performance of pre-optimization done (n=136): time 7.133e-06/0.8994, allocations: 0 / 0.7754 GB, free: 12.78 MB / 474.7 MB Notification: Performance of matching and sorting (n=136): time 0.04233/0.9417, allocations: 12.11 MB / 0.7873 GB, free: 3.75 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.9418, allocations: 123.9 kB / 0.7874 GB, free: 3.605 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003274/0.9451, allocations: 1.319 MB / 0.7887 GB, free: 2.637 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004104/0.9455, allocations: 55.95 kB / 0.7887 GB, free: 2.594 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000579/0.9461, allocations: 0.6988 MB / 0.7894 GB, free: 2.242 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000731/0.9469, allocations: 488.7 kB / 0.7899 GB, free: 1.836 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.9471, allocations: 26 kB / 0.7899 GB, free: 1.832 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.9472, allocations: 362.8 kB / 0.7903 GB, free: 1.496 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.9493, allocations: 0.9445 MB / 0.7912 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002229/0.9516, allocations: 1.127 MB / 0.7923 GB, free: 15.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0024/0.954, allocations: 1.005 MB / 0.7933 GB, free: 15.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.005e-06/0.954, allocations: 4 kB / 0.7933 GB, free: 15.34 MB / 490.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.008324/0.9623, allocations: 3.213 MB / 0.7964 GB, free: 13.01 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.211e-05/0.9624, allocations: 5.875 kB / 0.7964 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.115e-05/0.9624, allocations: 4 kB / 0.7964 GB, free: 13 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01081/0.9733, allocations: 3.161 MB / 0.7995 GB, free: 10.04 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.9746, allocations: 235.6 kB / 0.7997 GB, free: 9.812 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008234/0.9829, allocations: 3.677 MB / 0.8033 GB, free: 6.082 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/0.9859, allocations: 286.5 kB / 0.8036 GB, free: 5.801 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/0.9863, allocations: 51.98 kB / 0.8036 GB, free: 5.75 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,eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 121 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001416/0.9877, allocations: 315 kB / 0.8039 GB, free: 5.434 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008251/0.9886, allocations: 177.8 kB / 0.8041 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01907/1.008, allocations: 6.064 MB / 0.81 GB, free: 15.18 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-05/1.008, allocations: 15.98 kB / 0.81 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.76e-05/1.008, allocations: 4 kB / 0.81 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-05/1.008, allocations: 7.969 kB / 0.8101 GB, free: 15.15 MB / 0.4949 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.02404/1.032, allocations: 8.24 MB / 0.8181 GB, free: 6.805 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.392e-05/1.032, allocations: 4.031 kB / 0.8181 GB, free: 6.801 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/1.034, allocations: 171.8 kB / 0.8183 GB, free: 6.633 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008332/1.042, allocations: 2.501 MB / 0.8207 GB, free: 4.125 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004084/1.042, allocations: 35.98 kB / 0.8207 GB, free: 4.09 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02713/1.07, allocations: 10.88 MB / 0.8314 GB, free: 9.074 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/1.07, allocations: 7.875 kB / 0.8314 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02117/1.091, allocations: 7.38 MB / 0.8386 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/1.092, allocations: 290.5 kB / 0.8389 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007716/1.093, allocations: 28 kB / 0.8389 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.095, allocations: 195.8 kB / 0.8391 GB, free: 1.125 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/1.096, allocations: 285.2 kB / 0.8393 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002179/1.097, allocations: 35.98 kB / 0.8394 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0026/1.099, allocations: 1.029 MB / 0.8404 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/1.099, allocations: 0 / 0.8404 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002583/1.102, allocations: 0.5462 MB / 0.8409 GB, free: 15.24 MB / 0.5261 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,eXAC1.imLimitedSimpleLag.state,eXAC1.imDerivativeLag.x,eXAC1.leadLag.TF.x_scaled[1],eXAC1.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC1.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 (93): * Single equations (assignments): 92 * 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.02185/1.124, allocations: 8.148 MB / 0.8489 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009519/1.133, allocations: 3.064 MB / 0.8519 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.133, allocations: 0 / 0.8519 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00699/1.14, allocations: 2.257 MB / 0.8541 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001927/1.142, allocations: 153.7 kB / 0.8542 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.154, allocations: 7.188 MB / 0.8612 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/1.155, allocations: 1.321 MB / 0.8625 GB, free: 8.883 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009056/1.156, allocations: 145.7 kB / 0.8627 GB, free: 8.738 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001117/1.157, allocations: 0.6672 MB / 0.8633 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of SimCode: time 2.876e-06/1.157, allocations: 0 / 0.8633 GB, free: 8.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07882/1.236, allocations: 40.8 MB / 0.9032 GB, free: 15.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002037/1.236, allocations: 193.9 kB / 0.9033 GB, free: 15.16 MB / 0.5886 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_EXAC1.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_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_EXAC1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXAC1_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_EXAC1.o] Error 1