Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A.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.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A") translateModel(OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002027/0.002027, allocations: 173.6 kB / 16.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.626/1.626, 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.0007717/0.0007716, allocations: 85.05 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.3064/0.3064, allocations: 42.29 MB / 361.2 MB, free: 49.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004641, allocations: 12 kB / 429.4 MB, free: 7.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1175, allocations: 57.55 MB / 487 MB, free: 14.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4205/0.538, allocations: 110.2 MB / 0.5832 GB, free: 13.49 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.5384, allocations: 97.78 kB / 0.5833 GB, free: 13.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2197/0.7582, allocations: 68.85 MB / 0.6506 GB, free: 8.281 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.7582, allocations: 0 / 0.6506 GB, free: 8.281 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004569/0.7587, allocations: 71.81 kB / 0.6506 GB, free: 8.211 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: 385 * Number of variables: 385 Notification: Performance of Generate backend data structure: time 0.01473/0.7734, allocations: 4.137 MB / 0.6547 GB, free: 4.008 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.7735, allocations: 8.031 kB / 0.6547 GB, free: 4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004379/0.7779, allocations: 0.6924 MB / 0.6554 GB, free: 3.305 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007913/0.7858, allocations: 2.525 MB / 0.6578 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000954/0.7868, allocations: 0.737 MB / 0.6585 GB, free: 15.84 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008791/0.7877, allocations: 167.9 kB / 0.6587 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00739/0.7951, allocations: 2.387 MB / 0.661 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.191e-05/0.7952, allocations: 0 / 0.661 GB, free: 13.25 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005245/0.7958, allocations: 64 kB / 0.6611 GB, free: 13.18 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.254e-05/0.7958, allocations: 36 kB / 0.6611 GB, free: 13.15 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00666/0.8025, allocations: 2.553 MB / 0.6636 GB, free: 10.59 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.02117/0.8237, allocations: 7.851 MB / 0.6713 GB, free: 2.535 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2641/1.088, allocations: 5.153 MB / 0.6763 GB, free: 101.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003828/1.092, allocations: 1.49 MB / 0.6778 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002997/1.092, allocations: 39.44 kB / 0.6778 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004301/1.096, allocations: 1.752 MB / 0.6795 GB, free: 101.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=193): time 4.548e-06/1.096, allocations: 0 / 0.6795 GB, free: 101.1 MB / 490.7 MB Notification: Performance of matching and sorting (n=193): time 0.04728/1.144, allocations: 14.14 MB / 0.6933 GB, free: 100.5 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/1.144, allocations: 202.6 kB / 0.6935 GB, free: 100.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006663/1.15, allocations: 3.029 MB / 0.6965 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005582/1.151, allocations: 56.83 kB / 0.6965 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008395/1.152, allocations: 1.086 MB / 0.6976 GB, free: 99.95 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001198/1.153, allocations: 0.6799 MB / 0.6983 GB, free: 99.62 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003213/1.153, allocations: 41.19 kB / 0.6983 GB, free: 99.62 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001561/1.154, allocations: 380.9 kB / 0.6987 GB, free: 99.32 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002748/1.156, allocations: 1.366 MB / 0.7 GB, free: 99.29 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/1.159, allocations: 1.599 MB / 0.7016 GB, free: 99.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02649/1.186, allocations: 8.32 MB / 0.7097 GB, free: 98.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/1.186, allocations: 1.156 kB / 0.7097 GB, free: 98.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01127/1.197, allocations: 4.184 MB / 0.7138 GB, free: 98.38 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/1.197, allocations: 201 kB / 0.714 GB, free: 98.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.992e-05/1.197, allocations: 3.438 kB / 0.714 GB, free: 98.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01039/1.208, allocations: 3.227 MB / 0.7171 GB, free: 97.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004009/1.212, allocations: 0.8255 MB / 0.7179 GB, free: 97.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009909/1.222, allocations: 8.796 MB / 0.7265 GB, free: 90.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003973/1.226, allocations: 0.5627 MB / 0.7271 GB, free: 90.76 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004543/1.226, allocations: 69.83 kB / 0.7271 GB, free: 90.74 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/1.226, allocations: 6.5 kB / 0.7271 GB, free: 90.74 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007855/1.234, allocations: 3.794 MB / 0.7308 GB, free: 89.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/1.234, allocations: 9 kB / 0.7309 GB, free: 89.38 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008977/1.243, allocations: 3.216 MB / 0.734 GB, free: 88.91 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/1.246, allocations: 0.5482 MB / 0.7345 GB, free: 88.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007233/1.253, allocations: 5.724 MB / 0.7401 GB, free: 84.86 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/1.257, allocations: 0.5306 MB / 0.7406 GB, free: 84.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00042/1.258, allocations: 74.67 kB / 0.7407 GB, free: 84.75 MB / 490.7 MB Warning: Assuming fixed start value for the following 6 variables: eSST1A.VoltageReference.k:VARIABLE(start = 1.0 fixed = true ) = eSST1A.V_REF "Constant output value" type: Real pSS2A.rampTrackingFilter.TF1[1].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[2].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[3].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[4].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [5,1] pSS2A.rampTrackingFilter.TF1[5].x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [5,1] 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 (197): * Single equations (assignments): 192 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {33 28} Notification: Performance of prepare postOptimizeDAE: time 0.00189/1.26, allocations: 0.6326 MB / 0.7413 GB, free: 84.35 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001023/1.261, allocations: 280.2 kB / 0.7416 GB, free: 84.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0197/1.28, allocations: 7.333 MB / 0.7488 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.774e-05/1.281, allocations: 18.28 kB / 0.7488 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/1.281, allocations: 0 / 0.7488 GB, free: 82.46 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.392e-05/1.281, allocations: 14.69 kB / 0.7488 GB, free: 82.46 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.02558/1.306, allocations: 10.59 MB / 0.7591 GB, free: 79.07 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.977e-05/1.306, allocations: 2.562 kB / 0.7591 GB, free: 79.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001849/1.308, allocations: 292.4 kB / 0.7594 GB, free: 79.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007524/1.316, allocations: 2.68 MB / 0.762 GB, free: 78.6 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004731/1.316, allocations: 62.12 kB / 0.7621 GB, free: 78.56 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/1.343, allocations: 12.74 MB / 0.7745 GB, free: 68.03 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.343, allocations: 9.453 kB / 0.7745 GB, free: 68.03 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0243/1.367, allocations: 9.23 MB / 0.7835 GB, free: 60.43 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001286/1.368, allocations: 444.3 kB / 0.784 GB, free: 60.04 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001229/1.37, allocations: 51.84 kB / 0.784 GB, free: 59.99 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003836/1.373, allocations: 463.4 kB / 0.7845 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001323/1.375, allocations: 313.6 kB / 0.7848 GB, free: 59.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004441/1.375, allocations: 51.47 kB / 0.7848 GB, free: 59.47 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005471/1.381, allocations: 2.211 MB / 0.787 GB, free: 57.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.71e-07/1.381, allocations: 0 / 0.787 GB, free: 57.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005179/1.386, allocations: 1.108 MB / 0.7881 GB, free: 56.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 28 (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,pSS2A.Leadlag1.TF.x_scaled[1],pSS2A.Leadlag2.TF.x_scaled[1],pSS2A.SimpleLag1.state,pSS2A.SimpleLag2.state,pSS2A.rampTrackingFilter.TF1[1].x_scaled[1],pSS2A.rampTrackingFilter.TF1[2].x_scaled[1],pSS2A.rampTrackingFilter.TF1[3].x_scaled[1],pSS2A.rampTrackingFilter.TF1[4].x_scaled[1],pSS2A.rampTrackingFilter.TF1[5].x_scaled[1],pSS2A.rampTrackingFilter.TF2[1].x_scaled[1],pSS2A.derivativeLag.TF.x_scaled[1],pSS2A.derivativeLag1.TF.x_scaled[1],pSS2A.derivativeLag2.TF.x_scaled[1],pSS2A.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 (141): * Single equations (assignments): 139 * 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.0008877/1.387, allocations: 220.3 kB / 0.7883 GB, free: 56.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01888/1.406, allocations: 6.991 MB / 0.7951 GB, free: 50.6 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/1.406, allocations: 0 / 0.7951 GB, free: 50.6 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007426/1.413, allocations: 2.883 MB / 0.7979 GB, free: 48.11 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003649/1.417, allocations: 320.6 kB / 0.7982 GB, free: 47.83 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01124/1.428, allocations: 6.441 MB / 0.8045 GB, free: 42.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/1.43, allocations: 1.771 MB / 0.8062 GB, free: 40.61 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002789/1.433, allocations: 498.8 kB / 0.8067 GB, free: 40.27 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009555/1.434, allocations: 151.3 kB / 0.8069 GB, free: 40.13 MB / 490.7 MB Notification: Performance of SimCode: time 1.021e-06/1.434, allocations: 0 / 0.8069 GB, free: 40.13 MB / 490.7 MB Notification: Performance of Templates: time 0.06885/1.503, allocations: 44.23 MB / 0.85 GB, free: 14.1 MB / 0.4948 GB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A.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_PSS2A -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.PSS.PSS2A_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.PSS2A.o] Error 1