Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B") translateModel(OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001122/0.001122, allocations: 169.2 kB / 16.11 MB, free: 5.676 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.581/1.581, allocations: 205.4 MB / 222.3 MB, free: 9.023 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.0008325/0.0008325, allocations: 84.98 kB / 270.6 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3878/0.3878, allocations: 42.28 MB / 361.2 MB, free: 49.47 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006248/0.0006249, allocations: 16 kB / 429.4 MB, free: 7.82 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1385, allocations: 57.56 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4319/0.5704, allocations: 110.5 MB / 0.5835 GB, free: 13.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/0.5709, allocations: 95.94 kB / 0.5836 GB, free: 13.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1997/0.7706, allocations: 67.41 MB / 0.6494 GB, free: 9.465 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.639e-06/0.7707, allocations: 3.938 kB / 0.6494 GB, free: 9.461 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005659/0.7713, allocations: 59.94 kB / 0.6495 GB, free: 9.402 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.01424/0.7855, allocations: 3.677 MB / 0.6531 GB, free: 5.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/0.7856, allocations: 11.97 kB / 0.6531 GB, free: 5.648 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/0.7902, allocations: 0.677 MB / 0.6537 GB, free: 4.969 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007042/0.7973, allocations: 2.101 MB / 0.6558 GB, free: 2.797 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001024/0.7983, allocations: 0.7659 MB / 0.6566 GB, free: 1.895 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009185/0.7993, allocations: 159.9 kB / 0.6567 GB, free: 1.738 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007312/0.8066, allocations: 2.228 MB / 0.6589 GB, free: 15.46 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.183e-05/0.8067, allocations: 4 kB / 0.6589 GB, free: 15.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004652/0.8072, allocations: 63.98 kB / 0.6589 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.69e-05/0.8072, allocations: 40 kB / 0.659 GB, free: 15.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006146/0.8134, allocations: 2.244 MB / 0.6612 GB, free: 13.1 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.01965/0.8331, allocations: 7.43 MB / 0.6684 GB, free: 5.469 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01296/0.8461, allocations: 4.686 MB / 0.673 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2551/1.101, allocations: 1.363 MB / 0.6743 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002086/1.101, allocations: 35.62 kB / 0.6744 GB, free: 103.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003597/1.105, allocations: 1.605 MB / 0.6759 GB, free: 103.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=182): time 4.158e-06/1.105, allocations: 1 kB / 0.6759 GB, free: 103.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=182): time 0.04605/1.151, allocations: 14.14 MB / 0.6897 GB, free: 102.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/1.151, allocations: 256.6 kB / 0.69 GB, free: 102.5 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004857/1.156, allocations: 2.546 MB / 0.6925 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004737/1.157, allocations: 63.73 kB / 0.6925 GB, free: 102.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007629/1.157, allocations: 1.018 MB / 0.6935 GB, free: 102.2 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007625/1.158, allocations: 0.6375 MB / 0.6942 GB, free: 101.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/1.158, allocations: 43.22 kB / 0.6942 GB, free: 101.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/1.158, allocations: 382 kB / 0.6946 GB, free: 101.6 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002676/1.161, allocations: 1.25 MB / 0.6958 GB, free: 101.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00283/1.164, allocations: 1.502 MB / 0.6972 GB, free: 101.3 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005017/1.169, allocations: 2.681 MB / 0.6999 GB, free: 101.1 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.592e-06/1.169, allocations: 0 / 0.6999 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=249) (initialization): time 0.008767/1.178, allocations: 4.141 MB / 0.7039 GB, free: 100.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001132/1.178, allocations: 202.1 kB / 0.7041 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/1.178, allocations: 6.062 kB / 0.7041 GB, free: 100.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01674/1.195, allocations: 3.895 MB / 0.7079 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/1.197, allocations: 303.8 kB / 0.7082 GB, free: 100.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/1.213, allocations: 4.133 MB / 0.7122 GB, free: 99.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00511/1.218, allocations: 464.8 kB / 0.7127 GB, free: 99.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000602/1.219, allocations: 66.89 kB / 0.7127 GB, free: 99.68 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/1.219, allocations: 4.594 kB / 0.7127 GB, free: 99.68 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01341/1.232, allocations: 3.627 MB / 0.7163 GB, free: 98.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.068e-05/1.232, allocations: 5.375 kB / 0.7163 GB, free: 98.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01608/1.248, allocations: 3.681 MB / 0.7199 GB, free: 98.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002271/1.25, allocations: 303.5 kB / 0.7202 GB, free: 98.01 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01203/1.263, allocations: 3.754 MB / 0.7238 GB, free: 96.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/1.268, allocations: 417.8 kB / 0.7242 GB, free: 96.28 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005023/1.268, allocations: 68.03 kB / 0.7243 GB, free: 96.26 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.00218/1.27, allocations: 0.5197 MB / 0.7248 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.272, allocations: 261.6 kB / 0.7251 GB, free: 95.75 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02774/1.299, allocations: 7.022 MB / 0.7319 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-05/1.3, allocations: 17.22 kB / 0.7319 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.946e-05/1.3, allocations: 4.75 kB / 0.7319 GB, free: 94.13 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.491e-05/1.3, allocations: 8.766 kB / 0.732 GB, free: 94.13 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.03649/1.336, allocations: 10.17 MB / 0.7419 GB, free: 90.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.064e-05/1.336, allocations: 3.094 kB / 0.7419 GB, free: 90.85 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002355/1.339, allocations: 264.5 kB / 0.7421 GB, free: 90.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01091/1.35, allocations: 2.681 MB / 0.7448 GB, free: 90.37 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005687/1.35, allocations: 50.56 kB / 0.7448 GB, free: 90.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02786/1.378, allocations: 12.75 MB / 0.7573 GB, free: 84.28 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.378, allocations: 3.938 kB / 0.7573 GB, free: 84.27 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02314/1.401, allocations: 8.698 MB / 0.7658 GB, free: 77.11 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/1.402, allocations: 420.9 kB / 0.7662 GB, free: 76.74 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001104/1.404, allocations: 47.5 kB / 0.7662 GB, free: 76.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003331/1.407, allocations: 349.3 kB / 0.7665 GB, free: 76.45 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/1.408, allocations: 302.8 kB / 0.7668 GB, free: 76.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003656/1.408, allocations: 54.61 kB / 0.7669 GB, free: 76.24 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00424/1.413, allocations: 1.818 MB / 0.7686 GB, free: 74.75 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.413, allocations: 0 / 0.7686 GB, free: 74.75 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004789/1.418, allocations: 1.06 MB / 0.7697 GB, free: 73.75 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.0006655/1.418, allocations: 200 kB / 0.7699 GB, free: 73.57 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01845/1.437, allocations: 6.248 MB / 0.776 GB, free: 68.29 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/1.437, allocations: 4.25 kB / 0.776 GB, free: 68.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007483/1.444, allocations: 2.75 MB / 0.7787 GB, free: 65.92 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.448, allocations: 290.9 kB / 0.7789 GB, free: 65.67 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/1.46, allocations: 5.792 MB / 0.7846 GB, free: 60.43 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001447/1.461, allocations: 1.639 MB / 0.7862 GB, free: 59.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001885/1.463, allocations: 325.8 kB / 0.7865 GB, free: 58.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007886/1.464, allocations: 137.5 kB / 0.7866 GB, free: 58.73 MB / 490.7 MB Notification: Performance of SimCode: time 5.51e-07/1.464, allocations: 0 / 0.7866 GB, free: 58.73 MB / 490.7 MB Notification: Performance of Templates: time 0.07296/1.537, allocations: 44.5 MB / 0.8301 GB, free: 19.46 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.makefile make -j1 -f OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B_model.h:26: ./OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2B.o] Error 1