Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Banks.PSSE.CSVGN1.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.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Banks.PSSE.CSVGN1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1",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.005344/0.005344, 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 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.4 MB / 221.3 MB, free: 13.83 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.0008898/0.0008898, allocations: 98.8 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.06152/0.06152, allocations: 12.2 MB / 330.1 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.3946/0.3946, allocations: 78.52 MB / 459.6 MB, free: 4.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000454/0.000454, allocations: 24.03 kB / 0.528 GB, free: 35.41 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 69.23 MB / 0.5956 GB, free: 4.289 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.4776, allocations: 113.2 MB / 0.7062 GB, free: 32.86 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.4779, allocations: 88.05 kB / 0.7063 GB, free: 32.86 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1111/0.5891, allocations: 44.34 MB / 0.7496 GB, free: 23.54 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.5891, allocations: 0 / 0.7496 GB, free: 23.54 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001666/0.5893, allocations: 34.88 kB / 0.7496 GB, free: 23.53 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: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.007738/0.597, allocations: 2.574 MB / 0.7521 GB, free: 22.07 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.5971, allocations: 11.86 kB / 0.7522 GB, free: 22.06 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005126/0.5976, allocations: 166.4 kB / 0.7523 GB, free: 22 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003135/0.6007, allocations: 0.5587 MB / 0.7529 GB, free: 21.79 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.6032, allocations: 1.096 MB / 0.7539 GB, free: 21.23 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00037/0.6036, allocations: 438.1 kB / 0.7544 GB, free: 20.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003271/0.6039, allocations: 109 kB / 0.7545 GB, free: 20.86 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.6067, allocations: 1.573 MB / 0.756 GB, free: 20.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.6067, allocations: 3.938 kB / 0.756 GB, free: 20.41 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.6068, allocations: 43.84 kB / 0.756 GB, free: 20.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.6069, allocations: 27.36 kB / 0.7561 GB, free: 20.4 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.6094, allocations: 1.505 MB / 0.7575 GB, free: 20.16 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.007488/0.6169, allocations: 5.041 MB / 0.7625 GB, free: 17.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007556/0.6245, allocations: 3.685 MB / 0.7661 GB, free: 16.21 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001208/0.6247, allocations: 24.06 kB / 0.7661 GB, free: 16.21 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001908/0.6266, allocations: 1.185 MB / 0.7672 GB, free: 15.86 MB / 474.7 MB Notification: Performance of pre-optimization done (n=137): time 2.736e-06/0.6266, allocations: 0 / 0.7672 GB, free: 15.86 MB / 474.7 MB Notification: Performance of matching and sorting (n=137): time 0.05023/0.6768, allocations: 15.13 MB / 0.782 GB, free: 7.426 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/0.6769, allocations: 116.1 kB / 0.7821 GB, free: 7.289 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/0.679, allocations: 1.262 MB / 0.7834 GB, free: 6.359 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002199/0.6792, allocations: 55.31 kB / 0.7834 GB, free: 6.316 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/0.6796, allocations: 0.6583 MB / 0.784 GB, free: 5.988 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003845/0.68, allocations: 488.7 kB / 0.7845 GB, free: 5.578 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.6801, allocations: 30 kB / 0.7845 GB, free: 5.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.298e-05/0.6802, allocations: 356.7 kB / 0.7849 GB, free: 5.238 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.6817, allocations: 0.8855 MB / 0.7857 GB, free: 4.625 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001612/0.6833, allocations: 1.076 MB / 0.7868 GB, free: 3.793 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001586/0.6849, allocations: 0.9388 MB / 0.7877 GB, free: 3.188 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.685, allocations: 0 / 0.7877 GB, free: 3.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.005304/0.6903, allocations: 3.033 MB / 0.7907 GB, free: 1.02 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000454/0.6907, allocations: 1.54 MB / 0.7922 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.6907, allocations: 0 / 0.7922 GB, free: 15.37 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009722/0.7005, allocations: 3.238 MB / 0.7953 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008908/0.7014, allocations: 182.8 kB / 0.7955 GB, free: 12.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007287/0.7087, allocations: 3.416 MB / 0.7989 GB, free: 9.672 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002257/0.711, allocations: 263.8 kB / 0.7991 GB, free: 9.434 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7111, allocations: 50.05 kB / 0.7992 GB, free: 9.395 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.7111, allocations: 7.938 kB / 0.7992 GB, free: 9.387 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005729/0.7169, allocations: 2.811 MB / 0.8019 GB, free: 6.723 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.7169, allocations: 8 kB / 0.8019 GB, free: 6.715 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009748/0.7267, allocations: 3.196 MB / 0.805 GB, free: 3.516 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009274/0.7276, allocations: 183.7 kB / 0.8052 GB, free: 3.336 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007064/0.7347, allocations: 3.304 MB / 0.8084 GB, free: 8 kB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/0.7371, allocations: 254.8 kB / 0.8087 GB, free: 15.76 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.7372, allocations: 51.98 kB / 0.8087 GB, free: 15.71 MB / 0.4949 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.0008668/0.7381, allocations: 372.9 kB / 0.8091 GB, free: 15.33 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.7384, allocations: 177.8 kB / 0.8093 GB, free: 15.16 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01713/0.7555, allocations: 6.195 MB / 0.8153 GB, free: 8.941 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.653e-05/0.7556, allocations: 16 kB / 0.8153 GB, free: 8.926 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.304e-05/0.7556, allocations: 3.984 kB / 0.8153 GB, free: 8.922 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.866e-05/0.7557, allocations: 3.984 kB / 0.8153 GB, free: 8.918 MB / 0.4949 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.02039/0.7761, allocations: 8.366 MB / 0.8235 GB, free: 432 kB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.7761, allocations: 0 / 0.8235 GB, free: 432 kB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008449/0.777, allocations: 131.8 kB / 0.8236 GB, free: 300 kB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008683/0.7857, allocations: 2.91 MB / 0.8265 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002807/0.786, allocations: 28 kB / 0.8265 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02868/0.8147, allocations: 12.77 MB / 0.839 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.8147, allocations: 0 / 0.839 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01957/0.8343, allocations: 7.499 MB / 0.8463 GB, free: 8.914 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007596/0.8351, allocations: 286.5 kB / 0.8466 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002455/0.8354, allocations: 28.11 kB / 0.8466 GB, free: 8.586 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.837, allocations: 203.8 kB / 0.8468 GB, free: 8.387 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008045/0.8378, allocations: 273.3 kB / 0.847 GB, free: 8.117 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.8379, allocations: 39.98 kB / 0.8471 GB, free: 8.078 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001525/0.8394, allocations: 0.9923 MB / 0.848 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8394, allocations: 0 / 0.848 GB, free: 7.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002214/0.8416, allocations: 0.8035 MB / 0.8488 GB, free: 6.285 MB / 0.5261 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.01995/0.8616, allocations: 8.188 MB / 0.8568 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0145/0.8761, allocations: 5.03 MB / 0.8617 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.814e-06/0.8762, allocations: 3.938 kB / 0.8617 GB, free: 9.02 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006329/0.8825, allocations: 2.318 MB / 0.864 GB, free: 6.688 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.8837, allocations: 134.3 kB / 0.8641 GB, free: 6.555 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007333/0.891, allocations: 6.874 MB / 0.8708 GB, free: 15.55 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007382/0.8918, allocations: 1.299 MB / 0.8721 GB, free: 14.22 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0006627/0.8925, allocations: 141.3 kB / 0.8722 GB, free: 14.08 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/0.8932, allocations: 0.636 MB / 0.8729 GB, free: 13.44 MB / 0.5574 GB Notification: Performance of SimCode: time 3.907e-06/0.8932, allocations: 0 / 0.8729 GB, free: 13.44 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2881/1.181, allocations: 46.64 MB / 0.9184 GB, free: 181.4 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001405/1.182, allocations: 186.6 kB / 0.9186 GB, free: 181.1 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_Banks_PSSE_CSVGN1.o OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Banks_PSSE_CSVGN1.o] Error 1