Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ES.ESAC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",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.005074/0.005074, 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.432/1.432, 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.0009003/0.0009001, allocations: 90.84 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.07432/0.07432, 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.435/0.435, allocations: 78.52 MB / 459.6 MB, free: 4.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005247, allocations: 24.03 kB / 0.528 GB, free: 35.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1434, allocations: 69.24 MB / 0.5956 GB, free: 4.27 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/0.6319, allocations: 117.8 MB / 0.7107 GB, free: 33.16 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003302/0.6323, allocations: 92.58 kB / 0.7108 GB, free: 33.16 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1203/0.7526, allocations: 48.38 MB / 0.7581 GB, free: 21.11 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.7527, allocations: 0 / 0.7581 GB, free: 21.11 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001909/0.7529, allocations: 38.75 kB / 0.7581 GB, free: 21.1 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.009628/0.7625, allocations: 2.76 MB / 0.7608 GB, free: 19.55 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.7626, allocations: 11.83 kB / 0.7608 GB, free: 19.54 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008579/0.7634, allocations: 180 kB / 0.761 GB, free: 19.47 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003744/0.7672, allocations: 0.5844 MB / 0.7616 GB, free: 19.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003462/0.7707, allocations: 1.193 MB / 0.7627 GB, free: 18.66 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005342/0.7713, allocations: 0.4955 MB / 0.7632 GB, free: 18.23 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005568/0.7718, allocations: 124.3 kB / 0.7633 GB, free: 18.22 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004304/0.7761, allocations: 1.693 MB / 0.765 GB, free: 17.74 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.324e-05/0.7762, allocations: 352 / 0.765 GB, free: 17.74 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002269/0.7764, allocations: 54.45 kB / 0.765 GB, free: 17.73 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.285e-05/0.7765, allocations: 28.5 kB / 0.7651 GB, free: 17.73 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/0.7801, allocations: 1.609 MB / 0.7666 GB, free: 17.47 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.01094/0.791, allocations: 5.579 MB / 0.7721 GB, free: 14.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008634/0.7997, allocations: 3.762 MB / 0.7758 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.8003, allocations: 0.7395 MB / 0.7765 GB, free: 12.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002955/0.8033, allocations: 1.245 MB / 0.7777 GB, free: 12.11 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 6.132e-06/0.8034, allocations: 4 kB / 0.7777 GB, free: 12.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=139): time 0.04305/0.8464, allocations: 12.53 MB / 0.7899 GB, free: 1.445 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.8465, allocations: 149.8 kB / 0.7901 GB, free: 1.266 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003286/0.8498, allocations: 1.328 MB / 0.7914 GB, free: 300 kB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004644/0.8503, allocations: 54.14 kB / 0.7914 GB, free: 260 kB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/0.851, allocations: 0.7135 MB / 0.7921 GB, free: 15.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009441/0.852, allocations: 496.7 kB / 0.7926 GB, free: 15.47 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002646/0.8523, allocations: 26.19 kB / 0.7926 GB, free: 15.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002432/0.8525, allocations: 367.7 kB / 0.793 GB, free: 15.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002484/0.855, allocations: 0.96 MB / 0.7939 GB, free: 14.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002554/0.8576, allocations: 1.15 MB / 0.795 GB, free: 13.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002466/0.8601, allocations: 1.026 MB / 0.796 GB, free: 12.91 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.318e-06/0.8601, allocations: 0 / 0.796 GB, free: 12.91 MB / 490.7 MB Notification: Performance of matching and sorting (n=190) (initialization): time 0.008468/0.8686, allocations: 3.246 MB / 0.7992 GB, free: 10.56 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007969/0.8694, allocations: 1.545 MB / 0.8007 GB, free: 8.918 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.142e-05/0.8695, allocations: 7.953 kB / 0.8007 GB, free: 8.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/0.8803, allocations: 3.172 MB / 0.8038 GB, free: 5.742 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.8817, allocations: 231.7 kB / 0.804 GB, free: 5.516 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007862/0.8896, allocations: 3.681 MB / 0.8076 GB, free: 1.781 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.8925, allocations: 290.6 kB / 0.8079 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003592/0.8929, allocations: 51.98 kB / 0.808 GB, free: 1.445 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.8929, allocations: 4 kB / 0.808 GB, free: 1.441 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007507/0.9004, allocations: 3.042 MB / 0.8109 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.9005, allocations: 3.953 kB / 0.8109 GB, free: 14.39 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01079/0.9113, allocations: 3.168 MB / 0.814 GB, free: 11.21 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/0.9128, allocations: 223.7 kB / 0.8142 GB, free: 11 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00827/0.9211, allocations: 3.677 MB / 0.8178 GB, free: 7.27 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002862/0.9241, allocations: 278.7 kB / 0.8181 GB, free: 6.996 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003572/0.9244, allocations: 55.97 kB / 0.8182 GB, free: 6.941 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,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001369/0.9258, allocations: 392.8 kB / 0.8185 GB, free: 6.547 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000742/0.9266, allocations: 181.8 kB / 0.8187 GB, free: 6.367 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01781/0.9444, allocations: 6.063 MB / 0.8246 GB, free: 296 kB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/0.9445, allocations: 16 kB / 0.8246 GB, free: 280 kB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.9445, allocations: 4 kB / 0.8246 GB, free: 276 kB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-05/0.9446, allocations: 11.97 kB / 0.8247 GB, free: 264 kB / 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.02404/0.9686, allocations: 8.327 MB / 0.8328 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.411e-05/0.9687, allocations: 4 kB / 0.8328 GB, free: 7.824 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00148/0.9702, allocations: 183.7 kB / 0.833 GB, free: 7.645 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008103/0.9783, allocations: 2.513 MB / 0.8354 GB, free: 5.125 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004744/0.9788, allocations: 31.98 kB / 0.8354 GB, free: 5.094 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02719/1.006, allocations: 10.87 MB / 0.8461 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/1.006, allocations: 0 / 0.8461 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/1.028, allocations: 7.461 MB / 0.8534 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/1.029, allocations: 302.4 kB / 0.8536 GB, free: 2.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008023/1.03, allocations: 24 kB / 0.8537 GB, free: 2.246 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002368/1.032, allocations: 207.8 kB / 0.8539 GB, free: 2.043 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001197/1.033, allocations: 285.2 kB / 0.8541 GB, free: 1.766 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002783/1.034, allocations: 39.98 kB / 0.8542 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002387/1.036, allocations: 1.041 MB / 0.8552 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.1e-07/1.036, allocations: 0 / 0.8552 GB, free: 0.6914 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.003789/1.04, allocations: 0.8542 MB / 0.856 GB, free: 15.83 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.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 (96): * Single equations (assignments): 95 * 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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02209/1.062, allocations: 8.234 MB / 0.8641 GB, free: 7.555 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01821/1.08, allocations: 5.215 MB / 0.8692 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.295e-05/1.08, allocations: 0 / 0.8692 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00716/1.088, allocations: 2.291 MB / 0.8714 GB, free: 36 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002061/1.09, allocations: 154.2 kB / 0.8715 GB, free: 15.89 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01351/1.103, allocations: 7.281 MB / 0.8787 GB, free: 8.457 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/1.105, allocations: 1.33 MB / 0.8799 GB, free: 7.102 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.001525/1.106, allocations: 173.8 kB / 0.8801 GB, free: 6.93 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001529/1.108, allocations: 0.6828 MB / 0.8808 GB, free: 6.25 MB / 0.5574 GB Notification: Performance of SimCode: time 7.474e-06/1.108, allocations: 0 / 0.8808 GB, free: 6.25 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3732/1.481, allocations: 47.35 MB / 0.927 GB, free: 176.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/1.481, allocations: 195 kB / 0.9272 GB, free: 176.3 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_ES_ESAC1A.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_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_ES_ESAC1A.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_functions.h:169: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_ES_ESAC1A.o] Error 1