Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST",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.006614/0.006614, allocations: 172 kB / 15.11 MB, free: 5.98 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.506/1.506, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.000898/0.0008978, allocations: 86.86 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06913/0.06913, allocations: 12.2 MB / 330.1 MB, free: 10.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4587/0.4587, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005477, allocations: 26.66 kB / 0.528 GB, free: 35.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1602, allocations: 69.24 MB / 0.5956 GB, free: 4.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5625/0.7227, allocations: 115.6 MB / 0.7085 GB, free: 33.14 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.7231, allocations: 94.75 kB / 0.7086 GB, free: 33.14 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1164/0.8394, allocations: 46.56 MB / 0.7541 GB, free: 22.21 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8395, allocations: 0 / 0.7541 GB, free: 22.21 MB / 474.7 MB Notification: Performance of Transformations before backend: time 9.248e-05/0.8396, allocations: 34.75 kB / 0.7541 GB, free: 22.21 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.007055/0.8466, allocations: 2.847 MB / 0.7569 GB, free: 20.59 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.852e-05/0.8467, allocations: 15.62 kB / 0.7569 GB, free: 20.58 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002998/0.847, allocations: 181.1 kB / 0.7571 GB, free: 20.51 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002857/0.8499, allocations: 0.5923 MB / 0.7577 GB, free: 20.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002259/0.8521, allocations: 1.198 MB / 0.7589 GB, free: 19.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000364/0.8525, allocations: 476 kB / 0.7593 GB, free: 19.28 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.8527, allocations: 117.8 kB / 0.7594 GB, free: 19.28 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002887/0.8556, allocations: 1.682 MB / 0.7611 GB, free: 18.81 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.8557, allocations: 4 kB / 0.7611 GB, free: 18.81 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.8558, allocations: 47.56 kB / 0.7611 GB, free: 18.81 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.676e-05/0.8559, allocations: 27.12 kB / 0.7611 GB, free: 18.81 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.8589, allocations: 1.584 MB / 0.7627 GB, free: 18.56 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.01062/0.8695, allocations: 5.798 MB / 0.7684 GB, free: 15.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008521/0.878, allocations: 3.741 MB / 0.772 GB, free: 14.38 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004823/0.8786, allocations: 0.7357 MB / 0.7727 GB, free: 13.52 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002222/0.8808, allocations: 1.278 MB / 0.774 GB, free: 13.14 MB / 474.7 MB Notification: Performance of pre-optimization done (n=148): time 3.687e-06/0.8808, allocations: 0 / 0.774 GB, free: 13.14 MB / 474.7 MB Notification: Performance of matching and sorting (n=148): time 0.04148/0.9223, allocations: 12.68 MB / 0.7864 GB, free: 4.273 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.886e-05/0.9224, allocations: 145.8 kB / 0.7865 GB, free: 4.102 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002439/0.9248, allocations: 1.4 MB / 0.7879 GB, free: 3.066 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000459/0.9253, allocations: 59.27 kB / 0.7879 GB, free: 3.023 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.9258, allocations: 0.7271 MB / 0.7886 GB, free: 2.664 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005025/0.9263, allocations: 0.5148 MB / 0.7891 GB, free: 2.223 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.9264, allocations: 28.94 kB / 0.7892 GB, free: 2.219 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.015e-05/0.9265, allocations: 367.2 kB / 0.7895 GB, free: 1.879 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001808/0.9283, allocations: 0.9517 MB / 0.7904 GB, free: 1.23 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.93, allocations: 1.142 MB / 0.7916 GB, free: 376 kB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001951/0.932, allocations: 1.05 MB / 0.7926 GB, free: 15.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.932, allocations: 3.938 kB / 0.7926 GB, free: 15.69 MB / 490.7 MB Notification: Performance of matching and sorting (n=205) (initialization): time 0.007683/0.9397, allocations: 3.188 MB / 0.7957 GB, free: 13.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.981e-05/0.9398, allocations: 37.64 kB / 0.7957 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.9398, allocations: 8.062 kB / 0.7957 GB, free: 13.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009813/0.9497, allocations: 3.021 MB / 0.7987 GB, free: 10.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.9513, allocations: 263.7 kB / 0.7989 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006892/0.9582, allocations: 3.008 MB / 0.8019 GB, free: 7.223 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/0.961, allocations: 306.5 kB / 0.8022 GB, free: 6.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/0.9613, allocations: 55.98 kB / 0.8022 GB, free: 6.867 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: 5 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * 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.001064/0.9623, allocations: 325.5 kB / 0.8025 GB, free: 6.539 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004726/0.9628, allocations: 193.7 kB / 0.8027 GB, free: 6.348 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0183/0.9811, allocations: 6.179 MB / 0.8088 GB, free: 148 kB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-05/0.9812, allocations: 16 kB / 0.8088 GB, free: 132 kB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.9812, allocations: 4 kB / 0.8088 GB, free: 128 kB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/0.9813, allocations: 7.969 kB / 0.8088 GB, free: 120 kB / 490.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 postOpt removeSimpleEquations (simulation): time 0.0232/1.004, allocations: 8.714 MB / 0.8173 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.496e-05/1.005, allocations: 0 / 0.8173 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.006, allocations: 175.7 kB / 0.8175 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008015/1.014, allocations: 2.6 MB / 0.82 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000361/1.014, allocations: 43.97 kB / 0.82 GB, free: 4.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02956/1.044, allocations: 12.83 MB / 0.8326 GB, free: 7.371 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.044, allocations: 3.938 kB / 0.8326 GB, free: 7.367 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02206/1.066, allocations: 7.564 MB / 0.84 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009807/1.067, allocations: 310.3 kB / 0.8403 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/1.067, allocations: 28 kB / 0.8403 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.069, allocations: 215.8 kB / 0.8405 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009189/1.07, allocations: 281.2 kB / 0.8408 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.07, allocations: 43.98 kB / 0.8408 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001941/1.072, allocations: 1.094 MB / 0.8419 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.853e-06/1.072, allocations: 0 / 0.8419 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001567/1.074, allocations: 0.5657 MB / 0.8424 GB, free: 13.22 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 16 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,gAST.transferFunction1.x_scaled[1],gAST.transferFunction2.x_scaled[1],gAST.simpleLagLim.state) * Number of discrete variables: 4 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 97 * 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 {26 23,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02202/1.096, allocations: 8.404 MB / 0.8506 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009129/1.105, allocations: 3.167 MB / 0.8537 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.105, allocations: 0 / 0.8537 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006851/1.112, allocations: 2.424 MB / 0.8561 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.113, allocations: 166 kB / 0.8562 GB, free: 14.97 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009212/1.123, allocations: 7.365 MB / 0.8634 GB, free: 7.457 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009724/1.124, allocations: 1.377 MB / 0.8648 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0007565/1.124, allocations: 158.2 kB / 0.8649 GB, free: 5.887 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009877/1.125, allocations: 0.7023 MB / 0.8656 GB, free: 5.184 MB / 0.5417 GB Notification: Performance of SimCode: time 3.196e-06/1.125, allocations: 4 kB / 0.8656 GB, free: 5.18 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07662/1.202, allocations: 42.15 MB / 0.9068 GB, free: 11.19 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002115/1.202, allocations: 188.8 kB / 0.907 GB, free: 10.95 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_TG_GAST.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_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_TG_GAST.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_GAST_functions.h:161: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_TG_GAST.o] Error 1