Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.ES.ST5B") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ST5B,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_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.001343/0.001343, allocations: 178 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.671/1.671, allocations: 205.4 MB / 222.3 MB, free: 13.74 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.0009357/0.0009358, allocations: 86.31 kB / 270.6 MB, free: 13.26 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.1675/0.1675, allocations: 42.32 MB / 361.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004484/0.0004487, allocations: 16 kB / 429.4 MB, free: 21.31 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 57.54 MB / 487 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4216/0.5482, allocations: 106.7 MB / 0.5797 GB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002896/0.5485, allocations: 88.27 kB / 0.5798 GB, free: 13.47 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1357/0.6842, allocations: 51.38 MB / 0.63 GB, free: 2.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.458e-06/0.6843, allocations: 0 / 0.63 GB, free: 2.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002042/0.6845, allocations: 44 kB / 0.63 GB, free: 2.367 MB / 426.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.009793/0.6943, allocations: 3.057 MB / 0.633 GB, free: 15.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.6944, allocations: 8.031 kB / 0.633 GB, free: 15.46 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003475/0.6979, allocations: 0.6392 MB / 0.6337 GB, free: 14.86 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002762/0.7007, allocations: 1.49 MB / 0.6351 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004928/0.7012, allocations: 468 kB / 0.6356 GB, free: 13.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/0.7015, allocations: 149.6 kB / 0.6357 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004333/0.7059, allocations: 2.139 MB / 0.6378 GB, free: 11.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.553e-05/0.7059, allocations: 11.88 kB / 0.6378 GB, free: 11.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.7061, allocations: 64 kB / 0.6379 GB, free: 11.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.144e-05/0.7062, allocations: 36 kB / 0.6379 GB, free: 11.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004268/0.7104, allocations: 1.939 MB / 0.6398 GB, free: 9.117 MB / 442.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.0133/0.7237, allocations: 7.376 MB / 0.647 GB, free: 1.469 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009728/0.7335, allocations: 4.03 MB / 0.6509 GB, free: 13.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002732/0.7363, allocations: 1.217 MB / 0.6521 GB, free: 12.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001523/0.7365, allocations: 29.28 kB / 0.6521 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002996/0.7395, allocations: 1.403 MB / 0.6535 GB, free: 10.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=163): time 4.999e-06/0.7395, allocations: 0 / 0.6535 GB, free: 10.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=163): time 0.05105/0.7905, allocations: 12.87 MB / 0.6661 GB, free: 13.71 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002085/0.7908, allocations: 308.1 kB / 0.6664 GB, free: 13.35 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00477/0.7956, allocations: 1.737 MB / 0.6681 GB, free: 11.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006106/0.7962, allocations: 57.7 kB / 0.6681 GB, free: 11.51 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008843/0.7971, allocations: 0.8878 MB / 0.669 GB, free: 10.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008197/0.798, allocations: 0.5698 MB / 0.6695 GB, free: 10.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.7981, allocations: 36 kB / 0.6696 GB, free: 9.996 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.7983, allocations: 377.9 kB / 0.6699 GB, free: 9.621 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002374/0.8006, allocations: 1.093 MB / 0.671 GB, free: 8.527 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002695/0.8033, allocations: 1.41 MB / 0.6724 GB, free: 7.012 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005242/0.8086, allocations: 2.446 MB / 0.6748 GB, free: 4.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.8086, allocations: 4 kB / 0.6748 GB, free: 4.477 MB / 474.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.01109/0.8197, allocations: 4.569 MB / 0.6792 GB, free: 15.88 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.82, allocations: 280.5 kB / 0.6795 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.576e-05/0.82, allocations: 8 kB / 0.6795 GB, free: 15.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/0.833, allocations: 4.156 MB / 0.6836 GB, free: 11.34 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.8341, allocations: 211.6 kB / 0.6838 GB, free: 11.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01734/0.8514, allocations: 10.99 MB / 0.6945 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003302/0.8548, allocations: 330.4 kB / 0.6948 GB, free: 15.25 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004344/0.8553, allocations: 71.97 kB / 0.6949 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.8553, allocations: 4 kB / 0.6949 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008488/0.8638, allocations: 3.575 MB / 0.6984 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.8638, allocations: 4 kB / 0.6984 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/0.876, allocations: 3.899 MB / 0.7022 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/0.8771, allocations: 203.7 kB / 0.7024 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2652/1.142, allocations: 9.567 MB / 0.7117 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003001/1.145, allocations: 281.4 kB / 0.712 GB, free: 138.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002441/1.146, allocations: 70.31 kB / 0.7121 GB, free: 138.5 MB / 0.4948 GB 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.001176/1.147, allocations: 459.4 kB / 0.7125 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/1.147, allocations: 214.2 kB / 0.7127 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02481/1.172, allocations: 6.375 MB / 0.7189 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-05/1.172, allocations: 16.12 kB / 0.719 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/1.172, allocations: 4.156 kB / 0.719 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.07e-05/1.172, allocations: 13.27 kB / 0.719 GB, free: 138.2 MB / 0.4948 GB 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.03158/1.204, allocations: 8.968 MB / 0.7277 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/1.204, allocations: 0 / 0.7277 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/1.205, allocations: 244.9 kB / 0.728 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006877/1.212, allocations: 2.51 MB / 0.7304 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004201/1.213, allocations: 42.3 kB / 0.7305 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02199/1.235, allocations: 10.31 MB / 0.7405 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/1.235, allocations: 0 / 0.7405 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01929/1.254, allocations: 7.845 MB / 0.7482 GB, free: 135.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008786/1.255, allocations: 342.1 kB / 0.7485 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000406/1.255, allocations: 34.31 kB / 0.7485 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001803/1.257, allocations: 225.6 kB / 0.7488 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000832/1.258, allocations: 277.8 kB / 0.749 GB, free: 135 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/1.258, allocations: 44.53 kB / 0.7491 GB, free: 135 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001698/1.26, allocations: 1.182 MB / 0.7502 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.71e-07/1.26, allocations: 0 / 0.7502 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002654/1.263, allocations: 0.998 MB / 0.7512 GB, free: 134.6 MB / 0.4948 GB 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.0003709/1.263, allocations: 190.1 kB / 0.7514 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01654/1.279, allocations: 7.044 MB / 0.7583 GB, free: 132 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.622e-06/1.28, allocations: 3.688 kB / 0.7583 GB, free: 132 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006101/1.286, allocations: 2.421 MB / 0.7606 GB, free: 131.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.288, allocations: 233.2 kB / 0.7608 GB, free: 131.1 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/1.294, allocations: 4.807 MB / 0.7655 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/1.295, allocations: 1.445 MB / 0.767 GB, free: 127 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0009192/1.296, allocations: 188.6 kB / 0.7671 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000367/1.296, allocations: 114.8 kB / 0.7672 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of SimCode: time 7.61e-07/1.296, allocations: 0 / 0.7672 GB, free: 126.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.0508/1.347, allocations: 41.03 MB / 0.8073 GB, free: 93.35 MB / 0.4948 GB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.makefile make -j1 -f OpenIPSL_release_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_release_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_release_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.ES.ST5B_model.h:26: ./OpenIPSL_release_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_release_OpenIPSL.Examples.Controls.PSSE.ES.ST5B.o] Error 1