Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.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.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",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.006045/0.006045, allocations: 170.9 kB / 15.11 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.501/1.501, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.00082/0.0008202, allocations: 98.86 kB / 269.6 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.06928/0.06928, 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.4262/0.4262, allocations: 78.53 MB / 459.6 MB, free: 4.012 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005149/0.0005149, allocations: 27.5 kB / 0.528 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1436, allocations: 69.24 MB / 0.5956 GB, free: 4.297 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4784/0.6221, allocations: 115.4 MB / 0.7084 GB, free: 33.15 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.6224, allocations: 96.47 kB / 0.7085 GB, free: 33.15 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1247/0.7471, allocations: 47.48 MB / 0.7548 GB, free: 22.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.7472, allocations: 0 / 0.7548 GB, free: 22.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001717/0.7474, allocations: 31.03 kB / 0.7549 GB, free: 22.08 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: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.008745/0.7561, allocations: 2.677 MB / 0.7575 GB, free: 20.57 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.7562, allocations: 15.11 kB / 0.7575 GB, free: 20.56 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007349/0.7569, allocations: 170.5 kB / 0.7576 GB, free: 20.49 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003722/0.7607, allocations: 0.5894 MB / 0.7582 GB, free: 20.27 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003386/0.7641, allocations: 1.135 MB / 0.7593 GB, free: 19.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004941/0.7646, allocations: 470.3 kB / 0.7598 GB, free: 19.3 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005455/0.7651, allocations: 122.5 kB / 0.7599 GB, free: 19.29 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0044/0.7696, allocations: 1.616 MB / 0.7615 GB, free: 18.83 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.7696, allocations: 3.875 kB / 0.7615 GB, free: 18.83 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/0.7699, allocations: 40.25 kB / 0.7615 GB, free: 18.83 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.287e-05/0.7699, allocations: 31.05 kB / 0.7615 GB, free: 18.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003429/0.7733, allocations: 1.533 MB / 0.763 GB, free: 18.57 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.0114/0.7848, allocations: 5.426 MB / 0.7683 GB, free: 15.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008947/0.7937, allocations: 3.638 MB / 0.7719 GB, free: 14.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005724/0.7944, allocations: 0.7389 MB / 0.7726 GB, free: 13.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002642/0.797, allocations: 1.213 MB / 0.7738 GB, free: 13.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=134): time 5.63e-06/0.7971, allocations: 0 / 0.7738 GB, free: 13.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=134): time 0.03912/0.8362, allocations: 11.06 MB / 0.7846 GB, free: 6.059 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.913e-05/0.8363, allocations: 116.1 kB / 0.7847 GB, free: 5.922 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003333/0.8397, allocations: 1.313 MB / 0.786 GB, free: 4.957 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006621/0.8404, allocations: 47.89 kB / 0.786 GB, free: 4.922 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000688/0.8411, allocations: 0.6901 MB / 0.7867 GB, free: 4.574 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001007/0.8421, allocations: 476.8 kB / 0.7872 GB, free: 4.176 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003093/0.8424, allocations: 32.06 kB / 0.7872 GB, free: 4.168 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.8426, allocations: 363.8 kB / 0.7875 GB, free: 3.828 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002216/0.8448, allocations: 0.932 MB / 0.7885 GB, free: 3.188 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002207/0.8471, allocations: 1.11 MB / 0.7895 GB, free: 2.336 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002134/0.8492, allocations: 0.9951 MB / 0.7905 GB, free: 1.703 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.237e-06/0.8492, allocations: 4 kB / 0.7905 GB, free: 1.699 MB / 474.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007147/0.8564, allocations: 3.09 MB / 0.7935 GB, free: 15.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.71e-05/0.8564, allocations: 4 kB / 0.7935 GB, free: 15.47 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.658e-05/0.8565, allocations: 7.984 kB / 0.7935 GB, free: 15.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01032/0.8668, allocations: 3.044 MB / 0.7965 GB, free: 12.72 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.8683, allocations: 246.1 kB / 0.7967 GB, free: 12.49 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006912/0.8752, allocations: 3.002 MB / 0.7997 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002599/0.8779, allocations: 278.5 kB / 0.7999 GB, free: 9.371 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003155/0.8782, allocations: 51.98 kB / 0.8 GB, free: 9.32 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eSDC2A.rotatingExciterLimited.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (130): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 26} Notification: Performance of prepare postOptimizeDAE: time 0.001159/0.8794, allocations: 309.5 kB / 0.8003 GB, free: 9.008 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006959/0.8801, allocations: 173.8 kB / 0.8005 GB, free: 8.836 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01843/0.8985, allocations: 6.024 MB / 0.8063 GB, free: 2.789 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/0.8986, allocations: 16 kB / 0.8064 GB, free: 2.773 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.8986, allocations: 3.984 kB / 0.8064 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.332e-05/0.8987, allocations: 3.984 kB / 0.8064 GB, free: 2.766 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.02317/0.9218, allocations: 8.22 MB / 0.8144 GB, free: 10.44 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.751e-05/0.9219, allocations: 0 / 0.8144 GB, free: 10.44 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001302/0.9232, allocations: 175.8 kB / 0.8146 GB, free: 10.27 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008181/0.9314, allocations: 2.509 MB / 0.817 GB, free: 7.758 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004756/0.9319, allocations: 35.98 kB / 0.817 GB, free: 7.723 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02775/0.9597, allocations: 10.88 MB / 0.8277 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.031e-06/0.9598, allocations: 4 kB / 0.8277 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/0.9814, allocations: 7.341 MB / 0.8348 GB, free: 5.316 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009262/0.9824, allocations: 290.5 kB / 0.8351 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.9828, allocations: 31.95 kB / 0.8351 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001862/0.9846, allocations: 195.8 kB / 0.8353 GB, free: 4.789 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009114/0.9856, allocations: 269.3 kB / 0.8356 GB, free: 4.527 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.9857, allocations: 35.98 kB / 0.8356 GB, free: 4.492 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001931/0.9876, allocations: 1.017 MB / 0.8366 GB, free: 3.48 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9876, allocations: 4 kB / 0.8366 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001923/0.9896, allocations: 0.5346 MB / 0.8371 GB, free: 2.941 MB / 0.5105 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,eSDC2A.imDerivativeLag.x,eSDC2A.imLeadLag.TF.x_scaled[1],eSDC2A.rotatingExciterLimited.sISO.y,eSDC2A.TransducerDelay.state,eSDC2A.simpleLagLimVar.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 90 * 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.02091/1.01, allocations: 8.121 MB / 0.8451 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009396/1.02, allocations: 3.038 MB / 0.848 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.02, allocations: 0 / 0.848 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007101/1.027, allocations: 2.241 MB / 0.8502 GB, free: 5.473 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.029, allocations: 143.6 kB / 0.8504 GB, free: 5.332 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01071/1.04, allocations: 7.09 MB / 0.8573 GB, free: 14.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.041, allocations: 1.317 MB / 0.8586 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0008074/1.041, allocations: 141.5 kB / 0.8587 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009599/1.042, allocations: 0.6594 MB / 0.8594 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of SimCode: time 8.81e-07/1.042, allocations: 0 / 0.8594 GB, free: 11.95 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07878/1.121, allocations: 39.67 MB / 0.8981 GB, free: 4.418 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002438/1.122, allocations: 198.7 kB / 0.8983 GB, free: 4.176 MB / 0.573 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_ESDC2A.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_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_ESDC2A.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_model.h:24: ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_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_ESDC2A.o] Error 1