Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Tests.Controls.PSSE.TG.IEEEG1,fileNamePrefix="OpenIPSL_2_0_0_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 3.2.3+maint.om/package.mo): time 0.006242/0.006243, allocations: 171.7 kB / 15.11 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.4 MB / 221.3 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009125/0.0009123, allocations: 98.84 kB / 269.6 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.07463/0.07464, allocations: 12.19 MB / 330.1 MB, free: 10.67 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4567/0.4567, allocations: 78.53 MB / 459.6 MB, free: 3.973 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005186/0.0005184, allocations: 16.59 kB / 0.528 GB, free: 35.27 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1449, allocations: 69.24 MB / 0.5956 GB, free: 4.266 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5692/0.7142, allocations: 117.9 MB / 0.7108 GB, free: 33.19 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.7146, allocations: 95.08 kB / 0.7109 GB, free: 33.19 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.8472, allocations: 52.03 MB / 0.7617 GB, free: 19.72 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.8473, allocations: 0 / 0.7617 GB, free: 19.72 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002345/0.8475, allocations: 38.84 kB / 0.7617 GB, free: 19.72 MB / 474.7 MB 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.009581/0.8571, allocations: 3.003 MB / 0.7647 GB, free: 18.03 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.8572, allocations: 13.52 kB / 0.7647 GB, free: 18.02 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000871/0.8581, allocations: 199 kB / 0.7649 GB, free: 17.95 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003675/0.8617, allocations: 0.6332 MB / 0.7655 GB, free: 17.7 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00431/0.8661, allocations: 1.29 MB / 0.7667 GB, free: 17.07 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005181/0.8666, allocations: 0.5791 MB / 0.7673 GB, free: 16.54 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003783/0.867, allocations: 143 kB / 0.7674 GB, free: 16.54 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.8705, allocations: 1.88 MB / 0.7693 GB, free: 16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.8706, allocations: 0 / 0.7693 GB, free: 16 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/0.8707, allocations: 59.06 kB / 0.7693 GB, free: 15.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.11e-05/0.8708, allocations: 38.17 kB / 0.7694 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003248/0.874, allocations: 1.738 MB / 0.7711 GB, free: 15.71 MB / 474.7 MB 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.01021/0.8842, allocations: 6.288 MB / 0.7772 GB, free: 12.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0088/0.8931, allocations: 3.886 MB / 0.781 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.8937, allocations: 0.7326 MB / 0.7817 GB, free: 9.727 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002598/0.8963, allocations: 1.329 MB / 0.783 GB, free: 8.738 MB / 474.7 MB Notification: Performance of pre-optimization done (n=159): time 4.618e-06/0.8963, allocations: 0 / 0.783 GB, free: 8.738 MB / 474.7 MB Notification: Performance of matching and sorting (n=159): time 0.04083/0.9371, allocations: 12.23 MB / 0.795 GB, free: 13.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.048e-05/0.9373, allocations: 149.8 kB / 0.7951 GB, free: 13.47 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002763/0.94, allocations: 1.494 MB / 0.7966 GB, free: 12.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004243/0.9405, allocations: 54.08 kB / 0.7966 GB, free: 12.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006906/0.9412, allocations: 0.8219 MB / 0.7974 GB, free: 11.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007056/0.9419, allocations: 0.5524 MB / 0.798 GB, free: 11.42 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001248/0.942, allocations: 31.88 kB / 0.798 GB, free: 11.41 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.9422, allocations: 370.5 kB / 0.7983 GB, free: 11.07 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00227/0.9445, allocations: 1.022 MB / 0.7993 GB, free: 10.37 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002343/0.9468, allocations: 1.229 MB / 0.8005 GB, free: 9.43 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.9492, allocations: 1.092 MB / 0.8016 GB, free: 8.375 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.9493, allocations: 8 kB / 0.8016 GB, free: 8.367 MB / 490.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.00758/0.9568, allocations: 3.32 MB / 0.8049 GB, free: 5.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008502/0.9577, allocations: 1.741 MB / 0.8066 GB, free: 3.168 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.2e-05/0.9577, allocations: 8 kB / 0.8066 GB, free: 3.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00977/0.9675, allocations: 3.018 MB / 0.8095 GB, free: 144 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0017/0.9693, allocations: 295.5 kB / 0.8098 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006876/0.9761, allocations: 3.015 MB / 0.8127 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002843/0.979, allocations: 306.3 kB / 0.813 GB, free: 12.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001911/0.9792, allocations: 67.97 kB / 0.8131 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.9792, allocations: 4 kB / 0.8131 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00675/0.986, allocations: 3.076 MB / 0.8161 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.986, allocations: 8 kB / 0.8161 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009471/0.9955, allocations: 3.011 MB / 0.819 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.997, allocations: 291.6 kB / 0.8193 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006511/1.004, allocations: 3.008 MB / 0.8223 GB, free: 3.02 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/1.006, allocations: 302.5 kB / 0.8225 GB, free: 2.723 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001781/1.006, allocations: 63.94 kB / 0.8226 GB, free: 2.66 MB / 0.4948 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.001144/1.008, allocations: 418.4 kB / 0.823 GB, free: 2.242 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000445/1.008, allocations: 205.5 kB / 0.8232 GB, free: 2.039 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01833/1.026, allocations: 6.247 MB / 0.8293 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.84e-05/1.026, allocations: 19.94 kB / 0.8293 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/1.027, allocations: 0 / 0.8293 GB, free: 11.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.587e-05/1.027, allocations: 7.969 kB / 0.8293 GB, free: 11.74 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 postOpt removeSimpleEquations (simulation): time 0.02341/1.05, allocations: 8.682 MB / 0.8378 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/1.05, allocations: 0 / 0.8378 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/1.052, allocations: 231.8 kB / 0.838 GB, free: 2.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007695/1.059, allocations: 2.501 MB / 0.8405 GB, free: 224 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/1.06, allocations: 39.98 kB / 0.8405 GB, free: 184 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02549/1.085, allocations: 10.89 MB / 0.8511 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/1.085, allocations: 0 / 0.8511 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/1.106, allocations: 7.664 MB / 0.8586 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008747/1.107, allocations: 334 kB / 0.8589 GB, free: 13.09 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002889/1.107, allocations: 28 kB / 0.859 GB, free: 13.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001824/1.109, allocations: 211.8 kB / 0.8592 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000915/1.11, allocations: 293.3 kB / 0.8595 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.11, allocations: 43.98 kB / 0.8595 GB, free: 12.53 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002065/1.112, allocations: 1.16 MB / 0.8606 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.9e-07/1.112, allocations: 0 / 0.8606 GB, free: 11.35 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002438/1.115, allocations: 0.9242 MB / 0.8615 GB, free: 10.42 MB / 0.5417 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.02117/1.136, allocations: 8.471 MB / 0.8698 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01636/1.152, allocations: 5.464 MB / 0.8751 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.152, allocations: 0 / 0.8751 GB, free: 12.44 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006778/1.159, allocations: 2.362 MB / 0.8774 GB, free: 10.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001559/1.161, allocations: 177.9 kB / 0.8776 GB, free: 9.879 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01068/1.171, allocations: 8.192 MB / 0.8856 GB, free: 1.535 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/1.173, allocations: 1.446 MB / 0.887 GB, free: 60 kB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.001151/1.174, allocations: 195.2 kB / 0.8872 GB, free: 15.86 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/1.175, allocations: 0.7843 MB / 0.888 GB, free: 15.07 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/1.175, allocations: 0 / 0.888 GB, free: 15.07 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3611/1.536, allocations: 49.48 MB / 0.9363 GB, free: 176.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.536, allocations: 197 kB / 0.9365 GB, free: 176.5 MB / 0.5886 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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.o OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c In file included from OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c:7: In file included from ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.c:7: In file included from ./OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1_model.h:24: ./OpenIPSL_2_0_0_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_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_IEEEG1.o] Error 1