Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1",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.006585/0.006585, allocations: 172 kB / 15.11 MB, free: 5.969 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.396/1.396, allocations: 223.2 MB / 239 MB, free: 76 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.0009131/0.000913, allocations: 98.11 kB / 290.2 MB, free: 4.484 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4876/0.4876, allocations: 78.51 MB / 419.8 MB, free: 36.34 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005512/0.0005513, allocations: 12 kB / 499.8 MB, free: 7.008 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1916, allocations: 69.37 MB / 0.5558 GB, free: 1.66 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4595/0.6512, allocations: 111.7 MB / 0.6649 GB, free: 6.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/0.6515, allocations: 83.83 kB / 0.665 GB, free: 6.527 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1222/0.7737, allocations: 45.43 MB / 0.7094 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.833e-06/0.7738, allocations: 0 / 0.7094 GB, free: 9.352 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.706e-05/0.7739, allocations: 32 kB / 0.7094 GB, free: 9.32 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.007003/0.7809, allocations: 2.581 MB / 0.7119 GB, free: 6.68 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.781, allocations: 8.031 kB / 0.7119 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000319/0.7813, allocations: 168.5 kB / 0.7121 GB, free: 6.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003015/0.7843, allocations: 0.5635 MB / 0.7126 GB, free: 5.934 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002344/0.7867, allocations: 1.085 MB / 0.7137 GB, free: 4.801 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004811/0.7871, allocations: 440.7 kB / 0.7141 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.7874, allocations: 104 kB / 0.7142 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003075/0.7904, allocations: 1.578 MB / 0.7158 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.541e-05/0.7905, allocations: 0 / 0.7158 GB, free: 2.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.7906, allocations: 44 kB / 0.7158 GB, free: 2.527 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.004e-05/0.7907, allocations: 24 kB / 0.7158 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003104/0.7938, allocations: 1.503 MB / 0.7173 GB, free: 0.9922 MB / 0.4948 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.008958/0.8027, allocations: 5.049 MB / 0.7222 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009038/0.8118, allocations: 3.681 MB / 0.7258 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002055/0.812, allocations: 25.28 kB / 0.7258 GB, free: 7.867 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002496/0.8146, allocations: 1.186 MB / 0.727 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=137): time 3.246e-06/0.8146, allocations: 0 / 0.727 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of matching and sorting (n=137): time 0.05799/0.8726, allocations: 15.12 MB / 0.7418 GB, free: 7.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.978e-05/0.8727, allocations: 120.1 kB / 0.7419 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002562/0.8753, allocations: 1.26 MB / 0.7431 GB, free: 6.09 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00037/0.8757, allocations: 61.62 kB / 0.7432 GB, free: 6.023 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005598/0.8762, allocations: 0.6561 MB / 0.7438 GB, free: 5.359 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005793/0.8768, allocations: 484.9 kB / 0.7443 GB, free: 4.879 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.867e-05/0.8769, allocations: 28 kB / 0.7443 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.8771, allocations: 353.9 kB / 0.7446 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.8791, allocations: 0.8863 MB / 0.7455 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.8811, allocations: 1.074 MB / 0.7465 GB, free: 2.484 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001964/0.8831, allocations: 0.9396 MB / 0.7475 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.8831, allocations: 3.953 kB / 0.7475 GB, free: 1.539 MB / 0.5261 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.006604/0.8897, allocations: 3.043 MB / 0.7504 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006093/0.8903, allocations: 1.531 MB / 0.7519 GB, free: 12.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.8903, allocations: 8 kB / 0.7519 GB, free: 12.81 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01022/0.9006, allocations: 3.243 MB / 0.7551 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009655/0.9016, allocations: 175.8 kB / 0.7553 GB, free: 9.395 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007438/0.909, allocations: 3.404 MB / 0.7586 GB, free: 5.961 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002226/0.9113, allocations: 280.2 kB / 0.7589 GB, free: 5.688 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.9114, allocations: 47.98 kB / 0.7589 GB, free: 5.641 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.9114, allocations: 4 kB / 0.7589 GB, free: 5.637 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006008/0.9174, allocations: 2.813 MB / 0.7617 GB, free: 2.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.9175, allocations: 4 kB / 0.7617 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01042/0.9279, allocations: 3.189 MB / 0.7648 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009402/0.9289, allocations: 183.8 kB / 0.765 GB, free: 15.44 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007314/0.9362, allocations: 3.3 MB / 0.7682 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002284/0.9385, allocations: 254.8 kB / 0.7684 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.9387, allocations: 51.98 kB / 0.7685 GB, free: 11.82 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,cSVGN1.leadLagLim.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 99 * 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 {30 45} Notification: Performance of prepare postOptimizeDAE: time 0.0008571/0.9395, allocations: 381.4 kB / 0.7688 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002985/0.9398, allocations: 173.8 kB / 0.769 GB, free: 11.26 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01828/0.9581, allocations: 6.199 MB / 0.7751 GB, free: 5.035 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.677e-05/0.9582, allocations: 16.55 kB / 0.7751 GB, free: 5.02 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.9582, allocations: 7.984 kB / 0.7751 GB, free: 5.012 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.741e-05/0.9583, allocations: 3.984 kB / 0.7751 GB, free: 5.008 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.02185/0.9801, allocations: 8.363 MB / 0.7833 GB, free: 12.49 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.992e-05/0.9802, allocations: 0 / 0.7833 GB, free: 12.49 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009118/0.9811, allocations: 123.8 kB / 0.7834 GB, free: 12.37 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009325/0.9904, allocations: 2.915 MB / 0.7862 GB, free: 9.453 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003028/0.9908, allocations: 28 kB / 0.7862 GB, free: 9.426 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3218/1.313, allocations: 12.77 MB / 0.7987 GB, free: 142.6 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.313, allocations: 0.875 kB / 0.7987 GB, free: 142.6 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02173/1.334, allocations: 7.483 MB / 0.806 GB, free: 142.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009795/1.335, allocations: 294.5 kB / 0.8063 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/1.336, allocations: 29.88 kB / 0.8063 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001859/1.338, allocations: 192.2 kB / 0.8065 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00103/1.339, allocations: 273.8 kB / 0.8068 GB, free: 142.1 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/1.339, allocations: 36.41 kB / 0.8068 GB, free: 142.1 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001809/1.341, allocations: 0.9978 MB / 0.8078 GB, free: 142 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.823e-06/1.341, allocations: 0 / 0.8078 GB, free: 142 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002455/1.343, allocations: 0.8069 MB / 0.8086 GB, free: 142 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,cSVGN1.LagLim.state,cSVGN1.leadLag.TF.x_scaled[1],cSVGN1.leadLagLim.integrator.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 (75): * Single equations (assignments): 74 * 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 {27 41} Notification: Performance of Backend phase and start with SimCode phase: time 0.02145/1.365, allocations: 8.188 MB / 0.8166 GB, free: 141 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0145/1.379, allocations: 5.025 MB / 0.8215 GB, free: 140.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/1.379, allocations: 256 / 0.8215 GB, free: 140.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006184/1.385, allocations: 2.318 MB / 0.8237 GB, free: 140.5 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/1.387, allocations: 136.1 kB / 0.8239 GB, free: 140.5 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006724/1.394, allocations: 6.852 MB / 0.8306 GB, free: 135.8 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006214/1.394, allocations: 1.302 MB / 0.8318 GB, free: 135 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0006622/1.395, allocations: 143.5 kB / 0.832 GB, free: 135 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006798/1.396, allocations: 0.6327 MB / 0.8326 GB, free: 135 MB / 0.573 GB Notification: Performance of SimCode: time 1.133e-06/1.396, allocations: 4 kB / 0.8326 GB, free: 135 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07465/1.47, allocations: 46.6 MB / 0.8781 GB, free: 131.6 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/1.47, allocations: 181.2 kB / 0.8783 GB, free: 131.3 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_OpenIPSL_Tests_Banks_PSSE_CSVGN1.o OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c In file included from OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1_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_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Banks_PSSE_CSVGN1_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_OpenIPSL_Tests_Banks_PSSE_CSVGN1.o] Error 1