Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.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/OpenIPSL 2.0.0-master/package.mo", uses=false) Using package OpenIPSL with version 2.0.0-beta.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.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.Examples.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B") translateModel(OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009994/0.0009993, allocations: 175.8 kB / 16.12 MB, free: 5.57 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.552/1.552, allocations: 205.4 MB / 222.3 MB, free: 9.031 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.0007782/0.0007779, allocations: 74.42 kB / 270.6 MB, free: 8.27 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2994/0.2994, allocations: 42.3 MB / 361.2 MB, free: 49.5 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006108/0.000611, allocations: 12 kB / 429.4 MB, free: 7.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1316, allocations: 57.56 MB / 487 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3555/0.4871, allocations: 110.5 MB / 0.5835 GB, free: 13.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.4874, allocations: 93.89 kB / 0.5836 GB, free: 13.15 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1913/0.6787, allocations: 67.41 MB / 0.6494 GB, free: 9.48 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.6788, allocations: 0 / 0.6494 GB, free: 9.48 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004533/0.6793, allocations: 55.94 kB / 0.6495 GB, free: 9.426 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: 375 * Number of variables: 375 Notification: Performance of Generate backend data structure: time 0.01345/0.6927, allocations: 3.685 MB / 0.6531 GB, free: 5.676 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.6928, allocations: 12.03 kB / 0.6531 GB, free: 5.664 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004252/0.6971, allocations: 0.677 MB / 0.6538 GB, free: 4.984 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006319/0.7034, allocations: 2.09 MB / 0.6558 GB, free: 2.824 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009576/0.7044, allocations: 0.7659 MB / 0.6565 GB, free: 1.922 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008509/0.7053, allocations: 163.8 kB / 0.6567 GB, free: 1.762 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00605/0.7113, allocations: 2.228 MB / 0.6589 GB, free: 15.48 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.073e-05/0.7114, allocations: 4 kB / 0.6589 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002954/0.7117, allocations: 63.98 kB / 0.6589 GB, free: 15.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.7117, allocations: 36 kB / 0.659 GB, free: 15.38 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005734/0.7175, allocations: 2.248 MB / 0.6612 GB, free: 13.12 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 preOpt removeSimpleEquations (simulation): time 0.01856/0.7361, allocations: 7.426 MB / 0.6684 GB, free: 5.492 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01229/0.7484, allocations: 4.69 MB / 0.673 GB, free: 0.6719 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2315/0.9799, allocations: 1.361 MB / 0.6743 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.9802, allocations: 34.91 kB / 0.6744 GB, free: 103.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003553/0.9837, allocations: 1.603 MB / 0.6759 GB, free: 103.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=182): time 1.516e-05/0.9838, allocations: 1.031 kB / 0.6759 GB, free: 103.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=182): time 0.04757/1.031, allocations: 14.15 MB / 0.6897 GB, free: 102.6 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/1.032, allocations: 249.5 kB / 0.69 GB, free: 102.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005076/1.037, allocations: 2.558 MB / 0.6925 GB, free: 102 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005148/1.037, allocations: 56.36 kB / 0.6925 GB, free: 102 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006932/1.038, allocations: 1.02 MB / 0.6935 GB, free: 101.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006921/1.039, allocations: 0.6389 MB / 0.6942 GB, free: 101.6 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/1.039, allocations: 37.88 kB / 0.6942 GB, free: 101.6 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.487e-05/1.039, allocations: 384 kB / 0.6946 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00256/1.041, allocations: 1.245 MB / 0.6958 GB, free: 101.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002681/1.044, allocations: 1.501 MB / 0.6972 GB, free: 101.1 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/1.049, allocations: 2.685 MB / 0.6999 GB, free: 100.9 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/1.049, allocations: 3.219 kB / 0.6999 GB, free: 100.9 MB / 490.7 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.00868/1.058, allocations: 4.136 MB / 0.7039 GB, free: 100.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.829e-05/1.058, allocations: 206.3 kB / 0.7041 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.058, allocations: 3.125 kB / 0.7041 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/1.07, allocations: 3.896 MB / 0.7079 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/1.071, allocations: 308.3 kB / 0.7082 GB, free: 100.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009689/1.081, allocations: 4.128 MB / 0.7122 GB, free: 99.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/1.085, allocations: 461.6 kB / 0.7127 GB, free: 99.43 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004684/1.086, allocations: 68.56 kB / 0.7127 GB, free: 99.43 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/1.086, allocations: 3.656 kB / 0.7127 GB, free: 99.43 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008941/1.094, allocations: 3.628 MB / 0.7163 GB, free: 98.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.095, allocations: 3.016 kB / 0.7163 GB, free: 98.39 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01125/1.106, allocations: 3.684 MB / 0.7199 GB, free: 97.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.107, allocations: 310.2 kB / 0.7202 GB, free: 97.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008181/1.116, allocations: 3.748 MB / 0.7238 GB, free: 96.16 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/1.119, allocations: 423.6 kB / 0.7242 GB, free: 96.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004218/1.12, allocations: 72.16 kB / 0.7243 GB, free: 96.05 MB / 490.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 (142): * Single equations (assignments): 141 * 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 73} Notification: Performance of prepare postOptimizeDAE: time 0.001693/1.121, allocations: 0.5148 MB / 0.7248 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008844/1.122, allocations: 263.5 kB / 0.7251 GB, free: 95.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/1.141, allocations: 7.019 MB / 0.7319 GB, free: 93.93 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.022e-05/1.141, allocations: 20.12 kB / 0.7319 GB, free: 93.93 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/1.141, allocations: 0 / 0.7319 GB, free: 93.93 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.987e-05/1.141, allocations: 7.734 kB / 0.7319 GB, free: 93.93 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.02552/1.167, allocations: 10.17 MB / 0.7419 GB, free: 90.65 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.998e-05/1.167, allocations: 0 / 0.7419 GB, free: 90.65 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001694/1.169, allocations: 268 kB / 0.7421 GB, free: 90.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007709/1.177, allocations: 2.685 MB / 0.7448 GB, free: 90.16 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005458/1.177, allocations: 50.08 kB / 0.7448 GB, free: 90.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02634/1.203, allocations: 12.74 MB / 0.7572 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.204, allocations: 3.938 kB / 0.7573 GB, free: 84.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02297/1.226, allocations: 8.702 MB / 0.7658 GB, free: 77.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.228, allocations: 412.5 kB / 0.7661 GB, free: 76.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/1.229, allocations: 43.94 kB / 0.7662 GB, free: 76.79 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/1.232, allocations: 350.9 kB / 0.7665 GB, free: 76.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001143/1.233, allocations: 309.4 kB / 0.7668 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000342/1.234, allocations: 51.47 kB / 0.7669 GB, free: 76.33 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00435/1.238, allocations: 1.815 MB / 0.7686 GB, free: 74.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.41e-07/1.238, allocations: 4 kB / 0.7686 GB, free: 74.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004569/1.243, allocations: 1.059 MB / 0.7697 GB, free: 73.83 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 23 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq,eSST1A.imDerivativeLag.x,eSST1A.imLeadLag.TF.x_scaled[1],eSST1A.imLeadLag1.TF.x_scaled[1],eSST1A.simpleLagLim.state,eSST1A.TransducerDelay.state,pSS2B.Leadlag1.TF.x_scaled[1],pSS2B.Leadlag2.TF.x_scaled[1],pSS2B.SimpleLag1.state,pSS2B.SimpleLag2.state,pSS2B.Leadlag3.TF.x_scaled[1],pSS2B.derivativeLag.TF.x_scaled[1],pSS2B.derivativeLag1.TF.x_scaled[1],pSS2B.derivativeLag2.TF.x_scaled[1],pSS2B.derivativeLag3.TF.x_scaled[1]) * 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 (130): * Single equations (assignments): 128 * 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 9,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006271/1.243, allocations: 202.8 kB / 0.7699 GB, free: 73.66 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01722/1.26, allocations: 6.242 MB / 0.776 GB, free: 68.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/1.261, allocations: 3.188 kB / 0.776 GB, free: 68.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007208/1.268, allocations: 2.764 MB / 0.7787 GB, free: 66 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003345/1.271, allocations: 287.5 kB / 0.7789 GB, free: 65.75 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/1.282, allocations: 5.792 MB / 0.7846 GB, free: 60.52 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0016/1.284, allocations: 1.646 MB / 0.7862 GB, free: 59.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001997/1.286, allocations: 323.6 kB / 0.7865 GB, free: 58.94 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008022/1.287, allocations: 138 kB / 0.7866 GB, free: 58.81 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/1.287, allocations: 0 / 0.7866 GB, free: 58.81 MB / 490.7 MB Notification: Performance of Templates: time 0.06427/1.351, allocations: 44.49 MB / 0.8301 GB, free: 19.57 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=OpenIPSL_OpenIPSL_Examples_Controls_PSSE_PSS_PSS2B -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=4 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B_functions.h:147: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_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.o] Error 1