Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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.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.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_release_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.008303/0.008303, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.307/1.307, allocations: 223.2 MB / 239 MB, free: 1.801 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009864, allocations: 98.77 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4487/0.4487, allocations: 78.58 MB / 419.9 MB, free: 44.16 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003957, allocations: 16 kB / 499.9 MB, free: 2.848 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3517/0.3522, allocations: 69.34 MB / 0.5559 GB, free: 38.95 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.4736, allocations: 111.7 MB / 0.665 GB, free: 10.76 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/0.4739, allocations: 79.95 kB / 0.665 GB, free: 10.68 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1245/0.5984, allocations: 45.43 MB / 0.7094 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5984, allocations: 0 / 0.7094 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001369/0.5986, allocations: 32 kB / 0.7094 GB, free: 12.99 MB / 0.5105 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.008162/0.6067, allocations: 2.572 MB / 0.7119 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.6068, allocations: 8.031 kB / 0.712 GB, free: 10.35 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004557/0.6073, allocations: 168.4 kB / 0.7121 GB, free: 10.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003248/0.6105, allocations: 0.5751 MB / 0.7127 GB, free: 9.602 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003002/0.6135, allocations: 1.081 MB / 0.7137 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004756/0.614, allocations: 444.7 kB / 0.7142 GB, free: 7.969 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003188/0.6144, allocations: 100 kB / 0.7143 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003455/0.6178, allocations: 1.578 MB / 0.7158 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.495e-05/0.6179, allocations: 3.984 kB / 0.7158 GB, free: 6.238 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.618, allocations: 43.98 kB / 0.7158 GB, free: 6.195 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.6181, allocations: 28 kB / 0.7159 GB, free: 6.168 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/0.6215, allocations: 1.503 MB / 0.7173 GB, free: 4.656 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.009756/0.6312, allocations: 5.037 MB / 0.7223 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009103/0.6404, allocations: 3.694 MB / 0.7259 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001303/0.6405, allocations: 25.22 kB / 0.7259 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002269/0.6428, allocations: 1.182 MB / 0.727 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=137): time 3.958e-06/0.6428, allocations: 0 / 0.727 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137): time 0.08547/0.7283, allocations: 15.13 MB / 0.7418 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.7284, allocations: 120.1 kB / 0.7419 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003696/0.7321, allocations: 1.264 MB / 0.7432 GB, free: 9.746 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004293/0.7326, allocations: 49.7 kB / 0.7432 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007871/0.7334, allocations: 0.6561 MB / 0.7438 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007426/0.7341, allocations: 484.9 kB / 0.7443 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.7343, allocations: 28 kB / 0.7443 GB, free: 8.52 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002014/0.7345, allocations: 357.9 kB / 0.7447 GB, free: 8.164 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/0.7383, allocations: 0.8863 MB / 0.7455 GB, free: 7.277 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003795/0.7421, allocations: 1.078 MB / 0.7466 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003878/0.746, allocations: 0.9396 MB / 0.7475 GB, free: 5.203 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.746, allocations: 3.953 kB / 0.7475 GB, free: 5.199 MB / 0.5417 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.01241/0.7585, allocations: 3.039 MB / 0.7505 GB, free: 2.148 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008393/0.7594, allocations: 1.535 MB / 0.752 GB, free: 496 kB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.7594, allocations: 7.984 kB / 0.752 GB, free: 488 kB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01875/0.7782, allocations: 3.235 MB / 0.7552 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.7798, allocations: 179.7 kB / 0.7553 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01355/0.7933, allocations: 3.402 MB / 0.7586 GB, free: 9.625 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003807/0.7972, allocations: 274.6 kB / 0.7589 GB, free: 9.355 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002812/0.7975, allocations: 55.98 kB / 0.759 GB, free: 9.301 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.7975, allocations: 5.406 kB / 0.759 GB, free: 9.297 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01152/0.809, allocations: 2.806 MB / 0.7617 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.794e-05/0.8091, allocations: 4 kB / 0.7617 GB, free: 6.484 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01814/0.8272, allocations: 3.192 MB / 0.7648 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/0.8289, allocations: 183.7 kB / 0.765 GB, free: 3.105 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2711/1.1, allocations: 3.294 MB / 0.7682 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002807/1.103, allocations: 259.8 kB / 0.7685 GB, free: 134.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000208/1.103, allocations: 55.7 kB / 0.7685 GB, free: 134.7 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.001014/1.104, allocations: 376.1 kB / 0.7689 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004064/1.105, allocations: 173.6 kB / 0.769 GB, free: 134.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01958/1.124, allocations: 6.195 MB / 0.7751 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/1.124, allocations: 14.25 kB / 0.7751 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/1.124, allocations: 0 / 0.7751 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-05/1.124, allocations: 13.58 kB / 0.7751 GB, free: 134.4 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.02014/1.144, allocations: 8.361 MB / 0.7833 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.471e-05/1.144, allocations: 2.531 kB / 0.7833 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/1.145, allocations: 124.9 kB / 0.7834 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008551/1.154, allocations: 2.915 MB / 0.7863 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002417/1.154, allocations: 30.22 kB / 0.7863 GB, free: 133.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0307/1.185, allocations: 12.77 MB / 0.7988 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.185, allocations: 5.031 kB / 0.7988 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/1.207, allocations: 7.486 MB / 0.8061 GB, free: 130.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007095/1.207, allocations: 293.5 kB / 0.8063 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005474/1.208, allocations: 28.06 kB / 0.8064 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002277/1.21, allocations: 186.2 kB / 0.8066 GB, free: 130.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001148/1.211, allocations: 276.9 kB / 0.8068 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002084/1.212, allocations: 36 kB / 0.8069 GB, free: 130.3 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00246/1.214, allocations: 0.998 MB / 0.8078 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.9e-07/1.214, allocations: 0 / 0.8078 GB, free: 129.9 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.003574/1.218, allocations: 0.8164 MB / 0.8086 GB, free: 129.8 MB / 0.5573 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.02247/1.24, allocations: 8.185 MB / 0.8166 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01544/1.256, allocations: 5.031 MB / 0.8215 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.874e-06/1.256, allocations: 0 / 0.8215 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0065/1.262, allocations: 2.315 MB / 0.8238 GB, free: 125.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001571/1.264, allocations: 140.7 kB / 0.8239 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00864/1.272, allocations: 6.857 MB / 0.8306 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008295/1.273, allocations: 1.302 MB / 0.8319 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007689/1.274, allocations: 141.7 kB / 0.832 GB, free: 119.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009037/1.275, allocations: 0.6329 MB / 0.8326 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/1.275, allocations: 0 / 0.8326 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09759/1.373, allocations: 46.63 MB / 0.8782 GB, free: 93.35 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/1.373, allocations: 197.1 kB / 0.8784 GB, free: 93.11 MB / 0.5573 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_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1.o OpenIPSL_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c In file included from OpenIPSL_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c:7: In file included from ./OpenIPSL_release_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_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c:7: In file included from ./OpenIPSL_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1_model.h:24: ./OpenIPSL_release_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_release_OpenIPSL_Tests_Banks_PSSE_CSVGN1.o] Error 1