Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESDC2A,fileNamePrefix="OpenIPSL_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 4.0.0+maint.om/package.mo): time 0.009058/0.009058, allocations: 172 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 223.2 MB / 239 MB, free: 92 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008953/0.0008953, allocations: 94.86 kB / 290.2 MB, free: 4.555 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5101/0.5101, allocations: 78.52 MB / 419.8 MB, free: 36.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005471/0.0005473, allocations: 8 kB / 499.8 MB, free: 7.023 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2032, allocations: 69.36 MB / 0.5558 GB, free: 1.672 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.529/0.7322, allocations: 113.9 MB / 0.667 GB, free: 4.375 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003791/0.7327, allocations: 93.69 kB / 0.6671 GB, free: 4.324 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1371/0.8697, allocations: 48.6 MB / 0.7146 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of FrontEnd: time 3.276e-06/0.8698, allocations: 0 / 0.7146 GB, free: 4.008 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001027/0.8699, allocations: 39.94 kB / 0.7146 GB, free: 3.969 MB / 0.4948 GB 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.008345/0.8783, allocations: 2.672 MB / 0.7172 GB, free: 1.238 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.224e-05/0.8784, allocations: 12.03 kB / 0.7172 GB, free: 1.227 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004246/0.8788, allocations: 172.7 kB / 0.7174 GB, free: 1.047 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.882, allocations: 0.5674 MB / 0.7179 GB, free: 488 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002876/0.8849, allocations: 1.156 MB / 0.7191 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006033/0.8855, allocations: 470.5 kB / 0.7195 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002401/0.8858, allocations: 108 kB / 0.7196 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003519/0.8893, allocations: 1.618 MB / 0.7212 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.386e-05/0.8893, allocations: 0 / 0.7212 GB, free: 12.96 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.8895, allocations: 40 kB / 0.7212 GB, free: 12.93 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.946e-05/0.8895, allocations: 28 kB / 0.7213 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003436/0.893, allocations: 1.527 MB / 0.7228 GB, free: 11.36 MB / 0.5105 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 preOpt removeSimpleEquations (simulation): time 0.01157/0.9045, allocations: 5.443 MB / 0.7281 GB, free: 5.688 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009382/0.914, allocations: 3.631 MB / 0.7316 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008114/0.9148, allocations: 0.7297 MB / 0.7323 GB, free: 1.027 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002792/0.9176, allocations: 1.208 MB / 0.7335 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=134): time 4.027e-06/0.9176, allocations: 0 / 0.7335 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=134): time 0.04028/0.9579, allocations: 11.07 MB / 0.7443 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.133e-05/0.9581, allocations: 120.1 kB / 0.7444 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002838/0.9609, allocations: 1.309 MB / 0.7457 GB, free: 3.234 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004492/0.9614, allocations: 53.7 kB / 0.7458 GB, free: 3.176 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006399/0.962, allocations: 0.6873 MB / 0.7464 GB, free: 2.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006598/0.9627, allocations: 488.9 kB / 0.7469 GB, free: 1.996 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.9628, allocations: 29.97 kB / 0.7469 GB, free: 1.969 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.963, allocations: 357.9 kB / 0.7473 GB, free: 1.613 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/0.9651, allocations: 0.9292 MB / 0.7482 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002161/0.9673, allocations: 1.113 MB / 0.7493 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.9694, allocations: 0.9977 MB / 0.7502 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.9694, allocations: 4 kB / 0.7502 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.007134/0.9766, allocations: 3.087 MB / 0.7533 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 3.359e-05/0.9767, allocations: 8 kB / 0.7533 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/0.9767, allocations: 8.062 kB / 0.7533 GB, free: 11.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01013/0.9868, allocations: 3.038 MB / 0.7562 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/0.9882, allocations: 247.7 kB / 0.7565 GB, free: 8.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006703/0.995, allocations: 3.014 MB / 0.7594 GB, free: 5.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.9976, allocations: 262.7 kB / 0.7597 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001957/0.9979, allocations: 59.94 kB / 0.7597 GB, free: 4.762 MB / 0.5417 GB 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.000951/0.9988, allocations: 309.5 kB / 0.76 GB, free: 4.449 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004658/0.9993, allocations: 177.8 kB / 0.7602 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01754/1.017, allocations: 6.028 MB / 0.7661 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.81e-05/1.017, allocations: 12 kB / 0.7661 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.017, allocations: 1.688 kB / 0.7661 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-05/1.017, allocations: 15.97 kB / 0.7661 GB, free: 14.2 MB / 0.5573 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.0214/1.038, allocations: 8.21 MB / 0.7741 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.038, allocations: 4 kB / 0.7741 GB, free: 5.859 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001236/1.04, allocations: 175.8 kB / 0.7743 GB, free: 5.688 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00779/1.048, allocations: 2.501 MB / 0.7767 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003642/1.048, allocations: 31.98 kB / 0.7768 GB, free: 3.148 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02638/1.074, allocations: 10.89 MB / 0.7874 GB, free: 8.113 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.074, allocations: 4 kB / 0.7874 GB, free: 8.109 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02059/1.095, allocations: 7.338 MB / 0.7946 GB, free: 0.7305 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/1.096, allocations: 298.5 kB / 0.7949 GB, free: 428 kB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004358/1.097, allocations: 24 kB / 0.7949 GB, free: 404 kB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001822/1.098, allocations: 191.8 kB / 0.7951 GB, free: 212 kB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.342/1.44, allocations: 266.5 kB / 0.7953 GB, free: 142.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004078/1.441, allocations: 39.3 kB / 0.7954 GB, free: 142.9 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00216/1.443, allocations: 1.022 MB / 0.7964 GB, free: 142.8 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.91e-07/1.443, allocations: 0 / 0.7964 GB, free: 142.8 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002085/1.445, allocations: 0.5363 MB / 0.7969 GB, free: 142.8 MB / 0.573 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.02077/1.466, allocations: 8.105 MB / 0.8048 GB, free: 141.9 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.009089/1.475, allocations: 3.039 MB / 0.8078 GB, free: 141.8 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 5.551e-06/1.475, allocations: 6.375 kB / 0.8078 GB, free: 141.8 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00685/1.482, allocations: 2.241 MB / 0.81 GB, free: 141.6 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/1.483, allocations: 143.1 kB / 0.8101 GB, free: 141.6 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008833/1.492, allocations: 7.085 MB / 0.817 GB, free: 137 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009409/1.493, allocations: 1.315 MB / 0.8183 GB, free: 136.2 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008764/1.494, allocations: 141.4 kB / 0.8184 GB, free: 136.2 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001335/1.495, allocations: 0.6661 MB / 0.8191 GB, free: 136.2 MB / 0.573 GB Notification: Performance of SimCode: time 9.82e-07/1.495, allocations: 0 / 0.8191 GB, free: 136.2 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0775/1.573, allocations: 39.67 MB / 0.8578 GB, free: 134.3 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/1.573, allocations: 187.5 kB / 0.858 GB, free: 134 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_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_ES_ESDC2A.o] Error 1