Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.IEEEX1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.006351/0.006351, allocations: 171.8 kB / 15.11 MB, free: 5.578 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.48/1.48, allocations: 223.2 MB / 239 MB, free: 1.809 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.001064/0.001064, allocations: 95.66 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5169/0.5169, allocations: 78.53 MB / 419.8 MB, free: 44.07 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005657/0.000566, allocations: 16 kB / 499.8 MB, free: 2.652 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4917/0.4923, allocations: 69.35 MB / 0.5558 GB, free: 38.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.6624, allocations: 113.1 MB / 0.6662 GB, free: 9.258 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/0.6628, allocations: 83.95 kB / 0.6663 GB, free: 9.176 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1283/0.791, allocations: 46.33 MB / 0.7116 GB, free: 10.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7911, allocations: 4 kB / 0.7116 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.8e-05/0.7912, allocations: 35.94 kB / 0.7116 GB, free: 10.56 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.007685/0.7989, allocations: 2.615 MB / 0.7142 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.799, allocations: 8.031 kB / 0.7142 GB, free: 7.875 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003767/0.7993, allocations: 172.4 kB / 0.7143 GB, free: 7.699 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/0.8025, allocations: 0.5674 MB / 0.7149 GB, free: 7.129 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002464/0.805, allocations: 1.113 MB / 0.716 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005103/0.8055, allocations: 462.4 kB / 0.7164 GB, free: 5.441 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.8058, allocations: 111.9 kB / 0.7165 GB, free: 5.332 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.809, allocations: 1.558 MB / 0.718 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/0.8091, allocations: 0 / 0.718 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/0.8092, allocations: 40 kB / 0.7181 GB, free: 3.684 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.117e-05/0.8092, allocations: 24 kB / 0.7181 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.8125, allocations: 1.476 MB / 0.7195 GB, free: 2.176 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.01093/0.8235, allocations: 5.325 MB / 0.7247 GB, free: 12.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009449/0.8329, allocations: 3.557 MB / 0.7282 GB, free: 8.922 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008826/0.8339, allocations: 0.7297 MB / 0.7289 GB, free: 8.027 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002785/0.8367, allocations: 1.169 MB / 0.7301 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=132): time 3.346e-06/0.8367, allocations: 0 / 0.7301 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.03952/0.8762, allocations: 10.76 MB / 0.7406 GB, free: 12.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.116e-05/0.8764, allocations: 116.1 kB / 0.7407 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.8789, allocations: 1.301 MB / 0.742 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004178/0.8794, allocations: 49.7 kB / 0.742 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005681/0.8799, allocations: 0.6755 MB / 0.7427 GB, free: 9.859 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007121/0.8807, allocations: 481.2 kB / 0.7431 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.8808, allocations: 28 kB / 0.7432 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.881, allocations: 357.9 kB / 0.7435 GB, free: 9 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002087/0.8831, allocations: 0.9097 MB / 0.7444 GB, free: 8.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.8852, allocations: 1.087 MB / 0.7454 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.8872, allocations: 0.9704 MB / 0.7464 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.8873, allocations: 4 kB / 0.7464 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007104/0.8944, allocations: 3.024 MB / 0.7494 GB, free: 2.941 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.907e-05/0.8945, allocations: 11.98 kB / 0.7494 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/0.8945, allocations: 4 kB / 0.7494 GB, free: 2.926 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01033/0.9048, allocations: 3.05 MB / 0.7523 GB, free: 15.87 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/0.9062, allocations: 239.6 kB / 0.7526 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006767/0.913, allocations: 3.011 MB / 0.7555 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002632/0.9157, allocations: 258.7 kB / 0.7558 GB, free: 12.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002047/0.9159, allocations: 59.98 kB / 0.7558 GB, free: 12.29 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,iEEEX1.rotatingExciter.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: 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.00087/0.9168, allocations: 309.5 kB / 0.7561 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004791/0.9172, allocations: 177.8 kB / 0.7563 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/0.9349, allocations: 5.966 MB / 0.7621 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.388e-05/0.9349, allocations: 12 kB / 0.7621 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.9349, allocations: 0 / 0.7621 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.356e-05/0.935, allocations: 3.984 kB / 0.7621 GB, free: 5.797 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.3856/1.321, allocations: 8.068 MB / 0.77 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.862e-05/1.321, allocations: 1.094 kB / 0.77 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001312/1.322, allocations: 157.4 kB / 0.7702 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008896/1.331, allocations: 2.512 MB / 0.7726 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003514/1.331, allocations: 27.62 kB / 0.7726 GB, free: 132.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/1.356, allocations: 10.89 MB / 0.7833 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/1.356, allocations: 6.938 kB / 0.7833 GB, free: 131 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01914/1.376, allocations: 7.189 MB / 0.7903 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000909/1.377, allocations: 293.2 kB / 0.7906 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/1.377, allocations: 32.83 kB / 0.7906 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.379, allocations: 188.4 kB / 0.7908 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008741/1.38, allocations: 259.8 kB / 0.791 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.38, allocations: 37.11 kB / 0.7911 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001642/1.381, allocations: 1.014 MB / 0.7921 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.41e-07/1.381, allocations: 0 / 0.7921 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001562/1.383, allocations: 0.5312 MB / 0.7926 GB, free: 130.2 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.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 (89): * Single equations (assignments): 88 * 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.02246/1.405, allocations: 7.99 MB / 0.8004 GB, free: 129 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009488/1.415, allocations: 2.987 MB / 0.8033 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/1.415, allocations: 0 / 0.8033 GB, free: 128.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006983/1.422, allocations: 2.195 MB / 0.8054 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/1.424, allocations: 142.1 kB / 0.8056 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009708/1.433, allocations: 6.966 MB / 0.8124 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001257/1.435, allocations: 1.306 MB / 0.8137 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008353/1.436, allocations: 138.6 kB / 0.8138 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009473/1.437, allocations: 0.6479 MB / 0.8144 GB, free: 122 MB / 0.5573 GB Notification: Performance of SimCode: time 2.384e-06/1.437, allocations: 4 kB / 0.8144 GB, free: 122 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07302/1.51, allocations: 39.14 MB / 0.8526 GB, free: 119.2 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001722/1.51, allocations: 185.7 kB / 0.8528 GB, free: 118.9 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_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_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_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_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_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.o] Error 1