Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_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_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_dev_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.007527/0.007527, allocations: 169.5 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.43/1.43, allocations: 223.2 MB / 239 MB, free: 1.785 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.001007/0.001007, allocations: 109.4 kB / 290.2 MB, free: 13.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5054/0.5054, allocations: 79.44 MB / 420.7 MB, free: 43.65 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004073/0.0004074, allocations: 8 kB / 0.4891 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.3943, allocations: 69.51 MB / 0.557 GB, free: 38.41 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1489/0.5432, allocations: 112.4 MB / 0.6667 GB, free: 9.047 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5435, allocations: 87.95 kB / 0.6668 GB, free: 8.961 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1228/0.6663, allocations: 42.97 MB / 0.7088 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.895e-06/0.6664, allocations: 0 / 0.7088 GB, free: 13.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002153/0.6666, allocations: 31.94 kB / 0.7088 GB, free: 13.74 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.009367/0.676, allocations: 2.584 MB / 0.7113 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6761, allocations: 12.02 kB / 0.7113 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006927/0.6768, allocations: 164.5 kB / 0.7115 GB, free: 10.92 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004969/0.6818, allocations: 0.782 MB / 0.7123 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003875/0.6857, allocations: 1.156 MB / 0.7134 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006181/0.6863, allocations: 436.7 kB / 0.7138 GB, free: 8.434 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000582/0.6869, allocations: 100 kB / 0.7139 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00475/0.6917, allocations: 1.582 MB / 0.7154 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.6917, allocations: 0 / 0.7154 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002296/0.692, allocations: 40 kB / 0.7155 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.692, allocations: 24 kB / 0.7155 GB, free: 6.641 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003776/0.6958, allocations: 1.507 MB / 0.717 GB, free: 5.125 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.01139/0.7072, allocations: 5.15 MB / 0.722 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008889/0.7161, allocations: 3.687 MB / 0.7256 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002392/0.7164, allocations: 25.22 kB / 0.7256 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002471/0.7189, allocations: 1.186 MB / 0.7268 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=137): time 4.057e-06/0.7189, allocations: 0 / 0.7268 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=137): time 0.05741/0.7763, allocations: 15.12 MB / 0.7416 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.7764, allocations: 116.1 kB / 0.7417 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/0.7798, allocations: 1.338 MB / 0.743 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004669/0.7803, allocations: 53.7 kB / 0.743 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006995/0.781, allocations: 0.6561 MB / 0.7437 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000934/0.782, allocations: 484.9 kB / 0.7441 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.7822, allocations: 24 kB / 0.7442 GB, free: 8.816 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001947/0.7824, allocations: 357.9 kB / 0.7445 GB, free: 8.461 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002213/0.7846, allocations: 0.8902 MB / 0.7454 GB, free: 7.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002268/0.7869, allocations: 1.08 MB / 0.7464 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.7892, allocations: 0.9434 MB / 0.7473 GB, free: 5.492 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.7892, allocations: 3.938 kB / 0.7473 GB, free: 5.488 MB / 0.5417 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.007285/0.7965, allocations: 3.039 MB / 0.7503 GB, free: 2.438 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006948/0.7972, allocations: 1.533 MB / 0.7518 GB, free: 0.7773 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/0.7972, allocations: 8 kB / 0.7518 GB, free: 0.7695 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01058/0.8078, allocations: 3.239 MB / 0.755 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.8089, allocations: 179.7 kB / 0.7552 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007982/0.8169, allocations: 3.408 MB / 0.7585 GB, free: 9.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.8197, allocations: 278.6 kB / 0.7588 GB, free: 9.637 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/0.82, allocations: 51.98 kB / 0.7588 GB, free: 9.586 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.8201, allocations: 4 kB / 0.7588 GB, free: 9.582 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006472/0.8265, allocations: 2.806 MB / 0.7615 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.8266, allocations: 7.984 kB / 0.7616 GB, free: 6.766 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/0.837, allocations: 3.192 MB / 0.7647 GB, free: 3.566 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.838, allocations: 187.7 kB / 0.7648 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008077/0.8461, allocations: 3.297 MB / 0.7681 GB, free: 64 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3267/1.173, allocations: 248.5 kB / 0.7683 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002667/1.173, allocations: 51.3 kB / 0.7684 GB, free: 136.2 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.174, allocations: 375.8 kB / 0.7687 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/1.175, allocations: 174.1 kB / 0.7689 GB, free: 136 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01918/1.194, allocations: 6.199 MB / 0.7749 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.171e-05/1.194, allocations: 20.89 kB / 0.775 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/1.194, allocations: 0 / 0.775 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-05/1.194, allocations: 7.484 kB / 0.775 GB, free: 135.9 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.02097/1.215, allocations: 8.413 MB / 0.7832 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.822e-05/1.215, allocations: 3.609 kB / 0.7832 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008519/1.216, allocations: 124.7 kB / 0.7833 GB, free: 135 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008832/1.225, allocations: 2.914 MB / 0.7861 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003145/1.225, allocations: 30.81 kB / 0.7862 GB, free: 134.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02992/1.255, allocations: 12.77 MB / 0.7986 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.255, allocations: 1.562 kB / 0.7986 GB, free: 133.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02191/1.277, allocations: 7.487 MB / 0.806 GB, free: 131.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009172/1.278, allocations: 305.2 kB / 0.8062 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003544/1.278, allocations: 30.8 kB / 0.8063 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00184/1.28, allocations: 192.9 kB / 0.8065 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001015/1.281, allocations: 275 kB / 0.8067 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.281, allocations: 35.72 kB / 0.8068 GB, free: 131.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002037/1.283, allocations: 1.049 MB / 0.8078 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.41e-07/1.283, allocations: 0 / 0.8078 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002663/1.286, allocations: 0.8176 MB / 0.8086 GB, free: 131.1 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.02148/1.308, allocations: 8.191 MB / 0.8166 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01455/1.322, allocations: 5.029 MB / 0.8215 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.322, allocations: 0 / 0.8215 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006322/1.329, allocations: 2.321 MB / 0.8238 GB, free: 126.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/1.33, allocations: 138.8 kB / 0.8239 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008161/1.338, allocations: 6.858 MB / 0.8306 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006257/1.339, allocations: 1.293 MB / 0.8318 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006886/1.34, allocations: 142.6 kB / 0.832 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000703/1.34, allocations: 0.6444 MB / 0.8326 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of SimCode: time 6.81e-07/1.34, allocations: 0 / 0.8326 GB, free: 120.1 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06945/1.41, allocations: 47.21 MB / 0.8787 GB, free: 92.84 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000134/1.41, allocations: 183.6 kB / 0.8789 GB, free: 92.61 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_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1.o OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c:7: In file included from ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1_model.h:24: ./OpenIPSL_dev_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_dev_OpenIPSL_Tests_Banks_PSSE_CSVGN1.o] Error 1