Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.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.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001323, allocations: 176.1 kB / 16.12 MB, free: 5.664 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.603/1.603, 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.0008021/0.000802, allocations: 88.86 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.301/0.301, allocations: 42.29 MB / 361.2 MB, free: 49.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004396/0.0004396, allocations: 16 kB / 429.4 MB, free: 7.801 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 57.57 MB / 487 MB, free: 14.18 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4745, allocations: 106.7 MB / 0.5798 GB, free: 1.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.4749, allocations: 91.95 kB / 0.5798 GB, free: 0.9688 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1431/0.6181, allocations: 51.36 MB / 0.63 GB, free: 13.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 5.169e-06/0.6182, allocations: 0 / 0.63 GB, free: 13.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002272/0.6184, allocations: 51.92 kB / 0.63 GB, free: 13.32 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.009755/0.6282, allocations: 3.046 MB / 0.633 GB, free: 10.21 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.6283, allocations: 8.031 kB / 0.633 GB, free: 10.21 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003813/0.6321, allocations: 0.6384 MB / 0.6337 GB, free: 9.566 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003866/0.636, allocations: 1.495 MB / 0.6351 GB, free: 8.023 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006869/0.6367, allocations: 473.5 kB / 0.6356 GB, free: 7.492 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006729/0.6374, allocations: 144 kB / 0.6357 GB, free: 7.352 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005619/0.643, allocations: 2.14 MB / 0.6378 GB, free: 5.121 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.581e-05/0.6431, allocations: 7.938 kB / 0.6378 GB, free: 5.113 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002697/0.6434, allocations: 60 kB / 0.6379 GB, free: 5.055 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/0.6434, allocations: 36 kB / 0.6379 GB, free: 5.02 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004662/0.6481, allocations: 1.947 MB / 0.6398 GB, free: 3.066 MB / 458.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.01471/0.6628, allocations: 7.379 MB / 0.647 GB, free: 11.41 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/0.6731, allocations: 4.018 MB / 0.6509 GB, free: 7.258 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003028/0.6761, allocations: 1.216 MB / 0.6521 GB, free: 6.039 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002745/0.6764, allocations: 29.28 kB / 0.6521 GB, free: 6.008 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003324/0.6798, allocations: 1.403 MB / 0.6535 GB, free: 4.582 MB / 474.7 MB Notification: Performance of pre-optimization done (n=163): time 5.39e-06/0.6798, allocations: 0 / 0.6535 GB, free: 4.582 MB / 474.7 MB Notification: Performance of matching and sorting (n=163): time 0.04667/0.7265, allocations: 12.87 MB / 0.6661 GB, free: 7.668 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000176/0.7267, allocations: 308.1 kB / 0.6664 GB, free: 7.301 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/0.7305, allocations: 1.741 MB / 0.6681 GB, free: 5.52 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004404/0.7309, allocations: 61.69 kB / 0.6681 GB, free: 5.453 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000871/0.7318, allocations: 0.8839 MB / 0.669 GB, free: 4.559 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009195/0.7328, allocations: 0.5737 MB / 0.6696 GB, free: 3.977 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002191/0.733, allocations: 36 kB / 0.6696 GB, free: 3.941 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.7332, allocations: 373.9 kB / 0.6699 GB, free: 3.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002699/0.7359, allocations: 1.089 MB / 0.671 GB, free: 2.48 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/0.7389, allocations: 1.413 MB / 0.6724 GB, free: 0.9609 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.23/0.9689, allocations: 2.439 MB / 0.6748 GB, free: 107.8 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.9689, allocations: 2.547 kB / 0.6748 GB, free: 107.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01145/0.9804, allocations: 4.58 MB / 0.6792 GB, free: 107.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.9806, allocations: 274.7 kB / 0.6795 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.9806, allocations: 6.688 kB / 0.6795 GB, free: 107.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01239/0.993, allocations: 4.159 MB / 0.6836 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008838/0.9939, allocations: 203.3 kB / 0.6838 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01493/1.009, allocations: 11 MB / 0.6945 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/1.012, allocations: 327.8 kB / 0.6948 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/1.012, allocations: 69.53 kB / 0.6949 GB, free: 101.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/1.012, allocations: 3.344 kB / 0.6949 GB, free: 101.8 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01188/1.024, allocations: 3.573 MB / 0.6984 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.024, allocations: 6.281 kB / 0.6984 GB, free: 101.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0176/1.041, allocations: 3.899 MB / 0.7022 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00141/1.043, allocations: 207 kB / 0.7024 GB, free: 101.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01625/1.059, allocations: 9.59 MB / 0.7118 GB, free: 95.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00366/1.063, allocations: 278.8 kB / 0.712 GB, free: 95.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005181/1.064, allocations: 64.02 kB / 0.7121 GB, free: 95.68 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 117 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,36 58} Notification: Performance of prepare postOptimizeDAE: time 0.002113/1.066, allocations: 456.3 kB / 0.7125 GB, free: 95.49 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001142/1.067, allocations: 224.5 kB / 0.7127 GB, free: 95.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0275/1.094, allocations: 6.374 MB / 0.719 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.555e-05/1.094, allocations: 23.5 kB / 0.719 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/1.094, allocations: 1.25 kB / 0.719 GB, free: 94.43 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.544e-05/1.095, allocations: 7.953 kB / 0.719 GB, free: 94.43 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.02734/1.122, allocations: 8.952 MB / 0.7277 GB, free: 91.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.638e-05/1.122, allocations: 5.953 kB / 0.7277 GB, free: 91.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/1.123, allocations: 247.8 kB / 0.728 GB, free: 91.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007442/1.131, allocations: 2.509 MB / 0.7304 GB, free: 91.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004001/1.131, allocations: 42.98 kB / 0.7305 GB, free: 91.16 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02309/1.154, allocations: 10.3 MB / 0.7405 GB, free: 86.88 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/1.154, allocations: 2.688 kB / 0.7405 GB, free: 86.88 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01893/1.173, allocations: 7.853 MB / 0.7482 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/1.175, allocations: 330.2 kB / 0.7485 GB, free: 84.56 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000843/1.175, allocations: 35.41 kB / 0.7485 GB, free: 84.54 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/1.178, allocations: 224 kB / 0.7488 GB, free: 84.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009067/1.179, allocations: 284.5 kB / 0.749 GB, free: 84.45 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000132/1.179, allocations: 48.7 kB / 0.7491 GB, free: 84.44 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001908/1.181, allocations: 1.184 MB / 0.7502 GB, free: 83.95 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/1.181, allocations: 0 / 0.7502 GB, free: 83.95 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002985/1.184, allocations: 0.9989 MB / 0.7512 GB, free: 83.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 17 (gENCLS.omega,gENCLS.delta,gENCLS.eq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state,gENROE.w,gENROE.delta,gENROE.Epd,gENROE.Epq,gENROE.PSIkd,gENROE.PSIkq) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 119 * 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.0003765/1.184, allocations: 186.9 kB / 0.7514 GB, free: 83.68 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01698/1.201, allocations: 7.048 MB / 0.7583 GB, free: 81.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.648e-06/1.201, allocations: 0 / 0.7583 GB, free: 81.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006783/1.208, allocations: 2.417 MB / 0.7606 GB, free: 79.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00368/1.212, allocations: 238.5 kB / 0.7609 GB, free: 79.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009448/1.221, allocations: 4.807 MB / 0.7655 GB, free: 75.22 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00134/1.223, allocations: 1.449 MB / 0.767 GB, free: 74 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001309/1.224, allocations: 189.6 kB / 0.7671 GB, free: 73.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006459/1.225, allocations: 106.2 kB / 0.7672 GB, free: 73.78 MB / 490.7 MB Notification: Performance of SimCode: time 6.51e-07/1.225, allocations: 0 / 0.7672 GB, free: 73.78 MB / 490.7 MB Notification: Performance of Templates: time 0.06322/1.288, allocations: 41.02 MB / 0.8073 GB, free: 42.18 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.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_ES_ST5B -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=7 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ST5B_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.ES.ST5B.o] Error 1