Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.EXST1.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.ES.EXST1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.EXST1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1",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.007024/0.007024, allocations: 171.2 kB / 15.11 MB, free: 5.973 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.615/1.615, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.001029/0.001029, allocations: 82.81 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.0774/0.0774, allocations: 12.2 MB / 330.1 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4974/0.4974, allocations: 78.51 MB / 459.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005456/0.0005457, allocations: 17.41 kB / 0.528 GB, free: 35.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.145, allocations: 69.24 MB / 0.5956 GB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5152/0.6603, allocations: 113 MB / 0.706 GB, free: 33.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.6606, allocations: 90.38 kB / 0.7061 GB, free: 33.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1132/0.7738, allocations: 42.51 MB / 0.7476 GB, free: 24.59 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.7738, allocations: 0 / 0.7476 GB, free: 24.59 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001801/0.774, allocations: 31.22 kB / 0.7477 GB, free: 24.59 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.009021/0.7831, allocations: 2.563 MB / 0.7502 GB, free: 23.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.501e-05/0.7831, allocations: 11.7 kB / 0.7502 GB, free: 23.13 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006778/0.7838, allocations: 158.1 kB / 0.7503 GB, free: 23.07 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00346/0.7873, allocations: 0.5674 MB / 0.7509 GB, free: 22.86 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.7905, allocations: 1.064 MB / 0.7519 GB, free: 22.31 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005884/0.7911, allocations: 0.4978 MB / 0.7524 GB, free: 21.87 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004541/0.7915, allocations: 103.4 kB / 0.7525 GB, free: 21.87 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003848/0.7954, allocations: 1.557 MB / 0.754 GB, free: 21.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.7955, allocations: 0 / 0.754 GB, free: 21.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.7956, allocations: 39.62 kB / 0.7541 GB, free: 21.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.014e-05/0.7957, allocations: 22.5 kB / 0.7541 GB, free: 21.45 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/0.7991, allocations: 1.541 MB / 0.7556 GB, free: 21.2 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.009471/0.8086, allocations: 4.938 MB / 0.7604 GB, free: 18.76 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008131/0.8167, allocations: 3.6 MB / 0.7639 GB, free: 17.43 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001536/0.8169, allocations: 20.36 kB / 0.764 GB, free: 17.42 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.817, allocations: 54.69 kB / 0.764 GB, free: 17.38 MB / 474.7 MB Notification: Performance of pre-optimization done (n=128): time 4.458e-06/0.817, allocations: 0 / 0.764 GB, free: 17.38 MB / 474.7 MB Notification: Performance of matching and sorting (n=128): time 0.04315/0.8601, allocations: 12.86 MB / 0.7766 GB, free: 12.41 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/0.8602, allocations: 148.9 kB / 0.7767 GB, free: 12.24 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002578/0.8628, allocations: 1.23 MB / 0.7779 GB, free: 11.33 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003393/0.8632, allocations: 47.89 kB / 0.778 GB, free: 11.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004594/0.8637, allocations: 0.6352 MB / 0.7786 GB, free: 10.98 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006543/0.8643, allocations: 466.5 kB / 0.779 GB, free: 10.59 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001776/0.8645, allocations: 25.31 kB / 0.779 GB, free: 10.58 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8646, allocations: 359.3 kB / 0.7794 GB, free: 10.25 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/0.8665, allocations: 0.9117 MB / 0.7803 GB, free: 9.605 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.8685, allocations: 1.083 MB / 0.7813 GB, free: 8.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001956/0.8705, allocations: 0.9656 MB / 0.7823 GB, free: 8.137 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.8705, allocations: 0 / 0.7823 GB, free: 8.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00645/0.877, allocations: 3.125 MB / 0.7853 GB, free: 5.875 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002586/0.8772, allocations: 1.355 MB / 0.7867 GB, free: 4.422 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.8773, allocations: 7.984 kB / 0.7867 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009959/0.8872, allocations: 3.445 MB / 0.79 GB, free: 1.309 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009034/0.8882, allocations: 179 kB / 0.7902 GB, free: 1.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008529/0.8967, allocations: 3.567 MB / 0.7937 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/0.8993, allocations: 276.1 kB / 0.7939 GB, free: 14.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003258/0.8997, allocations: 47.36 kB / 0.794 GB, free: 14.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.8997, allocations: 4 kB / 0.794 GB, free: 14.05 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007237/0.907, allocations: 2.909 MB / 0.7968 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.333e-05/0.907, allocations: 4 kB / 0.7968 GB, free: 11.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01124/0.9183, allocations: 3.418 MB / 0.8002 GB, free: 8.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009913/0.9193, allocations: 171.7 kB / 0.8003 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008862/0.9282, allocations: 3.527 MB / 0.8038 GB, free: 4.719 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002687/0.9309, allocations: 266.7 kB / 0.804 GB, free: 4.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002882/0.9312, allocations: 47.98 kB / 0.8041 GB, free: 4.41 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {34 40} Notification: Performance of prepare postOptimizeDAE: time 0.001193/0.9324, allocations: 349.7 kB / 0.8044 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008126/0.9332, allocations: 162 kB / 0.8046 GB, free: 3.898 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01871/0.952, allocations: 6.14 MB / 0.8106 GB, free: 13.74 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.85e-05/0.952, allocations: 19.88 kB / 0.8106 GB, free: 13.72 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.9521, allocations: 8 kB / 0.8106 GB, free: 13.71 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.607e-05/0.9521, allocations: 7.938 kB / 0.8106 GB, free: 13.7 MB / 0.4949 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.02381/0.9759, allocations: 8.304 MB / 0.8187 GB, free: 5.289 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.648e-05/0.976, allocations: 4 kB / 0.8187 GB, free: 5.285 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00269/0.9787, allocations: 483.5 kB / 0.8192 GB, free: 4.812 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008722/0.9874, allocations: 2.611 MB / 0.8217 GB, free: 2.191 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003974/0.9879, allocations: 31.98 kB / 0.8218 GB, free: 2.16 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03487/1.023, allocations: 14.45 MB / 0.8359 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/1.023, allocations: 0 / 0.8359 GB, free: 3.312 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02337/1.046, allocations: 7.472 MB / 0.8432 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001069/1.047, allocations: 282.6 kB / 0.8434 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009573/1.048, allocations: 28 kB / 0.8435 GB, free: 11.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002532/1.051, allocations: 191.8 kB / 0.8436 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/1.052, allocations: 265.3 kB / 0.8439 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002796/1.052, allocations: 32 kB / 0.8439 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00254/1.055, allocations: 0.9592 MB / 0.8449 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.084e-06/1.055, allocations: 4 kB / 0.8449 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004235/1.059, allocations: 0.7879 MB / 0.8456 GB, free: 9.238 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 13 (gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eXST1.imLeadLag.TF.x_scaled[1],eXST1.Vm1.state,eXST1.imDerivativeLag.x,eXST1.TransducerDelay.state,gENCLS.omega) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 6,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02256/1.082, allocations: 8.235 MB / 0.8537 GB, free: 0.9609 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01933/1.101, allocations: 5.31 MB / 0.8589 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.325e-05/1.101, allocations: 4 kB / 0.8589 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.009054/1.11, allocations: 2.646 MB / 0.8615 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.112, allocations: 129.8 kB / 0.8616 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01236/1.125, allocations: 6.564 MB / 0.868 GB, free: 2.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001278/1.126, allocations: 1.276 MB / 0.8692 GB, free: 0.8594 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0009465/1.127, allocations: 144.9 kB / 0.8694 GB, free: 0.7148 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/1.128, allocations: 0.593 MB / 0.87 GB, free: 124 kB / 0.5417 GB Notification: Performance of SimCode: time 1.143e-06/1.128, allocations: 0 / 0.87 GB, free: 124 kB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09368/1.222, allocations: 44.95 MB / 0.9138 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002318/1.222, allocations: 193.8 kB / 0.914 GB, free: 3.062 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_ES_EXST1.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1_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_ES_EXST1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_EXST1_functions.h:153: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_ES_EXST1.o] Error 1