Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A.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.ESAC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.ES.ESAC1A,fileNamePrefix="OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A",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.008746/0.008746, allocations: 169.5 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.511/1.511, allocations: 223.2 MB / 239 MB, free: 1.801 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.0008776/0.0008776, allocations: 99.12 kB / 290.2 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5224/0.5224, allocations: 78.52 MB / 419.8 MB, free: 44.04 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004562/0.0004564, allocations: 12 kB / 499.8 MB, free: 2.656 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4714, allocations: 69.35 MB / 0.5558 GB, free: 38.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.6396, allocations: 116.2 MB / 0.6693 GB, free: 6.105 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003926/0.64, allocations: 91.95 kB / 0.6694 GB, free: 6.016 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1373/0.7773, allocations: 49.52 MB / 0.7178 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.957e-06/0.7774, allocations: 4 kB / 0.7178 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001314/0.7775, allocations: 39.94 kB / 0.7178 GB, free: 4.203 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: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.009052/0.7866, allocations: 2.752 MB / 0.7205 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.7867, allocations: 12.03 kB / 0.7205 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008259/0.7875, allocations: 177 kB / 0.7207 GB, free: 1.195 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003844/0.7913, allocations: 0.5907 MB / 0.7213 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00412/0.7955, allocations: 1.184 MB / 0.7224 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000687/0.7962, allocations: 0.5002 MB / 0.7229 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/0.7967, allocations: 116 kB / 0.723 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004917/0.8016, allocations: 1.699 MB / 0.7247 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.24e-05/0.8018, allocations: 4 kB / 0.7247 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.802, allocations: 40 kB / 0.7247 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.241e-05/0.802, allocations: 28 kB / 0.7247 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004221/0.8062, allocations: 1.613 MB / 0.7263 GB, free: 11.23 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.01299/0.8192, allocations: 5.573 MB / 0.7318 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01016/0.8295, allocations: 3.768 MB / 0.7354 GB, free: 1.535 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008245/0.8303, allocations: 0.7297 MB / 0.7362 GB, free: 0.6406 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003076/0.8334, allocations: 1.254 MB / 0.7374 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=139): time 3.346e-06/0.8334, allocations: 0 / 0.7374 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=139): time 0.04601/0.8795, allocations: 12.53 MB / 0.7496 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.8796, allocations: 149.8 kB / 0.7498 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.8825, allocations: 1.33 MB / 0.7511 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004877/0.883, allocations: 49.7 kB / 0.7511 GB, free: 1.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/0.8836, allocations: 0.7072 MB / 0.7518 GB, free: 0.5156 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006746/0.8843, allocations: 496.8 kB / 0.7523 GB, free: 24 kB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/0.8844, allocations: 32.05 kB / 0.7523 GB, free: 15.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8846, allocations: 365.8 kB / 0.7526 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002201/0.8868, allocations: 0.9604 MB / 0.7536 GB, free: 14.67 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002457/0.8893, allocations: 1.157 MB / 0.7547 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002538/0.8918, allocations: 1.021 MB / 0.7557 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.8919, allocations: 0 / 0.7557 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.008317/0.9002, allocations: 3.243 MB / 0.7589 GB, free: 9.176 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006664/0.9009, allocations: 1.547 MB / 0.7604 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.9009, allocations: 4 kB / 0.7604 GB, free: 7.496 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/0.9114, allocations: 3.173 MB / 0.7635 GB, free: 4.316 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.9128, allocations: 239.6 kB / 0.7637 GB, free: 4.082 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007371/0.9202, allocations: 3.676 MB / 0.7673 GB, free: 364 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/0.9231, allocations: 290.6 kB / 0.7676 GB, free: 72 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000237/0.9234, allocations: 55.98 kB / 0.7676 GB, free: 16 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.9234, allocations: 4 kB / 0.7676 GB, free: 12 kB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3343/1.258, allocations: 3.027 MB / 0.7706 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/1.258, allocations: 3.766 kB / 0.7706 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0118/1.27, allocations: 3.157 MB / 0.7737 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/1.271, allocations: 243.2 kB / 0.7739 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007151/1.278, allocations: 3.664 MB / 0.7775 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/1.281, allocations: 288.1 kB / 0.7778 GB, free: 131.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/1.281, allocations: 51.56 kB / 0.7778 GB, free: 131.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,eSAC1A.rotatingExciterWithDemagnetization.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (125): * Single equations (assignments): 123 * 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 {30 26,1 10} Notification: Performance of prepare postOptimizeDAE: time 0.001038/1.282, allocations: 390 kB / 0.7782 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004806/1.283, allocations: 187.5 kB / 0.7784 GB, free: 131.3 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/1.3, allocations: 6.059 MB / 0.7843 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/1.3, allocations: 13.81 kB / 0.7843 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/1.3, allocations: 0 / 0.7843 GB, free: 131.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-05/1.3, allocations: 9.359 kB / 0.7843 GB, free: 131.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.02136/1.322, allocations: 8.344 MB / 0.7925 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/1.322, allocations: 3.312 kB / 0.7925 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/1.323, allocations: 182.5 kB / 0.7926 GB, free: 130.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0081/1.331, allocations: 2.511 MB / 0.7951 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004132/1.332, allocations: 34.56 kB / 0.7951 GB, free: 130.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03051/1.362, allocations: 10.87 MB / 0.8057 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.362, allocations: 0.875 kB / 0.8057 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02189/1.384, allocations: 7.449 MB / 0.813 GB, free: 126.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009067/1.385, allocations: 305 kB / 0.8133 GB, free: 126 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007449/1.386, allocations: 31.91 kB / 0.8133 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002248/1.388, allocations: 207.2 kB / 0.8135 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/1.389, allocations: 277.7 kB / 0.8138 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002631/1.39, allocations: 43.5 kB / 0.8138 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002485/1.392, allocations: 1.035 MB / 0.8148 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.01e-07/1.392, allocations: 0 / 0.8148 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.004093/1.396, allocations: 0.8561 MB / 0.8157 GB, free: 125.3 MB / 0.5573 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,eSAC1A.imLeadLag.TF.x_scaled[1],eSAC1A.imSimpleLag.state,eSAC1A.simpleLagLim.state,eSAC1A.derivative.x,eSAC1A.rotatingExciterWithDemagnetization.sISO.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 (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 {26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02252/1.419, allocations: 8.236 MB / 0.8237 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01608/1.435, allocations: 5.223 MB / 0.8288 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.435, allocations: 2.25 kB / 0.8288 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.007137/1.442, allocations: 2.286 MB / 0.8311 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001827/1.444, allocations: 148.9 kB / 0.8312 GB, free: 120.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.455, allocations: 7.282 MB / 0.8383 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008581/1.456, allocations: 1.335 MB / 0.8396 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001079/1.457, allocations: 175 kB / 0.8398 GB, free: 114.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/1.458, allocations: 0.6787 MB / 0.8404 GB, free: 114 MB / 0.5573 GB Notification: Performance of SimCode: time 1.543e-06/1.458, allocations: 3.469 kB / 0.8405 GB, free: 114 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07202/1.53, allocations: 47.34 MB / 0.8867 GB, free: 84.26 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/1.53, allocations: 180.3 kB / 0.8869 GB, free: 84.03 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_ES_ESAC1A.o OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.c In file included from OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_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_ESAC1A.c:7: In file included from ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_model.h:24: ./OpenIPSL_OpenIPSL_Tests_Controls_PSSE_ES_ESAC1A_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_ESAC1A.o] Error 1