Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.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-master/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-master/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: translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") translateModel(OpenIPSL.Tests.Controls.PSSE.TG.TGOV1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00624/0.00624, allocations: 172.4 kB / 15.11 MB, free: 5.973 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.514/1.514, allocations: 205.4 MB / 221.3 MB, free: 13.84 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.0009017/0.0009019, allocations: 94.8 kB / 269.6 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.08701/0.08701, allocations: 12.58 MB / 330.4 MB, free: 10.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.4082/0.4082, allocations: 78.52 MB / 460 MB, free: 3.488 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004901/0.0004901, allocations: 21.41 kB / 0.5285 GB, free: 35.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.1482, allocations: 69.33 MB / 0.5962 GB, free: 3.828 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5241/0.6724, allocations: 111.3 MB / 0.7048 GB, free: 32.79 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002819/0.6727, allocations: 92.09 kB / 0.7049 GB, free: 32.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.102/0.7747, allocations: 39.99 MB / 0.744 GB, free: 25.57 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.7748, allocations: 0 / 0.744 GB, free: 25.57 MB / 474.7 MB Notification: Performance of Transformations before backend: time 6.521e-05/0.7748, allocations: 23.22 kB / 0.744 GB, free: 25.57 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006045/0.7809, allocations: 2.429 MB / 0.7464 GB, free: 24.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.7809, allocations: 19.66 kB / 0.7464 GB, free: 24.19 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002736/0.7837, allocations: 0.547 MB / 0.7469 GB, free: 23.99 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.7854, allocations: 0.9847 MB / 0.7479 GB, free: 23.46 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003458/0.7857, allocations: 426.7 kB / 0.7483 GB, free: 23.1 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.7859, allocations: 94.41 kB / 0.7484 GB, free: 23.1 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/0.7884, allocations: 1.426 MB / 0.7498 GB, free: 22.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.7885, allocations: 4 kB / 0.7498 GB, free: 22.72 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.7886, allocations: 40.92 kB / 0.7498 GB, free: 22.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.7886, allocations: 27.44 kB / 0.7498 GB, free: 22.71 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002461/0.7911, allocations: 1.38 MB / 0.7512 GB, free: 22.49 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.007195/0.7983, allocations: 4.645 MB / 0.7557 GB, free: 20.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007735/0.806, allocations: 3.445 MB / 0.7591 GB, free: 18.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001305/0.8062, allocations: 20.45 kB / 0.7591 GB, free: 18.85 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/0.808, allocations: 1.137 MB / 0.7602 GB, free: 18.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=124): time 3.106e-06/0.8081, allocations: 0 / 0.7602 GB, free: 18.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=124): time 0.0422/0.8503, allocations: 12.16 MB / 0.7721 GB, free: 14.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.8504, allocations: 119.2 kB / 0.7722 GB, free: 14.16 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.8531, allocations: 1.149 MB / 0.7733 GB, free: 13.85 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003235/0.8535, allocations: 51.84 kB / 0.7734 GB, free: 13.82 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.854, allocations: 0.5927 MB / 0.7739 GB, free: 13.59 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006827/0.8547, allocations: 441.7 kB / 0.7744 GB, free: 13.27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/0.8549, allocations: 22 kB / 0.7744 GB, free: 13.27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.855, allocations: 354.8 kB / 0.7747 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.8568, allocations: 0.8231 MB / 0.7755 GB, free: 12.83 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.8587, allocations: 0.9899 MB / 0.7765 GB, free: 12.52 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001838/0.8606, allocations: 0.8858 MB / 0.7774 GB, free: 11.95 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.8606, allocations: 4 kB / 0.7774 GB, free: 11.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00599/0.8666, allocations: 2.808 MB / 0.7801 GB, free: 9.93 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/0.8666, allocations: 7.953 kB / 0.7801 GB, free: 9.922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.8666, allocations: 4 kB / 0.7801 GB, free: 9.918 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009126/0.8758, allocations: 3.052 MB / 0.7831 GB, free: 7.164 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009423/0.8767, allocations: 183 kB / 0.7833 GB, free: 6.992 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005839/0.8826, allocations: 3.001 MB / 0.7862 GB, free: 4.637 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/0.885, allocations: 244.1 kB / 0.7864 GB, free: 4.414 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.8852, allocations: 46.36 kB / 0.7865 GB, free: 4.379 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * 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 initialization (99): * Single equations (assignments): 98 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0008804/0.8861, allocations: 284.5 kB / 0.7868 GB, free: 4.184 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006307/0.8867, allocations: 154.1 kB / 0.7869 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/0.9033, allocations: 5.869 MB / 0.7926 GB, free: 15.04 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.946e-05/0.9033, allocations: 16 kB / 0.7926 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.9034, allocations: 0 / 0.7926 GB, free: 15.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.9034, allocations: 7.969 kB / 0.7927 GB, free: 15.01 MB / 490.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 postOpt removeSimpleEquations (simulation): time 0.02072/0.9241, allocations: 7.859 MB / 0.8003 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.773e-05/0.9242, allocations: 0 / 0.8003 GB, free: 7.539 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.9253, allocations: 139.8 kB / 0.8005 GB, free: 7.402 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0079/0.9332, allocations: 2.509 MB / 0.8029 GB, free: 4.891 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003233/0.9336, allocations: 27.98 kB / 0.8029 GB, free: 4.863 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02736/0.961, allocations: 10.9 MB / 0.8136 GB, free: 9.824 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.961, allocations: 4 kB / 0.8136 GB, free: 9.82 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02097/0.982, allocations: 7.029 MB / 0.8204 GB, free: 2.746 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009592/0.983, allocations: 270.8 kB / 0.8207 GB, free: 2.461 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007148/0.9838, allocations: 31.98 kB / 0.8207 GB, free: 2.43 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002279/0.986, allocations: 183.8 kB / 0.8209 GB, free: 2.25 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/0.9871, allocations: 257.2 kB / 0.8212 GB, free: 1.996 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002357/0.9874, allocations: 35.98 kB / 0.8212 GB, free: 1.961 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.002388/0.9898, allocations: 0.8978 MB / 0.8221 GB, free: 1.062 MB / 0.4949 GB Notification: Performance of sort global known variables: time 7.81e-07/0.9898, allocations: 0 / 0.8221 GB, free: 1.062 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.002138/0.992, allocations: 491.3 kB / 0.8225 GB, free: 0.582 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 11 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,tGOV1.imLeadLag.TF.x_scaled[1],tGOV1.simpleLagLim.state) * 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 (81): * Single equations (assignments): 80 * 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.0004282/0.9924, allocations: 178.6 kB / 0.8227 GB, free: 412 kB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.008498/1.001, allocations: 2.795 MB / 0.8254 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/1.001, allocations: 0 / 0.8254 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006576/1.008, allocations: 2.151 MB / 0.8275 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.009, allocations: 114.2 kB / 0.8276 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/1.015, allocations: 3.487 MB / 0.8311 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008738/1.016, allocations: 1.238 MB / 0.8323 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006404/1.017, allocations: 116.2 kB / 0.8324 GB, free: 6.422 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003194/1.017, allocations: 83.41 kB / 0.8325 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of SimCode: time 2.134e-06/1.017, allocations: 0 / 0.8325 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of Templates: time 0.03769/1.055, allocations: 23.9 MB / 0.8558 GB, free: 14.46 MB / 0.5417 GB make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile make -j1 -f OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_2_0_0_OpenIPSL_Tests_Controls_PSSE_TG_TGOV1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.o OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.c In file included from OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.c:7: In file included from ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1_model.h:24: ./OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1_functions.h:153: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); ^ 1 error generated. make: *** [: OpenIPSL_2.0.0_OpenIPSL.Tests.Controls.PSSE.TG.TGOV1.o] Error 1