Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ST5B.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.ST5B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ST5B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B",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.006287/0.006287, allocations: 174.5 kB / 15.12 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.539/1.539, 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.0009839/0.0009836, allocations: 82.88 kB / 269.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06851/0.06851, allocations: 12.2 MB / 330 MB, free: 10.69 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4723/0.4723, allocations: 78.52 MB / 459.6 MB, free: 3.984 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.000506, allocations: 21.69 kB / 0.528 GB, free: 35.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5416/0.6782, allocations: 113.3 MB / 0.7063 GB, free: 33.17 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.6786, allocations: 89.39 kB / 0.7063 GB, free: 33.17 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1273/0.8059, allocations: 51.94 MB / 0.7571 GB, free: 20.8 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.025e-06/0.806, allocations: 0 / 0.7571 GB, free: 20.8 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001253/0.8061, allocations: 42.72 kB / 0.7571 GB, free: 20.8 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.008269/0.8144, allocations: 3.092 MB / 0.7601 GB, free: 19.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/0.8145, allocations: 11.67 kB / 0.7601 GB, free: 19.06 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007224/0.8152, allocations: 218.1 kB / 0.7603 GB, free: 18.98 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.819, allocations: 0.6405 MB / 0.761 GB, free: 18.73 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00324/0.8222, allocations: 1.418 MB / 0.7624 GB, free: 18.05 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004007/0.8226, allocations: 471.2 kB / 0.7628 GB, free: 17.69 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002402/0.8229, allocations: 151.7 kB / 0.763 GB, free: 17.68 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/0.8269, allocations: 2.134 MB / 0.765 GB, free: 17.01 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.827, allocations: 3.938 kB / 0.765 GB, free: 17 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.8272, allocations: 60.03 kB / 0.7651 GB, free: 17 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-05/0.8272, allocations: 34.97 kB / 0.7651 GB, free: 17 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003911/0.8311, allocations: 1.948 MB / 0.767 GB, free: 16.68 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.0116/0.8427, allocations: 7.373 MB / 0.7742 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00891/0.8517, allocations: 4.016 MB / 0.7782 GB, free: 11.34 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003021/0.852, allocations: 28.41 kB / 0.7782 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002796/0.8548, allocations: 1.395 MB / 0.7795 GB, free: 10.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=163): time 3.777e-06/0.8549, allocations: 0 / 0.7795 GB, free: 10.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.04296/0.8978, allocations: 12.83 MB / 0.7921 GB, free: 272 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001653/0.8981, allocations: 300 kB / 0.7924 GB, free: 15.9 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/0.9014, allocations: 1.538 MB / 0.7939 GB, free: 14.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005562/0.902, allocations: 51.52 kB / 0.7939 GB, free: 14.72 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009329/0.9029, allocations: 0.8883 MB / 0.7948 GB, free: 14.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008335/0.9038, allocations: 0.5701 MB / 0.7953 GB, free: 13.78 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.9039, allocations: 35.5 kB / 0.7954 GB, free: 13.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001995/0.9041, allocations: 375.8 kB / 0.7957 GB, free: 13.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002454/0.9066, allocations: 1.094 MB / 0.7968 GB, free: 12.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002735/0.9093, allocations: 1.41 MB / 0.7982 GB, free: 10.94 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/0.9118, allocations: 1.184 MB / 0.7993 GB, free: 9.762 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.458e-06/0.9118, allocations: 7.938 kB / 0.7993 GB, free: 9.754 MB / 490.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01045/0.9223, allocations: 4.379 MB / 0.8036 GB, free: 5.348 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001372/0.9237, allocations: 2.484 MB / 0.806 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.9237, allocations: 4 kB / 0.806 GB, free: 2.695 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01423/0.938, allocations: 4.164 MB / 0.8101 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.9392, allocations: 211.7 kB / 0.8103 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01206/0.9513, allocations: 6.609 MB / 0.8168 GB, free: 7.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003102/0.9544, allocations: 326.4 kB / 0.8171 GB, free: 7.246 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002276/0.9547, allocations: 75.95 kB / 0.8171 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.9547, allocations: 4 kB / 0.8172 GB, free: 7.168 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008418/0.9631, allocations: 3.575 MB / 0.8206 GB, free: 3.574 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.9632, allocations: 4 kB / 0.8206 GB, free: 3.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01304/0.9762, allocations: 3.895 MB / 0.8245 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.9774, allocations: 207.7 kB / 0.8246 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01469/0.9921, allocations: 9.653 MB / 0.8341 GB, free: 5.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003254/0.9955, allocations: 282.6 kB / 0.8343 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001915/0.9957, allocations: 67.97 kB / 0.8344 GB, free: 4.906 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.001478/0.9972, allocations: 448.9 kB / 0.8348 GB, free: 4.457 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005327/0.9977, allocations: 213.4 kB / 0.835 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0187/1.016, allocations: 6.375 MB / 0.8413 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.017, allocations: 16 kB / 0.8413 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.017, allocations: 4 kB / 0.8413 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/1.017, allocations: 7.969 kB / 0.8413 GB, free: 13.82 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 postOpt removeSimpleEquations (simulation): time 0.02321/1.04, allocations: 8.96 MB / 0.85 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.53e-05/1.04, allocations: 0 / 0.85 GB, free: 4.758 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/1.041, allocations: 255.7 kB / 0.8503 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007978/1.049, allocations: 2.513 MB / 0.8527 GB, free: 1.984 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004065/1.05, allocations: 35.98 kB / 0.8528 GB, free: 1.949 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0269/1.077, allocations: 10.88 MB / 0.8634 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/1.077, allocations: 0 / 0.8634 GB, free: 6.934 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/1.099, allocations: 7.883 MB / 0.8711 GB, free: 15 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.101, allocations: 330.2 kB / 0.8714 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/1.101, allocations: 39.98 kB / 0.8715 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001973/1.103, allocations: 227.8 kB / 0.8717 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009576/1.104, allocations: 281.2 kB / 0.8719 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000128/1.104, allocations: 40 kB / 0.872 GB, free: 14.08 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002148/1.106, allocations: 1.182 MB / 0.8731 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.31e-07/1.106, allocations: 0 / 0.8731 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002974/1.109, allocations: 0.9824 MB / 0.8741 GB, free: 11.89 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * 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 (120): * Single equations (assignments): 119 * 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.02188/1.131, allocations: 8.664 MB / 0.8826 GB, free: 3.184 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01879/1.15, allocations: 6.565 MB / 0.889 GB, free: 12.56 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.15, allocations: 4 kB / 0.889 GB, free: 12.56 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007121/1.157, allocations: 2.42 MB / 0.8913 GB, free: 10.13 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002091/1.159, allocations: 217.2 kB / 0.8915 GB, free: 9.914 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/1.171, allocations: 9.685 MB / 0.901 GB, free: 56 kB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.172, allocations: 1.478 MB / 0.9024 GB, free: 14.55 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001016/1.174, allocations: 192.1 kB / 0.9026 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/1.175, allocations: 0.8429 MB / 0.9034 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of SimCode: time 1.773e-06/1.175, allocations: 0 / 0.9034 GB, free: 13.51 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4204/1.595, allocations: 57 MB / 0.9591 GB, free: 170.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/1.595, allocations: 195.4 kB / 0.9593 GB, free: 170.2 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_ST5B.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_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_ST5B.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ST5B_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_ST5B.o] Error 1