Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_dev_OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A.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.ES.ESAC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC2A,fileNamePrefix="OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A",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.00797/0.00797, allocations: 169.8 kB / 15.11 MB, free: 5.984 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.377/1.377, allocations: 223.2 MB / 239 MB, free: 80 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.0008908/0.0008907, allocations: 97.45 kB / 290.2 MB, free: 4.531 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.6241/0.6241, allocations: 79.43 MB / 420.8 MB, free: 36.24 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000385/0.0003851, allocations: 8 kB / 0.4891 GB, free: 6.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1528, allocations: 69.51 MB / 0.557 GB, free: 0.7031 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5471/0.7, allocations: 117.5 MB / 0.6718 GB, free: 15.65 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/0.7003, allocations: 91.94 kB / 0.6719 GB, free: 15.56 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1373/0.8376, allocations: 47.34 MB / 0.7181 GB, free: 224 kB / 0.4948 GB Notification: Performance of FrontEnd: time 2.876e-06/0.8377, allocations: 0 / 0.7181 GB, free: 224 kB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002195/0.8379, allocations: 32 kB / 0.7181 GB, free: 192 kB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.01053/0.8484, allocations: 2.85 MB / 0.7209 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.8485, allocations: 12.03 kB / 0.7209 GB, free: 13.26 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008856/0.8494, allocations: 197.8 kB / 0.7211 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004646/0.854, allocations: 0.7155 MB / 0.7218 GB, free: 12.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004157/0.8582, allocations: 1.24 MB / 0.723 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007527/0.859, allocations: 0.5663 MB / 0.7236 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006151/0.8596, allocations: 135.9 kB / 0.7237 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005089/0.8647, allocations: 1.791 MB / 0.7255 GB, free: 8.426 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.8648, allocations: 7.938 kB / 0.7255 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003003/0.8651, allocations: 55.98 kB / 0.7255 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.8651, allocations: 28 kB / 0.7255 GB, free: 8.336 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/0.8698, allocations: 1.704 MB / 0.7272 GB, free: 6.625 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.01541/0.8852, allocations: 5.948 MB / 0.733 GB, free: 484 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01043/0.8957, allocations: 3.91 MB / 0.7368 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008678/0.8966, allocations: 0.7336 MB / 0.7375 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003389/0.9, allocations: 1.313 MB / 0.7388 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=156): time 7.925e-06/0.9001, allocations: 0 / 0.7388 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156): time 0.05543/0.9555, allocations: 14.59 MB / 0.7531 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/0.9557, allocations: 175.5 kB / 0.7533 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/0.9595, allocations: 1.419 MB / 0.7546 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005472/0.9601, allocations: 53.7 kB / 0.7547 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000841/0.9609, allocations: 0.739 MB / 0.7554 GB, free: 9.098 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001052/0.962, allocations: 0.5313 MB / 0.7559 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.9624, allocations: 36 kB / 0.756 GB, free: 8.523 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002357/0.9626, allocations: 365.9 kB / 0.7563 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002659/0.9653, allocations: 1.003 MB / 0.7573 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.968, allocations: 1.191 MB / 0.7585 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002727/0.9708, allocations: 1.093 MB / 0.7595 GB, free: 4.82 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.9708, allocations: 5.969 kB / 0.7595 GB, free: 4.816 MB / 0.5417 GB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008982/0.9798, allocations: 3.566 MB / 0.763 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006829/0.9805, allocations: 1.392 MB / 0.7644 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.9806, allocations: 4 kB / 0.7644 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01233/0.9929, allocations: 3.854 MB / 0.7681 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.994, allocations: 179.7 kB / 0.7683 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/1.005, allocations: 4.13 MB / 0.7723 GB, free: 7.516 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/1.008, allocations: 302.5 kB / 0.7726 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003324/1.008, allocations: 63.97 kB / 0.7727 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/1.008, allocations: 8 kB / 0.7727 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008044/1.016, allocations: 3.402 MB / 0.776 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.016, allocations: 4 kB / 0.776 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01203/1.028, allocations: 3.822 MB / 0.7798 GB, free: 15.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.029, allocations: 175.7 kB / 0.7799 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01047/1.04, allocations: 4.015 MB / 0.7838 GB, free: 11.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00297/1.043, allocations: 290.6 kB / 0.7841 GB, free: 11.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003436/1.043, allocations: 59.98 kB / 0.7842 GB, free: 11.33 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 {35 69} Notification: Performance of prepare postOptimizeDAE: time 0.001467/1.045, allocations: 438.7 kB / 0.7846 GB, free: 10.89 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009514/1.046, allocations: 197.6 kB / 0.7848 GB, free: 10.69 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02023/1.066, allocations: 6.628 MB / 0.7913 GB, free: 4.035 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.793e-05/1.066, allocations: 16 kB / 0.7913 GB, free: 4.02 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.371e-05/1.066, allocations: 7.922 kB / 0.7913 GB, free: 4.012 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.371e-05/1.066, allocations: 3.984 kB / 0.7913 GB, free: 4.008 MB / 0.573 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.4389/1.505, allocations: 9.255 MB / 0.8003 GB, free: 138.4 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/1.505, allocations: 1.594 kB / 0.8003 GB, free: 138.4 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/1.506, allocations: 141 kB / 0.8005 GB, free: 138.4 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009823/1.516, allocations: 2.939 MB / 0.8033 GB, free: 138.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003789/1.517, allocations: 39.69 kB / 0.8034 GB, free: 138.3 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02976/1.546, allocations: 12.08 MB / 0.8152 GB, free: 136.5 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/1.546, allocations: 6.766 kB / 0.8152 GB, free: 136.4 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02225/1.569, allocations: 8.185 MB / 0.8232 GB, free: 135.8 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/1.57, allocations: 314.6 kB / 0.8235 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003579/1.57, allocations: 38.16 kB / 0.8235 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00189/1.572, allocations: 213.2 kB / 0.8237 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001076/1.573, allocations: 292.4 kB / 0.824 GB, free: 135.6 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001341/1.573, allocations: 43.88 kB / 0.824 GB, free: 135.6 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001824/1.575, allocations: 1.102 MB / 0.8251 GB, free: 135.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.11e-07/1.575, allocations: 0 / 0.8251 GB, free: 135.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.002654/1.578, allocations: 0.9191 MB / 0.826 GB, free: 135.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSAC2A.imLeadLag.TF.x_scaled[1],eSAC2A.imSimpleLag.state,eSAC2A.simpleLagLim.state,eSAC2A.derivative.x,eSAC2A.rotatingExciterWithDemagnetization.sISO.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 5 (eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 {1 23,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02427/1.602, allocations: 9.044 MB / 0.8348 GB, free: 134.1 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01901/1.621, allocations: 5.83 MB / 0.8405 GB, free: 133.6 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.621, allocations: 1.094 kB / 0.8405 GB, free: 133.6 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00873/1.63, allocations: 2.514 MB / 0.843 GB, free: 132.8 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002321/1.632, allocations: 146.7 kB / 0.8431 GB, free: 132.7 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.644, allocations: 7.278 MB / 0.8502 GB, free: 127.4 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/1.645, allocations: 1.378 MB / 0.8516 GB, free: 126.7 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0008998/1.646, allocations: 152.3 kB / 0.8517 GB, free: 126.7 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008909/1.647, allocations: 0.7078 MB / 0.8524 GB, free: 126.1 MB / 0.573 GB Notification: Performance of SimCode: time 1.323e-06/1.647, allocations: 4 kB / 0.8524 GB, free: 126.1 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.097/1.744, allocations: 54.04 MB / 0.9052 GB, free: 107.9 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001645/1.744, allocations: 192.6 kB / 0.9054 GB, free: 107.7 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_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.o OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.c In file included from OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A_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_ES_ESAC2A.c:7: In file included from ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A_model.h:24: ./OpenIPSL_dev_OpenIPSL_Tests_Controls_PSSE_ES_ESAC2A_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_ES_ESAC2A.o] Error 1