Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESST1A.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.ESST1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESST1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A",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.00761/0.00761, allocations: 169.8 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.518/1.518, allocations: 205.4 MB / 221.3 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.0009992/0.0009992, allocations: 90.81 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0707/0.0707, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4523/0.4523, allocations: 78.52 MB / 459.6 MB, free: 4 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005296/0.0005296, allocations: 21.5 kB / 0.528 GB, free: 35.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1461, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4729/0.619, allocations: 115.3 MB / 0.7082 GB, free: 33.17 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.6193, allocations: 92.11 kB / 0.7083 GB, free: 33.17 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.119/0.7384, allocations: 47.27 MB / 0.7544 GB, free: 22.2 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7384, allocations: 0 / 0.7544 GB, free: 22.2 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000199/0.7386, allocations: 35.12 kB / 0.7545 GB, free: 22.2 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: 293 * Number of variables: 293 Notification: Performance of Generate backend data structure: time 0.009286/0.7479, allocations: 2.818 MB / 0.7572 GB, free: 20.61 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.748, allocations: 11.45 kB / 0.7572 GB, free: 20.61 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006659/0.7486, allocations: 177.7 kB / 0.7574 GB, free: 20.54 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003638/0.7523, allocations: 0.5961 MB / 0.758 GB, free: 20.31 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003289/0.7556, allocations: 1.239 MB / 0.7592 GB, free: 19.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005011/0.7561, allocations: 0.4929 MB / 0.7597 GB, free: 19.27 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004712/0.7566, allocations: 121.7 kB / 0.7598 GB, free: 19.26 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004032/0.7606, allocations: 1.737 MB / 0.7615 GB, free: 18.78 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/0.7607, allocations: 0 / 0.7615 GB, free: 18.78 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.7609, allocations: 48.44 kB / 0.7615 GB, free: 18.78 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.7609, allocations: 26.75 kB / 0.7616 GB, free: 18.78 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003669/0.7646, allocations: 1.689 MB / 0.7632 GB, free: 18.5 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.01054/0.7752, allocations: 5.507 MB / 0.7686 GB, free: 15.87 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009097/0.7843, allocations: 3.817 MB / 0.7723 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.7845, allocations: 35.62 kB / 0.7724 GB, free: 14.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00255/0.7871, allocations: 1.267 MB / 0.7736 GB, free: 14.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=143): time 4.869e-06/0.7871, allocations: 4 kB / 0.7736 GB, free: 14.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=143): time 0.04702/0.8341, allocations: 12.96 MB / 0.7863 GB, free: 4.629 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.8343, allocations: 179.1 kB / 0.7864 GB, free: 4.422 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/0.838, allocations: 1.433 MB / 0.7878 GB, free: 3.371 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005468/0.8386, allocations: 54.08 kB / 0.7879 GB, free: 3.332 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006608/0.8393, allocations: 0.7386 MB / 0.7886 GB, free: 2.969 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009524/0.8402, allocations: 0.4928 MB / 0.7891 GB, free: 2.547 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003409/0.8406, allocations: 33.19 kB / 0.7891 GB, free: 2.539 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.8408, allocations: 363.4 kB / 0.7895 GB, free: 2.203 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00225/0.843, allocations: 0.9767 MB / 0.7904 GB, free: 1.527 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002375/0.8454, allocations: 1.173 MB / 0.7916 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.8478, allocations: 1.038 MB / 0.7926 GB, free: 15.96 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.8478, allocations: 0 / 0.7926 GB, free: 15.96 MB / 490.7 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.008875/0.8567, allocations: 3.375 MB / 0.7959 GB, free: 13.55 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006801/0.8574, allocations: 1.37 MB / 0.7972 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.8575, allocations: 0 / 0.7972 GB, free: 12.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/0.8697, allocations: 3.658 MB / 0.8008 GB, free: 8.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.8708, allocations: 179.7 kB / 0.801 GB, free: 8.305 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009884/0.8808, allocations: 3.785 MB / 0.8046 GB, free: 4.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002994/0.8838, allocations: 314.5 kB / 0.8049 GB, free: 4.191 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003117/0.8841, allocations: 51.98 kB / 0.805 GB, free: 4.141 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.929e-05/0.8842, allocations: 4 kB / 0.805 GB, free: 4.137 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0076/0.8918, allocations: 3.018 MB / 0.8079 GB, free: 1.117 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/0.8918, allocations: 4 kB / 0.808 GB, free: 1.113 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01181/0.9037, allocations: 3.503 MB / 0.8114 GB, free: 13.61 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.9049, allocations: 195.7 kB / 0.8116 GB, free: 13.41 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009685/0.9146, allocations: 3.514 MB / 0.815 GB, free: 9.875 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/0.9176, allocations: 286.6 kB / 0.8153 GB, free: 9.594 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003041/0.9179, allocations: 55.98 kB / 0.8153 GB, free: 9.539 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (99): * Single equations (assignments): 98 * 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 {34 61} Notification: Performance of prepare postOptimizeDAE: time 0.001331/0.9193, allocations: 396.9 kB / 0.8157 GB, free: 9.141 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008107/0.9201, allocations: 193.6 kB / 0.8159 GB, free: 8.949 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02044/0.9405, allocations: 6.392 MB / 0.8221 GB, free: 2.535 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-05/0.9406, allocations: 19.94 kB / 0.8221 GB, free: 2.516 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.436e-05/0.9406, allocations: 0 / 0.8221 GB, free: 2.516 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.046e-05/0.9407, allocations: 11.97 kB / 0.8222 GB, free: 2.504 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.02433/0.965, allocations: 8.645 MB / 0.8306 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-05/0.9651, allocations: 0 / 0.8306 GB, free: 9.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.9663, allocations: 163.8 kB / 0.8308 GB, free: 9.594 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00901/0.9754, allocations: 2.685 MB / 0.8334 GB, free: 6.902 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003536/0.9758, allocations: 28 kB / 0.8334 GB, free: 6.875 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03453/1.01, allocations: 13.4 MB / 0.8465 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/1.01, allocations: 0 / 0.8465 GB, free: 9.203 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02429/1.035, allocations: 7.733 MB / 0.854 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/1.036, allocations: 318.2 kB / 0.8543 GB, free: 1.098 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008027/1.037, allocations: 28 kB / 0.8544 GB, free: 1.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002471/1.039, allocations: 224.4 kB / 0.8546 GB, free: 0.8516 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009826/1.04, allocations: 281.2 kB / 0.8549 GB, free: 0.5742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/1.04, allocations: 43.92 kB / 0.8549 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002191/1.042, allocations: 1.117 MB / 0.856 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/1.042, allocations: 0 / 0.856 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002633/1.045, allocations: 0.862 MB / 0.8568 GB, free: 14.56 MB / 0.5417 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,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.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 (91): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02243/1.068, allocations: 8.504 MB / 0.8651 GB, free: 6.004 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01715/1.085, allocations: 5.31 MB / 0.8703 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.058e-05/1.085, allocations: 0 / 0.8703 GB, free: 0.6992 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007508/1.092, allocations: 2.439 MB / 0.8727 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/1.094, allocations: 174.2 kB / 0.8729 GB, free: 14.07 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.105, allocations: 7.041 MB / 0.8797 GB, free: 6.895 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001121/1.106, allocations: 1.375 MB / 0.8811 GB, free: 5.492 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0009286/1.107, allocations: 178.2 kB / 0.8813 GB, free: 5.316 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001001/1.108, allocations: 0.6984 MB / 0.8819 GB, free: 4.617 MB / 0.5574 GB Notification: Performance of SimCode: time 1.182e-06/1.108, allocations: 0 / 0.8819 GB, free: 4.617 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3629/1.471, allocations: 50.26 MB / 0.931 GB, free: 182 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000143/1.471, allocations: 191 kB / 0.9312 GB, free: 181.8 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_ESST1A.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_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_ESST1A.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESST1A.o] Error 1