Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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.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.IEEEX1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_dev_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.01156/0.01156, allocations: 169.6 kB / 15.11 MB, free: 5.973 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.534/1.534, allocations: 223.2 MB / 239 MB, free: 64 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009927/0.0009933, allocations: 101.4 kB / 290.2 MB, free: 4.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5577/0.5577, allocations: 79.44 MB / 420.7 MB, free: 36.33 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004311, allocations: 12 kB / 0.4891 GB, free: 6.238 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1736, allocations: 69.51 MB / 0.557 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5559/0.7296, allocations: 113.7 MB / 0.6681 GB, free: 3.383 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/0.7299, allocations: 92.69 kB / 0.6682 GB, free: 3.293 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1274/0.8573, allocations: 44.18 MB / 0.7113 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8574, allocations: 0 / 0.7113 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002453/0.8576, allocations: 32 kB / 0.7113 GB, free: 7.07 MB / 0.4948 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.009805/0.8675, allocations: 2.64 MB / 0.7139 GB, free: 4.375 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.8675, allocations: 16.02 kB / 0.7139 GB, free: 4.359 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006669/0.8682, allocations: 164.5 kB / 0.7141 GB, free: 4.191 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004721/0.8729, allocations: 0.7352 MB / 0.7148 GB, free: 3.453 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/0.8767, allocations: 1.172 MB / 0.7159 GB, free: 2.234 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005873/0.8773, allocations: 462.4 kB / 0.7164 GB, free: 1.707 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005246/0.8778, allocations: 115.9 kB / 0.7165 GB, free: 1.594 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/0.8815, allocations: 1.558 MB / 0.718 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.8815, allocations: 4 kB / 0.718 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.8817, allocations: 40 kB / 0.7181 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.8817, allocations: 24 kB / 0.7181 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003286/0.885, allocations: 1.476 MB / 0.7195 GB, free: 14.43 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.01263/0.8976, allocations: 5.461 MB / 0.7249 GB, free: 8.742 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00927/0.9069, allocations: 3.549 MB / 0.7283 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007238/0.9077, allocations: 0.7375 MB / 0.729 GB, free: 4.152 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002597/0.9103, allocations: 1.167 MB / 0.7302 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=132): time 3.857e-06/0.9103, allocations: 0 / 0.7302 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of matching and sorting (n=132): time 0.04169/0.952, allocations: 10.75 MB / 0.7407 GB, free: 8.172 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.322e-05/0.9522, allocations: 124 kB / 0.7408 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003461/0.9556, allocations: 1.367 MB / 0.7421 GB, free: 6.652 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003841/0.956, allocations: 45.77 kB / 0.7422 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000723/0.9568, allocations: 0.6794 MB / 0.7428 GB, free: 5.914 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008737/0.9577, allocations: 473.1 kB / 0.7433 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/0.9579, allocations: 31.94 kB / 0.7433 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.9581, allocations: 361.9 kB / 0.7437 GB, free: 5.055 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002252/0.9604, allocations: 0.9058 MB / 0.7446 GB, free: 4.148 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002406/0.9628, allocations: 1.082 MB / 0.7456 GB, free: 3.012 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002334/0.9651, allocations: 0.9782 MB / 0.7466 GB, free: 2.039 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/0.9652, allocations: 4 kB / 0.7466 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007198/0.9724, allocations: 3.02 MB / 0.7495 GB, free: 15 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.16e-05/0.9724, allocations: 8 kB / 0.7495 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.295e-05/0.9725, allocations: 4 kB / 0.7495 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0102/0.9827, allocations: 3.054 MB / 0.7525 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.9839, allocations: 235.6 kB / 0.7527 GB, free: 11.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007559/0.9915, allocations: 3.006 MB / 0.7557 GB, free: 8.668 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/0.9949, allocations: 272.4 kB / 0.7559 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004071/0.9953, allocations: 55.98 kB / 0.756 GB, free: 8.348 MB / 0.5417 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.001553/0.9969, allocations: 297.6 kB / 0.7563 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009527/0.9979, allocations: 181.8 kB / 0.7565 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01855/1.016, allocations: 5.969 MB / 0.7623 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.085e-05/1.016, allocations: 12 kB / 0.7623 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/1.017, allocations: 0 / 0.7623 GB, free: 1.867 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.35e-05/1.017, allocations: 11.97 kB / 0.7623 GB, free: 1.855 MB / 0.5417 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.02268/1.039, allocations: 8.116 MB / 0.7702 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/1.039, allocations: 4 kB / 0.7702 GB, free: 9.605 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.04, allocations: 155.8 kB / 0.7704 GB, free: 9.453 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00818/1.049, allocations: 2.505 MB / 0.7728 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003716/1.049, allocations: 31.98 kB / 0.7729 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03037/1.079, allocations: 10.88 MB / 0.7835 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/1.079, allocations: 0 / 0.7835 GB, free: 11.88 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02255/1.102, allocations: 7.197 MB / 0.7905 GB, free: 4.637 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001333/1.103, allocations: 302.5 kB / 0.7908 GB, free: 4.32 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001035/1.105, allocations: 31.94 kB / 0.7908 GB, free: 4.289 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002687/1.107, allocations: 183.8 kB / 0.791 GB, free: 4.109 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001182/1.108, allocations: 261.3 kB / 0.7913 GB, free: 3.855 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000296/1.109, allocations: 40 kB / 0.7913 GB, free: 3.816 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002907/1.112, allocations: 1.063 MB / 0.7923 GB, free: 2.758 MB / 0.573 GB Notification: Performance of sort global known variables: time 6.31e-07/1.112, allocations: 0 / 0.7923 GB, free: 2.758 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.003072/1.115, allocations: 0.5346 MB / 0.7929 GB, free: 2.223 MB / 0.573 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.4289/1.544, allocations: 7.977 MB / 0.8006 GB, free: 142.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009383/1.553, allocations: 2.99 MB / 0.8036 GB, free: 142.2 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.553, allocations: 1.656 kB / 0.8036 GB, free: 142.2 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006845/1.56, allocations: 2.192 MB / 0.8057 GB, free: 142 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001508/1.562, allocations: 138.6 kB / 0.8058 GB, free: 142 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008822/1.57, allocations: 7.045 MB / 0.8127 GB, free: 137.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009833/1.571, allocations: 1.303 MB / 0.814 GB, free: 136.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008381/1.572, allocations: 142 kB / 0.8141 GB, free: 136.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/1.573, allocations: 0.6494 MB / 0.8148 GB, free: 136.6 MB / 0.573 GB Notification: Performance of SimCode: time 6.81e-07/1.573, allocations: 1.969 kB / 0.8148 GB, free: 136.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08803/1.661, allocations: 39.68 MB / 0.8535 GB, free: 134.7 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/1.662, allocations: 188.3 kB / 0.8537 GB, free: 134.4 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_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.o] Error 1