Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.EXAC2.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.EXAC2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXAC2,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2",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.01003/0.01003, allocations: 170.9 kB / 15.11 MB, free: 6.055 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.603/1.603, allocations: 223.2 MB / 239 MB, free: 1.773 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.0009742/0.0009742, allocations: 99.69 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5428/0.5428, allocations: 79.45 MB / 420.8 MB, free: 43.73 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004064, allocations: 8 kB / 0.4891 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5292/0.5297, allocations: 69.5 MB / 0.557 GB, free: 39 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1712/0.7009, allocations: 117.1 MB / 0.6714 GB, free: 4.422 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.7013, allocations: 91.94 kB / 0.6715 GB, free: 4.332 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1523/0.8536, allocations: 48.11 MB / 0.7184 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.535e-06/0.8536, allocations: 0 / 0.7184 GB, free: 3.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002334/0.8538, allocations: 36 kB / 0.7185 GB, free: 3.945 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: 295 * Number of variables: 295 Notification: Performance of Generate backend data structure: time 0.01065/0.8645, allocations: 2.835 MB / 0.7212 GB, free: 1.051 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.8646, allocations: 12.03 kB / 0.7213 GB, free: 1.039 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008112/0.8654, allocations: 181.4 kB / 0.7214 GB, free: 0.8516 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00497/0.8704, allocations: 0.7585 MB / 0.7222 GB, free: 92 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005625/0.876, allocations: 1.267 MB / 0.7234 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001254/0.8774, allocations: 0.5004 MB / 0.7239 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.8785, allocations: 120 kB / 0.724 GB, free: 14.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006598/0.8851, allocations: 1.747 MB / 0.7257 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.461e-05/0.8852, allocations: 0 / 0.7257 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003658/0.8856, allocations: 48 kB / 0.7258 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.125e-05/0.8856, allocations: 28 kB / 0.7258 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004673/0.8903, allocations: 1.645 MB / 0.7274 GB, free: 10.55 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.01522/0.9055, allocations: 5.824 MB / 0.7331 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/0.9162, allocations: 3.831 MB / 0.7368 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008864/0.9171, allocations: 0.7297 MB / 0.7375 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00334/0.9205, allocations: 1.27 MB / 0.7388 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=143): time 5.18e-06/0.9205, allocations: 0 / 0.7388 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of matching and sorting (n=143): time 0.04892/0.9694, allocations: 12.56 MB / 0.751 GB, free: 1.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.9697, allocations: 145.8 kB / 0.7512 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004636/0.9743, allocations: 1.438 MB / 0.7526 GB, free: 144 kB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0006655/0.975, allocations: 53.7 kB / 0.7526 GB, free: 84 kB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/0.9761, allocations: 0.7346 MB / 0.7533 GB, free: 15.34 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.00129/0.9774, allocations: 0.4928 MB / 0.7538 GB, free: 14.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004393/0.9779, allocations: 36 kB / 0.7539 GB, free: 14.8 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0003145/0.9782, allocations: 361.9 kB / 0.7542 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/0.9812, allocations: 0.9838 MB / 0.7552 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/0.9843, allocations: 1.176 MB / 0.7563 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/0.9875, allocations: 1.041 MB / 0.7573 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-05/0.9876, allocations: 4 kB / 0.7573 GB, free: 11.19 MB / 0.5573 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.009923/0.9975, allocations: 3.283 MB / 0.7605 GB, free: 7.891 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009543/0.9985, allocations: 1.555 MB / 0.7621 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.368e-05/0.9986, allocations: 11.94 kB / 0.7621 GB, free: 6.203 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01137/1.01, allocations: 3.152 MB / 0.7652 GB, free: 3.039 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/1.011, allocations: 247.6 kB / 0.7654 GB, free: 2.797 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3704/1.382, allocations: 3.671 MB / 0.769 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003052/1.385, allocations: 295.7 kB / 0.7693 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/1.385, allocations: 55.52 kB / 0.7693 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.385, allocations: 4.875 kB / 0.7693 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00817/1.393, allocations: 3.071 MB / 0.7723 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.512e-05/1.393, allocations: 5.234 kB / 0.7723 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01097/1.404, allocations: 3.169 MB / 0.7754 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001319/1.406, allocations: 241 kB / 0.7756 GB, free: 131.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007089/1.413, allocations: 3.675 MB / 0.7792 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/1.416, allocations: 285.1 kB / 0.7795 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/1.416, allocations: 53.8 kB / 0.7796 GB, free: 130.1 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,eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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.001045/1.417, allocations: 403.4 kB / 0.7799 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004092/1.418, allocations: 185.5 kB / 0.7801 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.435, allocations: 6.082 MB / 0.7861 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.765e-05/1.435, allocations: 21.08 kB / 0.7861 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.406e-05/1.435, allocations: 2.625 kB / 0.7861 GB, free: 129.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.146e-05/1.435, allocations: 9.984 kB / 0.7861 GB, free: 129.8 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.02161/1.456, allocations: 8.484 MB / 0.7944 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.466e-05/1.456, allocations: 0 / 0.7944 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.458, allocations: 195.8 kB / 0.7946 GB, free: 128.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00809/1.466, allocations: 2.505 MB / 0.797 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004163/1.466, allocations: 30.22 kB / 0.797 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02711/1.493, allocations: 10.89 MB / 0.8077 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.494, allocations: 0 / 0.8077 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02268/1.516, allocations: 7.495 MB / 0.815 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/1.517, allocations: 316.3 kB / 0.8153 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004126/1.518, allocations: 27.14 kB / 0.8153 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002003/1.52, allocations: 212 kB / 0.8155 GB, free: 124 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001072/1.521, allocations: 285.5 kB / 0.8158 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.521, allocations: 42.39 kB / 0.8158 GB, free: 123.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001972/1.523, allocations: 1.107 MB / 0.8169 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2e-07/1.523, allocations: 7.719 kB / 0.8169 GB, free: 123.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002623/1.526, allocations: 0.8934 MB / 0.8178 GB, free: 123.4 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,eXAC2.imLimitedSimpleLag.state,eXAC2.imDerivativeLag.x,eXAC2.leadLag.TF.x_scaled[1],eXAC2.rotatingExciterWithDemagnetizationLimited.sISO.y,eXAC2.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 (100): * Single equations (assignments): 99 * 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.02226/1.548, allocations: 8.285 MB / 0.8259 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01736/1.565, allocations: 5.269 MB / 0.831 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/1.565, allocations: 3.828 kB / 0.831 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00636/1.572, allocations: 2.301 MB / 0.8333 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/1.573, allocations: 152.8 kB / 0.8334 GB, free: 118.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/1.582, allocations: 7.456 MB / 0.8407 GB, free: 113.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000774/1.583, allocations: 1.36 MB / 0.842 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0009263/1.584, allocations: 179.5 kB / 0.8422 GB, free: 112.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008439/1.585, allocations: 0.7064 MB / 0.8429 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of SimCode: time 6.51e-07/1.585, allocations: 0 / 0.8429 GB, free: 111.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08347/1.668, allocations: 48.56 MB / 0.8903 GB, free: 79.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001664/1.668, allocations: 195.9 kB / 0.8905 GB, free: 79.55 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_EXAC2.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_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_EXAC2.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_EXAC2_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_EXAC2.o] Error 1