Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.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.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1") translateModel(OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001367/0.001367, allocations: 170.6 kB / 16.12 MB, free: 5.695 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.698/1.698, 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.0007497/0.0007496, allocations: 93.83 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.3098/0.3098, allocations: 42.28 MB / 361.2 MB, free: 49.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006601/0.0006602, allocations: 20 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1622/0.1629, allocations: 57.55 MB / 487 MB, free: 14.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3859/0.5488, allocations: 111.3 MB / 0.5843 GB, free: 12.41 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.5492, allocations: 91.94 kB / 0.5844 GB, free: 12.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1483/0.6975, allocations: 51.58 MB / 0.6348 GB, free: 8.496 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.6975, allocations: 3.938 kB / 0.6348 GB, free: 8.492 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002479/0.6978, allocations: 40 kB / 0.6348 GB, free: 8.453 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.01042/0.7082, allocations: 2.968 MB / 0.6377 GB, free: 5.426 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/0.7083, allocations: 12.03 kB / 0.6377 GB, free: 5.414 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004048/0.7123, allocations: 0.623 MB / 0.6383 GB, free: 4.789 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004235/0.7166, allocations: 1.361 MB / 0.6396 GB, free: 3.379 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006952/0.7173, allocations: 0.5877 MB / 0.6402 GB, free: 2.691 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006165/0.718, allocations: 139.9 kB / 0.6403 GB, free: 2.555 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005545/0.7235, allocations: 1.89 MB / 0.6422 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.572e-05/0.7236, allocations: 3.938 kB / 0.6422 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000318/0.7239, allocations: 52 kB / 0.6422 GB, free: 0.5547 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.724, allocations: 32 kB / 0.6423 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004519/0.7285, allocations: 1.743 MB / 0.644 GB, free: 14.77 MB / 474.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.01496/0.7435, allocations: 6.292 MB / 0.6501 GB, free: 8.262 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009955/0.7535, allocations: 3.889 MB / 0.6539 GB, free: 4.234 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003117/0.7566, allocations: 1.162 MB / 0.6551 GB, free: 3.066 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008257/0.7575, allocations: 0.7378 MB / 0.6558 GB, free: 2.164 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003057/0.7606, allocations: 1.336 MB / 0.6571 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of pre-optimization done (n=159): time 4.007e-06/0.7606, allocations: 0 / 0.6571 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of matching and sorting (n=159): time 0.04311/0.8037, allocations: 12.28 MB / 0.6691 GB, free: 4.469 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.8039, allocations: 153.9 kB / 0.6692 GB, free: 4.289 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.8079, allocations: 1.694 MB / 0.6709 GB, free: 2.551 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008168/0.8088, allocations: 53.7 kB / 0.6709 GB, free: 2.492 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008253/0.8096, allocations: 0.8176 MB / 0.6717 GB, free: 1.668 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009663/0.8106, allocations: 0.5544 MB / 0.6723 GB, free: 1.105 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.8107, allocations: 36 kB / 0.6723 GB, free: 1.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002739/0.811, allocations: 373.9 kB / 0.6727 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3149/1.126, allocations: 1.008 MB / 0.6736 GB, free: 108.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00325/1.129, allocations: 1.237 MB / 0.6749 GB, free: 108.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005391/1.135, allocations: 2.254 MB / 0.6771 GB, free: 108.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/1.135, allocations: 1.281 kB / 0.6771 GB, free: 108.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008085/1.143, allocations: 3.316 MB / 0.6803 GB, free: 108.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.143, allocations: 230.5 kB / 0.6805 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/1.143, allocations: 3.188 kB / 0.6805 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008882/1.152, allocations: 3.009 MB / 0.6835 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001416/1.153, allocations: 303.8 kB / 0.6837 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/1.159, allocations: 3.011 MB / 0.6867 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002527/1.162, allocations: 312.9 kB / 0.687 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.162, allocations: 61.91 kB / 0.687 GB, free: 107.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/1.162, allocations: 3.312 kB / 0.687 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006034/1.168, allocations: 3.083 MB / 0.6901 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/1.168, allocations: 3.375 kB / 0.6901 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008425/1.177, allocations: 3.012 MB / 0.693 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.178, allocations: 292.9 kB / 0.6933 GB, free: 107.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00575/1.184, allocations: 3.011 MB / 0.6962 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002398/1.186, allocations: 307.1 kB / 0.6965 GB, free: 107 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/1.186, allocations: 56.48 kB / 0.6966 GB, free: 107 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,iEEEG1.limIntegrator.local_reset,iEEET1.rotatingExciter.sISO.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (159): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {30 26} Notification: Performance of prepare postOptimizeDAE: time 0.0009437/1.187, allocations: 425.2 kB / 0.697 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003406/1.188, allocations: 209.3 kB / 0.6972 GB, free: 106.7 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01729/1.205, allocations: 6.237 MB / 0.7033 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.669e-05/1.205, allocations: 15.84 kB / 0.7033 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/1.205, allocations: 5.969 kB / 0.7033 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-05/1.205, allocations: 14.12 kB / 0.7033 GB, free: 106.3 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.0227/1.228, allocations: 8.679 MB / 0.7118 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2e-05/1.228, allocations: 1.188 kB / 0.7118 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/1.229, allocations: 230.3 kB / 0.712 GB, free: 104.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007996/1.237, allocations: 2.505 MB / 0.7144 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000383/1.238, allocations: 41.98 kB / 0.7145 GB, free: 103.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02349/1.261, allocations: 10.3 MB / 0.7245 GB, free: 99.58 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.261, allocations: 0 / 0.7245 GB, free: 99.58 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01908/1.28, allocations: 7.645 MB / 0.732 GB, free: 97.56 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009796/1.281, allocations: 332.6 kB / 0.7323 GB, free: 97.32 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004098/1.282, allocations: 31.88 kB / 0.7324 GB, free: 97.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001944/1.284, allocations: 209 kB / 0.7326 GB, free: 97.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009822/1.285, allocations: 286.5 kB / 0.7328 GB, free: 97.23 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.285, allocations: 46.08 kB / 0.7329 GB, free: 97.21 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001858/1.287, allocations: 1.158 MB / 0.734 GB, free: 96.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.287, allocations: 0 / 0.734 GB, free: 96.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00257/1.289, allocations: 0.9318 MB / 0.7349 GB, free: 96.62 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 19 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,iEEET1.derivativeLag.x,iEEET1.simpleLagLim.state,iEEET1.rotatingExciter.sISO.y,iEEET1.TransducerDelay.state,iEEEG1.imLeadLag.TF.x_scaled[1],iEEEG1.imSimpleLag.state,iEEEG1.imSimpleLag1.state,iEEEG1.imSimpleLag2.state,iEEEG1.imSimpleLag3.state,iEEEG1.limIntegrator.y) * 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 (116): * Single equations (assignments): 115 * 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.0004829/1.29, allocations: 206.8 kB / 0.7351 GB, free: 96.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01435/1.304, allocations: 5.468 MB / 0.7404 GB, free: 95.08 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.729e-06/1.304, allocations: 4.25 kB / 0.7405 GB, free: 95.08 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006303/1.311, allocations: 2.359 MB / 0.7428 GB, free: 94.32 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001997/1.313, allocations: 202.8 kB / 0.7429 GB, free: 94.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007228/1.32, allocations: 4.58 MB / 0.7474 GB, free: 91.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007348/1.321, allocations: 1.403 MB / 0.7488 GB, free: 90.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.00107/1.322, allocations: 191.9 kB / 0.749 GB, free: 90.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/1.322, allocations: 104 kB / 0.7491 GB, free: 90.76 MB / 490.7 MB Notification: Performance of SimCode: time 4.01e-07/1.322, allocations: 0 / 0.7491 GB, free: 90.76 MB / 490.7 MB Notification: Performance of Templates: time 0.04648/1.368, allocations: 33.33 MB / 0.7816 GB, free: 69.8 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.makefile make -j1 -f OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.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_TG_IEEEG1 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.o OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.c In file included from OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1.c:7: In file included from ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1_model.h:26: ./OpenIPSL_release_OpenIPSL.Examples.Controls.PSSE.TG.IEEEG1_functions.h:155: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.TG.IEEEG1.o] Error 1