Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.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.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A") translateModel(OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001987/0.001987, allocations: 174.7 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.538/1.538, allocations: 205.4 MB / 222.3 MB, free: 9.043 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.0007186/0.0007185, allocations: 82.44 kB / 270.6 MB, free: 8.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0-master/package.mo): time 0.2959/0.2959, allocations: 42.29 MB / 361.2 MB, free: 49.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004281, allocations: 12 kB / 429.4 MB, free: 7.816 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09472/0.09517, allocations: 57.57 MB / 487 MB, free: 14.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3063/0.4015, allocations: 111.8 MB / 0.5848 GB, free: 11.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4018, allocations: 87.95 kB / 0.5849 GB, free: 11.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1313/0.5332, allocations: 47.28 MB / 0.6311 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5332, allocations: 0 / 0.6311 GB, free: 12.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001727/0.5334, allocations: 39.94 kB / 0.6311 GB, free: 12.27 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.009443/0.5429, allocations: 2.805 MB / 0.6338 GB, free: 9.402 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.5429, allocations: 12.03 kB / 0.6338 GB, free: 9.391 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003723/0.5467, allocations: 0.6062 MB / 0.6344 GB, free: 8.781 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003311/0.55, allocations: 1.273 MB / 0.6357 GB, free: 7.457 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007665/0.5508, allocations: 0.5702 MB / 0.6362 GB, free: 6.793 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006805/0.5515, allocations: 131.9 kB / 0.6364 GB, free: 6.664 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004984/0.5565, allocations: 1.806 MB / 0.6381 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.421e-05/0.5566, allocations: 0 / 0.6381 GB, free: 4.816 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.5568, allocations: 56 kB / 0.6382 GB, free: 4.762 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.5568, allocations: 32 kB / 0.6382 GB, free: 4.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004095/0.5609, allocations: 1.7 MB / 0.6399 GB, free: 3.023 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.01268/0.5736, allocations: 5.909 MB / 0.6456 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009939/0.5836, allocations: 3.891 MB / 0.6494 GB, free: 8.875 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002906/0.5866, allocations: 1.187 MB / 0.6506 GB, free: 7.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007912/0.5874, allocations: 0.7492 MB / 0.6513 GB, free: 6.766 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003274/0.5907, allocations: 1.313 MB / 0.6526 GB, free: 5.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=156): time 6.823e-06/0.5908, allocations: 4 kB / 0.6526 GB, free: 5.426 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.05336/0.6441, allocations: 14.69 MB / 0.667 GB, free: 6.66 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001082/0.6443, allocations: 183.6 kB / 0.6671 GB, free: 6.445 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00302/0.6473, allocations: 1.56 MB / 0.6687 GB, free: 4.883 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004018/0.6477, allocations: 53.7 kB / 0.6687 GB, free: 4.824 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006111/0.6483, allocations: 0.7273 MB / 0.6694 GB, free: 4.09 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008091/0.6492, allocations: 0.5353 MB / 0.6699 GB, free: 3.547 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.6494, allocations: 36 kB / 0.67 GB, free: 3.512 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001915/0.6496, allocations: 369.8 kB / 0.6703 GB, free: 3.145 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002525/0.6522, allocations: 1.003 MB / 0.6713 GB, free: 2.141 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002588/0.6548, allocations: 1.202 MB / 0.6725 GB, free: 0.8906 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2006/0.8554, allocations: 2.241 MB / 0.6747 GB, free: 110.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/0.8555, allocations: 2.188 kB / 0.6747 GB, free: 110.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=204) (initialization): time 0.008261/0.8637, allocations: 3.561 MB / 0.6782 GB, free: 110.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001293/0.8639, allocations: 228.9 kB / 0.6784 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.8639, allocations: 4.984 kB / 0.6784 GB, free: 110.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01089/0.8748, allocations: 3.859 MB / 0.6821 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000858/0.8757, allocations: 171.9 kB / 0.6823 GB, free: 110 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008157/0.8839, allocations: 4.13 MB / 0.6863 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002203/0.8861, allocations: 305.5 kB / 0.6866 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001412/0.8863, allocations: 57.89 kB / 0.6867 GB, free: 109.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.8863, allocations: 3.219 kB / 0.6867 GB, free: 109.4 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006243/0.8925, allocations: 3.408 MB / 0.69 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.8925, allocations: 3.25 kB / 0.69 GB, free: 109.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01005/0.9026, allocations: 3.823 MB / 0.6938 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007686/0.9034, allocations: 171.4 kB / 0.6939 GB, free: 109.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007799/0.9112, allocations: 4.016 MB / 0.6978 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002253/0.9135, allocations: 288.4 kB / 0.6981 GB, free: 108.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.9136, allocations: 66.16 kB / 0.6982 GB, free: 108.5 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: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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 69} Notification: Performance of prepare postOptimizeDAE: time 0.0008803/0.9145, allocations: 442.8 kB / 0.6986 GB, free: 108.3 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003654/0.9149, allocations: 202 kB / 0.6988 GB, free: 108.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01731/0.9322, allocations: 6.619 MB / 0.7053 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-05/0.9323, allocations: 14.5 kB / 0.7053 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.9323, allocations: 1.312 kB / 0.7053 GB, free: 107.5 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.9323, allocations: 7.906 kB / 0.7053 GB, free: 107.5 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.0216/0.9539, allocations: 9.232 MB / 0.7143 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.954, allocations: 2.422 kB / 0.7143 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008664/0.9549, allocations: 141.2 kB / 0.7144 GB, free: 104.5 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008955/0.9638, allocations: 2.944 MB / 0.7173 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00028/0.9641, allocations: 43.58 kB / 0.7173 GB, free: 104 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02399/0.9881, allocations: 11.5 MB / 0.7286 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9882, allocations: 0 / 0.7286 GB, free: 98.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02012/1.008, allocations: 8.154 MB / 0.7365 GB, free: 96.62 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007924/1.009, allocations: 313 kB / 0.7368 GB, free: 96.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004109/1.01, allocations: 35.25 kB / 0.7369 GB, free: 96.36 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.011, allocations: 214.8 kB / 0.7371 GB, free: 96.33 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001079/1.012, allocations: 288.8 kB / 0.7374 GB, free: 96.29 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.013, allocations: 44.94 kB / 0.7374 GB, free: 96.28 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001711/1.014, allocations: 1.072 MB / 0.7384 GB, free: 95.86 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.543e-06/1.014, allocations: 0 / 0.7384 GB, free: 95.86 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002383/1.017, allocations: 0.9086 MB / 0.7393 GB, free: 95.74 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 14 (gENCLS.omega,gENCLS.delta,gENCLS.eq,gENROU.w,gENROU.delta,gENROU.Epd,gENROU.Epq,gENROU.PSIkd,gENROU.PSIkq,eSAC2A.imLeadLag.TF.x_scaled[1],eSAC2A.imSimpleLag.state,eSAC2A.simpleLagLim.state,eSAC2A.derivative.x,eSAC2A.rotatingExciterWithDemagnetization.sISO.w) * Number of discrete variables: 8 ($whenCondition3,$whenCondition1,$whenCondition2,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit) * Number of discrete states: 5 (eSAC2A.rotatingExciterWithDemagnetization.sISO.Reinit,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachLower,eSAC2A.rotatingExciterWithDemagnetization.sISO.ReachUpper,eSAC2A.rotatingExciterWithDemagnetization.sISO.Falling,eSAC2A.rotatingExciterWithDemagnetization.sISO.Rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * 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 23,26 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004616/1.017, allocations: 213 kB / 0.7395 GB, free: 95.62 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01476/1.032, allocations: 5.824 MB / 0.7452 GB, free: 93.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.614e-06/1.032, allocations: 0 / 0.7452 GB, free: 93.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00607/1.038, allocations: 2.51 MB / 0.7477 GB, free: 93.07 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00155/1.04, allocations: 174.5 kB / 0.7478 GB, free: 92.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005425/1.045, allocations: 4.267 MB / 0.752 GB, free: 90.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005898/1.046, allocations: 1.342 MB / 0.7533 GB, free: 88.96 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006789/1.046, allocations: 152.6 kB / 0.7535 GB, free: 88.86 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000273/1.047, allocations: 83.14 kB / 0.7535 GB, free: 88.78 MB / 490.7 MB Notification: Performance of SimCode: time 5.62e-07/1.047, allocations: 0 / 0.7535 GB, free: 88.78 MB / 490.7 MB Notification: Performance of Templates: time 0.05151/1.098, allocations: 38.87 MB / 0.7915 GB, free: 59.75 MB / 490.7 MB make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.makefile make -j1 -f OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.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_ESAC2A -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_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.o OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.c In file included from OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.c:7: In file included from ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A_model.h:26: ./OpenIPSL_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A_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_OpenIPSL.Examples.Controls.PSSE.ES.ESAC2A.o] Error 1