Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1.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.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.IEEEX1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1",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.007401/0.007401, allocations: 169.1 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.628/1.628, allocations: 205.4 MB / 221.3 MB, free: 13.82 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.001035/0.001035, allocations: 98.84 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.07019/0.07019, allocations: 12.21 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4599/0.4599, allocations: 78.52 MB / 459.6 MB, free: 3.98 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005111/0.0005111, allocations: 23.19 kB / 0.528 GB, free: 35.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1492, allocations: 69.24 MB / 0.5956 GB, free: 4.262 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5041/0.6534, allocations: 114.6 MB / 0.7076 GB, free: 38.74 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003151/0.6537, allocations: 98.02 kB / 0.7077 GB, free: 38.73 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1134/0.7672, allocations: 45.21 MB / 0.7518 GB, free: 26.94 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.815e-06/0.7672, allocations: 0 / 0.7518 GB, free: 26.94 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001837/0.7674, allocations: 39.34 kB / 0.7519 GB, free: 26.93 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: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.008492/0.7759, allocations: 2.611 MB / 0.7544 GB, free: 25.43 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.7759, allocations: 11.77 kB / 0.7544 GB, free: 25.42 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006711/0.7766, allocations: 171.1 kB / 0.7546 GB, free: 25.35 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003395/0.78, allocations: 0.5813 MB / 0.7552 GB, free: 25.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/0.7831, allocations: 1.108 MB / 0.7562 GB, free: 24.53 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000466/0.7836, allocations: 466 kB / 0.7567 GB, free: 24.13 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000465/0.7841, allocations: 110.2 kB / 0.7568 GB, free: 24.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003615/0.7877, allocations: 1.558 MB / 0.7583 GB, free: 23.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.7878, allocations: 0 / 0.7583 GB, free: 23.68 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000156/0.7879, allocations: 44.69 kB / 0.7584 GB, free: 23.68 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.7879, allocations: 31.48 kB / 0.7584 GB, free: 23.67 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002969/0.7909, allocations: 1.481 MB / 0.7598 GB, free: 23.43 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.009783/0.8007, allocations: 5.306 MB / 0.765 GB, free: 20.65 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008041/0.8088, allocations: 3.55 MB / 0.7685 GB, free: 19.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005198/0.8093, allocations: 0.7288 MB / 0.7692 GB, free: 18.48 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002418/0.8118, allocations: 1.177 MB / 0.7703 GB, free: 18.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=132): time 3.917e-06/0.8118, allocations: 0 / 0.7703 GB, free: 18.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.03611/0.8479, allocations: 10.74 MB / 0.7808 GB, free: 12.59 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.848, allocations: 124.1 kB / 0.7809 GB, free: 12.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002825/0.8508, allocations: 1.304 MB / 0.7822 GB, free: 11.49 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004146/0.8513, allocations: 45.33 kB / 0.7823 GB, free: 11.45 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005079/0.8518, allocations: 0.6862 MB / 0.7829 GB, free: 11.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006971/0.8525, allocations: 476.9 kB / 0.7834 GB, free: 10.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002108/0.8527, allocations: 26.31 kB / 0.7834 GB, free: 10.69 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8529, allocations: 362.5 kB / 0.7838 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001894/0.8548, allocations: 0.9063 MB / 0.7846 GB, free: 9.734 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001996/0.8568, allocations: 1.089 MB / 0.7857 GB, free: 8.902 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.8588, allocations: 0.9741 MB / 0.7867 GB, free: 8.289 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.8588, allocations: 4 kB / 0.7867 GB, free: 8.285 MB / 474.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00618/0.865, allocations: 3.025 MB / 0.7896 GB, free: 6.125 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.865, allocations: 10.19 kB / 0.7896 GB, free: 6.117 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/0.8651, allocations: 4 kB / 0.7896 GB, free: 6.113 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008955/0.874, allocations: 3.05 MB / 0.7926 GB, free: 3.363 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.8752, allocations: 235.8 kB / 0.7928 GB, free: 3.141 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006583/0.8818, allocations: 3.001 MB / 0.7958 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002592/0.8844, allocations: 274.4 kB / 0.796 GB, free: 0.543 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.8847, allocations: 54.98 kB / 0.7961 GB, free: 0.5 MB / 474.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: 3 ($whenCondition1,$whenCondition2,iEEEX1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (131): * Single equations (assignments): 129 * 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.001061/0.8858, allocations: 299.3 kB / 0.7964 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006189/0.8864, allocations: 177.8 kB / 0.7965 GB, free: 128 kB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01748/0.9039, allocations: 5.974 MB / 0.8024 GB, free: 10.21 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.13e-05/0.904, allocations: 12 kB / 0.8024 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/0.904, allocations: 0 / 0.8024 GB, free: 10.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.801e-05/0.904, allocations: 11.97 kB / 0.8024 GB, free: 10.19 MB / 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.02221/0.9262, allocations: 8.058 MB / 0.8103 GB, free: 2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/0.9263, allocations: 8 kB / 0.8103 GB, free: 1.992 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.9275, allocations: 159.8 kB / 0.8104 GB, free: 1.836 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007815/0.9353, allocations: 2.505 MB / 0.8129 GB, free: 15.33 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003284/0.9357, allocations: 35.92 kB / 0.8129 GB, free: 15.29 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02787/0.9635, allocations: 10.9 MB / 0.8235 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.9636, allocations: 0 / 0.8235 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02091/0.9845, allocations: 7.199 MB / 0.8306 GB, free: 13.01 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/0.9856, allocations: 290.5 kB / 0.8308 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000266/0.9859, allocations: 24 kB / 0.8309 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00168/0.9876, allocations: 191.8 kB / 0.8311 GB, free: 12.49 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008633/0.9885, allocations: 257.3 kB / 0.8313 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/0.9886, allocations: 36 kB / 0.8313 GB, free: 12.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001818/0.9904, allocations: 1.012 MB / 0.8323 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9904, allocations: 4 kB / 0.8323 GB, free: 11.19 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00167/0.9921, allocations: 0.5384 MB / 0.8329 GB, free: 10.65 MB / 0.5105 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,iEEEX1.LL.TF.x_scaled[1],iEEEX1.imDerivativeLag.x,iEEEX1.SL.state,iEEEX1.rotatingExciter.sISO.y,iEEEX1.TransducerDelay.state) * 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 (89): * Single equations (assignments): 88 * 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.02035/1.012, allocations: 7.978 MB / 0.8406 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0085/1.021, allocations: 2.987 MB / 0.8436 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.021, allocations: 0.875 kB / 0.8436 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006248/1.027, allocations: 2.194 MB / 0.8457 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.029, allocations: 137.7 kB / 0.8458 GB, free: 13.29 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/1.037, allocations: 6.976 MB / 0.8526 GB, free: 6.172 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001036/1.039, allocations: 1.301 MB / 0.8539 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006534/1.039, allocations: 141.3 kB / 0.8541 GB, free: 4.699 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008851/1.04, allocations: 0.6477 MB / 0.8547 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of SimCode: time 1.012e-06/1.04, allocations: 0 / 0.8547 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07735/1.117, allocations: 39.16 MB / 0.8929 GB, free: 13.02 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/1.118, allocations: 195 kB / 0.8931 GB, free: 12.78 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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_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_IEEEX1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_IEEEX1.o] Error 1