Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.GAST.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.TG.GAST,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.GAST,fileNamePrefix="OpenIPSL_dev_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 4.0.0+maint.om/package.mo): time 0.007931/0.007931, allocations: 170.2 kB / 15.11 MB, free: 6.039 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.596/1.596, allocations: 223.2 MB / 239 MB, free: 1.805 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.0008817/0.0008817, allocations: 101.2 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5669/0.5669, allocations: 79.43 MB / 420.7 MB, free: 43.75 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004374/0.0004375, allocations: 11.98 kB / 0.4891 GB, free: 1.949 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4726/0.4731, allocations: 69.5 MB / 0.557 GB, free: 38.98 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.6302, allocations: 114.7 MB / 0.669 GB, free: 6.824 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003215/0.6305, allocations: 91.95 kB / 0.6691 GB, free: 6.734 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1382/0.7687, allocations: 46.15 MB / 0.7142 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.465e-06/0.7688, allocations: 0 / 0.7142 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002343/0.769, allocations: 39.94 kB / 0.7142 GB, free: 8.316 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: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.01034/0.7793, allocations: 2.848 MB / 0.717 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.7794, allocations: 12.03 kB / 0.717 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008747/0.7803, allocations: 185.2 kB / 0.7172 GB, free: 5.199 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004965/0.7853, allocations: 0.7154 MB / 0.7179 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004109/0.7894, allocations: 1.232 MB / 0.7191 GB, free: 3.199 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006085/0.79, allocations: 474.7 kB / 0.7196 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005748/0.7906, allocations: 123.9 kB / 0.7197 GB, free: 2.539 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004532/0.7952, allocations: 1.691 MB / 0.7213 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.7952, allocations: 0 / 0.7213 GB, free: 0.8008 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000209/0.7955, allocations: 48 kB / 0.7214 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.519e-05/0.7955, allocations: 28 kB / 0.7214 GB, free: 0.7266 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/0.7994, allocations: 1.574 MB / 0.7229 GB, free: 15.14 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.01363/0.813, allocations: 5.856 MB / 0.7287 GB, free: 9.074 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009958/0.823, allocations: 3.745 MB / 0.7323 GB, free: 5.188 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008712/0.8239, allocations: 0.7375 MB / 0.733 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003299/0.8273, allocations: 1.282 MB / 0.7343 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=148): time 5.691e-06/0.8273, allocations: 0 / 0.7343 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of matching and sorting (n=148): time 0.04975/0.8771, allocations: 12.67 MB / 0.7467 GB, free: 6.242 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001056/0.8772, allocations: 145.8 kB / 0.7468 GB, free: 6.066 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003911/0.8811, allocations: 1.451 MB / 0.7482 GB, free: 4.617 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005166/0.8817, allocations: 57.7 kB / 0.7483 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/0.8826, allocations: 0.7348 MB / 0.749 GB, free: 3.812 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001173/0.8837, allocations: 0.5083 MB / 0.7495 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.8841, allocations: 28 kB / 0.7495 GB, free: 3.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002657/0.8844, allocations: 369.9 kB / 0.7499 GB, free: 2.902 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002879/0.8873, allocations: 0.9527 MB / 0.7508 GB, free: 1.949 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002717/0.89, allocations: 1.15 MB / 0.7519 GB, free: 0.7461 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/0.8926, allocations: 1.046 MB / 0.7529 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.207e-06/0.8926, allocations: 4 kB / 0.7529 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.00839/0.901, allocations: 3.186 MB / 0.7561 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 7.32e-05/0.9012, allocations: 41.66 kB / 0.7561 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/0.9012, allocations: 4 kB / 0.7561 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/0.9116, allocations: 3.019 MB / 0.7591 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001673/0.9133, allocations: 255.7 kB / 0.7593 GB, free: 9.164 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007968/0.9213, allocations: 3.007 MB / 0.7622 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003341/0.9247, allocations: 310.4 kB / 0.7625 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005079/0.9253, allocations: 55.98 kB / 0.7626 GB, free: 5.781 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: 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.001576/0.9269, allocations: 333.5 kB / 0.7629 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/0.9279, allocations: 189.7 kB / 0.7631 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3903/1.318, allocations: 6.175 MB / 0.7691 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-05/1.318, allocations: 13.97 kB / 0.7691 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.318, allocations: 2.797 kB / 0.7691 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.435e-05/1.318, allocations: 13.88 kB / 0.7691 GB, free: 131.7 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.02416/1.343, allocations: 8.738 MB / 0.7777 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/1.343, allocations: 6.938 kB / 0.7777 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/1.344, allocations: 168.9 kB / 0.7778 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008271/1.352, allocations: 2.606 MB / 0.7804 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004077/1.353, allocations: 36.62 kB / 0.7804 GB, free: 130.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02692/1.38, allocations: 12.84 MB / 0.793 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.38, allocations: 2.594 kB / 0.793 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/1.402, allocations: 7.561 MB / 0.8003 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/1.403, allocations: 312.6 kB / 0.8006 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/1.403, allocations: 30.09 kB / 0.8007 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001999/1.405, allocations: 218.2 kB / 0.8009 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001013/1.406, allocations: 283.6 kB / 0.8011 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/1.406, allocations: 45.39 kB / 0.8012 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00214/1.408, allocations: 1.129 MB / 0.8023 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5.41e-07/1.408, allocations: 0 / 0.8023 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.00215/1.411, allocations: 0.5677 MB / 0.8029 GB, free: 127.2 MB / 0.5573 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.02272/1.433, allocations: 8.406 MB / 0.8111 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.009309/1.443, allocations: 3.163 MB / 0.8141 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.443, allocations: 3.281 kB / 0.8142 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006781/1.45, allocations: 2.431 MB / 0.8165 GB, free: 122.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.451, allocations: 156.1 kB / 0.8167 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009336/1.461, allocations: 7.396 MB / 0.8239 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001327/1.462, allocations: 1.378 MB / 0.8252 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000927/1.463, allocations: 156.9 kB / 0.8254 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009165/1.464, allocations: 0.7018 MB / 0.8261 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.092e-06/1.464, allocations: 0 / 0.8261 GB, free: 115.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06714/1.531, allocations: 42.53 MB / 0.8676 GB, free: 103.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001512/1.531, allocations: 185.9 kB / 0.8678 GB, free: 103.2 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_TG_GAST.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_GAST.o] Error 1