Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.00629/0.00629, allocations: 173.6 kB / 15.12 MB, free: 5.984 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.472/1.472, allocations: 223.2 MB / 239 MB, free: 72 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.001095/0.001095, allocations: 98.58 kB / 290.2 MB, free: 4.523 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5495/0.5495, allocations: 79.43 MB / 420.7 MB, free: 36.35 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004457/0.0004458, allocations: 12 kB / 0.4891 GB, free: 6.262 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1691, allocations: 69.51 MB / 0.557 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5383/0.7074, allocations: 114.5 MB / 0.6689 GB, free: 2.637 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.7078, allocations: 92.5 kB / 0.6689 GB, free: 2.547 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1366/0.8444, allocations: 46.45 MB / 0.7143 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.065e-06/0.8444, allocations: 0 / 0.7143 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002383/0.8447, allocations: 32 kB / 0.7143 GB, free: 4.043 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.01022/0.8549, allocations: 2.692 MB / 0.717 GB, free: 1.293 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/0.855, allocations: 8.031 kB / 0.717 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007995/0.8558, allocations: 164.7 kB / 0.7171 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005151/0.861, allocations: 0.7508 MB / 0.7179 GB, free: 368 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004101/0.8651, allocations: 1.199 MB / 0.719 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006132/0.8657, allocations: 466.5 kB / 0.7195 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005985/0.8664, allocations: 120 kB / 0.7196 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004568/0.8709, allocations: 1.61 MB / 0.7212 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.871, allocations: 4 kB / 0.7212 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002027/0.8712, allocations: 44 kB / 0.7212 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.8712, allocations: 24 kB / 0.7212 GB, free: 12.73 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003958/0.8752, allocations: 1.527 MB / 0.7227 GB, free: 11.2 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.01442/0.8896, allocations: 5.586 MB / 0.7282 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009566/0.8992, allocations: 3.631 MB / 0.7317 GB, free: 1.613 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008835/0.9002, allocations: 0.7375 MB / 0.7324 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003311/0.9035, allocations: 1.208 MB / 0.7336 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=134): time 4.88e-06/0.9035, allocations: 0 / 0.7336 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=134): time 0.04157/0.9451, allocations: 11.06 MB / 0.7444 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.9453, allocations: 120.2 kB / 0.7445 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003677/0.9489, allocations: 1.375 MB / 0.7459 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005036/0.9495, allocations: 45.7 kB / 0.7459 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008/0.9503, allocations: 0.6912 MB / 0.7466 GB, free: 2.105 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001071/0.9514, allocations: 477 kB / 0.7471 GB, free: 1.633 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000358/0.9517, allocations: 32 kB / 0.7471 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003345/0.9521, allocations: 361.9 kB / 0.7474 GB, free: 1.242 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003004/0.9551, allocations: 0.9331 MB / 0.7484 GB, free: 316 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/0.958, allocations: 1.113 MB / 0.7494 GB, free: 15.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003/0.9611, allocations: 0.9918 MB / 0.7504 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.498e-05/0.9611, allocations: 3.984 kB / 0.7504 GB, free: 14.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.00872/0.9698, allocations: 3.091 MB / 0.7534 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.303e-05/0.9699, allocations: 4 kB / 0.7534 GB, free: 11.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.9699, allocations: 11.98 kB / 0.7534 GB, free: 11.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01049/0.9804, allocations: 3.034 MB / 0.7564 GB, free: 7.988 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001466/0.982, allocations: 247.7 kB / 0.7566 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007346/0.9893, allocations: 3.015 MB / 0.7596 GB, free: 4.711 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002925/0.9923, allocations: 270.6 kB / 0.7598 GB, free: 4.445 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.9927, allocations: 55.94 kB / 0.7599 GB, free: 4.391 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: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * 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.001294/0.994, allocations: 305.6 kB / 0.7602 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008841/0.9949, allocations: 181.8 kB / 0.7604 GB, free: 3.902 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01915/1.014, allocations: 6.032 MB / 0.7663 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.192e-05/1.014, allocations: 20 kB / 0.7663 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-05/1.014, allocations: 3.984 kB / 0.7663 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.376e-05/1.014, allocations: 3.984 kB / 0.7663 GB, free: 13.83 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.02671/1.041, allocations: 8.253 MB / 0.7743 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.728e-05/1.041, allocations: 0 / 0.7743 GB, free: 5.445 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.043, allocations: 177.3 kB / 0.7745 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008641/1.051, allocations: 2.497 MB / 0.7769 GB, free: 2.766 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004754/1.052, allocations: 36 kB / 0.777 GB, free: 2.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/1.081, allocations: 10.89 MB / 0.7876 GB, free: 7.691 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/1.081, allocations: 4 kB / 0.7876 GB, free: 7.688 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02209/1.103, allocations: 7.334 MB / 0.7948 GB, free: 320 kB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.3983/1.501, allocations: 303 kB / 0.7951 GB, free: 142.4 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/1.502, allocations: 26.34 kB / 0.7951 GB, free: 142.4 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/1.504, allocations: 186.6 kB / 0.7953 GB, free: 142.4 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009755/1.505, allocations: 271.7 kB / 0.7955 GB, free: 142.4 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001278/1.506, allocations: 38.28 kB / 0.7956 GB, free: 142.4 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00197/1.508, allocations: 1.07 MB / 0.7966 GB, free: 142.3 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.01e-07/1.508, allocations: 2.094 kB / 0.7966 GB, free: 142.3 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001888/1.51, allocations: 0.5404 MB / 0.7971 GB, free: 142.3 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.02205/1.532, allocations: 8.114 MB / 0.8051 GB, free: 141.4 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01042/1.542, allocations: 3.045 MB / 0.808 GB, free: 141.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/1.542, allocations: 0 / 0.808 GB, free: 141.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007208/1.549, allocations: 2.239 MB / 0.8102 GB, free: 141.1 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001522/1.551, allocations: 145.4 kB / 0.8104 GB, free: 141.1 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008961/1.56, allocations: 7.162 MB / 0.8174 GB, free: 136.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009679/1.561, allocations: 1.309 MB / 0.8186 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000827/1.562, allocations: 143.9 kB / 0.8188 GB, free: 135.6 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/1.563, allocations: 0.6691 MB / 0.8194 GB, free: 135.6 MB / 0.573 GB Notification: Performance of SimCode: time 1.482e-06/1.563, allocations: 0 / 0.8194 GB, free: 135.6 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08534/1.648, allocations: 40.19 MB / 0.8587 GB, free: 133.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.649, allocations: 200.2 kB / 0.8589 GB, free: 133.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_ESDC2A.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_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_ESDC2A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_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_ESDC2A.o] Error 1