Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST.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.IEEEST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.PSS.IEEEST,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST",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.00794/0.00794, 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.636/1.636, 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.0008913/0.0008913, allocations: 94.86 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.07002/0.07002, allocations: 12.21 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.4224/0.4224, allocations: 78.53 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000501/0.000501, allocations: 24.09 kB / 0.528 GB, free: 35.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.165, allocations: 69.24 MB / 0.5956 GB, free: 4.277 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5403/0.7053, allocations: 117.4 MB / 0.7103 GB, free: 33.09 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.7057, allocations: 91.7 kB / 0.7104 GB, free: 33.09 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.149/0.8547, allocations: 59.04 MB / 0.768 GB, free: 16.87 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.8547, allocations: 0 / 0.768 GB, free: 16.87 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003286/0.8551, allocations: 63.78 kB / 0.7681 GB, free: 16.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: 368 * Number of variables: 368 Notification: Performance of Generate backend data structure: time 0.01216/0.8673, allocations: 3.593 MB / 0.7716 GB, free: 14.86 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.8673, allocations: 11.64 kB / 0.7716 GB, free: 14.85 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009039/0.8682, allocations: 223.8 kB / 0.7718 GB, free: 14.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004033/0.8723, allocations: 0.6638 MB / 0.7725 GB, free: 14.5 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005795/0.8781, allocations: 1.88 MB / 0.7743 GB, free: 13.64 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000591/0.8787, allocations: 0.58 MB / 0.7749 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007065/0.8794, allocations: 167.1 kB / 0.775 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004885/0.8843, allocations: 2.164 MB / 0.7771 GB, free: 12.56 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/0.8844, allocations: 3.906 kB / 0.7771 GB, free: 12.56 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/0.8846, allocations: 65.23 kB / 0.7772 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.1e-05/0.8847, allocations: 39.08 kB / 0.7772 GB, free: 12.55 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004481/0.8891, allocations: 2.179 MB / 0.7794 GB, free: 11.74 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.014/0.9032, allocations: 7.128 MB / 0.7863 GB, free: 6.445 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009508/0.9127, allocations: 4.325 MB / 0.7905 GB, free: 2.695 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002926/0.913, allocations: 29.27 kB / 0.7906 GB, free: 2.676 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00316/0.9162, allocations: 1.588 MB / 0.7921 GB, free: 1.512 MB / 474.7 MB Notification: Performance of pre-optimization done (n=183): time 4.027e-06/0.9162, allocations: 0 / 0.7921 GB, free: 1.512 MB / 474.7 MB Notification: Performance of matching and sorting (n=183): time 0.0482/0.9644, allocations: 13.49 MB / 0.8053 GB, free: 4.949 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/0.9646, allocations: 201.9 kB / 0.8055 GB, free: 4.707 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005113/0.9697, allocations: 2.196 MB / 0.8076 GB, free: 2.492 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006601/0.9704, allocations: 65.7 kB / 0.8077 GB, free: 2.422 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008282/0.9712, allocations: 0.9364 MB / 0.8086 GB, free: 1.48 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000961/0.9722, allocations: 0.6566 MB / 0.8093 GB, free: 0.832 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001786/0.9723, allocations: 48 kB / 0.8093 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002291/0.9726, allocations: 403 kB / 0.8097 GB, free: 396 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003628/0.9762, allocations: 1.517 MB / 0.8112 GB, free: 14.87 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00386/0.9801, allocations: 1.768 MB / 0.8129 GB, free: 13.04 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003695/0.9838, allocations: 1.603 MB / 0.8145 GB, free: 11.41 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.9838, allocations: 8 kB / 0.8145 GB, free: 11.41 MB / 0.4949 GB Notification: Performance of matching and sorting (n=318) (initialization): time 0.01087/0.9947, allocations: 4.646 MB / 0.819 GB, free: 6.711 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006968/0.9954, allocations: 1.409 MB / 0.8204 GB, free: 5.16 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.9955, allocations: 4 kB / 0.8204 GB, free: 5.156 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0117/1.007, allocations: 3.651 MB / 0.8239 GB, free: 1.5 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/1.01, allocations: 0.4954 MB / 0.8244 GB, free: 1.004 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008629/1.019, allocations: 3.77 MB / 0.8281 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004486/1.023, allocations: 0.5329 MB / 0.8286 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004603/1.024, allocations: 83.94 kB / 0.8287 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/1.024, allocations: 7.938 kB / 0.8287 GB, free: 12.59 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01014/1.034, allocations: 4.222 MB / 0.8328 GB, free: 8.324 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/1.034, allocations: 4 kB / 0.8328 GB, free: 8.32 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/1.045, allocations: 3.518 MB / 0.8363 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/1.048, allocations: 0.4915 MB / 0.8368 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007849/1.056, allocations: 3.514 MB / 0.8402 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003993/1.06, allocations: 462 kB / 0.8406 GB, free: 320 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003409/1.06, allocations: 87.97 kB / 0.8407 GB, free: 232 kB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,iEEEST.and1.y,iEEEST.booleanConstant1.y,iEEEST.and1.u[2],iEEEST.swith_filter4.u2,iEEEST.swith_filter1.u2,iEEEST.booleanConstant1.k,iEEEST.bypass_filter1,iEEEST.booleanConstant.y,iEEEST.and1.u[1],iEEEST.swith_filter2.u2,iEEEST.booleanConstant.k,iEEEST.bypass_filter2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 223 * 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 {34 61} Notification: Performance of prepare postOptimizeDAE: time 0.001528/1.062, allocations: 0.5269 MB / 0.8412 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007556/1.062, allocations: 248.8 kB / 0.8415 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02047/1.083, allocations: 7.014 MB / 0.8483 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.937e-05/1.083, allocations: 20 kB / 0.8483 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.083, allocations: 0 / 0.8483 GB, free: 8.395 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.766e-05/1.083, allocations: 15.91 kB / 0.8484 GB, free: 8.379 MB / 0.5261 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.02552/1.109, allocations: 9.829 MB / 0.858 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.109, allocations: 0 / 0.858 GB, free: 14.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/1.11, allocations: 255.7 kB / 0.8582 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008446/1.119, allocations: 2.681 MB / 0.8608 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006181/1.12, allocations: 51.97 kB / 0.8609 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03069/1.15, allocations: 13.39 MB / 0.8739 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.15, allocations: 0 / 0.8739 GB, free: 13.79 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02373/1.174, allocations: 8.693 MB / 0.8824 GB, free: 5.051 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001211/1.175, allocations: 393.5 kB / 0.8828 GB, free: 4.645 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005687/1.176, allocations: 47.98 kB / 0.8829 GB, free: 4.598 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/1.178, allocations: 319.7 kB / 0.8832 GB, free: 4.285 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009077/1.179, allocations: 301.9 kB / 0.8834 GB, free: 3.992 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.18, allocations: 51.98 kB / 0.8835 GB, free: 3.941 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.003654/1.183, allocations: 1.699 MB / 0.8852 GB, free: 2.23 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.61e-07/1.183, allocations: 0 / 0.8852 GB, free: 2.23 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.003074/1.186, allocations: 1.131 MB / 0.8863 GB, free: 1.098 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 27 (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,iEEEST.Filter1_1.x_scaled[1],iEEEST.Filter1_1.x_scaled[2],iEEEST.T_1_T_2.TF.x_scaled[1],iEEEST.T_3_T_4.TF.x_scaled[1],iEEEST.imDerivativeLag.x,iEEEST.Filter2_1.x_scaled[1],iEEEST.Filter2_1.x_scaled[2],iEEEST.Filter2_1.x_scaled[3],iEEEST.Filter1_2.x_scaled[1],iEEEST.Filter1_2.x_scaled[2],iEEEST.Filter2_2.x_scaled[1],iEEEST.Filter2_2.x_scaled[2],iEEEST.Filter2_2.x_scaled[3]) * 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 (131): * Single equations (assignments): 129 * 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.02357/1.21, allocations: 9.477 MB / 0.8955 GB, free: 7.578 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.02154/1.231, allocations: 6.967 MB / 0.9023 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/1.232, allocations: 256 / 0.9023 GB, free: 0.6055 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00767/1.239, allocations: 2.748 MB / 0.905 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/1.241, allocations: 257.2 kB / 0.9052 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.255, allocations: 9.058 MB / 0.9141 GB, free: 4.312 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.257, allocations: 1.656 MB / 0.9157 GB, free: 2.625 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001916/1.259, allocations: 446.4 kB / 0.9161 GB, free: 2.184 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001485/1.26, allocations: 0.9679 MB / 0.9171 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/1.26, allocations: 0 / 0.9171 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3902/1.65, allocations: 62.88 MB / 0.9785 GB, free: 159.5 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002271/1.651, allocations: 192.2 kB / 0.9787 GB, free: 159.2 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_IEEEST.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST_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_IEEEST.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_PSS_IEEEST_functions.h:161: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_IEEEST.o] Error 1