Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",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.01152/0.01152, allocations: 169.5 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.603/1.603, allocations: 223.2 MB / 239 MB, free: 1.781 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.0009853/0.0009852, allocations: 100.5 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.5068/0.5068, allocations: 79.44 MB / 420.7 MB, free: 43.68 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003946/0.0003947, allocations: 16 kB / 0.4891 GB, free: 1.922 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4204, allocations: 69.51 MB / 0.557 GB, free: 38.96 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1575/0.578, allocations: 116.9 MB / 0.6712 GB, free: 4.617 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5783, allocations: 87.95 kB / 0.6713 GB, free: 4.531 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1345/0.7128, allocations: 47.36 MB / 0.7175 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7129, allocations: 0 / 0.7175 GB, free: 4.934 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001964/0.7131, allocations: 32 kB / 0.7175 GB, free: 4.902 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.009459/0.7226, allocations: 2.772 MB / 0.7202 GB, free: 2.07 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.7226, allocations: 8.031 kB / 0.7202 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006765/0.7233, allocations: 185 kB / 0.7204 GB, free: 1.871 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004817/0.7281, allocations: 0.7627 MB / 0.7212 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003763/0.7319, allocations: 1.235 MB / 0.7224 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000665/0.7326, allocations: 0.4964 MB / 0.7229 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005077/0.7331, allocations: 116 kB / 0.723 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003862/0.737, allocations: 1.702 MB / 0.7246 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.344e-05/0.7371, allocations: 0 / 0.7246 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.7372, allocations: 44 kB / 0.7247 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.7372, allocations: 28 kB / 0.7247 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003562/0.7408, allocations: 1.605 MB / 0.7263 GB, free: 11.69 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.01217/0.753, allocations: 5.706 MB / 0.7318 GB, free: 5.766 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/0.7631, allocations: 3.756 MB / 0.7355 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007693/0.764, allocations: 0.7375 MB / 0.7362 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002816/0.7668, allocations: 1.239 MB / 0.7374 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=139): time 3.416e-06/0.7668, allocations: 3.938 kB / 0.7374 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139): time 0.04737/0.8142, allocations: 12.54 MB / 0.7497 GB, free: 3.125 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.8143, allocations: 141.8 kB / 0.7498 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002744/0.8171, allocations: 1.4 MB / 0.7512 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004915/0.8176, allocations: 53.7 kB / 0.7512 GB, free: 1.496 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006532/0.8183, allocations: 0.7034 MB / 0.7519 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007791/0.819, allocations: 0.489 MB / 0.7524 GB, free: 296 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.8192, allocations: 32 kB / 0.7524 GB, free: 264 kB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002072/0.8194, allocations: 357.9 kB / 0.7528 GB, free: 15.9 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.8217, allocations: 0.9643 MB / 0.7537 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002291/0.824, allocations: 1.157 MB / 0.7548 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002283/0.8263, allocations: 1.029 MB / 0.7559 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.8263, allocations: 0 / 0.7559 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.007537/0.8338, allocations: 3.24 MB / 0.759 GB, free: 9.441 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007264/0.8346, allocations: 1.541 MB / 0.7605 GB, free: 7.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.108e-05/0.8346, allocations: 4 kB / 0.7605 GB, free: 7.77 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.8453, allocations: 3.168 MB / 0.7636 GB, free: 4.594 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/0.8466, allocations: 239.6 kB / 0.7638 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007362/0.854, allocations: 3.686 MB / 0.7674 GB, free: 0.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002666/0.8567, allocations: 294.6 kB / 0.7677 GB, free: 344 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002065/0.8569, allocations: 59.98 kB / 0.7678 GB, free: 284 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.8569, allocations: 4 kB / 0.7678 GB, free: 280 kB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2883/1.145, allocations: 3.019 MB / 0.7707 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.145, allocations: 3.375 kB / 0.7707 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/1.156, allocations: 3.174 MB / 0.7738 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/1.157, allocations: 229.1 kB / 0.7741 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0068/1.164, allocations: 3.674 MB / 0.7776 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/1.166, allocations: 286.3 kB / 0.7779 GB, free: 131.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/1.166, allocations: 58 kB / 0.778 GB, free: 131.8 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,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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.0007985/1.167, allocations: 384.9 kB / 0.7783 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/1.168, allocations: 188.4 kB / 0.7785 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/1.184, allocations: 6.062 MB / 0.7844 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-05/1.184, allocations: 11.75 kB / 0.7845 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/1.184, allocations: 2.969 kB / 0.7845 GB, free: 131.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.399e-05/1.184, allocations: 9.859 kB / 0.7845 GB, free: 131.4 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.01883/1.203, allocations: 8.379 MB / 0.7926 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.321e-05/1.203, allocations: 0 / 0.7926 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/1.204, allocations: 186 kB / 0.7928 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007656/1.212, allocations: 2.508 MB / 0.7953 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000226/1.212, allocations: 36.36 kB / 0.7953 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02504/1.237, allocations: 10.87 MB / 0.8059 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.237, allocations: 0 / 0.8059 GB, free: 128.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02151/1.259, allocations: 7.454 MB / 0.8132 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008304/1.26, allocations: 310.6 kB / 0.8135 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006438/1.26, allocations: 28.23 kB / 0.8135 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002265/1.263, allocations: 205 kB / 0.8137 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001037/1.264, allocations: 284.8 kB / 0.814 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001922/1.264, allocations: 44.75 kB / 0.814 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002187/1.266, allocations: 1.081 MB / 0.8151 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.182e-06/1.266, allocations: 0 / 0.8151 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003035/1.269, allocations: 0.8686 MB / 0.8159 GB, free: 125.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,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.y) * 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 (96): * Single equations (assignments): 95 * 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.02/1.289, allocations: 8.23 MB / 0.824 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01573/1.305, allocations: 5.223 MB / 0.8291 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-05/1.305, allocations: 3.828 kB / 0.8291 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006966/1.312, allocations: 2.282 MB / 0.8313 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/1.314, allocations: 145.6 kB / 0.8315 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/1.324, allocations: 7.369 MB / 0.8386 GB, free: 115.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008874/1.325, allocations: 1.332 MB / 0.8399 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001093/1.326, allocations: 173 kB / 0.8401 GB, free: 114.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/1.327, allocations: 0.6811 MB / 0.8408 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of SimCode: time 9.12e-07/1.327, allocations: 0 / 0.8408 GB, free: 113.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06847/1.395, allocations: 47.86 MB / 0.8875 GB, free: 83.12 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001548/1.396, allocations: 191.5 kB / 0.8877 GB, free: 82.88 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_ESAC1A.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_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_ESAC1A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_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_ESAC1A.o] Error 1