Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TG.IEEEG1,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_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.007413/0.007413, allocations: 170.3 kB / 15.11 MB, free: 5.977 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.469/1.469, allocations: 223.2 MB / 239 MB, free: 1.82 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.0009333/0.0009333, allocations: 96.36 kB / 290.2 MB, free: 13.95 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4912/0.4912, allocations: 78.52 MB / 419.8 MB, free: 44.12 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003775/0.0003776, allocations: 11.98 kB / 499.8 MB, free: 2.617 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4892/0.4896, allocations: 69.34 MB / 0.5558 GB, free: 38.52 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1732/0.6629, allocations: 116.3 MB / 0.6694 GB, free: 5.914 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.6632, allocations: 96.78 kB / 0.6695 GB, free: 5.82 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1497/0.8129, allocations: 53.24 MB / 0.7215 GB, free: 336 kB / 0.5105 GB Notification: Performance of FrontEnd: time 3.596e-06/0.813, allocations: 0 / 0.7215 GB, free: 336 kB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000138/0.8131, allocations: 39.94 kB / 0.7215 GB, free: 296 kB / 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.008455/0.8216, allocations: 2.995 MB / 0.7244 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.8217, allocations: 8.031 kB / 0.7244 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004194/0.8221, allocations: 210.2 kB / 0.7246 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003276/0.8254, allocations: 0.6138 MB / 0.7252 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003056/0.8285, allocations: 1.292 MB / 0.7265 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007062/0.8292, allocations: 0.5877 MB / 0.7271 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002816/0.8295, allocations: 139.9 kB / 0.7272 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004009/0.8335, allocations: 1.871 MB / 0.729 GB, free: 8.305 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.8335, allocations: 3.938 kB / 0.729 GB, free: 8.301 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001744/0.8337, allocations: 56 kB / 0.7291 GB, free: 8.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.8337, allocations: 32 kB / 0.7291 GB, free: 8.215 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.8377, allocations: 1.735 MB / 0.7308 GB, free: 6.473 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.01237/0.8501, allocations: 6.302 MB / 0.737 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009948/0.86, allocations: 3.887 MB / 0.7408 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007759/0.8609, allocations: 0.7376 MB / 0.7415 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00293/0.8638, allocations: 1.33 MB / 0.7428 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=159): time 3.246e-06/0.8638, allocations: 0 / 0.7428 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of matching and sorting (n=159): time 0.04413/0.908, allocations: 12.22 MB / 0.7547 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.293e-05/0.9081, allocations: 145.8 kB / 0.7549 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002865/0.911, allocations: 1.497 MB / 0.7563 GB, free: 11.7 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004678/0.9115, allocations: 53.7 kB / 0.7564 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006894/0.9122, allocations: 0.8177 MB / 0.7572 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006955/0.9129, allocations: 0.5584 MB / 0.7577 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/0.913, allocations: 35.94 kB / 0.7578 GB, free: 10.21 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.9132, allocations: 369.9 kB / 0.7581 GB, free: 9.848 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002289/0.9155, allocations: 1.015 MB / 0.7591 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/0.9178, allocations: 1.229 MB / 0.7603 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/0.9202, allocations: 1.095 MB / 0.7614 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.9202, allocations: 0 / 0.7614 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00745/0.9277, allocations: 3.324 MB / 0.7646 GB, free: 3.109 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008035/0.9285, allocations: 1.753 MB / 0.7663 GB, free: 1.234 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.9286, allocations: 4 kB / 0.7663 GB, free: 1.23 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3548/1.283, allocations: 3.002 MB / 0.7693 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00185/1.285, allocations: 302.6 kB / 0.7696 GB, free: 129.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007484/1.293, allocations: 3.011 MB / 0.7725 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003077/1.296, allocations: 315 kB / 0.7728 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001888/1.296, allocations: 58.77 kB / 0.7728 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/1.296, allocations: 4 kB / 0.7729 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00698/1.303, allocations: 3.082 MB / 0.7759 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.375e-05/1.303, allocations: 8.938 kB / 0.7759 GB, free: 128.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009202/1.312, allocations: 3.008 MB / 0.7788 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/1.314, allocations: 300.5 kB / 0.7791 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006373/1.32, allocations: 2.999 MB / 0.782 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002904/1.323, allocations: 299.5 kB / 0.7823 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/1.323, allocations: 57.86 kB / 0.7824 GB, free: 128 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.001442/1.325, allocations: 426.6 kB / 0.7828 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006921/1.326, allocations: 209.1 kB / 0.783 GB, free: 127.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01786/1.343, allocations: 6.242 MB / 0.7891 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/1.344, allocations: 16.91 kB / 0.7891 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/1.344, allocations: 0 / 0.7891 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.812e-05/1.344, allocations: 6.281 kB / 0.7891 GB, free: 127.5 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.02279/1.366, allocations: 8.673 MB / 0.7976 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/1.366, allocations: 1.188 kB / 0.7976 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001677/1.368, allocations: 234.7 kB / 0.7978 GB, free: 126.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008132/1.376, allocations: 2.497 MB / 0.8002 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004618/1.377, allocations: 40.08 kB / 0.8003 GB, free: 126.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0278/1.405, allocations: 10.89 MB / 0.8109 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.405, allocations: 0 / 0.8109 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/1.427, allocations: 7.675 MB / 0.8184 GB, free: 122 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/1.428, allocations: 324 kB / 0.8187 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/1.428, allocations: 30.64 kB / 0.8187 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001924/1.43, allocations: 218.1 kB / 0.8189 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/1.431, allocations: 290.8 kB / 0.8192 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/1.431, allocations: 45.64 kB / 0.8193 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001965/1.433, allocations: 1.161 MB / 0.8204 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.433, allocations: 0 / 0.8204 GB, free: 121.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.002612/1.436, allocations: 0.931 MB / 0.8213 GB, free: 121.1 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.02018/1.456, allocations: 8.45 MB / 0.8295 GB, free: 118.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0153/1.472, allocations: 5.471 MB / 0.8349 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.472, allocations: 0 / 0.8349 GB, free: 116.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006354/1.478, allocations: 2.366 MB / 0.8372 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.48, allocations: 165.5 kB / 0.8374 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009027/1.489, allocations: 8.206 MB / 0.8454 GB, free: 110.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007967/1.49, allocations: 1.438 MB / 0.8468 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001066/1.491, allocations: 202.2 kB / 0.847 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009471/1.492, allocations: 0.7802 MB / 0.8477 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/1.492, allocations: 0 / 0.8477 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07924/1.571, allocations: 49.45 MB / 0.896 GB, free: 73.62 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001493/1.571, allocations: 187.8 kB / 0.8962 GB, free: 73.39 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_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c:7: In file included from ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_model.h:24: ./OpenIPSL_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_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.o] Error 1