Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B.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.PSS.PSS2B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.PSS2B,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B",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.007831/0.007831, allocations: 171.9 kB / 15.12 MB, free: 5.969 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.648/1.648, allocations: 205.4 MB / 221.3 MB, free: 13.81 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.000995/0.0009951, allocations: 86.88 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07187/0.07187, allocations: 12.2 MB / 330.1 MB, free: 10.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4571/0.4571, allocations: 78.52 MB / 459.6 MB, free: 3.988 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005143/0.0005143, allocations: 23.47 kB / 0.528 GB, free: 35.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1536, allocations: 69.25 MB / 0.5956 GB, free: 4.258 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.6207, allocations: 117.1 MB / 0.71 GB, free: 33.11 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/0.621, allocations: 94.88 kB / 0.7101 GB, free: 33.11 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1736/0.7947, allocations: 67.86 MB / 0.7764 GB, free: 13.88 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7947, allocations: 0 / 0.7764 GB, free: 13.88 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004164/0.7951, allocations: 61.91 kB / 0.7764 GB, free: 13.86 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.01408/0.8092, allocations: 3.715 MB / 0.7801 GB, free: 11.3 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.945e-05/0.8093, allocations: 11.98 kB / 0.7801 GB, free: 11.29 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001348/0.8107, allocations: 227.3 kB / 0.7803 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004344/0.8151, allocations: 0.6915 MB / 0.781 GB, free: 10.51 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006491/0.8216, allocations: 1.993 MB / 0.7829 GB, free: 8.973 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000708/0.8223, allocations: 0.7595 MB / 0.7837 GB, free: 8.137 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007006/0.823, allocations: 161.2 kB / 0.7838 GB, free: 8.031 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005404/0.8284, allocations: 2.223 MB / 0.786 GB, free: 6.438 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.8285, allocations: 0 / 0.786 GB, free: 6.438 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.8288, allocations: 61.38 kB / 0.786 GB, free: 6.426 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.8288, allocations: 39.95 kB / 0.7861 GB, free: 6.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/0.8339, allocations: 2.254 MB / 0.7883 GB, free: 4.82 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.01574/0.8497, allocations: 7.419 MB / 0.7955 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01275/0.8625, allocations: 4.701 MB / 0.8001 GB, free: 10.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.8628, allocations: 37.95 kB / 0.8001 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003922/0.8667, allocations: 1.595 MB / 0.8017 GB, free: 9.055 MB / 490.7 MB Notification: Performance of pre-optimization done (n=182): time 5.67e-06/0.8668, allocations: 0 / 0.8017 GB, free: 9.055 MB / 490.7 MB Notification: Performance of matching and sorting (n=182): time 0.05204/0.9188, allocations: 14.05 MB / 0.8154 GB, free: 10.94 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001715/0.919, allocations: 261.3 kB / 0.8157 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005975/0.925, allocations: 2.281 MB / 0.8179 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007883/0.9258, allocations: 57.7 kB / 0.818 GB, free: 8.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.9269, allocations: 1.016 MB / 0.819 GB, free: 7.242 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00107/0.9279, allocations: 0.6431 MB / 0.8196 GB, free: 6.59 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001461/0.9281, allocations: 36 kB / 0.8196 GB, free: 6.555 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.9283, allocations: 381.9 kB / 0.82 GB, free: 6.176 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002945/0.9313, allocations: 1.257 MB / 0.8212 GB, free: 4.918 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003128/0.9344, allocations: 1.487 MB / 0.8227 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003077/0.9375, allocations: 1.337 MB / 0.824 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.9375, allocations: 3.938 kB / 0.824 GB, free: 2.035 MB / 0.4948 GB Notification: Performance of matching and sorting (n=249) (initialization): time 0.009801/0.9473, allocations: 4.137 MB / 0.828 GB, free: 13.88 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000697/0.948, allocations: 1.427 MB / 0.8294 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.472e-05/0.9481, allocations: 4 kB / 0.8294 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01258/0.9607, allocations: 3.898 MB / 0.8332 GB, free: 8.441 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001752/0.9624, allocations: 307.6 kB / 0.8335 GB, free: 8.141 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009925/0.9724, allocations: 4.126 MB / 0.8375 GB, free: 3.992 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004112/0.9765, allocations: 465.9 kB / 0.838 GB, free: 3.535 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002805/0.9768, allocations: 67.98 kB / 0.838 GB, free: 3.469 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.9769, allocations: 4 kB / 0.8381 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008404/0.9853, allocations: 3.627 MB / 0.8416 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.9853, allocations: 8 kB / 0.8416 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01175/0.9971, allocations: 3.676 MB / 0.8452 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001749/0.9989, allocations: 303.6 kB / 0.8455 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008741/1.008, allocations: 3.756 MB / 0.8491 GB, free: 8.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/1.012, allocations: 422 kB / 0.8495 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002097/1.012, allocations: 67.98 kB / 0.8496 GB, free: 7.578 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (142): * Single equations (assignments): 141 * 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 {35 73} Notification: Performance of prepare postOptimizeDAE: time 0.00141/1.013, allocations: 0.5047 MB / 0.8501 GB, free: 7.062 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006313/1.014, allocations: 268.7 kB / 0.8504 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02059/1.034, allocations: 7.008 MB / 0.8572 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.464e-05/1.035, allocations: 20 kB / 0.8572 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.035, allocations: 0 / 0.8572 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.202e-05/1.035, allocations: 7.969 kB / 0.8572 GB, free: 15.73 MB / 0.5417 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.02601/1.061, allocations: 10.17 MB / 0.8672 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/1.061, allocations: 4 kB / 0.8672 GB, free: 5.426 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/1.063, allocations: 259.7 kB / 0.8674 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008311/1.071, allocations: 2.689 MB / 0.87 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005335/1.071, allocations: 47.97 kB / 0.8701 GB, free: 2.426 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02972/1.101, allocations: 13.4 MB / 0.8832 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/1.101, allocations: 0 / 0.8832 GB, free: 4.742 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/1.126, allocations: 8.761 MB / 0.8917 GB, free: 11.92 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001644/1.128, allocations: 417.2 kB / 0.8921 GB, free: 11.49 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006783/1.129, allocations: 47.98 kB / 0.8922 GB, free: 11.45 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003608/1.132, allocations: 351.6 kB / 0.8925 GB, free: 11.1 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001391/1.134, allocations: 301.9 kB / 0.8928 GB, free: 10.8 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.134, allocations: 51.98 kB / 0.8928 GB, free: 10.75 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.006369/1.14, allocations: 1.82 MB / 0.8946 GB, free: 8.926 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.81e-07/1.14, allocations: 0 / 0.8946 GB, free: 8.926 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.005545/1.146, allocations: 1.049 MB / 0.8956 GB, free: 7.875 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.TF.x_scaled[1]) * 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 (130): * Single equations (assignments): 128 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.03849/1.184, allocations: 9.6 MB / 0.905 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03027/1.215, allocations: 6.261 MB / 0.9111 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/1.215, allocations: 0 / 0.9111 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.01193/1.227, allocations: 2.759 MB / 0.9138 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.23, allocations: 261.4 kB / 0.9141 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3363/1.566, allocations: 9.033 MB / 0.9229 GB, free: 167.3 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001301/1.567, allocations: 1.693 MB / 0.9246 GB, free: 166.5 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001641/1.569, allocations: 326.6 kB / 0.9249 GB, free: 166.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001327/1.57, allocations: 1.012 MB / 0.9259 GB, free: 166.5 MB / 0.5886 GB Notification: Performance of SimCode: time 1.623e-06/1.57, allocations: 0 / 0.9259 GB, free: 166.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1214/1.692, allocations: 65.14 MB / 0.9895 GB, free: 150.1 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/1.692, allocations: 194.3 kB / 0.9896 GB, free: 149.9 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_PSS_PSS2B.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_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_PSS_PSS2B.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_PSS2B_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_PSS_PSS2B.o] Error 1