Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.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.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/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.TG.IEEEG1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",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.008892/0.008892, allocations: 170.8 kB / 15.11 MB, free: 5.973 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.562/1.562, allocations: 223.2 MB / 239 MB, free: 1.797 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009172/0.0009172, allocations: 94.36 kB / 290.2 MB, free: 13.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.544/0.544, allocations: 79.45 MB / 420.8 MB, free: 43.59 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004545/0.0004549, allocations: 12 kB / 0.4891 GB, free: 1.941 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.503/0.5035, allocations: 69.5 MB / 0.557 GB, free: 38.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.6816, allocations: 117 MB / 0.6712 GB, free: 4.562 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003539/0.682, allocations: 91.95 kB / 0.6713 GB, free: 4.473 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1588/0.8408, allocations: 51.69 MB / 0.7218 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.127e-06/0.8409, allocations: 3.938 kB / 0.7218 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000416/0.8414, allocations: 36 kB / 0.7218 GB, free: 0.5 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.01344/0.8548, allocations: 3.011 MB / 0.7248 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 7.186e-05/0.8549, allocations: 8.031 kB / 0.7248 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001151/0.8561, allocations: 202.2 kB / 0.725 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005038/0.8611, allocations: 0.7309 MB / 0.7257 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005119/0.8663, allocations: 1.339 MB / 0.727 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007933/0.8671, allocations: 0.5837 MB / 0.7276 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007532/0.8679, allocations: 139.9 kB / 0.7277 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005598/0.8735, allocations: 1.871 MB / 0.7295 GB, free: 8.348 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.985e-05/0.8736, allocations: 4 kB / 0.7295 GB, free: 8.344 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003411/0.8739, allocations: 56 kB / 0.7296 GB, free: 8.289 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.874, allocations: 32 kB / 0.7296 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004901/0.8789, allocations: 1.739 MB / 0.7313 GB, free: 6.512 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 preOpt removeSimpleEquations (simulation): time 0.01315/0.8921, allocations: 6.353 MB / 0.7375 GB, free: 15.93 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009891/0.902, allocations: 3.887 MB / 0.7413 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007141/0.9027, allocations: 0.7375 MB / 0.742 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002884/0.9056, allocations: 1.325 MB / 0.7433 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=159): time 3.446e-06/0.9056, allocations: 0 / 0.7433 GB, free: 9.664 MB / 0.5417 GB Notification: Performance of matching and sorting (n=159): time 0.04489/0.9505, allocations: 12.23 MB / 0.7553 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/0.9507, allocations: 153.7 kB / 0.7554 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003452/0.9541, allocations: 1.54 MB / 0.7569 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005729/0.9547, allocations: 57.7 kB / 0.757 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008314/0.9556, allocations: 0.8177 MB / 0.7578 GB, free: 10.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008294/0.9564, allocations: 0.5506 MB / 0.7583 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001229/0.9565, allocations: 36 kB / 0.7584 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002013/0.9568, allocations: 369.9 kB / 0.7587 GB, free: 9.789 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002395/0.9592, allocations: 1.019 MB / 0.7597 GB, free: 8.77 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.9617, allocations: 1.237 MB / 0.7609 GB, free: 7.469 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00242/0.9641, allocations: 1.08 MB / 0.762 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/0.9642, allocations: 11.94 kB / 0.762 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007667/0.9718, allocations: 3.317 MB / 0.7652 GB, free: 3.051 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009386/0.9728, allocations: 1.748 MB / 0.7669 GB, free: 1.184 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-05/0.9729, allocations: 8 kB / 0.7669 GB, free: 1.176 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3926/1.366, allocations: 3.007 MB / 0.7699 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/1.367, allocations: 305 kB / 0.7702 GB, free: 129 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00772/1.375, allocations: 3.006 MB / 0.7731 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003247/1.378, allocations: 313.5 kB / 0.7734 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002664/1.379, allocations: 59.52 kB / 0.7734 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/1.379, allocations: 5.188 kB / 0.7734 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00693/1.386, allocations: 3.085 MB / 0.7765 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/1.386, allocations: 8.969 kB / 0.7765 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009486/1.395, allocations: 3.011 MB / 0.7794 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001834/1.397, allocations: 302.6 kB / 0.7797 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006928/1.404, allocations: 2.996 MB / 0.7826 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00351/1.408, allocations: 302.6 kB / 0.7829 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002873/1.408, allocations: 65.08 kB / 0.783 GB, free: 127.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 157 * 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.00142/1.409, allocations: 419.1 kB / 0.7834 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006698/1.41, allocations: 205.8 kB / 0.7836 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01884/1.429, allocations: 6.245 MB / 0.7897 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-05/1.429, allocations: 16.16 kB / 0.7897 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.429, allocations: 4.094 kB / 0.7897 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.397e-05/1.429, allocations: 9.516 kB / 0.7897 GB, free: 127.3 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.02356/1.453, allocations: 8.698 MB / 0.7982 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.232e-05/1.453, allocations: 4.5 kB / 0.7982 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001723/1.454, allocations: 230.6 kB / 0.7984 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00848/1.463, allocations: 2.503 MB / 0.8009 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004883/1.464, allocations: 38.72 kB / 0.8009 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02897/1.492, allocations: 10.89 MB / 0.8115 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/1.493, allocations: 1.406 kB / 0.8115 GB, free: 123.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.022/1.515, allocations: 7.676 MB / 0.819 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.516, allocations: 326.3 kB / 0.8193 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003631/1.516, allocations: 36.52 kB / 0.8194 GB, free: 121 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.518, allocations: 211.2 kB / 0.8196 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/1.519, allocations: 288.8 kB / 0.8198 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.519, allocations: 42.95 kB / 0.8199 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002111/1.521, allocations: 1.19 MB / 0.8211 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.01e-07/1.521, allocations: 0 / 0.8211 GB, free: 120.4 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002761/1.524, allocations: 0.9325 MB / 0.822 GB, free: 120.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.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 (116): * Single equations (assignments): 115 * 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.02174/1.546, allocations: 8.471 MB / 0.8302 GB, free: 117.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02157/1.568, allocations: 5.468 MB / 0.8356 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.568, allocations: 0 / 0.8356 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.009247/1.577, allocations: 2.362 MB / 0.8379 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/1.58, allocations: 166 kB / 0.838 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.596, allocations: 8.229 MB / 0.8461 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/1.597, allocations: 1.442 MB / 0.8475 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001752/1.599, allocations: 199.3 kB / 0.8477 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001678/1.601, allocations: 0.7858 MB / 0.8484 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of SimCode: time 4.258e-06/1.601, allocations: 0 / 0.8484 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08447/1.685, allocations: 49.85 MB / 0.8971 GB, free: 72.02 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000168/1.685, allocations: 198.4 kB / 0.8973 GB, free: 71.78 MB / 0.5573 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_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_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_dev_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.o] Error 1